Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175570924
D35548.id107303.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
829 B
Referenced Files
None
Subscribers
None
D35548.id107303.diff
View Options
diff --git a/sys/x86/x86/mptable.c b/sys/x86/x86/mptable.c
--- a/sys/x86/x86/mptable.c
+++ b/sys/x86/x86/mptable.c
@@ -1250,7 +1250,7 @@
struct host_res_args args;
KASSERT(pci0 != -1, ("do not know how to map PCI bus IDs"));
- args.bus = pci_get_bus(pcib) + pci0;
+ args.bus = legacy_get_pcibus(pcib) + pci0;
args.dev = pcib;
args.sc = device_get_softc(pcib);
if (pcib_host_res_init(pcib, &args.sc->sc_host_res) != 0)
diff --git a/sys/x86/x86/mptable_pci.c b/sys/x86/x86/mptable_pci.c
--- a/sys/x86/x86/mptable_pci.c
+++ b/sys/x86/x86/mptable_pci.c
@@ -57,7 +57,7 @@
if (pci_cfgregopen() == 0)
return (ENXIO);
- if (mptable_pci_probe_table(pcib_get_bus(dev)) != 0)
+ if (mptable_pci_probe_table(legacy_get_pcibus(dev)) != 0)
return (ENXIO);
device_set_desc(dev, "MPTable Host-PCI bridge");
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 12, 6:54 PM (18 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40693312
Default Alt Text
D35548.id107303.diff (829 B)
Attached To
Mode
D35548: mptable_hostb: Use legacy_get_pcibus() to fetch PCI bus number.
Attached
Detach File
Event Timeline
Log In to Comment