ethtool: Add 100base-FX link mode entries
authorDan Murphy <dmurphy@ti.com>
Fri, 18 Sep 2020 19:14:51 +0000 (14:14 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 23:54:35 +0000 (16:54 -0700)
commit55f13311785cebd60b9bab9ca7fd64205436c462
tree93d79ad41fe71173565e3e0e6e17f4b838d2fa4e
parent09599729ee1ae9c418c0bd0fd48efff8a98d1c4d
ethtool: Add 100base-FX link mode entries

Add entries for the 100base-FX full and half duplex supported modes.

$ ethtool eth0
        Supported ports: [ FIBRE ]
        Supported link modes:  100baseFX/Half 100baseFX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes: 100baseFX/Half 100baseFX/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Auto-negotiation: off
        Port: MII
        PHYAD: 1
        Transceiver: external
        Supports Wake-on: gs
        Wake-on: d
        SecureOn password: 00:00:00:00:00:00
        Current message level: 0x00000000 (0)

        Link detected: yes

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy-core.c
include/uapi/linux/ethtool.h
net/ethtool/common.c
net/ethtool/linkmodes.c