[OpenWrt-Devel] [PATCH 0/6] ar8216: patch series for AR8327/AR8337
John Crispin
blogic at openwrt.org
Sat Jan 17 09:26:48 EST 2015
On 12/01/2015 20:16, Heiner Kallweit wrote:
> Patches 1-3 are improvements w/o functional change.
merged 1-3
4-6 will need a bit more time and a closer look
>
> Patches 4 allows to control EEE PHY sleep mode per port via swconfig.
> Motivation is that as workaround for issues with certain link partners
> EEE was disabled in general.
> Still the default is to initially disable EEE on all ports, however the
> brave now have the option to enable EEE on selected ports.
>
> Patch 5 displays autonegotiated EEE capabilities as part of the get_link
> attribute. Note that enabling/disabling PHY EEE sleep mode is independent
> of autonegotiated EEE capabilities. Even if PHY EEE sleep mode is disabled
> the switch advertises EEE capabilities to the link partner.
> This might still allow the link partner to sleep if network is inactive.
>
> Patch 6 displays autonegotiated rx/tx flow control as part of the get_link
> attribute. So far this was the case in forced mode only.
>
> Heiner Kallweit (6):
> ar8216: define all switch_addr structs as const
> ar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriate
> ar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_set
> ar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per port
> ar8216: add 802.3az EEE info to swconfig get_link attribute
> ar8216: display flow control info in swconfig get_link in case of autonegatiation too
>
> .../linux/generic/files/drivers/net/phy/ar8216.c | 60 ++++---
> .../linux/generic/files/drivers/net/phy/ar8216.h | 18 +++
> .../linux/generic/files/drivers/net/phy/ar8327.c | 175 ++++++++++++++++++---
> .../linux/generic/files/drivers/net/phy/ar8327.h | 5 +
> .../linux/generic/files/drivers/net/phy/swconfig.c | 4 +-
> target/linux/generic/files/include/linux/switch.h | 2 +
> 6 files changed, 216 insertions(+), 48 deletions(-)
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list