patch-2.3.27 linux/drivers/acorn/scsi/cumana_2.c

Next file: linux/drivers/acorn/scsi/ecoscsi.c
Previous file: linux/drivers/acorn/scsi/cumana_1.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/acorn/scsi/cumana_2.c linux/drivers/acorn/scsi/cumana_2.c
@@ -84,11 +84,6 @@
  */
 int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 };
 
-static struct proc_dir_entry proc_scsi_cumanascsi_2 = {
-	PROC_SCSI_QLOGICFAS, 6, "cumanascs2",
-	S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 /* Prototype: void cumanascsi_2_irqenable(ec, irqnr)
  * Purpose  : Enable interrupts on Cumana SCSI 2 card
  * Params   : ec    - expansion card structure
@@ -329,7 +324,7 @@
 	int count = 0;
 	struct Scsi_Host *host;
   
-	tpnt->proc_dir = &proc_scsi_cumanascsi_2;
+	tpnt->proc_name = "cumanascs2";
 	memset(ecs, 0, sizeof (ecs));
 
 	ecard_startfind();

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