Date: Sat, 5 Oct 1996 18:34:29 -0700 (PDT) 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 aic7xxx.h src/sys/pci aic7870.c src/sys/scsi scsi_message.h scsiconf.h Message-ID: <199610060134.SAA26316@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 96/10/05 18:34:29 Branch: sys/dev/aic7xxx SCSI Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h Log: Remove intrinsic knowledge about SDTR and WDTR messages and replace it with a generic message system that allows the kernel driver to handle SDTR, WDTR and any other type of extended message it chooses too. This makes the sequencer code much simpler, makes extended message handling debuggable since the bulk of the work is in the kernel driver, and saves lots of instruction space. Revision Changes Path 1.42.2.2 +40 -127 src/sys/dev/aic7xxx/aic7xxx.seq 1.12.2.2 +17 -8 src/sys/dev/aic7xxx/aic7xxx_reg.h Branch: sys/i386/scsi SCSI Modified: sys/i386/scsi aic7xxx.c aic7xxx.h Log: Add code to handle WDTR and SDTR negotiation in light of the changes in the message interface to the sequencer. Don't reject targets that negotiate async by sending an SDTR with a 0 offset. Use an sdtr message with 0,0 to negotiate async when a target suggests a period that is too long for us to handle. Some tape and cdrom drives don't like us doing the message reject that we did in the past. Fix a problem with handing the QUEUE FULL condition. This is a stop gap solution until the remainder of the generic SCSI layer's tag support is in place. Fix a race condition (most likely the cause of the SCB paging problems) that might allow the sequencer to get unpaused before the condition that caused it to be paused (a SEQINT) was handled. Race condition pointed out by Doug Ledford <dledford@dialnet.net> and by "Dan Willis" <dan@plutotech.com>. Revision Changes Path 1.75.2.2 +1036 -932 src/sys/i386/scsi/aic7xxx.c 1.28.2.2 +16 -13 src/sys/i386/scsi/aic7xxx.h Modified: sys/pci aic7870.c Log: Add support for the 2940AU, an aic7860 based controller. Patches for this where supplied by lots of people from FreeBSD and NetBSD, but I did it a little differently. Revision Changes Path 1.37.2.2 +11 -2 src/sys/pci/aic7870.c Branch: sys/scsi SCSI Modified: sys/scsi scsi_message.h scsiconf.h Log: scsi_message.h: Add MSG_EXT_SDTR_LEN and MSG_EXT_WDTR_LEN - the length of bytes in these extended messages. scsiconf.h: The status byte is a byte, not a u_int32_t. Revision Changes Path 1.1.2.2 +5 -2 src/sys/scsi/Attic/scsi_message.h 1.44.2.3 +2 -2 src/sys/scsi/scsiconf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610060134.SAA26316>
