diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-21 00:04:17 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-21 00:04:17 +0000 |
commit | 6493599dffcf59452030c317e21e1777f4087498 (patch) | |
tree | 3eff09d6b64c2439f2bb8e9d4a3aad08d336b07d /sys/dev/usb/controller/uhci.c | |
parent | b9afde5728c1d132c1a6fcaf299551d590daed53 (diff) | |
download | FreeBSD-src-6493599dffcf59452030c317e21e1777f4087498.zip FreeBSD-src-6493599dffcf59452030c317e21e1777f4087498.tar.gz |
- rename usb2_mode to usb_mode [1]
- change variable types to use the enum
Submitted by: Hans Petter Selasky [1]
Diffstat (limited to 'sys/dev/usb/controller/uhci.c')
-rw-r--r-- | sys/dev/usb/controller/uhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/uhci.c b/sys/dev/usb/controller/uhci.c index 29235b3..1c52eec 100644 --- a/sys/dev/usb/controller/uhci.c +++ b/sys/dev/usb/controller/uhci.c @@ -3050,10 +3050,10 @@ uhci_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; } |