Module Name: src
Committed By: skrll
Date: Sat Jun 6 16:38:07 UTC 2015
Modified Files:
src/sys/dev/usb [nick-nhusb]: xhcireg.h
Log Message:
Fix num of Max Interrupters to 11 bits width.
>From t-hash.
To generate a diff of this commit:
cvs rdiff -u -r1.2.2.1 -r1.2.2.2 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.2.2.1 src/sys/dev/usb/xhcireg.h:1.2.2.2
--- src/sys/dev/usb/xhcireg.h:1.2.2.1 Mon Apr 6 15:18:14 2015
+++ src/sys/dev/usb/xhcireg.h Sat Jun 6 16:38:07 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: xhcireg.h,v 1.2.2.1 2015/04/06 15:18:14 skrll Exp $ */
+/* $NetBSD: xhcireg.h,v 1.2.2.2 2015/06/06 16:38:07 skrll Exp $ */
/* $FreeBSD$ */
/*-
@@ -51,7 +51,7 @@
#define XHCI_HCIVERSION_1_0 0x0100 /* xHCI version 1.0 */
#define XHCI_HCSPARAMS1 0x04 /* RO structual parameters 1 */
#define XHCI_HCS1_MAXSLOTS(x) ((x) & 0xFF)
-#define XHCI_HCS1_MAXINTRS(x) (((x) >> 8) & 0x3FF)
+#define XHCI_HCS1_MAXINTRS(x) (((x) >> 8) & 0x7FF)
#define XHCI_HCS1_MAXPORTS(x) (((x) >> 24) & 0xFF)
#define XHCI_HCSPARAMS2 0x08 /* RO structual parameters 2 */
#define XHCI_HCS2_IST(x) ((x) & 0xF)