2
0
forked from Ivasoft/openwrt

ar71xx: allow to disable link polling on unused PHYs

SVN-Revision: 31533
This commit is contained in:
Gabor Juhos
2012-04-29 18:29:24 +00:00
parent a8d3109208
commit 3e3a4d3d6b
3 changed files with 16 additions and 4 deletions

View File

@@ -721,6 +721,8 @@ void __init ath79_register_eth(unsigned int id)
pdata->speed = SPEED_1000;
pdata->duplex = DUPLEX_FULL;
pdata->switch_data = &ath79_switch_data;
ath79_switch_data.phy_poll_mask |= BIT(4);
}
pdata->has_gbit = 1;
pdata->is_ar724x = 1;
@@ -776,6 +778,8 @@ void __init ath79_register_eth(unsigned int id)
pdata->speed = SPEED_1000;
pdata->duplex = DUPLEX_FULL;
pdata->switch_data = &ath79_switch_data;
ath79_switch_data.phy_poll_mask |= BIT(4);
}
pdata->has_gbit = 1;