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

Next file: linux/drivers/scsi/gdth.h
Previous file: linux/drivers/scsi/g_NCR5380.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.74/linux/drivers/scsi/g_NCR5380.h linux/drivers/scsi/g_NCR5380.h
@@ -72,16 +72,21 @@
 
 #if defined(HOSTS_C) || defined(MODULE)
 
-#define GENERIC_NCR5380 {NULL, NULL, NULL, 	 			\
-	generic_NCR5380_proc_info,					\
-	"Generic NCR5380/NCR53C400 Scsi Driver", 			\
-	generic_NCR5380_detect, generic_NCR5380_release_resources,	\
-	(void *)generic_NCR5380_info, NULL,				\
-	generic_NCR5380_queue_command, generic_NCR5380_abort, 		\
-	generic_NCR5380_reset, NULL,					\
-	NCR5380_BIOSPARAM,						\
-	/* can queue */ CAN_QUEUE, /* id */ 7, SG_ALL,			\
-	/* cmd per lun */ CMD_PER_LUN , 0, 0, DISABLE_CLUSTERING}
+#define GENERIC_NCR5380 {						\
+	proc_info:      generic_NCR5380_proc_info,			\
+	name:           "Generic NCR5380/NCR53C400 Scsi Driver",	\
+	detect:         generic_NCR5380_detect,				\
+	release:        generic_NCR5380_release_resources,		\
+	info:           (void *)generic_NCR5380_info,			\
+	queuecommand:   generic_NCR5380_queue_command,			\
+	abort:          generic_NCR5380_abort,				\
+	reset:          generic_NCR5380_reset, 				\
+	bios_param:     NCR5380_BIOSPARAM,				\
+	can_queue:      CAN_QUEUE,					\
+        this_id:        7,						\
+        sg_tablesize:   SG_ALL,						\
+	cmd_per_lun:    CMD_PER_LUN ,					\
+        use_clustering: DISABLE_CLUSTERING}
 
 #endif
 

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