Author: jhb
Date: Mon Jun 24 18:30:44 2013
New Revision: 252166
URL: http://svnweb.freebsd.org/changeset/base/252166

Log:
  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

Modified:
  head/sys/dev/pci/pci.c

Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c      Mon Jun 24 18:27:44 2013        (r252165)
+++ head/sys/dev/pci/pci.c      Mon Jun 24 18:30:44 2013        (r252166)
@@ -280,7 +280,7 @@ SYSCTL_INT(_hw_pci, OID_AUTO, enable_io_
 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,
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to