projects
/
15.05
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: compex wpj531 fix ethernet registration
[15.05/openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ath79
/
mach-wpj531.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
index
e665a2e
..
b106917
100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
+++ b/
target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c
@@
-115,8
+115,8
@@
static void __init common_setup(void)
/* WAN */
ath79_switch_data.phy4_mii_en = 1;
ath79_eth1_data.duplex = DUPLEX_FULL;
/* WAN */
ath79_switch_data.phy4_mii_en = 1;
ath79_eth1_data.duplex = DUPLEX_FULL;
- ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
- ath79_eth1_data.speed = SPEED_100;
+ ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_
G
MII;
+ ath79_eth1_data.speed = SPEED_100
0
;
ath79_switch_data.phy_poll_mask |= BIT(4);
ath79_init_mac(ath79_eth1_data.mac_addr, mac, 1);
ath79_register_eth(1);
ath79_switch_data.phy_poll_mask |= BIT(4);
ath79_init_mac(ath79_eth1_data.mac_addr, mac, 1);
ath79_register_eth(1);