Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb HCSPARAMS2.SPR is bit 26, not 24



details:   https://anonhg.NetBSD.org/src/rev/e53b61f2b356
branches:  trunk
changeset: 457320:e53b61f2b356
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Jun 19 15:10:17 2019 +0000

description:
HCSPARAMS2.SPR is bit 26, not 24

diffstat:

 sys/dev/usb/xhcireg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 61debb08ed9c -r e53b61f2b356 sys/dev/usb/xhcireg.h
--- a/sys/dev/usb/xhcireg.h     Wed Jun 19 15:01:01 2019 +0000
+++ b/sys/dev/usb/xhcireg.h     Wed Jun 19 15:10:17 2019 +0000
@@ -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)  \



Home | Main Index | Thread Index | Old Index