Module Name:    src
Committed By:   msaitoh
Date:           Wed Jan  8 03:51:37 UTC 2020

Modified Files:
        src/sys/dev/pci: if_wmreg.h

Log Message:
- Fix SFF_SFP_ETH_FLAGS_100FX. It's not 0x10 but 0x20.
- Define SFF_SFP_ETH_FLAGS_100LX with 0x10.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/sys/dev/pci/if_wmreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/if_wmreg.h
diff -u src/sys/dev/pci/if_wmreg.h:1.118 src/sys/dev/pci/if_wmreg.h:1.119
--- src/sys/dev/pci/if_wmreg.h:1.118	Wed Dec 11 10:28:19 2019
+++ src/sys/dev/pci/if_wmreg.h	Wed Jan  8 03:51:37 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_wmreg.h,v 1.118 2019/12/11 10:28:19 msaitoh Exp $	*/
+/*	$NetBSD: if_wmreg.h,v 1.119 2020/01/08 03:51:37 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -1620,7 +1620,8 @@ struct livengood_tcpip_ctxdesc {
 #define SFF_SFP_ETH_FLAGS_1000LX	0x02
 #define SFF_SFP_ETH_FLAGS_1000CX	0x04
 #define SFF_SFP_ETH_FLAGS_1000T		0x08
-#define SFF_SFP_ETH_FLAGS_100FX		0x10
+#define SFF_SFP_ETH_FLAGS_100LX		0x10
+#define SFF_SFP_ETH_FLAGS_100FX		0x20
 
 /* I21[01] PHY related definitions */
 #define GS40G_PAGE_SELECT	0x16

Reply via email to