mbox series

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

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

Message

Russell King (Oracle) Jan. 4, 2022, 10:44 a.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.

v2: remove question over switch_x_sgmii

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