patch-1.3.28 linux/drivers/scsi/u14-34f.c

Next file: linux/drivers/scsi/u14-34f.h
Previous file: linux/drivers/scsi/t128.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/u14-34f.c linux/drivers/scsi/u14-34f.c
@@ -155,6 +155,12 @@
 #include <asm/dma.h>
 #include <asm/irq.h>
 #include "u14-34f.h"
+#include<linux/stat.h>
+
+struct proc_dir_entry proc_scsi_u14_34f = {
+    PROC_SCSI_U14_34F, 6, "u14_34f",
+    S_IFDIR | S_IRUGO | S_IXUGO, 2
+};
 
 /* Values for the PRODUCT_ID ports for the 14/34F */
 #define PRODUCT_ID1  0x56
@@ -514,6 +520,8 @@
 
    ushort *port_base = io_port;
 
+   tpnt->proc_dir = &proc_scsi_u14_34f;
+
    save_flags(flags);
    cli();
 
@@ -820,7 +828,7 @@
       }
 }
 
-int u14_34f_biosparam(Disk * disk, int dev, int * dkinfo) {
+int u14_34f_biosparam(Disk * disk, kdev_t dev, int * dkinfo) {
    unsigned int j = 0;
    int size = disk->capacity;
 

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