From owner-freebsd-commit Tue Dec 12 00:58:24 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA21729 for freebsd-commit-outgoing; Tue, 12 Dec 1995 00:58:24 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA21716 for cvs-all-outgoing; Tue, 12 Dec 1995 00:58:17 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA21704 for cvs-sys-outgoing; Tue, 12 Dec 1995 00:58:11 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA21694 Tue, 12 Dec 1995 00:58:07 -0800 (PST) Date: Tue, 12 Dec 1995 00:58:07 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199512120858.AAA21694@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/pci bt9xx.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk gibbs 95/12/12 00:58:06 Modified: sys/conf files Log: Add pci/bt9xx.c - the new PCI probe module of the Buslogic SCSI driver. Revision Changes Path 1.54 +1 -0 src/sys/conf/files Modified: sys/i386/conf GENERIC LINT files.i386 Log: Have bt0 entry specify "bt_isa_intr" for its vector. This one entry will allow one EISA/ISA/PCI/VL Buslogic controller to be probed. The driver is almost fully dynamic. It just needs some kdc work and for the SCSI code to stop passing unit numbers up in the scsi_xfer struct. Revision Changes Path 1.54 +2 -2 src/sys/i386/conf/GENERIC 1.221 +2 -2 src/sys/i386/conf/LINT 1.117 +4 -2 src/sys/i386/conf/files.i386 Added: sys/i386/eisa bt74x.c Log: Eisa Probe portion of revamped Buslogic SCSI driver. Modified: sys/i386/i386 autoconf.c Log: Have Eisa and PCI probes occur before ISA probes. Buslogic EISA and PCI cards can be found in ISA compatibility mode by the ISA driver, but since the EISA and PCI probes are non-invasive, we prefer them to find the card first. Since both EISA and PCI probes can rely on interrupts, enable them before probing of any type is performed. All ISA probes are still "protected" by splhigh(). Revision Changes Path 1.48 +10 -5 src/sys/i386/i386/autoconf.c Added: sys/i386/isa bt5xx-445.c Removed: sys/i386/isa bt742a.c Log: Isa/VL probe portion of the Buslogic SCSI driver. Added: sys/i386/scsi bt.c btreg.h Log: The core of the Buslogic SCSI driver that is shared for all models on all buses. Known problems: -The PCI probe code has not been tested. Someone with a PCI Bt card will have to validate it, but even if it is broken all cards the earlier version of this driver found in ISA compatibility mode should still be found. -Still missing the BT956 PCI ID, so it will be found as an ISA card until someone suplies it. -PCI interrupts go through an interrupt stub that returns an int until we remove the edge-triggered PCI compatibiliity cruft. -ISA interrupts go through an interrupt stub until they pass in (void *). -The driver could support more mboxes and concurrent commands by allocating structures separately and hanging them off the bt_data struct to get around the 4K page limit. Someone with documentation should do this and also enable tagged queuing. Added: sys/pci bt9xx.c Log: PCI portion of the Buslogic SCSI driver. Needs to be tested and more PCI ids for Buslogic products added.