diff options
Diffstat (limited to 'sys/mips/beri/beri_simplebus.c')
-rw-r--r-- | sys/mips/beri/beri_simplebus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/beri/beri_simplebus.c b/sys/mips/beri/beri_simplebus.c index 58927f9..55b3149 100644 --- a/sys/mips/beri/beri_simplebus.c +++ b/sys/mips/beri/beri_simplebus.c @@ -144,6 +144,9 @@ static int simplebus_probe(device_t dev) { + if (!ofw_bus_status_okay(dev)) + return (ENXIO); + if (!ofw_bus_is_compatible(dev, "simple-bus")) return (ENXIO); |