diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/adwlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/adwlib.c b/sys/dev/ic/adwlib.c index ce38578070f..e0ce2b8fe15 100644 --- a/sys/dev/ic/adwlib.c +++ b/sys/dev/ic/adwlib.c @@ -2435,7 +2435,7 @@ ADW_SCSI_REQ_Q *scsiq; * microcode. */ #ifdef SCSI_ADW_WDTR_DISABLE - if(!(tid & SCSI_ADW_WDTR_DISABLE)) + if(!(tidmask & SCSI_ADW_WDTR_DISABLE)) #endif /* SCSI_ADW_WDTR_DISABLE */ if ((sc->wdtr_able & tidmask) && inq->WBus16) { ADW_READ_WORD_LRAM(iot, ioh, ASC_MC_WDTR_ABLE, @@ -2473,7 +2473,7 @@ ADW_SCSI_REQ_Q *scsiq; * 'sdtr_able' bit. Write the new value to the microcode. */ #ifdef SCSI_ADW_SDTR_DISABLE - if(!(tid & SCSI_ADW_SDTR_DISABLE)) + if(!(tidmask & SCSI_ADW_SDTR_DISABLE)) #endif /* SCSI_ADW_SDTR_DISABLE */ if ((sc->sdtr_able & tidmask) && inq->Sync) { ADW_READ_WORD_LRAM(iot, ioh, ASC_MC_SDTR_ABLE, cfg_word); @@ -2508,7 +2508,7 @@ ADW_SCSI_REQ_Q *scsiq; * bugs will at least work with the BIOS. */ #ifdef SCSI_ADW_TAGQ_DISABLE - if(!(tid & SCSI_ADW_TAGQ_DISABLE)) + if(!(tidmask & SCSI_ADW_TAGQ_DISABLE)) #endif /* SCSI_ADW_TAGQ_DISABLE */ if ((sc->tagqng_able & tidmask) && inq->CmdQue) { ADW_READ_WORD_LRAM(iot, ioh, ASC_MC_TAGQNG_ABLE, |