]> git.baikalelectronics.ru Git - uboot.git/commit
net: phy: Drop phy_interface_is_sgmii
authorNishanth Menon <nm@ti.com>
Fri, 14 Apr 2023 22:06:44 +0000 (17:06 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 5 May 2023 21:48:44 +0000 (17:48 -0400)
commit18593e7d13a084f67e7148a76bbe2695cf24deb9
tree39217b5b04919fc0a0dea0b61953281e8f6f7973
parent844ddd9c294506ef376ddcacc2155d68eac151a4
net: phy: Drop phy_interface_is_sgmii

Recent commit 3499e32be935 ("net: phy: Synchronize PHY interface modes
with Linux") reordered the enum definitions. This caused the range of
enums that this api was checking to go bad.

There aren't anymore users of phy_interface_is_sgmii, so, just drop
it. Also the protocols are so very different that it makes no sense to
provide a helper wrapper in the hope of reuse for phy drivers.

Reported-by: Tom Rini <trini@konsulko.com>
Suggested-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Suggested-by: Marek BehĂșn <kabel@kernel.org>
Link: https://lore.kernel.org/all/20230414103852.38705065@dellmb/
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
include/phy.h