]> err.no Git - linux-2.6/blobdiff - drivers/scsi/a3000.c
fix mismerge in ll_rw_blk.c
[linux-2.6] / drivers / scsi / a3000.c
index f8a89ec25042f9acba0e94d840a3f933e148f6ef..306caf56f3d9eaad59dea2916c42ca406abc5f67 100644 (file)
@@ -208,7 +208,14 @@ fail_register:
 static int a3000_bus_reset(Scsi_Cmnd *cmd)
 {
        /* FIXME perform bus-specific reset */
+       
+       /* FIXME 2: kill this entire function, which should
+          cause mid-layer to call wd33c93_host_reset anyway? */
+
+       spin_lock_irq(cmd->device->host->host_lock);
        wd33c93_host_reset(cmd);
+       spin_unlock_irq(cmd->device->host->host_lock);
+
        return SUCCESS;
 }