OSDN Git Service

net: mdio: aspeed: Separate C22 and C45 transactions
authorAndrew Lunn <andrew@lunn.ch>
Thu, 12 Jan 2023 15:15:10 +0000 (16:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:40:54 +0000 (21:40 -0800)
commitc3c497eb8b24655b5be01ad4e09d1998dcba4d22
tree80a21316e7095dd5621bd92ddece744ffa5e9c32
parentd544a25930a7319be749682bcc8eb1b60f87239e
net: mdio: aspeed: Separate C22 and C45 transactions

The aspeed MDIO bus driver can perform both C22 and C45 transfers.
Modify the existing C45 functions to take the devad as a parameter,
and remove the wrappers so there are individual C22 and C45 functions. Add
the C45 functions to the new API calls.

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/mdio/mdio-aspeed.c