From: Gabor Juhos Date: Wed, 29 Aug 2012 10:37:55 +0000 (+0000) Subject: Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=11c3392b7fcbfb750b15f8ac825ac50f9b962dd5;p=openwrt%2Fstaging%2Fzorun.git Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240" That was based on assumptions. SVN-Revision: 33310 --- 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: