ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33280
This commit is contained in:
parent
e85962926a
commit
cca873e8e0
1 changed files with 8 additions and 1 deletions
|
@ -616,7 +616,14 @@ static int __init ath79_setup_phy_if_mode(unsigned int id,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ATH79_SOC_AR7242:
|
case ATH79_SOC_AR7242:
|
||||||
/* FIXME */
|
switch (pdata->phy_if_mode) {
|
||||||
|
case PHY_INTERFACE_MODE_RGMII:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
/* Other PHY modes are not tested yet. */
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case ATH79_SOC_AR9341:
|
case ATH79_SOC_AR9341:
|
||||||
case ATH79_SOC_AR9342:
|
case ATH79_SOC_AR9342:
|
||||||
|
|
Loading…
Reference in a new issue