Felix Fietkau 9c995cf6d4 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
2015-01-18 00:54:06 +00:00
..
2014-12-18 11:57:42 +00:00
2014-11-24 06:34:07 +00:00
2014-12-13 11:55:24 +00:00
2015-01-08 20:26:34 +00:00
2015-01-11 01:28:32 +00:00
2014-12-28 19:31:40 +00:00
2014-12-13 11:55:04 +00:00
2015-01-17 07:07:21 +00:00
2015-01-14 12:09:33 +00:00
2015-01-10 20:12:15 +00:00
2015-01-16 08:44:15 +00:00
2015-01-05 13:02:26 +00:00
2014-12-27 13:03:26 +00:00
2014-12-13 11:55:32 +00:00
2010-08-06 21:36:35 +00:00