diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-13 15:18:03 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-13 15:18:03 +0000 |
commit | 97e641a0e63ea41111ed397dfae23ad16b8490ab (patch) | |
tree | 5927b5550e311dd78e43c4716ab27d7369e741cf /target | |
parent | 32247d3d21b818fbc90165375872a4c22dab6943 (diff) | |
download | upstream-97e641a0e63ea41111ed397dfae23ad16b8490ab.tar.gz upstream-97e641a0e63ea41111ed397dfae23ad16b8490ab.tar.bz2 upstream-97e641a0e63ea41111ed397dfae23ad16b8490ab.zip |
ramips: raeth: enable MDIO code for RT3883
SVN-Revision: 30497
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ramips.c | 4 |
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) |