aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-13 15:18:03 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-13 15:18:03 +0000
commitbe0de7b85637694995ccf8b5e2da48e1732c4c12 (patch)
treefb50ac68952c432c609e0d2949f7898bd30c085b /target/linux/ramips
parent25901c6cf9f531649135d4f5545533cb9ad837dd (diff)
downloadupstream-be0de7b85637694995ccf8b5e2da48e1732c4c12.tar.gz
upstream-be0de7b85637694995ccf8b5e2da48e1732c4c12.tar.bz2
upstream-be0de7b85637694995ccf8b5e2da48e1732c4c12.zip
ramips: raeth: enable MDIO code for RT3883
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30497 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/drivers/net/ramips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c
index 302942a620..e211f4777d 100644
--- a/target/linux/ramips/files/drivers/net/ramips.c
+++ b/target/linux/ramips/files/drivers/net/ramips.c
@@ -88,7 +88,7 @@ ramips_hw_set_macaddr(unsigned char *mac)
RAMIPS_GDMA1_MAC_ADRL);
}
-#ifdef CONFIG_RALINK_RT288X
+#if defined(CONFIG_RALINK_RT288X) || defined(CONFIG_RALINK_RT3883)
#define RAMIPS_MDIO_RETRY 1000
@@ -262,7 +262,7 @@ static inline void
ramips_mdio_cleanup(struct raeth_priv *re)
{
}
-#endif /* CONFIG_RALINK_RT288X */
+#endif /* CONFIG_RALINK_RT288X || CONFIG_RALINK_RT3883 */
static void
ramips_cleanup_dma(struct raeth_priv *re)