summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:55 +0000
commit11c3392b7fcbfb750b15f8ac825ac50f9b962dd5 (patch)
tree438d9d6dbe6a72672cf544d63e56fff1cb6beaf8 /target/linux/ar71xx
parenteb9a97a36039694623692aa0d0fdf77b8071d8f3 (diff)
downloadmtk-20170518-11c3392b7fcbfb750b15f8ac825ac50f9b962dd5.zip
mtk-20170518-11c3392b7fcbfb750b15f8ac825ac50f9b962dd5.tar.gz
mtk-20170518-11c3392b7fcbfb750b15f8ac825ac50f9b962dd5.tar.bz2
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
That was based on assumptions. SVN-Revision: 33310
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
index 9cd6e37..e6a5076 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
@@ -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: