]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: phy: dp83867: Explicitly check against sgmii
authorNishanth Menon <nm@ti.com>
Fri, 14 Apr 2023 22:06:43 +0000 (17:06 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 5 May 2023 21:48:44 +0000 (17:48 -0400)
commit0207403eebec7f0918d84003666c30c4d0067197
tree9fa24dc6be047a07e0ef791001b9b297370c4de6
parentc8acbbbf0847744ff2ad98e9d8d4e11d5e37eda2
net: phy: dp83867: Explicitly check against sgmii

dp83867 driver only supports sgmii and not all the newer protocols.
Drop the usage of the generic phy_interface_is_sgmii function and just
matchup to the specific mode supported.

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/b82ac325-4818-8e72-054b-640268dbf806@mailbox.org/
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/phy/dp83867.c