Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102796172
D31508.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
D31508.diff
View Options
diff --git a/sys/dev/pci/pci_host_generic_fdt.c b/sys/dev/pci/pci_host_generic_fdt.c
--- a/sys/dev/pci/pci_host_generic_fdt.c
+++ b/sys/dev/pci/pci_host_generic_fdt.c
@@ -138,6 +138,14 @@
/* TODO parse FDT bus ranges */
sc->base.bus_start = 0;
sc->base.bus_end = 0xFF;
+
+ /*
+ * ofw_pcib uses device unit as PCI domain number.
+ * Do the same. Some boards have multiple RCs handled
+ * by different drivers, this ensures that there are
+ * no collisions.
+ */
+ sc->base.ecam = device_get_unit(dev);
error = pci_host_generic_core_attach(dev);
if (error != 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 7:38 AM (20 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14692716
Default Alt Text
D31508.diff (579 B)
Attached To
Mode
D31508: pci_host_generic_fdt: set domain number
Attached
Detach File
Event Timeline
Log In to Comment