mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-21 23:08:59 +03:00
[ar71xx] register eth1 device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13389 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
49f119b075
commit
c23c1f22b6
@ -46,8 +46,15 @@ static void __init ap83_setup(void)
|
||||
|
||||
ar71xx_add_device_eth(0);
|
||||
|
||||
ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(ap83_leds_gpio),
|
||||
ap83_leds_gpio);
|
||||
ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
|
||||
ar71xx_eth1_data.phy_mask = 0x0;
|
||||
ar71xx_eth1_data.speed = SPEED_1000;
|
||||
ar71xx_eth1_data.duplex = DUPLEX_FULL;
|
||||
|
||||
ar71xx_add_device_eth(1);
|
||||
|
||||
ar71xx_add_device_leds_gpio(-1, ARRAY_SIZE(rb4xx_leds_gpio),
|
||||
rb4xx_leds_gpio);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user