diff options
| author | INAGAKI Hiroshi | 2024-12-23 11:58:30 +0000 |
|---|---|---|
| committer | Sander Vanheule | 2025-01-21 17:37:51 +0000 |
| commit | 09fbc5d343bb5a5c247c9f302491108de740606f (patch) | |
| tree | 9c8e64034defafede4e040b0c2d4f19d9caaac14 | |
| parent | d45890f6cd508256356f99c11b8a744a30d99cf4 (diff) | |
| download | openwrt-09fbc5d343bb5a5c247c9f302491108de740606f.tar.gz | |
realtek: add 10GBASER to supported interfaces in DSA driver
add PHY_INTERFACE_MODE_10GBASER to supported_interfaces for using
10GBase-*R interfaces on SFP+ ports.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17593
Signed-off-by: Sander Vanheule <sander@svanheule.net>
| -rw-r--r-- | target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c b/target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c index f9d37fb3bd..69151b2f6b 100644 --- a/target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c +++ b/target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c @@ -686,6 +686,7 @@ static void rtl83xx_phylink_get_caps(struct dsa_switch *ds, int port, __set_bit(PHY_INTERFACE_MODE_XGMII, config->supported_interfaces); __set_bit(PHY_INTERFACE_MODE_USXGMII, config->supported_interfaces); __set_bit(PHY_INTERFACE_MODE_1000BASEX, config->supported_interfaces); + __set_bit(PHY_INTERFACE_MODE_10GBASER, config->supported_interfaces); } static void rtl83xx_phylink_mac_config(struct dsa_switch *ds, int port, |