]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: use ->is_c45 instead of is_10g_interface()
authorMarek Behún <marek.behun@nic.cz>
Wed, 6 Apr 2022 22:33:06 +0000 (00:33 +0200)
committerRamon Fried <ramon@neureality.ai>
Sun, 10 Apr 2022 05:44:13 +0000 (08:44 +0300)
commit79bef5fb1f0ce6b090017d2525a42f94e1577673
tree9c23ac505b5d1887fb5aed5eb66e90710ada2aa1
parentf961b3abf88d2922e064a0b83525929aab917f1f
net: phy: use ->is_c45 instead of is_10g_interface()

Use phydev->is_c45 instead of is_10g_interface(phydev->interface) to
determine whether clause 45 protocol should be used.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/phy/phy.c
include/phy.h