patch-2.3.27 linux/drivers/scsi/ide-scsi.c
Next file: linux/drivers/scsi/imm.h
Previous file: linux/drivers/scsi/ibmmca.h
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Thu Nov 11 16:57:30 1999
-  Orig file: 
v2.3.26/linux/drivers/scsi/ide-scsi.c
-  Orig date: 
Sun Nov  7 16:37:34 1999
diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/ide-scsi.c linux/drivers/scsi/ide-scsi.c
@@ -558,8 +558,6 @@
 	NULL
 };
 
-static struct proc_dir_entry idescsi_proc_dir = {PROC_SCSI_IDESCSI, 8, "ide-scsi", S_IFDIR | S_IRUGO | S_IXUGO, 2};
-
 /*
  *	idescsi_init will register the driver for each scsi.
  */
@@ -603,7 +601,7 @@
 	struct Scsi_Host *host;
 	int id;
 
-	host_template->proc_dir = &idescsi_proc_dir;
+	host_template->proc_name = "ide-scsi";
 	host = scsi_register(host_template, 0);
 	for (id = 0; id < MAX_HWIFS * MAX_DRIVES && idescsi_drives[id]; id++);
 	host->max_id = id;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)