mbox series

[CFT,0/2] net: axienet: modernise pcs implementation

Message ID Ybs1cdM3KUTsq4Vx@shell.armlinux.org.uk (mailing list archive)
Headers show
Series net: axienet: modernise pcs implementation | expand

Message

Russell King (Oracle) Dec. 16, 2021, 12:47 p.m. UTC
Hi,

These two patches modernise the Xilinx axienet PCS implementation to
use the phylink split PCS support.

The first patch adds split PCS support and makes use of the newly
introduced mac_select_pcs() function, which is the preferred way to
conditionally attach a PCS.

The second patch cleans up the use of mdiobus_write() since we now have
bus accessors for mdio devices.

There should be no functional change to the driver.

Please test, thanks.

 drivers/net/ethernet/xilinx/xilinx_axienet.h      |   1 +
 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 111 +++++++++++-----------
 2 files changed, 56 insertions(+), 56 deletions(-)