diff options
| author | skrll <skrll@NetBSD.org> | 2013-08-25 06:16:19 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2013-08-25 06:16:19 +0000 |
| commit | 14f144178d1e5404cedbb203a22ba88b61ce576e (patch) | |
| tree | 5076a44407dc71707784525be02b9ef6800d92f3 /sys/dev/usb | |
| parent | 2831dd6e708f4ef5445cd9b1356974b859b7542a (diff) | |
Use UE_GET_XFERTYPE. No functional change.
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/ehci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index cdfb5f29158..298986fb4d6 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.208 2013/08/21 17:52:10 jakllsch Exp $ */ +/* $NetBSD: ehci.c,v 1.209 2013/08/25 06:16:19 skrll Exp $ */ /* * Copyright (c) 2004-2012 The NetBSD Foundation, Inc. @@ -53,7 +53,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.208 2013/08/21 17:52:10 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.209 2013/08/25 06:16:19 skrll Exp $"); #include "ohci.h" #include "uhci.h" @@ -1616,7 +1616,7 @@ ehci_open(usbd_pipe_handle pipe) ehci_softc_t *sc = dev->bus->hci_private; usb_endpoint_descriptor_t *ed = pipe->endpoint->edesc; u_int8_t addr = dev->address; - u_int8_t xfertype = ed->bmAttributes & UE_XFERTYPE; + u_int8_t xfertype = UE_GET_XFERTYPE(ed->bmAttributes); struct ehci_pipe *epipe = (struct ehci_pipe *)pipe; ehci_soft_qh_t *sqh; usbd_status err; |
