Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Fix num of Max Interrupters to 11 bits width.
details: https://anonhg.NetBSD.org/src/rev/8ed079cd20a1
branches: nick-nhusb
changeset: 334221:8ed079cd20a1
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jun 06 16:38:07 2015 +0000
description:
Fix num of Max Interrupters to 11 bits width.
>From t-hash.
diffstat:
sys/dev/usb/xhcireg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8616f8368b72 -r 8ed079cd20a1 sys/dev/usb/xhcireg.h
--- a/sys/dev/usb/xhcireg.h Sat Jun 06 15:27:38 2015 +0000
+++ b/sys/dev/usb/xhcireg.h Sat Jun 06 16:38:07 2015 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index