svn commit: r205957 - stable/8/sys/dev/pci
Marcel Moolenaar
marcel at FreeBSD.org
Wed Mar 31 03:14:41 UTC 2010
Author: marcel
Date: Wed Mar 31 03:14:40 2010
New Revision: 205957
URL: http://svn.freebsd.org/changeset/base/205957
Log:
MFC rev 198431:
Have the early USB takeover only enabled for i386 and amd64
by default. This also avoids a panic on PowerPC.
Modified:
stable/8/sys/dev/pci/pci.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/pci/pci.c
==============================================================================
--- stable/8/sys/dev/pci/pci.c Wed Mar 31 02:43:58 2010 (r205956)
+++ stable/8/sys/dev/pci/pci.c Wed Mar 31 03:14:40 2010 (r205957)
@@ -274,7 +274,11 @@ TUNABLE_INT("hw.pci.honor_msi_blacklist"
SYSCTL_INT(_hw_pci, OID_AUTO, honor_msi_blacklist, CTLFLAG_RD,
&pci_honor_msi_blacklist, 1, "Honor chipset blacklist for MSI");
+#if defined(__i386__) || defined(__amd64__)
static int pci_usb_takeover = 1;
+#else
+static int pci_usb_takeover = 0;
+#endif
TUNABLE_INT("hw.pci.usb_early_takeover", &pci_usb_takeover);
SYSCTL_INT(_hw_pci, OID_AUTO, usb_early_takeover, CTLFLAG_RD | CTLFLAG_TUN,
&pci_usb_takeover, 1, "Enable early takeover of USB controllers.\n\
More information about the svn-src-stable-8
mailing list