Module Name: src
Committed By: jmcneill
Date: Wed Jun 19 15:10:17 UTC 2019
Modified Files:
src/sys/dev/usb: xhcireg.h
Log Message:
HCSPARAMS2.SPR is bit 26, not 24
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/xhcireg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/xhcireg.h
diff -u src/sys/dev/usb/xhcireg.h:1.12 src/sys/dev/usb/xhcireg.h:1.13
--- src/sys/dev/usb/xhcireg.h:1.12 Wed Jul 18 10:44:17 2018
+++ src/sys/dev/usb/xhcireg.h Wed Jun 19 15:10:17 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: xhcireg.h,v 1.12 2018/07/18 10:44:17 msaitoh Exp $ */
+/* $NetBSD: xhcireg.h,v 1.13 2019/06/19 15:10:17 jmcneill Exp $ */
/*-
* Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
@@ -61,7 +61,7 @@
#define XHCI_HCSPARAMS2 0x08 /* RO structual parameters 2 */
#define XHCI_HCS2_IST(x) ((x) & 0xF)
#define XHCI_HCS2_ERST_MAX(x) (((x) >> 4) & 0xF)
-#define XHCI_HCS2_SPR(x) (((x) >> 24) & 0x1)
+#define XHCI_HCS2_SPR(x) (((x) >> 26) & 0x1)
#define XHCI_HCS2_SPBUFLO __BITS(31, 27)
#define XHCI_HCS2_SPBUFHI __BITS(25, 21)
#define XHCI_HCS2_MAXSPBUF(x) \