summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2019-02-14 18:41:00 +0000
committermglocker <mglocker@openbsd.org>2019-02-14 18:41:00 +0000
commit1ea27defc41ea00be849d307f2e7f1722a9c287c (patch)
treea43d0056d4c8665776fed67a45a2b4348bf6d7f2
parentsync with kristaps, commit 438c1948c76a1ecd94e53e09ba88ec7e93004540 (diff)
downloadwireguard-openbsd-1ea27defc41ea00be849d307f2e7f1722a9c287c.tar.xz
wireguard-openbsd-1ea27defc41ea00be849d307f2e7f1722a9c287c.zip
HCCPARAMS1 register CFC and SEC values are 1 bit.
ok mpi@
-rw-r--r--sys/dev/usb/xhcireg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/xhcireg.h b/sys/dev/usb/xhcireg.h
index b0aa87eb900..b759cc5cc0d 100644
--- a/sys/dev/usb/xhcireg.h
+++ b/sys/dev/usb/xhcireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: xhcireg.h,v 1.14 2018/04/28 08:19:35 mpi Exp $ */
+/* $OpenBSD: xhcireg.h,v 1.15 2019/02/14 18:41:00 mglocker Exp $ */
/*-
* Copyright (c) 2014 Martin Pieuchot. All rights reserved.
@@ -93,8 +93,8 @@
#define XHCI_HCC_NSS(x) (((x) >> 7) & 0x1) /* No secondary sid */
#define XHCI_HCC_PAE(x) (((x) >> 8) & 0x1) /* Pase All Event Data */
#define XHCI_HCC_SPC(x) (((x) >> 9) & 0x1) /* Short packet */
-#define XHCI_HCC_SEC(x) (((x) >> 10) & 0xf) /* Stopped EDTLA */
-#define XHCI_HCC_CFC(x) (((x) >> 11) & 0xf) /* Configuous Frame ID */
+#define XHCI_HCC_SEC(x) (((x) >> 10) & 0x1) /* Stopped EDTLA */
+#define XHCI_HCC_CFC(x) (((x) >> 11) & 0x1) /* Configuous Frame ID */
#define XHCI_HCC_MAX_PSA_SZ(x) (((x) >> 12) & 0xf) /* Max pri. stream arr. */
#define XHCI_HCC_XECP(x) (((x) >> 16) & 0xffff) /* Ext. capabilities */