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

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

diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/eata_pio.c linux/drivers/scsi/eata_pio.c
@@ -57,6 +57,12 @@
 #include "scsi.h"
 #include "sd.h"
 
+#include<linux/stat.h>
+struct proc_dir_entry proc_scsi_eata_pio = {
+    PROC_SCSI_EATA_PIO, 9, "eata_pio",
+    S_IFDIR | S_IRUGO | S_IXUGO, 2
+};
+
 static uint ISAbases[MAXISA] =
 {0x1F0, 0x170, 0x330, 0x230};
 static uint ISAirqs[MAXISA] =
@@ -972,6 +978,7 @@
     DBG((DBG_PROBE && DBG_DELAY) || DPT_DEBUG,
 	printk("Using lots of delays to let you read the debugging output\n"));
     
+    tpnt->proc_dir = &proc_scsi_eata_pio;
 
     find_pio_PCI(&gc, tpnt);
 

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