From 6475434e9358e5fddedb6aa11660c7437b4a9743 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Sat, 24 Dec 2011 20:12:07 +0800 Subject: [PATCH] pci: We must not enable pci_do_msix currently --- sys/bus/pci/pci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/bus/pci/pci.c b/sys/bus/pci/pci.c index c906a8b77c..1fbe006316 100644 --- a/sys/bus/pci/pci.c +++ b/sys/bus/pci/pci.c @@ -291,10 +291,12 @@ TUNABLE_INT("hw.pci.enable_msi", &pci_do_msi); SYSCTL_INT(_hw_pci, OID_AUTO, enable_msi, CTLFLAG_RW, &pci_do_msi, 1, "Enable support for MSI interrupts"); -static int pci_do_msix = 1; +static int pci_do_msix = 0; +#if 0 TUNABLE_INT("hw.pci.enable_msix", &pci_do_msix); SYSCTL_INT(_hw_pci, OID_AUTO, enable_msix, CTLFLAG_RW, &pci_do_msix, 1, "Enable support for MSI-X interrupts"); +#endif static int pci_honor_msi_blacklist = 1; TUNABLE_INT("hw.pci.honor_msi_blacklist", &pci_honor_msi_blacklist); -- 2.41.0