summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-2.6.27/011-add_preliminary_board_support.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-26 15:51:55 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-26 15:51:55 +0000
commit4fc7535fc7a84d75361a028095ebec24fb6535ee (patch)
tree3cfa38b88cc2b049a1d01a627892c2de781da6a7 /target/linux/brcm63xx/patches-2.6.27/011-add_preliminary_board_support.patch
parent0bb95d57548c43224d97283f1461b78d8f9e5f35 (diff)
downloadmtk-20170518-4fc7535fc7a84d75361a028095ebec24fb6535ee.zip
mtk-20170518-4fc7535fc7a84d75361a028095ebec24fb6535ee.tar.gz
mtk-20170518-4fc7535fc7a84d75361a028095ebec24fb6535ee.tar.bz2
Make 4-port LAN and 1 port wan configurations work
SVN-Revision: 13362
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.27/011-add_preliminary_board_support.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.27/011-add_preliminary_board_support.patch7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.27/011-add_preliminary_board_support.patch b/target/linux/brcm63xx/patches-2.6.27/011-add_preliminary_board_support.patch
index 1d8789f..847cd89 100644
--- a/target/linux/brcm63xx/patches-2.6.27/011-add_preliminary_board_support.patch
+++ b/target/linux/brcm63xx/patches-2.6.27/011-add_preliminary_board_support.patch
@@ -56,7 +56,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+obj-$(CONFIG_BOARD_BCM963XX) += board_bcm963xx.o
--- /dev/null
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -0,0 +1,353 @@
+@@ -0,0 +1,358 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
@@ -138,12 +138,17 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+ .expected_cpu_id = 0x6348,
+
+ .has_enet0 = 1,
++ .has_enet1 = 1,
+ .has_pci = 1,
+
+ .enet0 = {
+ .has_phy = 1,
+ .use_internal_phy = 1,
+ },
++ .enet1 = {
++ .force_speed_100 = 1,
++ .force_duplex_full = 1,
++ },
+};
+#endif
+