[ethtool] 01/24: bug fix: SFP Tx BIAS uses memory wrong offset

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Oct 9 03:48:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository ethtool.

commit 99bc878ad2592c216fb46ef21f223ecc85a527f4
Author: Jamal Hadi Salim <jhs at mojatatu.com>
Date:   Wed Oct 15 06:09:00 2014 -0400

    bug fix: SFP Tx BIAS uses memory wrong offset
    
    SFF-8472 rev 12.0 indicates the SFP BIAS is at offset 100 of page A2
    
    Signed-off-by: Jamal Hadi Salim <jhs at mojatatu.com>
    Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/ethtool.git



More information about the Kernel-svn-changes mailing list