Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106226466
D35798.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1015 B
Referenced Files
None
Subscribers
None
D35798.diff
View Options
diff --git a/sys/conf/options.amd64 b/sys/conf/options.amd64
--- a/sys/conf/options.amd64
+++ b/sys/conf/options.amd64
@@ -60,3 +60,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
diff --git a/sys/conf/options.i386 b/sys/conf/options.i386
--- a/sys/conf/options.i386
+++ b/sys/conf/options.i386
@@ -104,3 +104,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
diff --git a/sys/x86/pci/pci_bus.c b/sys/x86/pci/pci_bus.c
--- a/sys/x86/pci/pci_bus.c
+++ b/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
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 28, 12:36 PM (6 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15622935
Default Alt Text
D35798.diff (1015 B)
Attached To
Mode
D35798: Add NO_LEGACY_PCIB kernel option to i386, amd64
Attached
Detach File
Event Timeline
Log In to Comment