openwrtv4/target/linux/generic/files/drivers
Felix Fietkau 6dfea16ab9 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>

SVN-Revision: 44023
2015-01-18 00:54:06 +00:00
..
leds coding style cleanups, drop old kernel support 2014-06-21 10:00:07 +00:00
mtd kernel: add mtd split support for trx images 2015-01-02 21:53:11 +00:00
net/phy ar8216: display flow control info in swconfig get_link in case of autonegatiation too 2015-01-18 00:54:06 +00:00