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

Next file: linux/drivers/scsi/esp.c
Previous file: linux/drivers/scsi/eata_dma.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/eata_pio.c linux/drivers/scsi/eata_pio.c
@@ -58,11 +58,6 @@
 #include <linux/blk.h>
 #include <linux/spinlock.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] =
@@ -946,7 +941,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;
+    tpnt->proc_name = "eata_pio";
 
     find_pio_PCI(&gc, tpnt);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)