projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips_eth: header file cleanup
[openwrt.git]
/
target
/
linux
/
ramips
/
files
/
drivers
/
net
/
ramips_esw.c
diff --git
a/target/linux/ramips/files/drivers/net/ramips_esw.c
b/target/linux/ramips/files/drivers/net/ramips_esw.c
index
58bbc3f
..
f9d31c2
100644
(file)
--- a/
target/linux/ramips/files/drivers/net/ramips_esw.c
+++ b/
target/linux/ramips/files/drivers/net/ramips_esw.c
@@
-1,3
+1,6
@@
+#include <rt305x.h>
+#include <rt305x_regs.h>
+
#define GPIO_PRUPOSE 0x60
#define GPIO_MDIO_BIT (1<<7)
#define RT305X_ESW_PHY_WRITE (1 << 13)
#define GPIO_PRUPOSE 0x60
#define GPIO_MDIO_BIT (1<<7)
#define RT305X_ESW_PHY_WRITE (1 << 13)
@@
-113,7
+116,7
@@
rt305x_esw_init(void)
/* set default vlan */
ramips_esw_wr(0x2001, 0x50);
/* set default vlan */
ramips_esw_wr(0x2001, 0x50);
- ramips_esw_wr(0x504
1
, 0x70);
+ ramips_esw_wr(0x504
f
, 0x70);
return 0;
}
return 0;
}
This page took
0.021695 seconds
and
4
git commands to generate.