]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: phy: marvell10g: support all rate matching modes
authorMarek Behún <kabel@kernel.org>
Wed, 7 Apr 2021 20:22:45 +0000 (22:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2021 20:15:33 +0000 (13:15 -0700)
commit97bbe3bd6922e7ccf8ecd308640a7da55ae3c2f9
tree9cbab377603b510c462c2e41c94d6e3e6a04fee6
parent9ab0fbd0ffcebe0ba95f7f05af49bea273ffd4db
net: phy: marvell10g: support all rate matching modes

Add support for all rate matching modes for 88X3310 (currently only
10gbase-r is supported, but xaui and rxaui can also be used).

Add support for rate matching for 88E2110 (on 88E2110 the MACTYPE
register is at a different place).

Currently rate matching mode is selected by strapping pins (by setting
the MACTYPE register). There is work in progress to enable this driver
to deduce the best MACTYPE from the knowledge of which interface modes
are supported by the host, but this work is not finished yet.

Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c