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

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

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/sym53c416.h linux/drivers/scsi/sym53c416.h
@@ -29,8 +29,6 @@
 
 #define SYM53C416_SCSI_ID 7
 
-extern struct proc_dir_entry proc_scsi_sym53c416;
-
 extern int sym53c416_detect(Scsi_Host_Template *);
 extern const char *sym53c416_info(struct Scsi_Host *);
 extern int sym53c416_command(Scsi_Cmnd *);
@@ -40,10 +38,8 @@
 extern int sym53c416_bios_param(Disk *, kdev_t, int *);
 extern void sym53c416_setup(char *str, int *ints);
 
-#if LINUX_VERSION_CODE >= LinuxVersionCode(2,1,75)
-
 #define SYM53C416 {                                          \
-                  proc_dir:          &proc_scsi_sym53c416,   \
+                  proc_name:         "sym53c416",   \
                   name:              "Symbios Logic 53c416", \
                   detect:            sym53c416_detect,       \
                   info:              sym53c416_info,         \
@@ -59,33 +55,4 @@
                   unchecked_isa_dma: 1,                      \
                   use_clustering:    ENABLE_CLUSTERING       \
                   }
-
-#else
-
-#define SYM53C416 {                       \
-                  NULL,                   \
-                  NULL,                   \
-                  &proc_scsi_sym53c416,   \
-                  NULL,                   \
-                  "Symbios Logic 53c416", \
-                  sym53c416_detect,       \
-                  NULL,                   \
-                  sym53c416_info,         \
-                  sym53c416_command,      \
-                  sym53c416_queuecommand, \
-                  sym53c416_abort,        \
-                  sym53c416_reset,        \
-                  NULL,                   \
-                  sym53c416_bios_param,   \
-                  1,                      \
-                  SYM53C416_SCSI_ID,      \
-                  32, /* ???? */          \
-                  1,                      \
-                  0,                      \
-                  1,                      \
-                  ENABLE_CLUSTERING       \
-                  }
-
-#endif
-
 #endif

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