freebsd-src/sys/dev/pci
Warner Losh a8b354a809 Properly account for prefetchable memory when a request is being made.
We allow the request to go through if it matches either a prefetchable
or a non-prefetchable part of the bridge.  We do not check to make
sure it is the right kind of memory because most drivers to not yet
properly set RF_PREFETCHABLE (only cardbus seems to do so, and I'm not
entirely sure it does it right).  RF_PREFETCHABLE was invented for
cardbus, so hasn't been properly documented yet.

This is still overridable by hw.pci.allow_unsupported_io_ranges, but
the need for that is greatly reduced, especially for the nvida driver.

Approved by: re
Reviewed by: jhb and many testers
Submitted by: Matt Emmerton (although this has been reworked somewhat)
2002-12-03 08:34:20 +00:00
..
eisa_pci.c
fixup_pci.c
ignore_pci.c
isa_pci.c
pci.c Add a new cardbus specific ivar: PCI_IVAR_ETHADDR. Some pci-like 2002-11-27 06:41:28 +00:00
pci_if.m
pci_pci.c Properly account for prefetchable memory when a request is being made. 2002-12-03 08:34:20 +00:00
pci_private.h
pci_user.c
pcib_if.m
pcib_private.h Add a function host_pcib_get_bnsno() that attempts to determine the bus 2002-11-22 17:50:47 +00:00
pcireg.h
pcivar.h Add a new cardbus specific ivar: PCI_IVAR_ETHADDR. Some pci-like 2002-11-27 06:41:28 +00:00