Author: zbb
Date: Wed May 17 15:52:04 2017
New Revision: 318405
URL: https://svnweb.freebsd.org/changeset/base/318405

Log:
  Fix USB3.0 decoding windows on Armada38x
  
  Set correct offset for MBUS windows configuration in
  USB3.0 interface.
  
  Submitted by: Marcin Wojtas <[email protected]>
  Obtained from: Semihalf
  Sponsored by: Stormshield
  Reviewed by: loos
  Differential revision: https://reviews.freebsd.org/D10721

Modified:
  head/sys/arm/mv/mvwin.h

Modified: head/sys/arm/mv/mvwin.h
==============================================================================
--- head/sys/arm/mv/mvwin.h     Wed May 17 15:13:01 2017        (r318404)
+++ head/sys/arm/mv/mvwin.h     Wed May 17 15:52:04 2017        (r318405)
@@ -220,8 +220,8 @@
 #define MV_WIN_USB_BASE(n)             (0x10 * (n) + 0x324)
 #define MV_WIN_USB_MAX                 4
 
-#define        MV_WIN_USB3_CTRL(n)             (0x8 * (n))
-#define        MV_WIN_USB3_BASE(n)             (0x8 * (n) + 0x4)
+#define        MV_WIN_USB3_CTRL(n)             (0x8 * (n) + 0x4000)
+#define        MV_WIN_USB3_BASE(n)             (0x8 * (n) + 0x4004)
 #define        MV_WIN_USB3_MAX                 8
 
 #define MV_WIN_ETH_BASE(n)             (0x8 * (n) + 0x200)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to