realtek: add SFP support for RTL8214FC PHY
authorJan Hoffmann <jan@3e8.eu>
Sat, 23 Jul 2022 20:53:15 +0000 (22:53 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 28 Jul 2022 12:08:43 +0000 (14:08 +0200)
commitb6a0d50b7fd1ed8d62cc017d9fc5b83f436d3156
tree6e6abbdcf7991fdaec5023debd58ec3e7a77f516
parentc6a7ea9f7f49fb805af54e586941f066e0a8786d
realtek: add SFP support for RTL8214FC PHY

Probe the SFP module during PHY initialization and implement
insertion/removal handlers to automatically configure the media type
of the respective port.

Suggested-by: Birger Koblitz <git@birger-koblitz.de>
Tested-by: Birger Koblitz <mail@birger-koblitz.de>
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c