[OpenWrt-Devel] ath79 equivalent of disable_smarteee

Roger Pueyo Centelles rogerpueyo at rogerpueyo.com
Sat Feb 1 18:00:19 EST 2020

Hi Martin, Adrian,

Thanks for the info. The device is advertising EEE capabilities, and so
is the adapter on my computer it is connected to:

root at computer:~# ethtool --show-eee eth2
EEE Settings for eth2:
    EEE status: enabled - active
    Tx LPI: disabled
    Supported EEE link modes:  100baseT/Full
    Advertised EEE link modes:  10baseT/Full
    Link partner advertised EEE link modes:  100baseT/Full

The eee-broken-100tx/eee-broken-1000t options are not yet set in the
DTS, but I am not seeing any EEE-related messages on the router (nor on
my computer) --or I'm not looking at the right place--. Is it just a
matter of time (i.e., they will eventually appear)? In other words,
should I add them to the DTS?



El 1/2/20 a les 19:07, Martin Blumenstingl ha escrit:
> Hi Adrian,
> On Sat, Feb 1, 2020 at 6:50 PM <mail at adrianschmutzler.de> wrote:
>> Hi,
>> in the device support PR for MikroTik RouterBOARD 922UAGS-5HPacD [1] for ath79, we have the following in ar71xx mach files [2]:
>> static struct at803x_platform_data rb922gs_at803x_data = {
>>         .disable_smarteee = 1,
>> };
>> Is there an ath79 equivalent available and necessary?
> upstream has the following two properties (which need to be added
> inside the Ethernet PHY devicetree node):
> - eee-broken-100tx
> - eee-broken-1000t
> - (there are more, see Documentation/devicetree/bindings/net/ethernet-phy.yaml)
> set them and EEE will not be advertised anymore.
> there's some additional, AT803X PHY specific register write inside
> at803x_disable_smarteee from
> target/linux/generic/pending-4.14/734-net-phy-at803x-allow-to-configure-via-pdata.patch
> This modifies the AT803X_PCS_SMART_EEE_CTRL3 register. I don't know
> whether this is necessary when EEE is not advertised
> Martin

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list