mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: allow to disable link polling on unused PHYs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user