patch-2.1.75 linux/drivers/scsi/aha1740.h

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

diff -u --recursive --new-file v2.1.74/linux/drivers/scsi/aha1740.h linux/drivers/scsi/aha1740.h
@@ -172,25 +172,19 @@
 
 extern struct proc_dir_entry proc_scsi_aha1740;
 
-#define AHA1740 {NULL,	NULL,				\
-                   &proc_scsi_aha1740,			\
-		   aha1740_proc_info,	                \
-		   "Adaptec 174x (EISA)",		\
-		   aha1740_detect,			\
-		   NULL,				\
-		   NULL, 				\
-		   aha1740_command,			\
-		   aha1740_queuecommand,		\
-		   aha1740_abort,			\
-		   aha1740_reset,			\
-		   NULL,				\
-		   aha1740_biosparam,                   \
-		   AHA1740_ECBS, 			\
-		   7, 					\
-		   AHA1740_SCATTER, 			\
-		   AHA1740_CMDLUN, 			\
-		   0, 					\
-		   0, 					\
-		   ENABLE_CLUSTERING}
+#define AHA1740 {  proc_dir:       &proc_scsi_aha1740,			\
+		   proc_info:      aha1740_proc_info,	                \
+		   name:           "Adaptec 174x (EISA)",		\
+		   detect:         aha1740_detect,			\
+		   command:        aha1740_command,			\
+		   queuecommand:   aha1740_queuecommand,		\
+		   abort:          aha1740_abort,			\
+		   reset:          aha1740_reset,			\
+		   bios_param:     aha1740_biosparam,                   \
+		   can_queue:      AHA1740_ECBS, 			\
+		   this_id:        7, 					\
+		   sg_tablesize:   AHA1740_SCATTER, 			\
+		   cmd_per_lun:    AHA1740_CMDLUN, 			\
+		   use_clustering: ENABLE_CLUSTERING}
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov