diff options
author | 2022-07-01 20:40:34 +0530 | |
---|---|---|
committer | 2022-07-02 16:34:05 +0100 | |
commit | c14e878d4a4f6f5e1f58e83ac25363a1b80fa374 (patch) | |
tree | ed03f9121992082316b82e6cc4fbf70c94fc5e29 /drivers/net/dsa/microchip/ksz_common.c | |
parent | net: dsa: microchip: lan937x: add MTU and fast_age support (diff) | |
download | linux-dev-c14e878d4a4f6f5e1f58e83ac25363a1b80fa374.tar.xz linux-dev-c14e878d4a4f6f5e1f58e83ac25363a1b80fa374.zip |
net: dsa: microchip: lan937x: add phylink_get_caps support
The internal phy of the LAN937x are capable of 100Mbps Full duplex. The
xMII port of switch is capable of 10Mbps Full & Half Duplex, 100Mbps
Full & Half Duplex and 1000Mbps Half duplex. xMII port also supports Tx
and Rx Flow control.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index fb0de48a3f5e..ca7ca327285d 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c @@ -220,6 +220,7 @@ static const struct ksz_dev_ops lan937x_dev_ops = { .vlan_del = ksz9477_port_vlan_del, .mirror_add = ksz9477_port_mirror_add, .mirror_del = ksz9477_port_mirror_del, + .get_caps = lan937x_phylink_get_caps, .fdb_dump = ksz9477_fdb_dump, .fdb_add = ksz9477_fdb_add, .fdb_del = ksz9477_fdb_del, |