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

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)