Page MenuHomeFreeBSD

D59836.diff
No OneTemporary

D59836.diff

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

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)

Event Timeline