patch-2.3.27 linux/drivers/scsi/sym53c416.c

Next file: linux/drivers/scsi/sym53c416.h
Previous file: linux/drivers/scsi/sun3x_esp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/sym53c416.c linux/drivers/scsi/sym53c416.c
@@ -170,7 +170,7 @@
 #define PIO_MODE                  0x80
 
 #define IO_RANGE 0x20         /* 0x00 - 0x1F                   */
-#define ID       "sym53c416"
+#define ID       "sym53c416"	/* Attention: copied to the sym53c416.h */
 #define PIO_SIZE 128          /* Size of PIO fifo is 128 bytes */
 
 #define READ_TIMEOUT              150
@@ -237,8 +237,6 @@
 
 static Scsi_Cmnd *current_command = NULL;
 
-struct proc_dir_entry proc_scsi_sym53c416 = {PROC_SCSI_SYM53C416, 7, ID, S_IFDIR | S_IRUGO | S_IXUGO, 2};
-
 int fastpio = 1;
 
 int probeaddrs[] = {0x200, 0x220, 0x240, 0};
@@ -809,13 +807,11 @@
 /* Loadable module support */
 #ifdef MODULE
 
-#if LINUX_VERSION_CODE >= LinuxVersionCode(2,1,26)
 MODULE_AUTHOR("Lieven Willems");
 MODULE_PARM(sym53c416, "1-2i");
 MODULE_PARM(sym53c416_1, "1-2i");
 MODULE_PARM(sym53c416_2, "1-2i");
 MODULE_PARM(sym53c416_3, "1-2i");
-#endif
 
 Scsi_Host_Template driver_template = SYM53C416;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)