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)
commitaf59ae81dd9bc4b7f6eec19157dfbcf37d83cf4e
tree46b1083334266143d5420b63926e86dee18e0cc4
parentdd162d710bab2d9dd6135922eb74ab9dc9156ebe
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