NetBSD/sys/dev/pci
perry 40533e83ff Commit latest fixes/upgrades to NCR SCSI driver. From FreeBSD via
Dave Huang <khym@bga.com>

Tested on alpha by cgd, tested on several i386 boxes. Certainly causes
no harm to the goddamned mess, but the NCR driver only works when you
perform voodoo rituals on it anyway.

This is what Dave said (in email) has been added to the driver:

  ----------------------------------------------------------------------
  This seems to be the most significant change:
  General cleanup and new features for 53c875 based cards, especially the
  Tekram DC390W/U/F, whose config EEPROM can now be dumped, if the kernel
  is built with option NCR_TEKRAM_EEPROM.

  Other changes:

  - add brackets to expansion of OUTB/W/L macro arguments.
  - remove unused NCB structure element ns_async
  - support sync. SCSI offset of 16 (instead of only 8) on 825A and 875
  - correctly identify 53c810A and 53c825A chips
  - preserve SCSI BIOS settings of PCI performance options
  - remove (already disabled) support for NCR reset because of command timeout
  - reverse order of reading of SCSI and DMA specific interrupt cause registers
  - add definition of Tekram config EEPROM contents (not currently used)
  ----------------------------------------------------------------------
1997-01-10 05:57:10 +00:00
..
ahc_pci.c New bus.h implementation/interface: 1996-10-21 22:56:24 +00:00
bha_pci.c * Add command struct and modifier definitions for controlling the 1996-11-05 03:04:28 +00:00
cy_pci.c New bus.h implementation/interface: 1996-10-21 22:56:24 +00:00
devlist2h.awk update PCIVERBOSE code in various ways: 1996-01-22 21:08:09 +00:00
files.pci Centralize the declaration of the "en" driver (Efficient Networks, Inc. 1996-11-12 23:58:01 +00:00
if_de.c update these so they compile whether or not __BROKEN_INDIRECT_CONFIG 1996-12-05 01:25:23 +00:00
if_en_pci.c update these so they compile whether or not __BROKEN_INDIRECT_CONFIG 1996-12-05 01:25:23 +00:00
if_ep_pci.c Use the same symbolic cnames for 100Mbit media as epconfig(). 1996-12-31 21:26:10 +00:00
if_fpa.c update these so they compile whether or not __BROKEN_INDIRECT_CONFIG 1996-12-05 01:25:23 +00:00
if_le_pci.c update these so they compile whether or not __BROKEN_INDIRECT_CONFIG 1996-12-05 01:25:23 +00:00
if_levar.h New bus.h implementation/interface: 1996-10-21 22:56:24 +00:00
Makefile learn about some PCI vendor and product numbers. not yet used 1995-06-18 01:07:04 +00:00
ncr_reg.h Commit latest fixes/upgrades to NCR SCSI driver. From FreeBSD via 1997-01-10 05:57:10 +00:00
ncr.c Commit latest fixes/upgrades to NCR SCSI driver. From FreeBSD via 1997-01-10 05:57:10 +00:00
ncrreg.h Commit latest fixes/upgrades to NCR SCSI driver. From FreeBSD via 1997-01-10 05:57:10 +00:00
ncrstat.c New device attachment scheme: 1996-03-17 00:53:54 +00:00
pci_subr.c backout kprintf changes 1996-10-13 01:37:04 +00:00
pci.c update these so they compile whether or not __BROKEN_INDIRECT_CONFIG 1996-12-05 01:25:23 +00:00
pcidevs Add the Matrox Millenium and regen the header files. 1997-01-01 14:56:19 +00:00
pcidevs_data.h Add the Matrox Millenium and regen the header files. 1997-01-01 14:56:19 +00:00
pcidevs.h Add the Matrox Millenium and regen the header files. 1997-01-01 14:56:19 +00:00
pcireg.h Change PCI_MAPREG_{MEM,IO}_SIZE() to use the standard `x & -x' trick to select 1996-08-10 15:42:33 +00:00
pcivar.h The atari has a pci_machdep.h file. 1996-12-01 21:02:18 +00:00
ppb.c update these so they compile whether or not __BROKEN_INDIRECT_CONFIG 1996-12-05 01:25:23 +00:00
ppbreg.h (1) provide #defines for cf_loc[] entries for devices that attach to 1996-03-14 02:35:32 +00:00
README new RCS ID format. 1994-10-27 04:14:23 +00:00

$NetBSD: README,v 1.2 1994/10/27 04:21:29 cgd Exp $

This directory contains files which are used during PCI configuration
and PCI device drivers.  Eventually, most of the device drivers and
some of the configuration support should become machine-independent
and be moved to a more general location.

The configuration support was implemented according to the `PCI Local
Bus Specification, Production Version, Revision 2.0' dated April 30,
1993.  Section numbers referred to in the code may be specific to that
edition of the specification.

Some attempt has been made to insure that the code works on rogue
machines where the BIOS doesn't do its job, but in general I can't
guarantee that.

--
- Charles Hannum
  NetBSD group
  August 8, 1994