patch-1.3.28 linux/drivers/scsi/aha152x.h

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

diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/aha152x.h linux/drivers/scsi/aha152x.h
@@ -16,7 +16,7 @@
 int        aha152x_queue(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
 int        aha152x_abort(Scsi_Cmnd *);
 int        aha152x_reset(Scsi_Cmnd *);
-int        aha152x_biosparam(Disk *, int, int*);
+int        aha152x_biosparam(Disk *, kdev_t, int*);
 
 /* number of queueable commands
    (unless we support more than 1 cmd_per_lun this should do) */
@@ -24,12 +24,13 @@
 
 #define AHA152X_REVID "Adaptec 152x SCSI driver; $Revision: 1.9 $"
 
+extern struct proc_dir_entry proc_scsi_aha152x;
+
 /* Initial value of Scsi_Host entry */
 #define AHA152X       { /* next */		NULL,			    \
 			/* usage_count */  	NULL,			    \
-						NULL,		            \
-						"aha152x",                  \
-						PROC_SCSI_AHA152X,          \
+			                        &proc_scsi_aha152x,         \
+						NULL,                       \
 			/* name */		AHA152X_REVID, 		    \
 			/* detect */		aha152x_detect,             \
 			/* release */		NULL,			    \

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