Kurt,

The attached patch eliminates the underlying problem. I don't know enough about
the overall picture to say if this is the best solution, or if it breaks
anything else, but it works for me.

Bradley.

--- scsiiom.c-p1        Fri Mar 30 17:15:00 2001
+++ scsiiom.c   Sat Mar 31 12:13:15 2001
@@ -58,7 +58,7 @@
       disc_allowed = 0;
     if ( (pDCB->SyncMode & SYNC_ENABLE) && (pDCB->TargetLUN == 0) && (pDCB->Inquiry7 
& 0x10) &&
        ( ( ( (pSRB->pcmd->cmnd[0] == REQUEST_SENSE) || (pSRB->SRBFlag & 
AUTO_REQSENSE) )
-         && !(pDCB->SyncMode & SYNC_NEGO_DONE) ) || (pSRB->pcmd->cmnd[0] == INQUIRY) 
) )
+         && !(pDCB->SyncMode & SYNC_NEGO_DONE) ) || ( (pSRB->pcmd->cmnd[0] == 
+INQUIRY) && !(pDCB->SyncMode & SYNC_NEGO_DONE)) ) )
       try_sync_nego = 1;
 
     pSRB->MsgCnt = 0; cmd = SEL_W_ATN;

Reply via email to