patch-1.3.5 linux/drivers/scsi/u14-34f.h

Next file: linux/drivers/scsi/ultrastor.c
Previous file: linux/drivers/scsi/u14-34f.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.4/linux/drivers/scsi/u14-34f.h linux/drivers/scsi/u14-34f.h
@@ -10,27 +10,32 @@
 int u14_34f_reset(Scsi_Cmnd *);
 int u14_34f_biosparam(Disk *, int, int *);
 
+extern int generic_proc_info(char *, char **, off_t, int, int, int); 
+
 #define U14_34F_VERSION "2.01.00"
 
 #define ULTRASTOR_14_34F {                                            \
-                NULL, /* Ptr for modules */                           \
-                NULL, /* usage count for modules */	              \
-                "UltraStor 14F/34F rev. " U14_34F_VERSION " ",        \
-                u14_34f_detect,                                       \
-                NULL, /* Release */                                   \
-                NULL,		                                      \
-                NULL,                                                 \
-                u14_34f_queuecommand,                                 \
-                u14_34f_abort,                                        \
-                u14_34f_reset,                                        \
-                NULL,                                                 \
-                u14_34f_biosparam,                                    \
+		NULL, /* Ptr for modules */                           \
+		NULL, /* usage count for modules */		      \
+		generic_proc_info,                                    \
+		"u14_34f",                                            \
+		PROC_SCSI_U14_34F,                                    \
+		"UltraStor 14F/34F rev. " U14_34F_VERSION " ",        \
+		u14_34f_detect,                                       \
+		NULL, /* Release */                                   \
+		NULL,						      \
+		NULL,                                                 \
+		u14_34f_queuecommand,                                 \
+		u14_34f_abort,                                        \
+		u14_34f_reset,                                        \
+		NULL,                                                 \
+		u14_34f_biosparam,                                    \
 		0,   /* can_queue, reset by detect */                 \
-                7,   /* this_id, reset by detect */                   \
-                0,   /* sg_tablesize, reset by detect */              \
-                0,   /* cmd_per_lun, reset by detect */               \
+		7,   /* this_id, reset by detect */                   \
+		0,   /* sg_tablesize, reset by detect */              \
+		0,   /* cmd_per_lun, reset by detect */               \
 		0,   /* number of boards present */                   \
-                1,   /* unchecked isa dma, reset by detect */         \
-                ENABLE_CLUSTERING                                     \
-                }
+		1,   /* unchecked isa dma, reset by detect */         \
+		ENABLE_CLUSTERING                                     \
+		}
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this