Discussion:
[ethtool PATCH 1/1] bug fix: SFP Tx BIAS uses memory wrong offset
Jamal Hadi Salim
2014-10-15 10:09:00 UTC
Permalink
From: Jamal Hadi Salim <***@mojatatu.com>

SFF-8472 rev 12.0 indicates the SFP BIAS is at offset 100 of page A2

Signed-off-by: Jamal Hadi Salim <***@mojatatu.com>
---
sfpdiag.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfpdiag.c b/sfpdiag.c
index 812a2fa..a3dbc9b 100644
--- a/sfpdiag.c
+++ b/sfpdiag.c
@@ -48,7 +48,7 @@
#define SFF_A2_VCC_HWARN 12
#define SFF_A2_VCC_LWARN 14

-#define SFF_A2_BIAS 96
+#define SFF_A2_BIAS 100
#define SFF_A2_BIAS_HALRM 16
#define SFF_A2_BIAS_LALRM 18
#define SFF_A2_BIAS_HWARN 20
--
1.7.9.5
Loading...