Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci PHY_CTRL_GBE_DIS is not bit 4 but bit 6. This ch...



details:   https://anonhg.NetBSD.org/src/rev/d0ae71afed13
branches:  trunk
changeset: 341182:d0ae71afed13
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Oct 23 08:45:14 2015 +0000

description:
PHY_CTRL_GBE_DIS is not bit 4 but bit 6. This change has no any effect by
default because WM_WOL is not defined yet and
m_kmrn_lock_loss_workaround_ich8lan() is broken.

diffstat:

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

diffs (18 lines):

diff -r 3cb31058a2f5 -r d0ae71afed13 sys/dev/pci/if_wmreg.h
--- a/sys/dev/pci/if_wmreg.h    Fri Oct 23 08:40:34 2015 +0000
+++ b/sys/dev/pci/if_wmreg.h    Fri Oct 23 08:45:14 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wmreg.h,v 1.85 2015/10/13 10:39:25 knakahara Exp $  */
+/*     $NetBSD: if_wmreg.h,v 1.86 2015/10/23 08:45:14 msaitoh Exp $    */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -711,7 +711,7 @@
 #define        PHY_CTRL_D0A_LPLU       (1 << 1)
 #define        PHY_CTRL_NOND0A_LPLU    (1 << 2)
 #define        PHY_CTRL_NOND0A_GBE_DIS (1 << 3)
-#define        PHY_CTRL_GBE_DIS        (1 << 4)
+#define        PHY_CTRL_GBE_DIS        (1 << 6)
 
 #define        WMREG_PBA       0x1000  /* Packet Buffer Allocation */
 #define        PBA_BYTE_SHIFT  10              /* KB -> bytes */



Home | Main Index | Thread Index | Old Index