diff options
Diffstat (limited to 'sys/dev/cesa/cesa.c')
-rw-r--r-- | sys/dev/cesa/cesa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/cesa/cesa.c b/sys/dev/cesa/cesa.c index bc9a568..ed6a7ef 100644 --- a/sys/dev/cesa/cesa.c +++ b/sys/dev/cesa/cesa.c @@ -972,6 +972,10 @@ cesa_setup_sram(struct cesa_softc *sc) static int cesa_probe(device_t dev) { + + if (!ofw_bus_status_okay(dev)) + return (ENXIO); + if (!ofw_bus_is_compatible(dev, "mrvl,cesa")) return (ENXIO); |