linux-stable/arch/mips
Serge Semin f8c3861243 MIPS: Loongson32: Fix PHY-mode being left unspecified
[ Upstream commit e9f3f8f488 ]

commit 0060c87833 ("net: stmmac: implement support for passive mode
converters via dt") has changed the plat->interface field semantics from
containing the PHY-mode to specifying the MAC-PCS interface mode. Due to
that the loongson32 platform code will leave the phylink interface
uninitialized with the PHY-mode intended by the means of the actual
platform setup. The commit-author most likely has just missed the
arch-specific code to fix. Let's mend the Loongson32 platform code then by
assigning the PHY-mode to the phy_interface field of the STMMAC platform
data.

Fixes: 0060c87833 ("net: stmmac: implement support for passive mode converters via dt")
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
Tested-by: Keguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-28 11:32:14 +02:00
..
alchemy ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
ar7
ath25 MIPS: ath25: Constify static irq_domain_ops 2022-02-22 09:39:03 +01:00
ath79 MIPS: Remove redundant definitions of device_tree_init() 2022-03-14 15:09:02 +01:00
bcm47xx MIPS: BCM47XX: Add support for Netgear WN2500RP v1 & v2 2022-01-09 15:41:50 +01:00
bcm63xx linux-watchdog 5.17-rc1 tag 2022-01-17 08:07:57 +02:00
bmips MIPS: bmips: Fix compiler warning observed on W=1 build 2022-05-23 18:28:03 +02:00
boot mips: dts: ingenic: Add TCU clock to x1000/x1830 tcu device node 2022-06-21 17:18:39 +02:00
cavium-octeon mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start 2022-08-25 11:45:48 +02:00
cobalt
configs Cleanups and fixes 2022-05-30 11:01:50 -07:00
crypto MIPS: crypto: Fix CRC32 code 2022-04-01 10:19:03 +02:00
dec MIPS: fix typos in comments 2022-05-04 22:22:59 +02:00
fw MIPS: fix typos in comments 2022-05-04 22:22:59 +02:00
generic arch: mips: generic: Add missing of_node_put() in board-ranchu.c 2022-06-21 17:04:30 +02:00
include TTY / Serial driver changes for 5.19-rc1 2022-06-03 11:08:40 -07:00
ingenic
jazz MIPS: fix typos in comments 2022-05-04 22:22:59 +02:00
kernel MIPS: vdso: Utilize __pa() for gic_pfn 2022-08-17 15:15:51 +02:00
kvm MIPS: fix typos in comments 2022-05-04 22:22:59 +02:00
lantiq MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko 2022-09-28 11:32:14 +02:00
lib MIPS: Only use current_stack_pointer on GCC 2022-03-14 15:02:53 +01:00
loongson2ef MIPS: Loongson{2ef,64}: Wrap -mno-branch-likely with cc-option 2022-02-07 18:30:12 +01:00
loongson32 MIPS: Loongson32: Fix PHY-mode being left unspecified 2022-09-28 11:32:14 +02:00
loongson64 MIPS: Loongson64: Fix section mismatch warning 2022-08-17 15:15:50 +02:00
math-emu
mm MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 2022-08-25 11:45:53 +02:00
mti-malta mips: mti-malta: Fix refcount leak in malta-time.c 2022-06-21 17:04:30 +02:00
n64
net MIPS: fix typos in comments 2022-05-04 22:22:59 +02:00
pci Cleanups and fixes 2022-05-30 11:01:50 -07:00
pic32 mips/pic32/pic32mzda: Fix refcount leak bugs 2022-06-21 17:04:54 +02:00
power
ralink mips: ralink: Fix refcount leak in of.c 2022-06-21 17:04:30 +02:00
rb532 MIPS: rb532: move GPIOD definition into C-files 2022-03-30 20:26:26 +02:00
sgi-ip22 mips: ip22: Reword PANICED to PANICKED and remove useless header 2022-05-04 22:23:56 +02:00
sgi-ip27 MIPS: SGI-IP27: Free some unused memory 2022-04-26 15:06:00 +02:00
sgi-ip30 MIPS: SGI-IP30: Free some unused memory 2022-04-26 15:07:23 +02:00
sgi-ip32 MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
sibyte Cleanups and fixes 2022-05-30 11:01:50 -07:00
sni MIPS: sni: Fix the build 2021-10-18 18:09:54 +02:00
tools MIPS: fix typos in comments 2022-05-04 22:22:59 +02:00
txx9 MIPS: fix typos in comments 2022-05-04 22:22:59 +02:00
vdso mips: Enable KCSAN 2022-02-07 18:31:57 +01:00
vr41xx MIPS: Remove repetitive increase irq_err_count 2022-06-21 16:50:58 +02:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kbuild.platforms MIPS: Remove TX39XX support 2022-03-01 10:07:22 +01:00
Kconfig RISC-V Patches for the 5.19 Merge Window, Part 1 2022-05-31 14:10:54 -07:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile mips: Always permit to build u-boot images 2022-03-07 13:11:20 +01:00
Makefile.postlink