summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-07-16 08:39:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-07-16 08:39:04 +0000
commit9c7294f7c7c1f5b1e567ff0d0f01a52b7dc1aecd (patch)
tree1c5f51e8d8e67045c717a1b5bba62e2ab6d12ab2 /target/linux/brcm63xx
parent78fa88ca819c1344bbdede71f2c3f49f376a2dae (diff)
downloadmtk-20170518-9c7294f7c7c1f5b1e567ff0d0f01a52b7dc1aecd.zip
mtk-20170518-9c7294f7c7c1f5b1e567ff0d0f01a52b7dc1aecd.tar.gz
mtk-20170518-9c7294f7c7c1f5b1e567ff0d0f01a52b7dc1aecd.tar.bz2
add ehci support to DWV-S0 board (#9059)
SVN-Revision: 27622
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_ehci.patch10
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch4
-rw-r--r--target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch4
-rw-r--r--target/linux/brcm63xx/patches-3.0/010-add_bcm63xx_ohci_controller.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_ehci.patch10
-rw-r--r--target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch4
7 files changed, 28 insertions, 8 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_ehci.patch b/target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_ehci.patch
new file mode 100644
index 0000000..76ffa1e
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.39/456-board_DWV-S0_ehci.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -1347,6 +1347,7 @@ static struct board_info __initdata boar
+ },
+
+ .has_ohci0 = 1,
++ .has_ehci0 = 1,
+ };
+
+ /* D-Link DSL-274xB revison C2/C3 */
diff --git a/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch b/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch
index 25e75ee..ab4b0e5 100644
--- a/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch
+++ b/target/linux/brcm63xx/patches-2.6.39/500-ssb-add-callback-for-sprom.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2130,6 +2130,17 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2131,6 +2131,17 @@ static struct ssb_sprom bcm63xx_sprom =
.boardflags_lo = 0x2848,
.boardflags_hi = 0x0000,
};
@@ -18,7 +18,7 @@
#endif
/*
-@@ -2405,8 +2416,9 @@ int __init board_register_devices(void)
+@@ -2406,8 +2417,9 @@ int __init board_register_devices(void)
if (!board_get_mac_address(bcm63xx_sprom.il0mac)) {
memcpy(bcm63xx_sprom.et0mac, bcm63xx_sprom.il0mac, ETH_ALEN);
memcpy(bcm63xx_sprom.et1mac, bcm63xx_sprom.il0mac, ETH_ALEN);
diff --git a/target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch
index a7f5473..efedd24 100644
--- a/target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch
+++ b/target/linux/brcm63xx/patches-2.6.39/977-ssb_export_fallback_sprom.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2110,7 +2110,7 @@ static void __init nb4_nvram_fixup(void)
+@@ -2111,7 +2111,7 @@ static void __init nb4_nvram_fixup(void)
* bcm4318 WLAN work
*/
#ifdef CONFIG_SSB_PCIHOST
@@ -9,7 +9,7 @@
.revision = 0x02,
.board_rev = 0x17,
.country_code = 0x0,
-@@ -2130,6 +2130,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2131,6 +2131,7 @@ static struct ssb_sprom bcm63xx_sprom =
.boardflags_lo = 0x2848,
.boardflags_hi = 0x0000,
};
diff --git a/target/linux/brcm63xx/patches-3.0/010-add_bcm63xx_ohci_controller.patch b/target/linux/brcm63xx/patches-3.0/010-add_bcm63xx_ohci_controller.patch
index 2c32a20..add74a5 100644
--- a/target/linux/brcm63xx/patches-3.0/010-add_bcm63xx_ohci_controller.patch
+++ b/target/linux/brcm63xx/patches-3.0/010-add_bcm63xx_ohci_controller.patch
@@ -177,7 +177,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+MODULE_ALIAS("platform:bcm63xx_ohci");
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
-@@ -1056,6 +1056,11 @@ MODULE_LICENSE ("GPL");
+@@ -1058,6 +1058,11 @@ MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER ohci_hcd_da8xx_driver
#endif
diff --git a/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch b/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch
index d287c52..b313834 100644
--- a/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch
+++ b/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch
@@ -164,7 +164,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+MODULE_ALIAS("platform:bcm63xx_ehci");
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
-@@ -1282,6 +1282,11 @@ MODULE_LICENSE ("GPL");
+@@ -1286,6 +1286,11 @@ MODULE_LICENSE ("GPL");
#define PLATFORM_DRIVER ehci_grlib_driver
#endif
diff --git a/target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_ehci.patch b/target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_ehci.patch
new file mode 100644
index 0000000..76ffa1e
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.0/456-board_DWV-S0_ehci.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -1347,6 +1347,7 @@ static struct board_info __initdata boar
+ },
+
+ .has_ohci0 = 1,
++ .has_ehci0 = 1,
+ };
+
+ /* D-Link DSL-274xB revison C2/C3 */
diff --git a/target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch
index a7f5473..efedd24 100644
--- a/target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch
+++ b/target/linux/brcm63xx/patches-3.0/977-ssb_export_fallback_sprom.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2110,7 +2110,7 @@ static void __init nb4_nvram_fixup(void)
+@@ -2111,7 +2111,7 @@ static void __init nb4_nvram_fixup(void)
* bcm4318 WLAN work
*/
#ifdef CONFIG_SSB_PCIHOST
@@ -9,7 +9,7 @@
.revision = 0x02,
.board_rev = 0x17,
.country_code = 0x0,
-@@ -2130,6 +2130,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -2131,6 +2131,7 @@ static struct ssb_sprom bcm63xx_sprom =
.boardflags_lo = 0x2848,
.boardflags_hi = 0x0000,
};