patch-1.3.28 linux/drivers/scsi/in2000.c
Next file: linux/drivers/scsi/in2000.h
Previous file: linux/drivers/scsi/hosts.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Mon Sep 18 08:54:09 1995
- Orig file:
v1.3.27/linux/drivers/scsi/in2000.c
- Orig date:
Thu Jun 29 19:02:50 1995
diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/in2000.c linux/drivers/scsi/in2000.c
@@ -73,6 +73,12 @@
#include "sd.h"
#include "in2000.h"
+#include<linux/stat.h>
+
+struct proc_dir_entry proc_scsi_in2000 = {
+ PROC_SCSI_IN2000, 6, "in2000",
+ S_IFDIR | S_IRUGO | S_IXUGO, 2
+};
/*#define FAST_FIFO_IO*/
@@ -582,7 +588,9 @@
int loop, tmp;
DEB(printk("in2000_detect: \n"));
-
+
+ tpnt->proc_dir = &proc_scsi_in2000;
+
for ( loop=0; loop < 4; loop++ )
{
base = base_tab[loop];
@@ -684,7 +692,7 @@
#endif
}
-int in2000_biosparam(Disk * disk, int dev, int* iinfo)
+int in2000_biosparam(Disk * disk, kdev_t dev, int* iinfo)
{
int size = disk->capacity;
DEB(printk("in2000_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