openwrt-6.x/target/linux
Robert Marko 1f8c8bca5e
ipq40xx: add PSGMII PHY mode to phylink_get_linkmodes()
Upstream commit ("net: phylink: add generic validate implementation") was
backported, however PSGMII PHY mode patch for ipq40xx was not updated to
add PSGMII to phylink_get_linkmodes() so the following warning would be
printed during kernel compilation:
drivers/net/phy/phylink.c: In function 'phylink_get_linkmodes':
drivers/net/phy/phylink.c:360:9: error: enumeration value 'PHY_INTERFACE_MODE_PSGMII' not handled in switch [-Werror=switch]
  360 |         switch (interface) {
      |         ^~~~~~

Resolve the warning by adding the PSGMII mode to phylink_get_linkmodes().

Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-05-12 03:15:34 +02:00
..
airoha
apm821xx
archs38
armvirt
at91
ath25
ath79
bcm27xx
bcm47xx
bcm53xx
bcm63xx
bcm4908
bmips
gemini
generic
imx
ipq40xx ipq40xx: add PSGMII PHY mode to phylink_get_linkmodes() 2023-05-12 03:15:34 +02:00
ipq806x
ipq807x
kirkwood
lantiq
layerscape
malta
mediatek
mpc85xx
mvebu
mxs
octeon
octeontx
omap
oxnas
pistachio
qoriq
ramips
realtek
rockchip
sunxi
tegra
uml
x86
zynq
Makefile