diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-07-06 10:57:04 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-07-06 10:57:04 +0000 |
commit | 6716d2f9c59a7e486e25adf6deb45918be1898ef (patch) | |
tree | e8b86dbd844dfb11174b0cccdecf63366a601bbe | |
parent | a1ab1fdac648b1bbc8ef66553998da79e6257cbd (diff) | |
download | FreeBSD-src-6716d2f9c59a7e486e25adf6deb45918be1898ef.zip FreeBSD-src-6716d2f9c59a7e486e25adf6deb45918be1898ef.tar.gz |
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.
Approved by: re (hrs)
MFC after: 1 week
-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 ee5b4b0..e8bc9ad 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 |