]> 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)
commit87920b6c41392c2a8cfdef3ea329f7d74ec5fbb0
treee8ec6d0dd6dbb961e9b799732fb11b6245d80b6d
parentdfdd6b17f107c3121dfd9874a3fe38517a940e55
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