summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/uhci.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-21 00:04:17 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-21 00:04:17 +0000
commit6493599dffcf59452030c317e21e1777f4087498 (patch)
tree3eff09d6b64c2439f2bb8e9d4a3aad08d336b07d /sys/dev/usb/controller/uhci.c
parentb9afde5728c1d132c1a6fcaf299551d590daed53 (diff)
downloadFreeBSD-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.c4
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;
}
OpenPOWER on IntegriCloud