]> Git Repo - linux.git/commit
net: phy: c22: migrate to genphy_c45_write_eee_adv()
authorOleksij Rempel <[email protected]>
Sat, 11 Feb 2023 07:41:10 +0000 (08:41 +0100)
committerDavid S. Miller <[email protected]>
Mon, 13 Feb 2023 11:12:31 +0000 (11:12 +0000)
commit9b01c885be364526d8c05794f8358b3e563b7ff8
tree34a2529a900eccc54b74e080fa8d901ef8014349
parent022c3f87f88e2d68e90be7687d981c9cb893a3b1
net: phy: c22: migrate to genphy_c45_write_eee_adv()

Migrate from genphy_config_eee_advert() to genphy_c45_write_eee_adv().

It should work as before except write operation to the EEE adv registers
will be done only if some EEE abilities was detected.

If some driver will have a regression, related driver should provide own
.get_features callback. See micrel.c:ksz9477_get_features() as example.

Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/phy/phy_device.c
This page took 0.048073 seconds and 4 git commands to generate.