Date: Fri, 22 Nov 1996 00:28:49 -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 Message-ID: <199611220828.AAA05629@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 96/11/22 00:28:48 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h Log: Conditionally enable the busfree interrupt to catch unexpected busfrees. Immediate SCBs, since they always send messages that tell the target to transition to bus free now rely on the busfree interrupt instead of the IMMEDDONE sequencer interrupt that was generated before. Rearrange some code in the message out loop to give ATN a little more time to drop before we ACK the last byte. Use SPIORDY instead of REQINIT when snooping for a tag message on a reconnect. This is done for the same reasons we use SPIORDY in the inb functions. When going into BITBUCKET mode, turn off HDMAEN in the DFCNTRL register so that we can "not care" what the value of HCNT is. If HCNT is 0, BITBUCKET mode won't transfer any data if HDMAEN is set. Seeing as we don't want the transfer to even think about touching the host, this seems more sane anyway. Thanks to "Dan Willis" <dan@plutotech.com> for pointing out that this was a problem. Revision Changes Path 1.51 +28 -46 src/sys/dev/aic7xxx/aic7xxx.seq 1.18 +1 -10 src/sys/dev/aic7xxx/aic7xxx_reg.h Modified: sys/i386/scsi aic7xxx.c Log: Add code to the SCSIINT handler for unexpected busfrees and handling immediate SCBs in response to a busfree. When re-queueing an SCB that returned with QUEUE FULL status, reset its timeout. Ensure that aborted SCBs have an error code set in there xs before it gets passed back up with scsi_done. Fix a few KNF nits. Revision Changes Path 1.87 +130 -52 src/sys/i386/scsi/aic7xxx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611220828.AAA05629>
