patch-1.3.28 linux/drivers/scsi/aha1740.c
Next file: linux/drivers/scsi/aha1740.h
Previous file: linux/drivers/scsi/aha1542.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Mon Sep 18 08:54:08 1995
- Orig file:
v1.3.27/linux/drivers/scsi/aha1740.c
- Orig date:
Thu Jun 29 19:02:47 1995
diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/aha1740.c linux/drivers/scsi/aha1740.c
@@ -38,6 +38,12 @@
#include "sd.h"
#include "aha1740.h"
+#include<linux/stat.h>
+
+struct proc_dir_entry proc_scsi_aha1740 = {
+ PROC_SCSI_AHA1740, 7, "aha1740",
+ S_IFDIR | S_IRUGO | S_IXUGO, 2
+};
/* IF YOU ARE HAVING PROBLEMS WITH THIS DRIVER, AND WANT TO WATCH
IT WORK, THEN:
@@ -434,6 +440,8 @@
int aha1740_detect(Scsi_Host_Template * tpnt)
{
+ tpnt->proc_dir = &proc_scsi_aha1740;
+
memset(&ecb, 0, sizeof(struct ecb));
DEB(printk("aha1740_detect: \n"));
@@ -497,7 +505,7 @@
return SCSI_RESET_PUNT;
}
-int aha1740_biosparam(Disk * disk, int dev, int* ip)
+int aha1740_biosparam(Disk * disk, kdev_t dev, int* ip)
{
int size = disk->capacity;
DEB(printk("aha1740_biosparam\n"));
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