aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-09-15 09:28:28 +0000
committerJohn Crispin <blogic@openwrt.org>2012-09-15 09:28:28 +0000
commit148b5c8db71aa6a2344ffee4e3f20ecb8acb5576 (patch)
tree94d54f0be2c99bce6b45df5ecb92c1ad37b35aad /target/linux/ramips/files
parentc8cf798b794dc36b5673a331e94b2781a5c52893 (diff)
downloadupstream-148b5c8db71aa6a2344ffee4e3f20ecb8acb5576.tar.gz
upstream-148b5c8db71aa6a2344ffee4e3f20ecb8acb5576.tar.bz2
upstream-148b5c8db71aa6a2344ffee4e3f20ecb8acb5576.zip
D-Link DAP-1350; Avoid bricking esw config
This is a patch to connect eth0.1 (lan) to the only ethernet connector available. D-Link DAP-1350 goes bricked with AA 12.09-beta. This is because the current esw configuration for the board connects eth0.2 (wan) to the *ONE and ONLY* ethernet connector available, preventing initial access to the board through 192.168.1.1 on eth0.1 after flashing, effectively bricking the board. There are things that should be done to make this board really useful, but for AA 12.09, this one liner is indispensable. Signed of by Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33411 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c
index cd5d6ae53e..42d3ebe7b5 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c
@@ -79,7 +79,7 @@ static void __init dap_1350_init(void)
rt305x_register_flash(0);
- rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;
+ rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
rt305x_register_ethernet();
ramips_register_gpio_leds(-1, ARRAY_SIZE(dap_1350_leds_gpio),
dap_1350_leds_gpio);