git: 58cf2a284053 - stable/14 - sys/net/sff8436.h: Fix the register address of link length of copper or active cable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 18:28:11 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=58cf2a2840532208ab1442fc421ca6c985274c2c
commit 58cf2a2840532208ab1442fc421ca6c985274c2c
Author: Kirill Kochnev <sabashlive@gmail.com>
AuthorDate: 2025-11-06 18:22:30 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 18:25:08 +0000
sys/net/sff8436.h: Fix the register address of link length of copper or active cable
The register address of link length of copper or active cable is 146 as
per the SFF-8436 specification [1].
[1] 7.6.2 Upper Memory Map Page 00h SFF-8436 Specification (pdf): https://members.snia.org/document/dl/25896
Reviewed by: imp, zlei
MFC after: 1 week
Pull Request: https://github.com/freebsd/freebsd-src/pull/1885
Closes: https://github.com/freebsd/freebsd-src/pull/1885
(cherry picked from commit a537694b49f719d84e3a69a2b8a3098f603da7d7)
(cherry picked from commit fdd23fc3d0aacd1c80d0565d736591521b2421fc)
---
sys/net/sff8436.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/net/sff8436.h b/sys/net/sff8436.h
index deed74c7cdb4..dbf5c69df832 100644
--- a/sys/net/sff8436.h
+++ b/sys/net/sff8436.h
@@ -151,7 +151,7 @@ enum {
* OM2 fiber, units of 1 m */
SFF_8436_LEN_OM1 = 145, /* Link length supported for 1310 nm
* 50um multi-mode fiber, units of 1m*/
- SFF_8436_LEN_ASM = 144, /* Link length of passive cable assembly
+ SFF_8436_LEN_ASM = 146, /* Link length of passive cable assembly
* Length is specified as in the INF
* 8074, units of 1m. 0 means this is
* not value assembly. Value of 255