summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci_mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ehci_mv.c')
-rw-r--r--sys/dev/usb/controller/ehci_mv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/ehci_mv.c b/sys/dev/usb/controller/ehci_mv.c
index a47e253..32a24b5 100644
--- a/sys/dev/usb/controller/ehci_mv.c
+++ b/sys/dev/usb/controller/ehci_mv.c
@@ -103,6 +103,9 @@ static int
mv_ehci_probe(device_t self)
{
+ if (!ofw_bus_status_okay(self))
+ return (ENXIO);
+
if (!ofw_bus_is_compatible(self, "mrvl,usb-ehci"))
return (ENXIO);
OpenPOWER on IntegriCloud