From e9fa42544e3f2e19b8b0cdc6c8792c73d7f5bbf2 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Wed, 31 Mar 2010 03:14:40 +0000 Subject: MFC rev 198431: Have the early USB takeover only enabled for i386 and amd64 by default. This also avoids a panic on PowerPC. --- sys/dev/pci/pci.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 650e2141b701..40b54995b170 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -274,7 +274,11 @@ TUNABLE_INT("hw.pci.honor_msi_blacklist", &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\ -- cgit v1.3