projects
/
lede.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
32247d3
)
ramips: raeth: enable MDIO code for RT3883
author
Gabor Juhos
<juhosg@openwrt.org>
Mon, 13 Feb 2012 15:18:03 +0000
(15:18 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Mon, 13 Feb 2012 15:18:03 +0000
(15:18 +0000)
SVN-Revision: 30497
target/linux/ramips/files/drivers/net/ramips.c
patch
|
blob
|
history
diff --git
a/target/linux/ramips/files/drivers/net/ramips.c
b/target/linux/ramips/files/drivers/net/ramips.c
index 302942a62018e9c37cd5b7d39b6a527945b3c391..e211f4777d44978f217753c097a56d6b2d36086b 100644
(file)
--- 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);
}
RAMIPS_GDMA1_MAC_ADRL);
}
-#if
def CONFIG_RALINK_RT288X
+#if
defined(CONFIG_RALINK_RT288X) || defined(CONFIG_RALINK_RT3883)
#define RAMIPS_MDIO_RETRY 1000
#define RAMIPS_MDIO_RETRY 1000
@@
-262,7
+262,7
@@
static inline void
ramips_mdio_cleanup(struct raeth_priv *re)
{
}
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)
static void
ramips_cleanup_dma(struct raeth_priv *re)