summaryrefslogtreecommitdiff
path: root/sys/dev/usb/controller/ohci.c
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-05-21 00:04:17 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-05-21 00:04:17 +0000
commitf29a072444d6e31d57f7edd94f952395ae7bb22e (patch)
tree3eff09d6b64c2439f2bb8e9d4a3aad08d336b07d /sys/dev/usb/controller/ohci.c
parent74904f7d58b9ddbedaf01e28432a8968295033b2 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/controller/ohci.c')
-rw-r--r--sys/dev/usb/controller/ohci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/ohci.c b/sys/dev/usb/controller/ohci.c
index 6cff48ae3145..fe88461cc2da 100644
--- a/sys/dev/usb/controller/ohci.c
+++ b/sys/dev/usb/controller/ohci.c
@@ -2570,10 +2570,10 @@ ohci_pipe_init(struct usb2_device *udev, struct usb2_endpoint_descriptor *edesc,
DPRINTFN(2, "pipe=%p, addr=%d, endpt=%d, mode=%d (%d)\n",
pipe, udev->address,
- edesc->bEndpointAddress, udev->flags.usb2_mode,
+ edesc->bEndpointAddress, udev->flags.usb_mode,
sc->sc_addr);
- if (udev->flags.usb2_mode != USB_MODE_HOST) {
+ if (udev->flags.usb_mode != USB_MODE_HOST) {
/* not supported */
return;
}