]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'net-phy-marvell10g-Add-2-5GBaseT-support'
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 01:45:25 +0000 (17:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 01:45:25 +0000 (17:45 -0800)
Maxime Chevallier says:

====================
net: phy: marvell10g: Add 2.5GBaseT support

This series adds the missing bits necessary to fully support 2.5GBaseT
in the Marvell Alaska PHYs.

The main points for that support are :

 - Making use of the .get_features call, recently introduced by Heiner
   and Andrew, that allows having a fully populated list of supported
   modes, including 2500BaseT.

 - Configuring the MII to 2500BaseX when establishing a link at 2.5G

 - Adding a small quirk to take into account the fact that some PHYs in
   the family won't report the correct supported abilities

The rest of the series consists of small cosmetic improvements such as
using the correct helper to set a linkmode bit and adding macros for the
PHY ids.

We also add support for the 88E2110 PHY, which doesn't require the
quirk, and support for 2500BaseT in the PPv2 driver, in order to have a
fully working setup on the MacchiatoBin board.

Changes since V1 : Fixed formatting issue in patch 01, rebased.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge