]> git.baikalelectronics.ru Git - uboot.git/commit
net: phy: Synchronize PHY interface modes with Linux
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 21 Mar 2023 17:25:54 +0000 (18:25 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:20:53 +0000 (14:20 +0200)
commit3499e32be9353a60973d755682c7737186623b02
tree085a6d785ddc63cbd967d22cdc5be1f6c82f00e3
parent4e337e5db08d6f1352383d3007932c2a4b28e50e
net: phy: Synchronize PHY interface modes with Linux

Synchronize PHY interface modes with Linux next 6.2.y commit:
0194b64578e90 ("net: phy: improve phy_read_poll_timeout")

Retain LX2160A/LX2162A PHY modes as those are not yet supported
by the Linux kernel, but isolate those with ifdeffery.

Isolate NCSI which are also not supported by Linux kernel. Note
that the ifdeffery cannot be avoided with IS_ENABLED() here due
to compilation of the entire conditional, which would fail in
case NCSI symbols are not available.

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_interface.h