summaryrefslogtreecommitdiff
path: root/sys/dev/pci/siop_pci_common.c
AgeCommit message (Collapse)Author
2001-06-12Make pci_mapreg_map take an extra argument where we canNiklas Hallqvist
put a size limitation of the PCI region to map. That makes the PERC 3/Di raid controller usable, as it publishes too much PCI memory for us to map in the kernel virtual memory. As we only access the first 256 byte it is of no use to map 128MB of kvm.
2001-04-15Support U160 on 53c1010 chips.Kenneth R Westerback
Add support for PPR negotiations and DT transfers, and the preservation and restoration of the SCNTL4 register which controls Ultra3 transfers. Redo sync lookup, since the same period factor can mean two things depending on whether you are using DT or ST. Keep a minimum allowed ST period factor, and a minimum allowd DT period factor for each adapter. Currently NO support for QAS or IUS or AIP.
2001-03-10First support for 53c1010 chip. This enables support up to U2W forKenneth R Westerback
either or both channels on the 53c1010. U3W/U160 support coming. The particulars of 53c1010 support was derived from the FreeBSD/Linux sym-2 driver under development by Gerard ROUDIER (groudier@FreeBSD.org). This first support ensures that registers and bits now reserved are not used by the 53c1010. It uses the new DFBC register to obtain DMA FIFO relics. A single new feature (SF_CHIP_C10) was added, rather than a new feature for each change the 53c1010 incorporates. These changes were sufficient to get the imbedded 53c1010 on a Tyan S2510U3NG board to support installation of OpenBSD to a Quantum Atlas 10K2 drive, and several subsequent 'make build' and 'make release' cycles using disks on both channels, with and without softupdates. More 53c1010 specific code is yet to be extracted from sym-2, including the changes necessary to enable U160.
2001-03-01Typo police: various misspelling, capitalizations, etc.Kenneth R Westerback
2001-02-20Tone down the verbosity level on the siop driver, print negotiationKenneth R Westerback
results on one line, during boot polling only. Force wide/sync negotiations for all targets during boot. Delete extraneous name field and associated strings that duplicate info provided in INQUIRY data. Actually timeout during polling rather than wait forever for ITSDONE. Remove unneeded check for SCSI_POLL before calling scsi_done(). Makes logic conform to other drivers.
2001-02-15Import siop, a replacement for the ncr SCSI driver, from NetBSD.Kenneth R Westerback
Written for NetBSD by Manuel Bouyer. Tested with various cards on i386 and alpha. Outstanding issue: doesn't work with PowerPC yet.