wifipineapple-openwrt/target/linux/generic/files/drivers/net/phy
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
..
b53 b53: hardcode reset GPIO for Linksys WRT300N 1.1 2014-07-06 11:40:51 +00:00
adm6996.c adm6996: the GPIO interface for the adm6996l does not support switch statistics. 2014-07-05 12:13:56 +00:00
adm6996.h linux/generic: add MIB counters and port status to ADM6996 switch 2014-04-22 08:08:02 +00:00
ar8216.c ar8216: add 802.3az EEE info to swconfig get_link attribute 2015-01-18 00:53:59 +00:00
ar8216.h ar8216: add 802.3az EEE info to swconfig get_link attribute 2015-01-18 00:53:59 +00:00
ar8327.c ar8216: display flow control info in swconfig get_link in case of autonegatiation too 2015-01-18 00:54:06 +00:00
ar8327.h ar8216: display flow control info in swconfig get_link in case of autonegatiation too 2015-01-18 00:54:06 +00:00
ip17xx.c [generic] unify extended vlan id swconfig attributes. 2010-10-12 20:49:35 +00:00
mvsw61xx.c mvsw61xx: track and set per-VLAN port state in STU 2015-01-11 17:20:16 +00:00
mvsw61xx.h mvsw61xx: track and set per-VLAN port state in STU 2015-01-11 17:20:16 +00:00
mvswitch.c generic: mvswitch: add detach callback 2013-02-07 15:18:34 +00:00
mvswitch.h rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
psb6970.c [generic] unify extended vlan id swconfig attributes. 2010-10-12 20:49:35 +00:00
rtl8306.c revert: kernel: rtl8306: fix max pvid & remove port isolation 2014-03-30 10:04:55 +00:00
rtl8366_smi.c strict_strtoul is obsolete, use kstrtoul instead 2013-07-27 09:23:18 +00:00
rtl8366_smi.h linux: generic: rtl836*: fix compilation with !CONFIG_OF 2012-12-15 13:32:02 +00:00
rtl8366rb.c generic: add port mirroring/monitoring capability to rtl8366rb switch 2013-06-04 13:25:52 +00:00
rtl8366s.c [geneirc] fix rtl8366s OF binding 2013-04-12 18:56:05 +00:00
rtl8367.c rtl8367: add support for configuring the VLAN FID 2013-08-12 17:25:25 +00:00
rtl8367b.c generic: rtl8367: add compatible string with vendor prefix 2013-04-06 17:19:31 +00:00
swconfig.c ar8216: add 802.3az EEE info to swconfig get_link attribute 2015-01-18 00:53:59 +00:00
swconfig_leds.c ar71xx: swconfig: use the local helper to set LED brightness on link down 2014-01-26 16:46:21 +00:00