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

Next file: linux/drivers/scsi/hosts.h
Previous file: linux/drivers/scsi/g_NCR5380.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c
@@ -360,14 +360,14 @@
 	    }
 	    tpnt->next = scsi_hosts;
 	    scsi_hosts = tpnt;
-	}
-    }
-    
-    /* Add the drivers to /proc/scsi */
+
+            /* Add the driver to /proc/scsi */
 #if CONFIG_PROC_FS 
-    build_proc_dir_entries();    
+            build_proc_dir_entries(tpnt);    
 #endif
-    
+	}
+    }
+        
     for(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
     {
 	if(shpnt->hostt->info)

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