The branch main has been updated by wma: URL: https://cgit.FreeBSD.org/src/commit/?id=382376f39863d553808f96527bc53bf7149780fe
commit 382376f39863d553808f96527bc53bf7149780fe Author: Wojciech Macek <[email protected]> AuthorDate: 2021-07-06 07:01:30 +0000 Commit: Wojciech Macek <[email protected]> CommitDate: 2021-07-06 07:01:30 +0000 enetc: Add support for 2.5G fixed-link speed With the v5.13 device-tree update speed of the CPU switch port was changed to 2.5G. Reflect that in the driver. Submitted by: Kornel Duleba <[email protected]> Obtained from: Semihalf Sponsored by: Alstom Group --- sys/dev/enetc/if_enetc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/enetc/if_enetc.c b/sys/dev/enetc/if_enetc.c index 03bd7462a062..54cdc6ea9ad4 100644 --- a/sys/dev/enetc/if_enetc.c +++ b/sys/dev/enetc/if_enetc.c @@ -287,6 +287,9 @@ enetc_setup_fixed(struct enetc_softc *sc, phandle_t node) case 1000: speed = IFM_1000_T; break; + case 2500: + speed = IFM_2500_T; + break; default: device_printf(sc->dev, "Unsupported link speed value of %d\n", speed); _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
