diff options
Diffstat (limited to 'sys/mips/beri/beri_pic.c')
-rw-r--r-- | sys/mips/beri/beri_pic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/beri/beri_pic.c b/sys/mips/beri/beri_pic.c index f13f144..008732f 100644 --- a/sys/mips/beri/beri_pic.c +++ b/sys/mips/beri/beri_pic.c @@ -254,6 +254,9 @@ static int beripic_fdt_probe(device_t dev) { + if (!ofw_bus_status_okay(dev)) + return (ENXIO); + if (!ofw_bus_is_compatible(dev, "sri-cambridge,beri-pic")) return (ENXIO); |