Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"

That was based on assumptions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2012-08-29 10:37:55 +00:00
parent bbf079b1d1
commit 22fef4fdc7
1 changed files with 1 additions and 8 deletions

View File

@ -616,14 +616,7 @@ static int __init ath79_setup_phy_if_mode(unsigned int id,
break;
case ATH79_SOC_AR7242:
switch (pdata->phy_if_mode) {
case PHY_INTERFACE_MODE_RGMII:
break;
default:
/* Other PHY modes are not tested yet. */
return -EINVAL;
}
break;
/* FIXME */
case ATH79_SOC_AR9341:
case ATH79_SOC_AR9342: