summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzbb <zbb@FreeBSD.org>2017-05-17 15:52:04 +0000
committerLuiz Souza <luiz@netgate.com>2017-09-06 11:33:15 -0500
commit33736fefa6d3c28cf074795e0024ce272c56596e (patch)
tree22e956de5512ebe3758a630a87cfac9dd7d18f32
parent917194da6aa937ddfcf03ab9a6a8c09d578be5db (diff)
downloadFreeBSD-src-33736fefa6d3c28cf074795e0024ce272c56596e.zip
FreeBSD-src-33736fefa6d3c28cf074795e0024ce272c56596e.tar.gz
Fix USB3.0 decoding windows on Armada38x
Set correct offset for MBUS windows configuration in USB3.0 interface. Submitted by: Marcin Wojtas <mw@semihalf.com> Obtained from: Semihalf Sponsored by: Stormshield Reviewed by: loos Differential revision: https://reviews.freebsd.org/D10721 (cherry picked from commit e17167eae3edaaf148d536e5b8ff465c6b1c623a)
-rw-r--r--sys/arm/mv/mvwin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/mv/mvwin.h b/sys/arm/mv/mvwin.h
index e84c3a7..15a08ce 100644
--- a/sys/arm/mv/mvwin.h
+++ b/sys/arm/mv/mvwin.h
@@ -255,8 +255,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)
OpenPOWER on IntegriCloud