Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176918474
D59836.1793611852.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
442 B
Referenced Files
None
Subscribers
None
D59836.1793611852.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
Mon, Nov 2, 9:30 AM (5 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39285875
Default Alt Text
D59836.1793611852.diff (442 B)
Attached To
Mode
D59836: dpaa2: Don't return simplebus devinfo for a non-simplebus child
Attached
Detach File
Event Timeline