Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2026 00:02:31 +0000
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a3036edd0292 - main - if_media: Claim 10BASE-T1S and 10BASE-T1L constants
Message-ID:  <6a026e17.3f0ff.60f5efc6@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by emaste:

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

commit a3036edd0292291a71fb74ba2bce355159ac6913
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-05-04 23:48:25 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
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) },		\


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a026e17.3f0ff.60f5efc6>