diff options
Diffstat (limited to 'sys/arm/allwinner/a10_ehci.c')
-rw-r--r-- | sys/arm/allwinner/a10_ehci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/allwinner/a10_ehci.c b/sys/arm/allwinner/a10_ehci.c index 4145a5c..657a5f5 100644 --- a/sys/arm/allwinner/a10_ehci.c +++ b/sys/arm/allwinner/a10_ehci.c @@ -93,6 +93,10 @@ bs_w_1_proto(reversed); static int a10_ehci_probe(device_t self) { + + if (!ofw_bus_status_okay(self)) + return (ENXIO); + if (!ofw_bus_is_compatible(self, "allwinner,usb-ehci")) return (ENXIO); |