]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: Add phy_modify_mmd() and phy_modify_mmd_changed() from Linux
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 19 Mar 2023 17:08:07 +0000 (18:08 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:21:37 +0000 (14:21 +0200)
commit87b7502824416d606d976f635a9a4eef4923ffee
treee601d31e9083db3e093a8b400161d10b11594632
parentbf3dabb7de7979cbca8680e688911f36056204b1
net: phy: Add phy_modify_mmd() and phy_modify_mmd_changed() from Linux

Add phy_modify_mmd()/phy_modify_mmd_changed() from Linux 5.1.y as of commit
b8554d4f7288f ("net: phy: add register modifying helpers returning 1 on change")
This is used by the upcoming Marvell 10G PHY driver.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/phy/phy.c
include/phy.h