Page MenuHomeFreeBSD

D35798.id108084.diff
No OneTemporary

D35798.id108084.diff

Index: sys/conf/options.amd64
===================================================================
--- sys/conf/options.amd64
+++ sys/conf/options.amd64
@@ -61,3 +61,6 @@
# EFI Runtime services support
EFIRT opt_efirt.h
+
+# Don't create a "legacy" PCI bridge if none is found.
+NO_LEGACY_PCIB opt_cpu.h
Index: sys/conf/options.i386
===================================================================
--- sys/conf/options.i386
+++ sys/conf/options.i386
@@ -105,3 +105,6 @@
# options for the Intel C600 SAS driver (isci)
ISCI_LOGGING opt_isci.h
+
+# Don't create a "legacy" PCI bridge if none is found.
+NO_LEGACY_PCIB opt_cpu.h
Index: sys/x86/pci/pci_bus.c
===================================================================
--- sys/x86/pci/pci_bus.c
+++ sys/x86/pci/pci_bus.c
@@ -488,11 +488,13 @@
* Note that pci_cfgregopen() thinks we have PCI devices..
*/
if (!found) {
+#ifndef NO_LEGACY_PCIB
if (bootverbose)
printf(
"legacy_pcib_identify: no bridge found, adding pcib0 anyway\n");
child = BUS_ADD_CHILD(parent, 100, "pcib", 0);
legacy_set_pcibus(child, 0);
+#endif
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 13, 2:51 PM (7 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36652444
Default Alt Text
D35798.id108084.diff (1 KB)

Event Timeline