aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
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
commit22fef4fdc73cdc815779ba3957dcace6116ff89c (patch)
treee480f1d1a637a9f8ee25646f0f751c0e8c0f2a7a /target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
parentbbf079b1d1bb923f1560b61d58c7103a9de21cb0 (diff)
downloadmaster-187ad058-22fef4fdc73cdc815779ba3957dcace6116ff89c.tar.gz
master-187ad058-22fef4fdc73cdc815779ba3957dcace6116ff89c.tar.bz2
master-187ad058-22fef4fdc73cdc815779ba3957dcace6116ff89c.zip
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
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c')
-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 9cd6e37efc..e6a5076019 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: