patch-1.3.28 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.27/linux/drivers/scsi/scsi_debug.h linux/drivers/scsi/scsi_debug.h
@@ -1,12 +1,13 @@
 #ifndef _SCSI_DEBUG_H
 
 #include <linux/types.h>
+#include <linux/kdev_t.h>
 
 int scsi_debug_detect(Scsi_Host_Template *);
 int scsi_debug_command(Scsi_Cmnd *);
 int scsi_debug_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
 int scsi_debug_abort(Scsi_Cmnd *);
-int scsi_debug_biosparam(Disk *, int, int[]);
+int scsi_debug_biosparam(Disk *, kdev_t, int[]);
 int scsi_debug_reset(Scsi_Cmnd *);
 int scsi_debug_proc_info(char *, char **, off_t, int, int, int);
  
@@ -14,10 +15,11 @@
 	#define NULL 0
 #endif
 
+
 #define SCSI_DEBUG_MAILBOXES 8
 
-#define SCSI_DEBUG {NULL, NULL, scsi_debug_proc_info, "scsi_debug", \
-		PROC_SCSI_SCSI_DEBUG, "SCSI DEBUG", scsi_debug_detect, NULL, \
+#define SCSI_DEBUG {NULL, NULL, NULL, scsi_debug_proc_info, \
+		"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