patch-1.3.5 linux/drivers/scsi/scsi_debug.h

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

diff -u --recursive --new-file v1.3.4/linux/drivers/scsi/scsi_debug.h linux/drivers/scsi/scsi_debug.h
@@ -9,13 +9,16 @@
 int scsi_debug_biosparam(Disk *, int, int[]);
 int scsi_debug_reset(Scsi_Cmnd *);
 
+extern int generic_proc_info(char *, char **, off_t, int, int, int);
+
 #ifndef NULL
 	#define NULL 0
 #endif
 
 #define SCSI_DEBUG_MAILBOXES 8
 
-#define SCSI_DEBUG {NULL, NULL, "SCSI DEBUG", scsi_debug_detect, NULL,	\
+#define SCSI_DEBUG {NULL, NULL, generic_proc_info, "scsi_debug", \
+		PROC_SCSI_SCSI_DEBUG, "SCSI DEBUG", scsi_debug_detect, NULL, \
 		NULL, scsi_debug_command,		\
 		scsi_debug_queuecommand,			\
 		scsi_debug_abort,				\

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