mirror of https://github.com/hak5/openwrt-owl.git
ramips: change vlan_config for the ALFA W502U board
This change moves the WAN port into a separate VLAN. SVN-Revision: 29969owl
parent
b3568b10c2
commit
44ed690cb3
|
@ -113,7 +113,7 @@ static void __init w502u_init(void)
|
||||||
RT305X_GPIO_MODE_UART0_SHIFT));
|
RT305X_GPIO_MODE_UART0_SHIFT));
|
||||||
|
|
||||||
rt305x_register_flash(0, &w502u_flash_data);
|
rt305x_register_flash(0, &w502u_flash_data);
|
||||||
rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
|
rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;
|
||||||
rt305x_register_ethernet();
|
rt305x_register_ethernet();
|
||||||
ramips_register_gpio_leds(-1, ARRAY_SIZE(w502u_leds_gpio),
|
ramips_register_gpio_leds(-1, ARRAY_SIZE(w502u_leds_gpio),
|
||||||
w502u_leds_gpio);
|
w502u_leds_gpio);
|
||||||
|
|
Loading…
Reference in New Issue