Date: Fri, 24 Jan 1997 14:04:19 -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 93cx6.c aic7xxx.c src/sys/pci aic7870.c Message-ID: <199701242204.OAA22789@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 97/01/24 14:04:18 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h Log: Change the way DMA is handled during the command phase. Only test on SDONE, not HDONE. In the data phase dma handler, mask off just the enable bits instead of clearing the whole register. Clearing the direction bit could be bad. Also don't stop a DMA until MREQPEND goes false. Doing this may cause an ABORT on the PCI bus although I have yet to see this happen. Add definitions for MREQPEND and the BRDCTL register. The BRDCTL register is used to handle high byte termination and automatic termination testing. Revision Changes Path 1.55 +18 -5 src/sys/dev/aic7xxx/aic7xxx.seq 1.21 +12 -2 src/sys/dev/aic7xxx/aic7xxx_reg.h Modified: sys/i386/scsi 93cx6.c aic7xxx.c Log: 93cx6.c: Style nit. Backslashes in macro weren't aligned. aic7xxx.c: Preserve the value of STPWEN in SXFRCTL1 during initialization. STPWEN controls low byte termination and is setup by the PCI probe front end. Revision Changes Path 1.9 +1 -1 src/sys/i386/scsi/93cx6.c 1.91 +7 -3 src/sys/i386/scsi/aic7xxx.c Modified: sys/pci aic7870.c Log: Add the definition for the CFAUTOTERM bit in the aic78xx SEEPROM. Add auto-termination support as well as support for setting the high byte termination. Booting with '-v' will display the settings that the driver chose. If you stick narrow devices onto the external wide port, you had better make sure that your converter cable terminates the bus, you have a wide device on there that terminates the bus, or you manually set the termination properly in SCSI-Select instead of using "Automatic". The code will get the setting right regardless if you *don't* have internal wide devices in this type of configuration. Unfortunatly this is a limitation of the design of the Adaptec cards. Revision Changes Path 1.47 +163 -7 src/sys/pci/aic7870.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701242204.OAA22789>