mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: make built-in switch transparent for ALL0256N and ALL5002
This allows them to transparently communicate with an external VLAN switch. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -75,7 +75,7 @@ static void __init all0256n_init(void)
|
||||
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);
|
||||
|
||||
@@ -50,7 +50,7 @@ static void __init all5002_init(void)
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user