Index: drivers/scsi/53c700.c =================================================================== RCS file: /home/jejb/CVSROOT/linux/2.5/drivers/scsi/53c700.c,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 53c700.c --- drivers/scsi/53c700.c 9 Dec 2001 18:21:22 -0000 1.1.1.2 +++ drivers/scsi/53c700.c 10 Dec 2001 00:58:52 -0000 @@ -310,7 +310,6 @@ hostdata->pScript = pScript; NCR_700_dma_cache_wback((unsigned long)script, sizeof(SCRIPT)); hostdata->state = NCR_700_HOST_FREE; - spin_lock_init(&hostdata->lock); hostdata->cmd = NULL; host->max_id = 7; host->max_lun = NCR_700_MAX_LUNS; @@ -1519,7 +1518,7 @@ * of locking in queuecommand: 1) io_request_lock then 2) * hostdata->lock would be the reverse of taking it in this * routine */ - spin_lock_irqsave(&io_request_lock, flags); + spin_lock_irqsave(&host->host_lock, flags); if((istat = NCR_700_readb(host, ISTAT_REG)) & (SCSI_INT_PENDING | DMA_INT_PENDING)) { __u32 dsps; @@ -1764,7 +1763,7 @@ } } out_unlock: - spin_unlock_irqrestore(&io_request_lock, flags); + spin_unlock_irqrestore(&host->host_lock, flags); } /* FIXME: Need to put some proc information in and plumb it Index: drivers/scsi/53c700.h =================================================================== RCS file: /home/jejb/CVSROOT/linux/2.5/drivers/scsi/53c700.h,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 53c700.h --- drivers/scsi/53c700.h 9 Dec 2001 17:08:58 -0000 1.1.1.1 +++ drivers/scsi/53c700.h 10 Dec 2001 00:58:52 -0000 @@ -234,10 +234,6 @@ __u32 *script; /* pointer to script location */ __u32 pScript; /* physical mem addr of script */ - /* This will be the host lock. Unfortunately, we can't use it - * at the moment because of the necessity of holding the - * io_request_lock */ - spinlock_t lock; enum NCR_700_Host_State state; /* protected by state lock */ Scsi_Cmnd *cmd; /* Note: pScript contains the single consistent block of