Date: Sat, 9 Mar 1996 23:13:18 -0800 (PST) From: "Justin T. Gibbs" <gibbs> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/eisa aha1742.c eisaconf.c src/sys/i386/isa aha1542.c aic6360.c isa.c ncr5380.c seagate.c ultra14f.c src/sys/i386/scsi aic7xxx.c aic7xxx.h bt.c src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/pci aic7870.c ncr.c src/sys/scsi cd.c ch.c od.c pt.c scsi_base.c scsi_driver.c scsi_driver.h scsi_ioctl.c scsiconf.c scsiconf.h sctarg.c sd.c st.c worm.c Message-ID: <199603100713.XAA29681@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 96/03/09 23:13:17 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h Log: Reset the DMA control register whenever we reset the sequencer. Clear LASTPHASE on busfree so the kernel driver can tell that the sequencer is idle. Fix some comments to reflect reality. Revision Changes Path 1.31 +18 -44 src/sys/dev/aic7xxx/aic7xxx.seq 1.6 +4 -4 src/sys/dev/aic7xxx/aic7xxx_reg.h Modified: sys/i386/eisa aha1742.c eisaconf.c Log: aha1742.c: Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. eisaconf.c: Cosmetic formatting chagnes. Revision Changes Path 1.52 +5 -5 src/sys/i386/eisa/aha1742.c 1.17 +4 -4 src/sys/i386/eisa/eisaconf.c Modified: sys/i386/isa aha1542.c aic6360.c isa.c ncr5380.c seagate.c ultra14f.c sys/scsi cd.c ch.c od.c pt.c scsi_base.c scsi_driver.c scsi_driver.h scsi_ioctl.c scsiconf.c scsiconf.h sctarg.c sd.c st.c worm.c Log: Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. Revision Changes Path 1.56 +5 -5 src/sys/i386/isa/aha1542.c 1.20 +5 -5 src/sys/i386/isa/aic6360.c 1.65 +1 -3 src/sys/i386/isa/isa.c 1.11 +5 -5 src/sys/i386/isa/ncr5380.c 1.17 +6 -6 src/sys/i386/isa/seagate.c 1.46 +5 -5 src/sys/i386/isa/ultra14f.c 1.67 +52 -52 src/sys/scsi/cd.c 1.30 +31 -31 src/sys/scsi/ch.c 1.14 +19 -19 src/sys/scsi/od.c 1.14 +5 -5 src/sys/scsi/pt.c 1.36 +45 -45 src/sys/scsi/scsi_base.c 1.14 +4 -4 src/sys/scsi/scsi_driver.c 1.6 +2 -2 src/sys/scsi/scsi_driver.h 1.21 +2 -2 src/sys/scsi/scsi_ioctl.c 1.57 +11 -11 src/sys/scsi/scsiconf.c 1.40 +53 -59 src/sys/scsi/scsiconf.h 1.14 +6 -6 src/sys/scsi/sctarg.c 1.86 +23 -23 src/sys/scsi/sd.c 1.63 +79 -79 src/sys/scsi/st.c 1.25 +16 -16 src/sys/scsi/worm.c Modified: sys/i386/scsi aic7xxx.c aic7xxx.h bt.c Log: bt.c, aic7xxx.c: Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. aic7xxx.c: Fix the reset code. Instead of queing up all of the SCBs that timeout during timeout processing, we take the first and have it champion the effort. Any other scbs that timeout during timeout handling are given another lifetime to complete in the hopes that once timeout handing is finished, they will complete normally. If one of these SCBs times out a second time, we panic and Justin tries again. The other major change is to queue flag aborted SCBs during timeout handling, and "ahc_done" them all at once as soon as we have the controller back into a sane state. Calling ahc_done any earlier will cause the SCSI subsystem to toss the command right back at us and the attempt to queue the command will conflict with what the timeout routine is trying to accomplish. The aic7xxx driver will now respond to bus resets initiated by other devices. Revision Changes Path 1.56 +237 -232 src/sys/i386/scsi/aic7xxx.c 1.22 +4 -1 src/sys/i386/scsi/aic7xxx.h 1.8 +6 -6 src/sys/i386/scsi/bt.c Modified: sys/pci aic7870.c ncr.c Log: aic7870.c, ncr.c: Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. aic7870.c: Handle Seeprom data a little better. Revision Changes Path 1.26 +9 -10 src/sys/pci/aic7870.c 1.65 +6 -10 src/sys/pci/ncr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603100713.XAA29681>