Date: Tue, 5 Nov 1996 01:09:03 -0800 (PST) From: "Justin T. Gibbs" <gibbs> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/eisa aha1742.c aic7770.c src/sys/dev/advansys advlib.c src/sys/i386/isa aha1542.c aic6360.c ncr5380.c seagate.c ultra14f.c wd7000.c src/sys/i386/scsi 93cx6.c 93cx6.h aic7xxx.c aic7xxx.h bt.c btreg.h src/sys/pci aic7870.c ncr.c src/sys/scsi cd.c ch.c od.c pt.c scsi_all.h scsi_base.c scsi_cd.h scsi_disk.h scsi_ioctl.c scsi_queue.c scsi_queue.h scsi_tape.h scsi_worm.h scsiconf.c scsiconf.h sctarg.c sd.c st.c uk.c worm.c Message-ID: <199611050909.BAA20022@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 96/11/05 01:09:01 Modified: sys/dev/advansys advlib.c Log: A little 80 column cleanup. Revision Changes Path 1.2 +28 -15 src/sys/dev/advansys/advlib.c Modified: sys/i386/eisa aha1742.c aic7770.c sys/i386/isa aha1542.c aic6360.c ncr5380.c seagate.c ultra14f.c wd7000.c Log: Update to changes in the generic SCSI layer: - set the status byte in the scsi_xfer structure and allow the generic layer to interpret all values except those where controller intervention is required (i.e. to retrieve sense). - scsi_xfer now has an enumerated error type, xs_error_t. Remove some abiguous error types, add new ones, and document them all in the header file. - The get and free controller entry points are replaced with the XS_QUEUE_RESOURCE_SHORTAGE and XS_DEVICE_RESROUCE_SHORTAGE error codes. Revision Changes Path 1.54.2.3 +35 -57 src/sys/i386/eisa/aha1742.c 1.30.2.2 +68 -67 src/sys/i386/eisa/aic7770.c 1.60.2.3 +103 -139 src/sys/i386/isa/aha1542.c 1.21.2.3 +30 -39 src/sys/i386/isa/aic6360.c 1.11.4.3 +67 -86 src/sys/i386/isa/ncr5380.c 1.17.4.3 +34 -46 src/sys/i386/isa/seagate.c 1.47.2.3 +41 -79 src/sys/i386/isa/ultra14f.c 1.14.2.3 +37 -50 src/sys/i386/isa/wd7000.c Branch: sys/i386/scsi SCSI Modified: sys/i386/scsi 93cx6.c 93cx6.h aic7xxx.c aic7xxx.h bt.c btreg.h Log: Update to changes in the generic SCSI layer: - set the status byte in the scsi_xfer structure and allow the generic layer to interpret all values except those where controller intervention is required (i.e. to retrieve sense). - scsi_xfer now has an enumerated error type, xs_error_t. Remove some abiguous error types, add new ones, and document them all in the header file. - The get and free controller entry points are replaced with the XS_QUEUE_RESOURCE_SHORTAGE and XS_DEVICE_RESROUCE_SHORTAGE error codes. The aic7xxx driver was also brought up to sync with what's in current. Revision Changes Path 1.5.2.1 +14 -11 src/sys/i386/scsi/93cx6.c 1.3.2.1 +19 -5 src/sys/i386/scsi/93cx6.h 1.75.2.6 +1209 -1505src/sys/i386/scsi/aic7xxx.c 1.28.2.3 +145 -113 src/sys/i386/scsi/aic7xxx.h 1.10.2.2 +38 -63 src/sys/i386/scsi/bt.c 1.3.4.2 +2 -2 src/sys/i386/scsi/btreg.h Modified: sys/pci aic7870.c ncr.c Log: Update to changes in the generic SCSI layer: - set the status byte in the scsi_xfer structure and allow the generic layer to interpret all values except those where controller intervention is required (i.e. to retrieve sense). - scsi_xfer now has an enumerated error type, xs_error_t. Remove some abiguous error types, add new ones, and document them all in the header file. - The get and free controller entry points are replaced with the XS_QUEUE_RESOURCE_SHORTAGE and XS_DEVICE_RESROUCE_SHORTAGE error codes. The aic7xxx driver was also brought up to sync with what's in current. ncr.c Add comments about how some areas can be replaced by functionality in the generic SCSI layer. Revision Changes Path 1.37.2.3 +256 -184 src/sys/pci/aic7870.c 1.76.2.4 +70 -80 src/sys/pci/ncr.c Branch: sys/scsi SCSI Modified: sys/scsi cd.c ch.c od.c pt.c scsi_all.h scsi_base.c scsi_cd.h scsi_disk.h scsi_ioctl.c scsi_queue.c scsi_queue.h scsi_tape.h scsi_worm.h scsiconf.c scsiconf.h sctarg.c sd.c st.c uk.c worm.c Log: - scsi_done now handles status byte, overflow, and sense errors. - The device done routine entry point was removed since it is not used. - op_code -> opcode - The scsi_xfer cmdstore member became plain old cmd and the cmd pointer was removed. The structure was also rearanged to prevent reduce padding. - add primitive tag reduction algorithm. The aic7xxx driver now sets the max tag count up to the total number of transactions it can queue and this code drops it down based on QUEUE FULL status codes. - added the cabability to prevent tagged queueing based on quirk entries. The quirk code still needs a lot of work. - removed the SCSI_ERR_OK flag. It shouldn't be needed since all callers already ask for silent failures and ignore the return value. It was also very poor layering to have each controller driver deal with this flag. - cleaned up some type problems. - Moved all of the scsi_3btol type functions into scsiconf.h, inlined them, and changed the naming convention to use "ul" for unsigned and "l" for signed manipulation. - The get and free controller entry points are replaced with the XS_QUEUE_RESOURCE_SHORTAGE and XS_DEVICE_RESROUCE_SHORTAGE error codes. Add support to "freeze" a device or a queue in response to these error codes which basically prevents any action on the queue or device until a transaction completes successfully. Revision Changes Path 1.72.2.3 +24 -25 src/sys/scsi/cd.c 1.33.2.3 +31 -64 src/sys/scsi/ch.c 1.21.2.3 +29 -30 src/sys/scsi/od.c 1.17.2.3 +3 -5 src/sys/scsi/pt.c 1.13.8.2 +128 -122 src/sys/scsi/scsi_all.h 1.39.2.2 +192 -283 src/sys/scsi/scsi_base.c 1.8.4.1 +87 -87 src/sys/scsi/scsi_cd.h 1.9.2.1 +97 -97 src/sys/scsi/scsi_disk.h 1.22.2.2 +9 -6 src/sys/scsi/scsi_ioctl.c 1.1.2.2 +113 -70 src/sys/scsi/Attic/scsi_queue.c 1.1.2.2 +3 -3 src/sys/scsi/Attic/scsi_queue.h 1.16.4.1 +67 -67 src/sys/scsi/scsi_tape.h 1.1.6.1 +34 -34 src/sys/scsi/scsi_worm.h 1.61.2.3 +25 -29 src/sys/scsi/scsiconf.c 1.44.2.4 +233 -74 src/sys/scsi/scsiconf.h 1.16.2.3 +3 -4 src/sys/scsi/sctarg.c 1.93.2.3 +19 -20 src/sys/scsi/sd.c 1.72.2.3 +33 -38 src/sys/scsi/st.c 1.14.4.2 +1 -2 src/sys/scsi/uk.c 1.28.2.3 +27 -28 src/sys/scsi/worm.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611050909.BAA20022>