projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ar71xx
/
mach-rb750.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb750.c
b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb750.c
index
5ed383f
..
547ad12
100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb750.c
+++ b/
target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb750.c
@@
-124,6
+124,7
@@
static void __init rb750_setup(void)
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
ar71xx_eth0_data.speed = SPEED_100;
ar71xx_eth0_data.duplex = DUPLEX_FULL;
+ ar71xx_eth0_data.phy_mask = BIT(4);
/* LAN ports */
ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;