patch-2.1.75 linux/drivers/scsi/esp.c

Next file: linux/drivers/scsi/esp.h
Previous file: linux/drivers/scsi/eata_pio_proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.74/linux/drivers/scsi/esp.c linux/drivers/scsi/esp.c
@@ -1163,7 +1163,7 @@
 	copy_info(&info, "Target #\tconfig3\t\tSync Capabilities\tDisconnect\tWide\n");
 	for(i = 0; i < 15; i++) {
 		if(esp->targets_present & (1 << i)) {
-			Scsi_Device *SDptr = scsi_devices;
+			Scsi_Device *SDptr = esp->ehost->host_queue;
 
 			while((SDptr->host != esp->ehost) &&
 			      (SDptr->id != i) &&

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov