Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci - Fix SFF_SFP_ETH_FLAGS_100FX. It's not 0x10 but...



details:   https://anonhg.NetBSD.org/src/rev/360ec2b187a2
branches:  trunk
changeset: 968233:360ec2b187a2
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Jan 08 03:51:37 2020 +0000

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

diffstat:

 sys/dev/pci/if_wmreg.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r b3b01187364a -r 360ec2b187a2 sys/dev/pci/if_wmreg.h
--- a/sys/dev/pci/if_wmreg.h    Tue Jan 07 22:42:14 2020 +0000
+++ b/sys/dev/pci/if_wmreg.h    Wed Jan 08 03:51:37 2020 +0000
@@ -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 @@
 #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



Home | Main Index | Thread Index | Old Index