diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-05-25 21:15:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-05-25 21:15:37 +0000 |
commit | 7b85e8e316e9338a29ea5398c35961fc40ef354a (patch) | |
tree | 4bb1258c11c5303e51e9b7b7d6660ad64dee382d /include | |
parent | 4eeeb916613273d8cf0c97c1ba44fd2366ea8d9a (diff) | |
download | upstream-7b85e8e316e9338a29ea5398c35961fc40ef354a.tar.gz upstream-7b85e8e316e9338a29ea5398c35961fc40ef354a.tar.bz2 upstream-7b85e8e316e9338a29ea5398c35961fc40ef354a.zip |
mpc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfig
Currently port 6 is shown as up 10MBit/half in LUCI and swconfig.
Reason is that all bits in the port 6 config are zero.
This means that also the aneg flag is not set and in this case
ar8216_read_port_link hardcodes the link to be up.
This is no real problem but a little annoying.
To fix this initialize port 6 with the aneg bit enabled.
This causes ar8216_read_port_link to evaluate the link status bit which is
always zero for port 6 as no PHY is connected to this port.
And it doesn't hurt as port 6 isn't connected to anything on TL-WDR4900.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 45749
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions