diff --git a/sys/arm/allwinner/if_emac.c b/sys/arm/allwinner/if_emac.c index a500f7b64e76..ae196f2da444 100644 --- a/sys/arm/allwinner/if_emac.c +++ b/sys/arm/allwinner/if_emac.c @@ -783,6 +783,9 @@ static int emac_probe(device_t dev) { + if (!ofw_bus_status_okay(dev)) + return (ENXIO); + if (!ofw_bus_is_compatible(dev, "allwinner,sun4i-a10-emac")) return (ENXIO);