Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149327213
D20213.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20213.id.diff
View Options
Index: head/sys/dev/pci/pci_host_generic_acpi.c
===================================================================
--- head/sys/dev/pci/pci_host_generic_acpi.c
+++ head/sys/dev/pci/pci_host_generic_acpi.c
@@ -207,11 +207,7 @@
mcfg_entry++;
}
if (found) {
- if (mcfg_entry->EndBusNumber < sc->base.bus_end) {
- device_printf(dev, "bus end mismatch! expected %d found %d.\n",
- sc->base.bus_end, (int)mcfg_entry->EndBusNumber);
- sc->base.bus_end = mcfg_entry->EndBusNumber;
- }
+ sc->base.bus_end = mcfg_entry->EndBusNumber;
base = mcfg_entry->Address;
} else {
device_printf(dev, "MCFG exists, but does not have bus %d-%d\n",
@@ -220,9 +216,10 @@
}
} else {
status = acpi_GetInteger(handle, "_CBA", &val);
- if (ACPI_SUCCESS(status))
+ if (ACPI_SUCCESS(status)) {
base = val;
- else
+ sc->base.bus_end = 255;
+ } else
return (ENXIO);
}
@@ -259,7 +256,6 @@
device_printf(dev, "No _BBN, using start bus 0\n");
sc->base.bus_start = 0;
}
- sc->base.bus_end = 255;
/* Get PCI Segment (domain) needed for MCFG lookup */
status = acpi_GetInteger(handle, "_SEG", &sc->base.ecam);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 24, 6:50 PM (6 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30265809
Default Alt Text
D20213.id.diff (1 KB)
Attached To
Mode
D20213: pci: ecam: Do not warn on mismatch of bus_end
Attached
Detach File
Event Timeline
Log In to Comment