mirror of
https://github.com/openwrt/openwrt.git
synced 2026-12-06 06:25:41 +04:00
realtek: pcs: rtl930x: prepare 100BASE-X support
RTL930x uses the IP-driven mode setup for Base-X links and the 1G analog configuration for SGMII and 1000BASE-X. Route 100BASE-X through the same IP-driven and 1G analog setup paths. Keep the mode unavailable until all RTL93xx support is in place. Link: https://github.com/openwrt/openwrt/pull/25378 Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
This commit is contained in:
1 file changed
+2
@@ -2157,6 +2157,7 @@ static int rtpcs_930x_sds_set_mode(struct rtpcs_serdes *sds, enum rtpcs_sds_mode
|
||||
|
||||
switch (hw_mode) {
|
||||
case RTPCS_SDS_MODE_SGMII:
|
||||
case RTPCS_SDS_MODE_100BASEX:
|
||||
case RTPCS_SDS_MODE_1000BASEX:
|
||||
case RTPCS_SDS_MODE_2500BASEX:
|
||||
case RTPCS_SDS_MODE_10GBASER:
|
||||
@@ -3089,6 +3090,7 @@ static int rtpcs_930x_sds_config_hw_mode(struct rtpcs_serdes *sds, enum rtpcs_sd
|
||||
return ret;
|
||||
|
||||
switch (hw_mode) {
|
||||
case RTPCS_SDS_MODE_100BASEX:
|
||||
case RTPCS_SDS_MODE_1000BASEX:
|
||||
case RTPCS_SDS_MODE_SGMII:
|
||||
ret = rtpcs_sds_apply_config(sds, rtpcs_930x_sds_cfg_ana_1g,
|
||||
|
||||
Reference in new issue
Block a user