Browse Source

ramips: raeth: enable MDIO code for RT3883

SVN-Revision: 30497
Gabor Juhos 14 years ago
parent
commit
97e641a0e6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      target/linux/ramips/files/drivers/net/ramips.c

+ 2 - 2
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)