git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
scsi
/
sun3_scsi_vme.c
diff --git
a/drivers/scsi/sun3_scsi_vme.c
b/drivers/scsi/sun3_scsi_vme.c
index
f82831b
..
008a82a
100644
(file)
--- a/
drivers/scsi/sun3_scsi_vme.c
+++ b/
drivers/scsi/sun3_scsi_vme.c
@@
-41,7
+41,7
@@
#define REAL_DMA
#include "scsi.h"
#define REAL_DMA
#include "scsi.h"
-#include
"hosts.h"
+#include
<scsi/scsi_host.h>
#include "sun3_scsi.h"
#include "NCR5380.h"
#include "sun3_scsi.h"
#include "NCR5380.h"
@@
-72,17
+72,17
@@
static inline unsigned char sun3scsi_read(int reg);
static inline void sun3scsi_write(int reg, int value);
static int setup_can_queue = -1;
static inline void sun3scsi_write(int reg, int value);
static int setup_can_queue = -1;
-
MODULE_PARM(setup_can_queue, "i"
);
+
module_param(setup_can_queue, int, 0
);
static int setup_cmd_per_lun = -1;
static int setup_cmd_per_lun = -1;
-
MODULE_PARM(setup_cmd_per_lun, "i"
);
+
module_param(setup_cmd_per_lun, int, 0
);
static int setup_sg_tablesize = -1;
static int setup_sg_tablesize = -1;
-
MODULE_PARM(setup_sg_tablesize, "i"
);
+
module_param(setup_sg_tablesize, int, 0
);
#ifdef SUPPORT_TAGS
static int setup_use_tagged_queuing = -1;
#ifdef SUPPORT_TAGS
static int setup_use_tagged_queuing = -1;
-
MODULE_PARM(setup_use_tagged_queuing, "i"
);
+
module_param(setup_use_tagged_queuing, int, 0
);
#endif
static int setup_hostid = -1;
#endif
static int setup_hostid = -1;
-
MODULE_PARM(setup_hostid, "i"
);
+
module_param(setup_hostid, int, 0
);
static Scsi_Cmnd *sun3_dma_setup_done = NULL;
static Scsi_Cmnd *sun3_dma_setup_done = NULL;
@@
-127,7
+127,7
@@
static inline void sun3scsi_write(int reg, int value)
static struct Scsi_Host *default_instance;
/*
static struct Scsi_Host *default_instance;
/*
- * Function : int sun3scsi_detect(
Scsi_Host_T
emplate * tpnt)
+ * Function : int sun3scsi_detect(
struct scsi_host_t
emplate * tpnt)
*
* Purpose : initializes mac NCR5380 driver based on the
* command line / compile time port and irq definitions.
*
* Purpose : initializes mac NCR5380 driver based on the
* command line / compile time port and irq definitions.
@@
-138,7
+138,7
@@
static struct Scsi_Host *default_instance;
*
*/
*
*/
-static int sun3scsi_detect(
Scsi_Host_T
emplate * tpnt)
+static int sun3scsi_detect(
struct scsi_host_t
emplate * tpnt)
{
unsigned long ioaddr, irq = 0;
static int called = 0;
{
unsigned long ioaddr, irq = 0;
static int called = 0;
@@
-564,7
+564,7
@@
static int sun3scsi_dma_finish(int write_flag)
#include "sun3_NCR5380.c"
#include "sun3_NCR5380.c"
-static
Scsi_Host_T
emplate driver_template = {
+static
struct scsi_host_t
emplate driver_template = {
.name = SUN3_SCSI_NAME,
.detect = sun3scsi_detect,
.release = sun3scsi_release,
.name = SUN3_SCSI_NAME,
.detect = sun3scsi_detect,
.release = sun3scsi_release,