1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/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 Next round of PCI subsystem updates: 2000-12-13 01:25:11 +00:00
fixup_pci.c Fix reversed arguments to pci_write_config() 2001-06-03 09:45:40 +00:00
ignore_pci.c Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
isa_pci.c Save and restore the interrupt Edge/Level Control Registers (ELCR) 2002-10-30 19:55:06 +00:00
pci_if.m Slightly reimplement some recently added helper functions as methods, so 2001-02-27 23:13:20 +00:00
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 - Make pci_load_vendor_data() static and do it during MOD_LOAD instead of 2002-09-04 03:13:16 +00:00
pci_user.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
pci.c Add a new cardbus specific ivar: PCI_IVAR_ETHADDR. Some pci-like 2002-11-27 06:41:28 +00:00
pcib_if.m - Fix the device database parsing code so that it actually works. 2000-12-09 09:15:38 +00:00
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 Add some PCI-X register definitions. 2002-06-05 22:25:51 +00:00
pcivar.h Add a new cardbus specific ivar: PCI_IVAR_ETHADDR. Some pci-like 2002-11-27 06:41:28 +00:00