ar8216: add 802.3az EEE info to swconfig get_link attribute
authorFelix Fietkau <nbd@openwrt.org>
Sun, 18 Jan 2015 00:53:59 +0000 (00:53 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 18 Jan 2015 00:53:59 +0000 (00:53 +0000)
commit53c0c6054f5bed0cd38b3d4e0ee41b06955ed429
tree55dc84caf56e242496bec3d58a8d7a0d7660ab36
parentbdc0750191660af3ecefbc52327978af1cd93407
ar8216: add 802.3az EEE info to swconfig get_link attribute

AR8327/AR8337 allow to read the result of EEE autonegotiation.
If EEE is autonegotiated between the link partners, display
this as part of the swconfig get_link attribute.

eee100:  100MBit EEE supported by both link partners
eee1000: 1GBit EEE supported by both link partners

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44022
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8216.h
target/linux/generic/files/drivers/net/phy/ar8327.c
target/linux/generic/files/drivers/net/phy/swconfig.c
target/linux/generic/files/include/linux/switch.h