ar71xx: fix GMAC1 interface speed on the DB120 board

SVN-Revision: 29555
lede-17.01
Gabor Juhos 2011-12-15 22:25:35 +00:00
parent 36bc2c2c80
commit e47a8c2bb2
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ static void __init db120_setup(void)
/* GMAC1 is connected to the internal switch */ /* GMAC1 is connected to the internal switch */
ar71xx_init_mac(ar71xx_eth1_data.mac_addr, art + DB120_MAC1_OFFSET, 0); ar71xx_init_mac(ar71xx_eth1_data.mac_addr, art + DB120_MAC1_OFFSET, 0);
ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII; ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_GMII;
ar71xx_eth1_data.speed = SPEED_100; ar71xx_eth1_data.speed = SPEED_1000;
ar71xx_eth1_data.duplex = DUPLEX_FULL; ar71xx_eth1_data.duplex = DUPLEX_FULL;
ar71xx_add_device_eth(1); ar71xx_add_device_eth(1);