Date: Sat, 8 Feb 1997 19:27:11 -0800 (PST) From: "Justin T. Gibbs" <gibbs> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/i386/scsi aic7xxx.c src/sys/pci aic7870.c Message-ID: <199702090327.TAA22375@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 97/02/08 19:27:10 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h Log: Clear the channel after (re)selection instead of once we see the bus go free. When we clear SCSIRATE, also clear the FAST20 bit in SXFRCTL0. This also allowed me to clean up some of the ULTRA code. ULTRAENB->FAST20 to follow the convention in the Adaptec data books. Fix the data-overrun code to set both stcnt and hcnt otherwise, the transfer will just hang until we get a timeout. Add implicit support for the NOOP message. I've never heard of the driver issueing a reject for one, but its silly to reject NOOP and who knows how a device might react. In the dma routine, check SDONE before cleaing SDMAEN. The data books mention SDONE possibly being cleared when SDMAEN is reset. Clients of dma now need to check if SINDEX is cleared to know if a phasemis occured. Fix some comments to be correct. Revision Changes Path 1.58 +30 -29 src/sys/dev/aic7xxx/aic7xxx.seq 1.23 +1 -1 src/sys/dev/aic7xxx/aic7xxx_reg.h Modified: sys/i386/scsi aic7xxx.c Log: ahc_search_qinfo->ahc_search_qinfifo ULTRAENB->FAST20 Add a missing ahc_run_done_queue if a BRKADDRINT occurs. This should never happen (haven't heard of one happening), but it was still a bug. Brought the ordered tag sending code up into the tag code to be clearer. If we decide we should send an ordered tag, only do so for the target that timed out instead of all targets. Initialize the STAILQ in ahc_serach__qinfifo. This was causing a panic during some recovery operations. Remove the unused varable maxtarget. Revision Changes Path 1.96 +36 -31 src/sys/i386/scsi/aic7xxx.c Modified: sys/pci aic7870.c Log: ULTRAENB->FAST20 Revision Changes Path 1.49 +1 -1 src/sys/pci/aic7870.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702090327.TAA22375>