mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 13:53:39 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252166
|
@ -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 a new issue