From f286b80a7419f00855954fb37ec1e2d85231325f Mon Sep 17 00:00:00 2001 From: thepeople Date: Sun, 14 Mar 2010 01:41:52 +0000 Subject: Switch Marvell Orion CPU to kernel 2.6.32 plus LED support for all LEDs on LinkSys WRT350Nv2. Signed-off by: Matthias Buecher and Dirk Teurlings git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20185 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../orion/patches/020-wnr854t_switch_support.patch | 39 ---------------------- 1 file changed, 39 deletions(-) (limited to 'target/linux/orion/patches/020-wnr854t_switch_support.patch') diff --git a/target/linux/orion/patches/020-wnr854t_switch_support.patch b/target/linux/orion/patches/020-wnr854t_switch_support.patch index f62b56944..e69de29bb 100644 --- a/target/linux/orion/patches/020-wnr854t_switch_support.patch +++ b/target/linux/orion/patches/020-wnr854t_switch_support.patch @@ -1,39 +0,0 @@ ---- a/arch/arm/mach-orion5x/wnr854t-setup.c -+++ b/arch/arm/mach-orion5x/wnr854t-setup.c -@@ -15,6 +15,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -97,6 +98,20 @@ static struct mv643xx_eth_platform_data - .duplex = DUPLEX_FULL, - }; - -+static struct dsa_chip_data wnr854t_switch_chip_data = { -+ .port_names[0] = "lan3", -+ .port_names[1] = "lan4", -+ .port_names[2] = "wan", -+ .port_names[3] = "cpu", -+ .port_names[5] = "lan1", -+ .port_names[7] = "lan2", -+}; -+ -+static struct dsa_platform_data wnr854t_switch_plat_data = { -+ .nr_chips = 1, -+ .chip = &wnr854t_switch_chip_data, -+}; -+ - static void __init wnr854t_init(void) - { - /* -@@ -110,6 +125,7 @@ static void __init wnr854t_init(void) - * Configure peripherals. - */ - orion5x_eth_init(&wnr854t_eth_data); -+ orion5x_eth_switch_init(&wnr854t_switch_plat_data, NO_IRQ); - orion5x_uart0_init(); - - orion5x_setup_dev_boot_win(WNR854T_NOR_BOOT_BASE, -- cgit v1.2.3