summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/esp.c')
-rw-r--r--drivers/scsi/esp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/esp.c b/drivers/scsi/esp.c
index 811522465..596e7b33f 100644
--- a/drivers/scsi/esp.c
+++ b/drivers/scsi/esp.c
@@ -844,7 +844,7 @@ static int esp_host_info(struct Sparc_ESP *esp, char *ptr, off_t offset, int len
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) &&