diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-18 00:54:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-18 00:54:06 +0000 |
commit | 9c995cf6d4126ce8031ca0804097c7d1f9c5fbb6 (patch) | |
tree | 534f963c51647d9f1a22abb2c69f6a587430e25a /scripts | |
parent | cdebbb98d120f54ea4cdcfda4936a5c5a37cb495 (diff) | |
download | upstream-9c995cf6d4126ce8031ca0804097c7d1f9c5fbb6.tar.gz upstream-9c995cf6d4126ce8031ca0804097c7d1f9c5fbb6.tar.bz2 upstream-9c995cf6d4126ce8031ca0804097c7d1f9c5fbb6.zip |
ar8216: display flow control info in swconfig get_link in case of autonegatiation too
The swconfig get_link attribute (at least) on AR8327/AR8337 doesn't
consider the autonegotiated flow control.
AR8327/AR8337 provide the info about autonegotiated rx/tx flow control
in bits 10 and 11 of the port status register.
Use these values to display info about autonegotiated rx/tx flow
control as part of the get_link attribute.
Successfully tested on TL-WDR4900 (AR8327 rev.4) and
TL-WDR4300 (AR8327 rev.2).
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44023 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions