aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Kochnev <sabashlive@gmail.com>2025-11-06 18:22:30 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2025-11-16 17:02:02 +0000
commita537694b49f719d84e3a69a2b8a3098f603da7d7 (patch)
tree99bad10148b548b91c710102d58b6a473a409574
parent87025ccb8c802b6074f1651bfaaca5c6b4ffcc17 (diff)
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
-rw-r--r--sys/net/sff8436.h2
1 files changed, 1 insertions, 1 deletions
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