@@ -1467,7 +1467,7 @@ * we do this? Try this first, and we can add that later * if it turns out to be useful. */- outb(SCRST, CONTROL(SCpnt->host->io_port));+ outb(SCRST, CONTROL(SCpnt->device->host->io_port));

/* * Wait for the thing to settle down a bit. Unfortunately@@ -1476,11 +1476,11 @@ * check for timeout, and if we are doing something like this * we are pretty desperate anyways. */- spin_unlock_irq(SCpnt->host->host_lock);+ spin_unlock_irq(SCpnt->device->host->host_lock); scsi_sleep(4 * HZ);- spin_lock_irq(SCpnt->host->host_lock);+ spin_lock_irq(SCpnt->device->host->host_lock);

@@ -1531,7 +1531,7 @@ * we do this? Try this first, and we can add that later * if it turns out to be useful. */- outb(HRST | SCRST, CONTROL(SCpnt->host->io_port));+ outb(HRST | SCRST, CONTROL(SCpnt->device->host->io_port));

/* * Wait for the thing to settle down a bit. Unfortunately@@ -1540,18 +1540,18 @@ * check for timeout, and if we are doing something like this * we are pretty desperate anyways. */- spin_unlock_irq(SCpnt->host->host_lock);+ spin_unlock_irq(SCpnt->device->host->host_lock); scsi_sleep(4 * HZ);- spin_lock_irq(SCpnt->host->host_lock);+ spin_lock_irq(SCpnt->device->host->host_lock);