wifipineapple-openwrt/target/linux
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
..
adm5120 adm5120: add experimental 3.14 kernel support 2015-01-10 18:10:04 +00:00
adm8668 all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
ar7 ar7: remove leftover 3.10 patches 2014-12-18 11:57:42 +00:00
ar71xx ar71xx: fix board detection for TP-LINK TL-WA860RE 2015-01-17 07:06:45 +00:00
arm64 arm64: add ARM 64-bits target 2014-11-24 06:34:07 +00:00
at91 at91: remove linux 3.10 support 2014-12-13 11:55:24 +00:00
atheros kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
au1000 au1000: remove leftover 3.3 kernel config 2014-12-13 11:55:49 +00:00
avr32 all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
bcm53xx bcm53xx: drop hacky patch making bcma init later 2015-01-16 15:59:29 +00:00
brcm47xx brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init) 2015-01-16 12:48:27 +00:00
brcm63xx add "preinit_regular" diag.sh set_state argument 2014-12-15 10:37:00 +00:00
brcm2708 brcm2708: missing symbols caused a build fail 2015-01-17 19:10:40 +00:00
cns3xxx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
cns21xx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
cobalt cobalt: remove 3.3 and 3.10 kernel configuration files 2014-12-07 21:58:33 +00:00
ep93xx ep93xx: add support for kernel 3.14 2014-12-29 13:55:59 +00:00
gemini gemini: add ata driver 2015-01-08 20:26:34 +00:00
generic ar8216: display flow control info in swconfig get_link in case of autonegatiation too 2015-01-18 00:54:06 +00:00
imx6 kernel: update 3.14 to 3.14.28 2015-01-11 01:28:32 +00:00
iop32x all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
ipq806x ipq806x: refresh patches 2014-12-28 19:31:40 +00:00
ixp4xx ixp4xx: remove linux 3.10 support 2014-12-13 11:55:04 +00:00
kirkwood target: kirkwood: fix leds defaults config 2015-01-17 14:39:01 +00:00
lantiq Remove old P2812HNUFX dts 2015-01-17 07:07:21 +00:00
malta malta: copy initramfs images 2015-01-14 12:09:33 +00:00
mcs814x mcs814x: switch to 3.14 kernel 2015-01-10 20:12:15 +00:00
mpc52xx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
mpc83xx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
mpc85xx add "preinit_regular" diag.sh set_state argument 2014-12-15 10:37:00 +00:00
mvebu mvebu: fixups for the new driver 2015-01-16 08:44:15 +00:00
mxs add "preinit_regular" diag.sh set_state argument 2014-12-15 10:37:00 +00:00
netlogic netlogic: fix XLR network driver build 2014-12-13 08:08:30 +00:00
octeon octeon: enable VLAN support 2015-01-05 13:02:26 +00:00
omap kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
omap24xx all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
orion kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
oxnas oxnas: re-enable ubifs 2014-12-27 13:03:26 +00:00
ppc40x all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
ppc44x kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
pxa all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
ramips ramips: add missing copyright info for relocate stub 2015-01-17 21:22:36 +00:00
rb532 rb532: remove linux 3.10 support 2014-12-13 11:55:32 +00:00
realview realview: drop old kernel configs 2014-12-13 11:55:59 +00:00
sibyte all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
sparc kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
sunxi sunxi: change bananapro DTS to use the already published patch, clean up 3.18 config of generic symbols 2015-01-10 19:56:30 +00:00
uml target/uml: add missing config symbols 2015-01-11 22:03:06 +00:00
x86 all targets: remove all =m kernel config symbols 2015-01-05 13:02:44 +00:00
x86_64 kernel: makefiles: make use of new var KERNEL_PATCHVER 2014-10-24 19:34:02 +00:00
xburst xburst: fix subtarget config file names 2014-12-11 20:07:52 +00:00
Makefile