Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172577748
D59836.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
442 B
Referenced Files
None
Subscribers
None
D59836.diff
View Options
diff --git a/sys/dev/dpaa2/dpaa2_mc_fdt.c b/sys/dev/dpaa2/dpaa2_mc_fdt.c
--- a/sys/dev/dpaa2/dpaa2_mc_fdt.c
+++ b/sys/dev/dpaa2/dpaa2_mc_fdt.c
@@ -345,6 +345,11 @@
static const struct ofw_bus_devinfo *
dpaa2_mc_simplebus_get_devinfo(device_t bus, device_t child)
{
+ struct dpaa2_mc_softc *sc;
+
+ sc = device_get_softc(bus);
+ if (child == sc->rcdev)
+ return (NULL);
return (OFW_BUS_GET_DEVINFO(device_get_parent(bus), child));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 20, 10:01 AM (16 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39285875
Default Alt Text
D59836.diff (442 B)
Attached To
Mode
D59836: dpaa2: Don't return simplebus devinfo for a non-simplebus child
Attached
Detach File
Event Timeline
Log In to Comment