freebsd-dev/sys/dev/pci
John Baldwin 589d604bf9 Disable decoding of BARs by devices before we trash the value in the BAR
by writing all 1's to it to determine its length.  This fixes issues with
MCFG on at least some machines where a trashed BAR claimed subsequent
attempts at PCI config transactions because the addresses in the MCFG
window fell in the decoding range of the BAR.

In general it is a bad idea to leave the BARs enabled while we are
frobbing with them in this manner.

Sleuthing by:  tegge
MFC after:     1 week
2009-01-16 22:22:30 +00:00
..
eisa_pci.c
fixup_pci.c Workaround a hang on some nForce2 systems that can happen if the CPU goes 2006-05-24 14:08:31 +00:00
hostb_pci.c Move the hostb driver out of the i386 and amd64 PCI code (where it was 2005-12-20 21:09:45 +00:00
ignore_pci.c
isa_pci.c Don't save and restore the ELCR register across suspend and resume for 2005-09-29 15:00:09 +00:00
pci_if.m Revamp the MSI/MSI-X code a bit to achieve two main goals: 2007-05-02 17:50:36 +00:00
pci_pci.c Style nit. Continued lines are indented 2 spaces in this file. 2008-09-03 06:57:21 +00:00
pci_private.h Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
pci_user.c Don't cache the new-bus name of a PCI device in the PCI conf structure, 2008-01-15 21:40:46 +00:00
pci.c Disable decoding of BARs by devices before we trash the value in the BAR 2009-01-16 22:22:30 +00:00
pcib_if.m Revamp the MSI/MSI-X code a bit to achieve two main goals: 2007-05-02 17:50:36 +00:00
pcib_private.h Add some sysctl reporting for most pci_pci bridges. We now report 2008-08-16 20:18:40 +00:00
pcireg.h Nit: Add a few leading zeros to make this match other mask constants 2008-11-03 15:38:45 +00:00
pcivar.h SATA device on some nForce based boards could get confused if MSI is not 2008-07-23 09:44:36 +00:00
vga_pci.c pci_setup_intr() will only enable MSI/MSI-X for direct children. Add methods 2008-09-19 19:11:35 +00:00