patch-1.3.31 linux/drivers/scsi/scsi_proc.c

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

diff -u --recursive --new-file v1.3.30/linux/drivers/scsi/scsi_proc.c linux/drivers/scsi/scsi_proc.c
@@ -265,8 +265,8 @@
     int x, y = *size;
     
     y = sprintf(buffer + len, 
-		    "Channel: %02d Id: %02d Lun: %02d\n  Vendor: ",
-		    scd->channel, scd->id, scd->lun);
+		    "Host: scsi%d Channel: %02d Id: %02d Lun: %02d\n  Vendor: ",
+		    scd->host->host_no, scd->channel, scd->id, scd->lun);
     for (x = 0; x < 8; x++) {
 	if (scd->vendor[x] >= 0x20)
 	    y += sprintf(buffer + len + y, "%c", scd->vendor[x]);

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