NetBSD/sys/dev/pci
thorpej 76786b38b6 Mimmick the logic used by other drivers to determine if we should use
memory-mapped or i/o-mapped access to the device registers, and always
choose memory-mapped if it is enabled.  In particular, do _not_ explictly
disable the space we decide to not use, as this confuses some versions
of Alpha console software (which are arguably buggy because of this
problem).

Also, fix a logic error pointed out by Ross Harvey <ross@teraflop.com>
that would cause memory-mapped access to never be enabled.
1997-09-24 22:46:29 +00:00
..
ahc_pci.c Merge scsipi branch in the mainline. This add support for ATAPI devices 1997-08-27 11:22:52 +00:00
bha_pci.c Merge scsipi branch in the mainline. This add support for ATAPI devices 1997-08-27 11:22:52 +00:00
cy_pci.c Change expected mapping register type argument for the pci_mapreg_map() 1997-06-17 05:44:22 +00:00
devlist2h.awk update PCIVERBOSE code in various ways: 1996-01-22 21:08:09 +00:00
files.pci Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h 1997-09-13 08:49:50 +00:00
if_de.c Mimmick the logic used by other drivers to determine if we should use 1997-09-24 22:46:29 +00:00
if_devar.h Add RCS tags that got lost. 1997-08-25 19:02:19 +00:00
if_en_pci.c rename pci_map_register to pci_mapreg_map. The latter name is more 1997-04-13 20:14:20 +00:00
if_ep_pci.c rename pci_map_register to pci_mapreg_map. The latter name is more 1997-04-13 20:14:20 +00:00
if_fpa.c Duplicate register mapping logic from Tulip driver. 1997-06-09 01:23:20 +00:00
if_fxp.c Use if_media to change media type, not IFF_LINK*. 1997-08-25 22:39:55 +00:00
if_fxpreg.h Merge the FreeBSD-current-970823 version of the "fxp" driver, adds support 1997-08-23 09:28:13 +00:00
if_fxpvar.h Use if_media to change media type, not IFF_LINK*. 1997-08-25 22:39:55 +00:00
if_le_pci.c Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:43:45 +00:00
if_levar.h Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:43:45 +00:00
isp_pci.c For the 2100- the flags weren't quite right- but things worked anyway. Wierd. 1997-09-10 02:16:13 +00:00
Makefile learn about some PCI vendor and product numbers. not yet used 1995-06-18 01:07:04 +00:00
ncr.c ncr_reg.h -> ncrreg.h per Dave Huang 1997-09-23 02:39:15 +00:00
ncrreg.h updates from FreeBSD via Dave Huang <khym@bga.com> 1997-09-23 02:27:43 +00:00
ncrstat.c New device attachment scheme: 1996-03-17 00:53:54 +00:00
pci_map.c If the region size turns out to be 0, return an error. This is what will 1997-09-23 23:08:47 +00:00
pci_subr.c Declare PCIVERBOSE by defopt in files.pci. Include opt_pciverbose.h 1997-09-13 08:49:50 +00:00
pci.c Pass down bus_dma_tag_t's as appropriate (per Jason's bus_dma code). 1997-08-30 06:53:57 +00:00
pcidevs Add the Ensoniq AudioPCI. 1997-09-23 22:35:48 +00:00
pcidevs_data.h Regen. 1997-09-23 22:36:33 +00:00
pcidevs.h Regen. 1997-09-23 22:36:33 +00:00
pcireg.h clean up some constants ([A-F]->[a-f] in hex constants 1997-04-11 05:24:40 +00:00
pcivar.h Don't export pci_*_find() any more. 1997-08-30 06:48:24 +00:00
ppb.c Pass down bus_dma_tag_t's as appropriate (per Jason's bus_dma code). 1997-08-30 06:53:57 +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