summaryrefslogtreecommitdiffstats
path: root/sys/arm/lpc/lpc_ohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/lpc/lpc_ohci.c')
-rw-r--r--sys/arm/lpc/lpc_ohci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/lpc/lpc_ohci.c b/sys/arm/lpc/lpc_ohci.c
index c6ebef9..d05b3a3 100644
--- a/sys/arm/lpc/lpc_ohci.c
+++ b/sys/arm/lpc/lpc_ohci.c
@@ -98,6 +98,10 @@ static void lpc_isp3101_configure(device_t dev, struct ohci_softc *);
static int
lpc_ohci_probe(device_t dev)
{
+
+ if (!ofw_bus_status_okay(dev))
+ return (ENXIO);
+
if (!ofw_bus_is_compatible(dev, "lpc,usb-ohci"))
return (ENXIO);
OpenPOWER on IntegriCloud