From 1aa48531a6837f05a22a2d17736c03d59bf37ea9 Mon Sep 17 00:00:00 2001 From: hselasky Date: Fri, 12 Aug 2016 08:05:40 +0000 Subject: 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. --- sys/dev/usb/controller/xhci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/usb/controller') diff --git a/sys/dev/usb/controller/xhci.h b/sys/dev/usb/controller/xhci.h index d4ed740..c50e852 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 -- cgit v1.1