[PATCH 0/3] net: macb: fix for fixed link, support for c45 mdio and 10G

From: Milind Parab
Date: Mon Dec 09 2019 - 06:14:48 EST


This patch series applies to Cadence Ethernet MAC Controller.
The first patch in this series is related to the patch that converts the
driver to phylink interface in net-next "net: macb: convert to phylink".
Next patch is for adding support for C45 interface and the final patch
adds 10G MAC support.

The patch sequences are detailed as below

1. 0001-net-macb-fix-for-fixed-link-mode
This patch fix the issue with fixed-link mode in macb phylink interface.
In fixed-link we don't need to parse phandle because it's better handled
by phylink_of_phy_connect()

2. 0002-net-macb-add-support-for-C45-MDIO-read-write
This patch is to support C45 interface to PHY. This upgrade is downward compatible.
All versions of the MAC (old and new) using the GPL driver support both Clause 22 and
Clause 45 operation. Whether the access is in Clause 22 or Clause 45 format depends
on the data pattern written to the PHY management register.

3. 0003-net-macb-add-support-for-high-speed-interface
This patch add support for 10G fixed mode.

Thanks,
Milind Parab

Milind Parab (3):
net: macb: fix for fixed-link mode
net: macb: add support for C45 MDIO read/write
net: macb: add support for high speed interface

drivers/net/ethernet/cadence/macb.h | 65 ++++++-
drivers/net/ethernet/cadence/macb_main.c | 220 +++++++++++++++++++----
2 files changed, 243 insertions(+), 42 deletions(-)

--
2.17.1