The branch main has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a3036edd0292291a71fb74ba2bce355159ac6913

commit a3036edd0292291a71fb74ba2bce355159ac6913
Author:     Ed Maste <[email protected]>
AuthorDate: 2026-05-04 23:48:25 +0000
Commit:     Ed Maste <[email protected]>
CommitDate: 2026-05-12 00:01:04 +0000

    if_media: Claim 10BASE-T1S and 10BASE-T1L constants
    
    These are two single-pair Ethernet (SPE) variants that run at 10 Mbps.
    10BASE-T1S has automotive origins and supports multiple nodes on up to
    25m of cable.  10BASE-T1L is intended for building and industrial
    automation and supports long-distance point to point links of over 1km.
    
    Reviewed by:    kbowling
    Differential Revision: https://reviews.freebsd.org/D56952
---
 sys/net/if_media.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys/net/if_media.h b/sys/net/if_media.h
index 892b7d1e3e52..5cc8714219c8 100644
--- a/sys/net/if_media.h
+++ b/sys/net/if_media.h
@@ -262,6 +262,8 @@ uint64_t    ifmedia_baudrate(int);
 #define        IFM_1000_BX     IFM_X(121)      /* 1000Base-BX */
 #define        IFM_400G_SR8    IFM_X(122)      /* 400GBase-SR8 */
 #define        IFM_400G_CR8    IFM_X(123)      /* 400GBase-CR8 */
+#define        IFM_10_T1S      IFM_X(124)      /* 10BASE-T1S */
+#define        IFM_10_T1L      IFM_X(125)      /* 10BASE-T1L */
 
 /*
  * Please update ieee8023ad_lacp.c:lacp_compose_key()
@@ -554,6 +556,8 @@ struct ifmedia_description {
        { IFM_400G_AUI8,        "400G-AUI8" },                          \
        { IFM_400G_SR8, "400GBase-SR8" },                               \
        { IFM_400G_CR8, "400GBase-CR8" },                               \
+       { IFM_10_T1S,   "10BASE-T1S" },                                 \
+       { IFM_10_T1L,   "10BASE-T1L" },                                 \
        { 0, NULL },                                                    \
 }
 
@@ -903,6 +907,8 @@ struct ifmedia_baudrate {
        { IFM_ETHER | IFM_400G_AUI8,    IF_Gbps(400ULL) },              \
        { IFM_ETHER | IFM_400G_SR8,     IF_Gbps(400ULL) },              \
        { IFM_ETHER | IFM_400G_CR8,     IF_Gbps(400ULL) },              \
+       { IFM_ETHER | IFM_10_T1S,       IF_Mbps(10) },                  \
+       { IFM_ETHER | IFM_10_T1L,       IF_Mbps(10) },                  \
                                                                        \
        { IFM_IEEE80211 | IFM_IEEE80211_FH1,    IF_Mbps(1) },           \
        { IFM_IEEE80211 | IFM_IEEE80211_FH2,    IF_Mbps(2) },           \

Reply via email to