From owner-freebsd-current Sun Jan 7 11:31:17 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA05563 for current-outgoing; Sun, 7 Jan 1996 11:31:17 -0800 (PST) Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA05547 for ; Sun, 7 Jan 1996 11:31:15 -0800 (PST) Message-Id: <199601071931.LAA05547@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: Host localhost.cdrom.com [127.0.0.1] didn't use HELO protocol To: current Subject: Softc changes in teh SCSI code In-reply-to: Your message of "Sun, 07 Jan 1996 11:27:08 PST." <199601071927.LAA05001@freefall.freebsd.org> Date: Sun, 07 Jan 1996 11:31:14 -0800 From: "Justin T. Gibbs" Sender: owner-current@FreeBSD.ORG Precedence: bulk I consider these -stable material, but I want to get feedback from someone who uses each of the affected controllers first. Please test these changes. Thanks! >gibbs 96/01/07 11:27:07 > > Modified: sys/i386/conf GENERIC > Log: > Add comment about only needing on of either ahc, ncr, or ahb type > controllers to handle any number of devices. > Remove unnecessary extra units for these controllers. > > Revision Changes Path > 1.59 +3 -2 src/sys/i386/conf/GENERIC > > Modified: sys/i386/eisa aha1742.c > Log: > Use the new adapter_softc field in the scsi_link structure so that > this driver no longer needs to maintain an array of configured units. > > Pass "softc" pointers instead of unit numbers to many functions that > did a conversion for unit->softc anyway. > > Revision Changes Path > 1.47 +66 -79 src/sys/i386/eisa/aha1742.c > > Modified: sys/i386/isa aha1542.c aic6360.c ncr5380.c seagate.c > ultra14f.c > Log: > Use the new adapter_softc field in the scsi_link structure so that > in the future, these drivers won't need to maintain an array of > configured units. They still need to because ISA interrupt handlers > take a unit number. :( > > Pass "softc" pointers instead of unit numbers to many functions that > did a conversion of unit->softc anyway. > > Revision Changes Path > 1.55 +89 -89 src/sys/i386/isa/aha1542.c > 1.19 +12 -12 src/sys/i386/isa/aic6360.c > 1.10 +3 -2 src/sys/i386/isa/ncr5380.c > 1.16 +14 -11 src/sys/i386/isa/seagate.c > 1.44 +106 -110 src/sys/i386/isa/ultra14f.c > > Modified: sys/i386/scsi aic7xxx.c aic7xxx.h bt.c > Log: > Use the new adapter_softc field in the scsi_link structure so that > these drivers don't need to maintain an array of configured units. > > The bt driver still needs to because ISA interrupt handlers take a > unit number. :( > > Revision Changes Path > 1.53 +14 -33 src/sys/i386/scsi/aic7xxx.c > 1.18 +1 -3 src/sys/i386/scsi/aic7xxx.h > 1.4 +6 -6 src/sys/i386/scsi/bt.c > > Modified: sys/pci aic7870.c ncr.c > Log: > Write the cahesize and latency timer values back into configuration > space (whoops!). > > Add a missing argument to the cachesize/lattime printf. > > Set the CACHETHEN bit in DSCommand. > > Revision Changes Path > 1.22 +6 -1 src/sys/pci/aic7870.c > 1.54 +4 -11 src/sys/pci/ncr.c > > Modified: sys/scsi scsiconf.h > Log: > Add an adapter_softc field to the scsi_link struct. > > Revision Changes Path > 1.37 +2 -1 src/sys/scsi/scsiconf.h -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================