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:
John Baldwin 2013-06-24 18:30:44 +00:00
parent 4aa4cd8e92
commit 19e1c4d115
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252166

View file

@ -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,