realtek: enable SerDes NWAY and SGMII negotiation
authorBjørn Mork <bjorn@mork.no>
Sat, 13 Mar 2021 16:45:54 +0000 (17:45 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Apr 2021 10:06:45 +0000 (12:06 +0200)
commit37920d6ee16267c216e890f9d9487ef1ef1eff17
treea37e00f0a9315b02c3e0cfc557a272a79f97690a
parent037dc6b251248dc459a41d8602fa027e2bff5d23
realtek: enable SerDes NWAY and SGMII negotiation

This allows copper SFPs to negotiate speeds lower than 1gig.

Acked-by: Birger Koblitz <mail@birger-koblitz.de>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
(cherry picked from commit 963b2ae702510c11e912c9438fdb9222763a22d5)
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/dsa.c