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

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

diff -u --recursive --new-file v2.1.74/linux/drivers/scsi/psi240i.h linux/drivers/scsi/psi240i.h
@@ -320,25 +320,18 @@
 
 extern struct proc_dir_entry Proc_Scsi_Psi240i;
 
-#define PSI240I { NULL, NULL,						\
-			&Proc_Scsi_Psi240i,/* proc_dir_entry */	\
-			NULL,		                			\
-			"PSI-240I EIDE Disk Controller",		\
-			Psi240i_Detect,							\
-			NULL,									\
-			NULL,	 								\
-			Psi240i_Command,						\
-			Psi240i_QueueCommand,					\
-			Psi240i_Abort,							\
-			Psi240i_Reset,							\
-			NULL,									\
-			Psi240i_BiosParam,                 		\
-			1, 										\
-			-1, 									\
-			SG_NONE,		 						\
-			1, 										\
-			0, 										\
-			0, 										\
-			DISABLE_CLUSTERING }
+#define PSI240I { proc_dir:       &Proc_Scsi_Psi240i,/* proc_dir_entry */ \
+		  name:           "PSI-240I EIDE Disk Controller",\
+		  detect:         Psi240i_Detect,			\
+		  command:	  Psi240i_Command,			\
+		  queuecommand:	  Psi240i_QueueCommand,		\
+		  abort:	  Psi240i_Abort,			\
+		  reset:	  Psi240i_Reset,			\
+		  biosparam:	  Psi240i_BiosParam,                 	\
+		  can_queue:	  1, 					\
+		  this_id:	  -1, 					\
+		  sg_tablesize:	  SG_NONE,		 		\
+		  cmd_per_lun:	  1, 					\
+		  use_clustering: DISABLE_CLUSTERING }
 
 #endif

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