]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mdio: i2c: Separate C22 and C45 transactions
authorAndrew Lunn <andrew@lunn.ch>
Thu, 12 Jan 2023 15:15:08 +0000 (16:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jan 2023 05:40:54 +0000 (21:40 -0800)
commit87e3bee0f247f40dd908ba9fa6c960379b4829e8
tree18e2c878902e8fea9438bd20233d3d25cde49208
parent93641ecbaa1f2602c455842ad0b0fe066f5f1344
net: mdio: i2c: Separate C22 and C45 transactions

The MDIO over I2C bus driver can perform both C22 and C45 transfers.
Create separate functions for each and register the C45 versions using
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-i2c.c