kernel: rtl8367: set the correct cpu_port value
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Tue, 4 Jun 2024 15:25:39 +0000 (17:25 +0200)
committerRobert Marko <robimarko@gmail.com>
Sat, 8 Jun 2024 14:28:36 +0000 (16:28 +0200)
commitc1a26de1c6e4384bc8c80d3a73fc26eb05634c9c
tree95eb0176fb415361706bedf3366cebc9dfa306bb
parent56b15913af882074a3ec4f9af06cf1b0bad8e0b1
kernel: rtl8367: set the correct cpu_port value

Set the appropriate cpu_port value based on the use of realtek,extif0 or realtek,extif1 parameter.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/15033
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/generic/files/drivers/net/phy/rtl8367.c