]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: bcm87xx: Use mmd helpers
authorAndrew Lunn <andrew@lunn.ch>
Sat, 30 Apr 2022 17:30:35 +0000 (19:30 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 11:21:38 +0000 (13:21 +0200)
commitb8b9866599ceef0a697f8c7ae1524800163a4be6
treee8ec6d0dd6dbb961e9b799732fb11b6245d80b6d
parenta5b5f5d82822fcc5d998acc9fb25940a4f67eb98
net: phy: bcm87xx: Use mmd helpers

Rather than construct special phy device addresses to access C45
registers, use the mmd helpers. These will directly call the C45 API
of the MDIO bus driver.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/bcm87xx.c