diff options
author | jhb <jhb@FreeBSD.org> | 2013-06-24 18:30:44 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-06-24 18:30:44 +0000 |
commit | 5be6531fa515a5ffc18308909ce829b2082904c7 (patch) | |
tree | 701b41b5f9265f942a144f738b2a48e91e15a800 /sys/dev/pci | |
parent | fd69e3f2df65d87b78e41ad2275b6ca79421c5c7 (diff) | |
download | FreeBSD-src-5be6531fa515a5ffc18308909ce829b2082904c7.zip FreeBSD-src-5be6531fa515a5ffc18308909ce829b2082904c7.tar.gz |
Disable hw.pci.realloc_bars by default. It wasn't needed for the original
tester of this fix, and realloc_bars breaks some other cases as a small
BAR that is reallocated can end up grabbing space needed by a much larger
BAR in the existing window of a PCI-PCI bridge.
MFC after: 3 days
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 2851ab7..bea162b 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -280,7 +280,7 @@ SYSCTL_INT(_hw_pci, OID_AUTO, enable_io_modes, CTLFLAG_RW, enable these bits correctly. We'd like to do this all the time, but there\n\ are some peripherals that this causes problems with."); -static int pci_do_realloc_bars = 1; +static int pci_do_realloc_bars = 0; TUNABLE_INT("hw.pci.realloc_bars", &pci_do_realloc_bars); SYSCTL_INT(_hw_pci, OID_AUTO, realloc_bars, CTLFLAG_RW, &pci_do_realloc_bars, 0, |