Author: hselasky
Date: Wed Jul  6 10:57:04 2016
New Revision: 302371
URL: https://svnweb.freebsd.org/changeset/base/302371

Log:
  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

Modified:
  head/sys/dev/usb/controller/xhci.h

Modified: head/sys/dev/usb/controller/xhci.h
==============================================================================
--- head/sys/dev/usb/controller/xhci.h  Wed Jul  6 10:29:29 2016        
(r302370)
+++ head/sys/dev/usb/controller/xhci.h  Wed Jul  6 10:57:04 2016        
(r302371)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to