From 3e1e52a52469823eb8537892178800d857c168bb Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Thu, 2 Aug 2012 11:25:46 +0000
Subject: [PATCH] ar71xx: fix AR934X_EHCI_SIZE

SVN-Revision: 32947
---
 .../134-MIPS-ath79-add-USB-platform-setup-code-for-AR934X.patch | 2 +-
 ...7-MIPS-ath79-add-USB-controller-registration-code-for-.patch | 2 +-
 ...8-MIPS-ath79-add-WMAC-registration-code-for-the-QCA955.patch | 2 +-
 ...0-MIPS-ath79-add-PCI-controller-registration-code-for-.patch | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/ar71xx/patches-3.3/134-MIPS-ath79-add-USB-platform-setup-code-for-AR934X.patch b/target/linux/ar71xx/patches-3.3/134-MIPS-ath79-add-USB-platform-setup-code-for-AR934X.patch
index 2a287ecaa6..c77de28038 100644
--- a/target/linux/ar71xx/patches-3.3/134-MIPS-ath79-add-USB-platform-setup-code-for-AR934X.patch
+++ b/target/linux/ar71xx/patches-3.3/134-MIPS-ath79-add-USB-platform-setup-code-for-AR934X.patch
@@ -60,7 +60,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  #define AR934X_WMAC_BASE	(AR71XX_APB_BASE + 0x00100000)
  #define AR934X_WMAC_SIZE	0x20000
 +#define AR934X_EHCI_BASE	0x1b000000
-+#define AR934X_EHCI_SIZE	0x1000
++#define AR934X_EHCI_SIZE	0x200
  
  /*
   * DDR_CTRL block
diff --git a/target/linux/ar71xx/patches-3.3/167-MIPS-ath79-add-USB-controller-registration-code-for-.patch b/target/linux/ar71xx/patches-3.3/167-MIPS-ath79-add-USB-controller-registration-code-for-.patch
index c6b7814cb1..386d57c738 100644
--- a/target/linux/ar71xx/patches-3.3/167-MIPS-ath79-add-USB-controller-registration-code-for-.patch
+++ b/target/linux/ar71xx/patches-3.3/167-MIPS-ath79-add-USB-controller-registration-code-for-.patch
@@ -82,7 +82,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
 @@ -92,6 +92,10 @@
  #define AR934X_EHCI_BASE	0x1b000000
- #define AR934X_EHCI_SIZE	0x1000
+ #define AR934X_EHCI_SIZE	0x200
  
 +#define QCA955X_EHCI0_BASE	0x1b000000
 +#define QCA955X_EHCI1_BASE	0x1b400000
diff --git a/target/linux/ar71xx/patches-3.3/168-MIPS-ath79-add-WMAC-registration-code-for-the-QCA955.patch b/target/linux/ar71xx/patches-3.3/168-MIPS-ath79-add-WMAC-registration-code-for-the-QCA955.patch
index f5dabad3e4..6ff1034faa 100644
--- a/target/linux/ar71xx/patches-3.3/168-MIPS-ath79-add-WMAC-registration-code-for-the-QCA955.patch
+++ b/target/linux/ar71xx/patches-3.3/168-MIPS-ath79-add-WMAC-registration-code-for-the-QCA955.patch
@@ -61,7 +61,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
 @@ -92,6 +92,8 @@
  #define AR934X_EHCI_BASE	0x1b000000
- #define AR934X_EHCI_SIZE	0x1000
+ #define AR934X_EHCI_SIZE	0x200
  
 +#define QCA955X_WMAC_BASE	(AR71XX_APB_BASE + 0x00100000)
 +#define QCA955X_WMAC_SIZE	0x20000
diff --git a/target/linux/ar71xx/patches-3.3/170-MIPS-ath79-add-PCI-controller-registration-code-for-.patch b/target/linux/ar71xx/patches-3.3/170-MIPS-ath79-add-PCI-controller-registration-code-for-.patch
index ccf25ed454..c503a0da52 100644
--- a/target/linux/ar71xx/patches-3.3/170-MIPS-ath79-add-PCI-controller-registration-code-for-.patch
+++ b/target/linux/ar71xx/patches-3.3/170-MIPS-ath79-add-PCI-controller-registration-code-for-.patch
@@ -83,7 +83,7 @@ Subject: [PATCH 26/34] MIPS: ath79: add PCI controller registration code for the
 +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
 @@ -92,6 +92,19 @@
  #define AR934X_EHCI_BASE	0x1b000000
- #define AR934X_EHCI_SIZE	0x1000
+ #define AR934X_EHCI_SIZE	0x200
  
 +#define QCA955X_PCI_MEM_BASE0	0x10000000
 +#define QCA955X_PCI_MEM_BASE1	0x12000000
-- 
2.34.1