Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii HV_OEM_BITS is not page 0 but page 768.



details:   https://anonhg.NetBSD.org/src/rev/9b7a6a3eff70
branches:  trunk
changeset: 347650:9b7a6a3eff70
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Sep 09 06:34:10 2016 +0000

description:
HV_OEM_BITS is not page 0 but page 768.

diffstat:

 sys/dev/mii/inbmphyreg.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 756cdd99f29e -r 9b7a6a3eff70 sys/dev/mii/inbmphyreg.h
--- a/sys/dev/mii/inbmphyreg.h  Fri Sep 09 05:36:59 2016 +0000
+++ b/sys/dev/mii/inbmphyreg.h  Fri Sep 09 06:34:10 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inbmphyreg.h,v 1.3 2011/05/20 06:06:59 msaitoh Exp $   */
+/*     $NetBSD: inbmphyreg.h,v 1.4 2016/09/09 06:34:10 msaitoh Exp $   */
 /*******************************************************************************
 Copyright (c) 2001-2005, Intel Corporation 
 All rights reserved.
@@ -84,14 +84,14 @@
 #define        I82577_ADDR_REG         16
 #define        I82577_CFG_REG          22
 
-#define HV_OEM_BITS            BME1000_REG(0, 25)
+#define HV_INTC_FC_PAGE_START  768
+#define        BM_PORT_CTRL_PAGE       769
+
+#define HV_OEM_BITS            BME1000_REG(768, 25)
 #define HV_OEM_BITS_LPLU       (1 << 2)
 #define HV_OEM_BITS_A1KDIS     (1 << 6)
 #define HV_OEM_BITS_ANEGNOW    (1 << 10)
 
-#define HV_INTC_FC_PAGE_START  768
-#define        BM_PORT_CTRL_PAGE       769
-
 #define        HV_KMRN_MODE_CTRL       BME1000_REG(BM_PORT_CTRL_PAGE, 16)
 #define        HV_KMRN_MDIO_SLOW       0x0400
 



Home | Main Index | Thread Index | Old Index