patch-1.3.28 linux/drivers/scsi/eata.c

Next file: linux/drivers/scsi/eata.h
Previous file: linux/drivers/scsi/constants.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/eata.c linux/drivers/scsi/eata.c
@@ -130,6 +130,12 @@
 #include <asm/irq.h>
 #include "linux/in.h"
 #include "eata.h"
+#include<linux/stat.h>
+
+struct proc_dir_entry proc_scsi_eata2x = {
+    PROC_SCSI_EATA2X, 6, "eata2x",
+    S_IFDIR | S_IRUGO | S_IXUGO, 2
+};
 
 /* Subversion values */
 #define ISA  0
@@ -554,6 +560,8 @@
       };
 
    ushort *port_base = io_port;
+
+   tpnt->proc_dir = &proc_scsi_eata2x;
 
    save_flags(flags);
    cli();

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