diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-11-28 09:07:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-11-28 09:07:01 +0000 |
commit | 73aaa1b56ab82ed5563f2f751485166bdc3d1989 (patch) | |
tree | 63b43714c9ff43273a0627694400d358ed775c1e /target | |
parent | 5cea25afdb1676ddde22c6b914c8ad4364b6108f (diff) | |
download | mtk-20170518-73aaa1b56ab82ed5563f2f751485166bdc3d1989.zip mtk-20170518-73aaa1b56ab82ed5563f2f751485166bdc3d1989.tar.gz mtk-20170518-73aaa1b56ab82ed5563f2f751485166bdc3d1989.tar.bz2 |
register eth1 device on the AP83 board
SVN-Revision: 13389
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c index 6c0b4d4..82cd3ee 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c @@ -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); } |