diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2016-08-12 08:08:29 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2016-08-12 08:08:29 +0000 |
commit | f7bf0c8e6fbd8d2a6f243f8e61617d7fe58393ed (patch) | |
tree | ca6227ab00a5dfa11e6f01c5605bae9a2ac1efa1 | |
parent | 8c1a8a7b98dc13662c490a782805ef2a49bda66b (diff) | |
download | src-f7bf0c8e6fbd8d2a6f243f8e61617d7fe58393ed.tar.gz src-f7bf0c8e6fbd8d2a6f243f8e61617d7fe58393ed.zip |
MFC r302371:
Fix regression issue with XHCI on 32-bit ARMv7 Armada-38x. Make sure
"struct xhci_dev_ctx_addr" fits into a single 4K page until further.
Notes
Notes:
svn path=/stable/8/; revision=303999
-rw-r--r-- | sys/dev/usb/controller/xhci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/xhci.h b/sys/dev/usb/controller/xhci.h index 7a7a457ddda6..661253a46451 100644 --- a/sys/dev/usb/controller/xhci.h +++ b/sys/dev/usb/controller/xhci.h @@ -30,7 +30,7 @@ #define XHCI_MAX_DEVICES MIN(USB_MAX_DEVICES, 128) #define XHCI_MAX_ENDPOINTS 32 /* hardcoded - do not change */ -#define XHCI_MAX_SCRATCHPADS 1024 +#define XHCI_MAX_SCRATCHPADS 256 /* theoretical max is 1023 */ #define XHCI_MAX_EVENTS (16 * 13) #define XHCI_MAX_COMMANDS (16 * 1) #define XHCI_MAX_RSEG 1 |