This allows them to transparently communicate with an external VLAN switch.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33305
case $board in
all0256n | \
- all5002 | \
+ all5002)
+ ucidef_set_interface_lan "eth0"
+ ;;
+
dir-615-h1 | \
wl-330n)
ucidef_set_interface_lan "eth0.1"
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
rt305x_register_spi(all0256n_spi_slave_info,
ARRAY_SIZE(all0256n_spi_slave_info));
- rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;
+ rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_NONE;
rt305x_register_ethernet();
ramips_register_gpio_leds(-1, ARRAY_SIZE(all0256n_leds_gpio),
all0256n_leds_gpio);
rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT);
rt305x_register_spi(all5002_spi_slave_info,
ARRAY_SIZE(all5002_spi_slave_info));
- rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;
+ rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_NONE;
rt305x_register_ethernet();
rt305x_register_wifi();
rt305x_register_wdt();