summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/storage/urio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/storage/urio.c')
-rw-r--r--sys/dev/usb/storage/urio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/storage/urio.c b/sys/dev/usb/storage/urio.c
index 0c27aa0..442e38d 100644
--- a/sys/dev/usb/storage/urio.c
+++ b/sys/dev/usb/storage/urio.c
@@ -189,7 +189,7 @@ urio_probe(device_t dev)
{
struct usb2_attach_arg *uaa = device_get_ivars(dev);
- if (uaa->usb2_mode != USB_MODE_HOST) {
+ if (uaa->usb_mode != USB_MODE_HOST) {
return (ENXIO);
}
if ((((uaa->info.idVendor == USB_VENDOR_DIAMOND) &&
OpenPOWER on IntegriCloud