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
This commit is contained in:
parent
4aa4cd8e92
commit
19e1c4d115
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user