OSDN Git Service

net: mdio: mvmdio: Convert XSMI bus to new API
authorAndrew Lunn <andrew@lunn.ch>
Mon, 9 Jan 2023 15:30:47 +0000 (16:30 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Jan 2023 23:53:36 +0000 (15:53 -0800)
commitb3c84ae5ff99d8a05aac8bc04b487598198d89e2
tree62e3f62fdcbafcf8e21e7642998d2b76b93b4649
parent002dd3de097c778a74ae9e47e598bea6ad055af0
net: mdio: mvmdio: Convert XSMI bus to new API

The marvell MDIO driver supports two different hardware blocks. The
XSMI block is C45 only. Convert this block to the new API, and only
populate the c45 calls in the bus structure.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/mvmdio.c