Module Name:    src
Committed By:   msaitoh
Date:           Tue Sep 20 09:24:13 UTC 2016

Modified Files:
        src/sys/dev/mii: inbmphyreg.h

Log Message:
 Change page of the OEM_BITS register back to 0 again. The document
(Intel Ethernet Connection I219 Datasheet) says its in page 0.
FreeBSD/Linux code access page 768. WHY?

This change will fix a bug that the LPLU function isn't disabled.

 See: http://mail-index.netbsd.org/source-changes-d/2016/09/19/msg008720.html


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/mii/inbmphyreg.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/mii/inbmphyreg.h
diff -u src/sys/dev/mii/inbmphyreg.h:1.4 src/sys/dev/mii/inbmphyreg.h:1.5
--- src/sys/dev/mii/inbmphyreg.h:1.4	Fri Sep  9 06:34:10 2016
+++ src/sys/dev/mii/inbmphyreg.h	Tue Sep 20 09:24:12 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: inbmphyreg.h,v 1.4 2016/09/09 06:34:10 msaitoh Exp $	*/
+/*	$NetBSD: inbmphyreg.h,v 1.5 2016/09/20 09:24:12 msaitoh Exp $	*/
 /*******************************************************************************
 Copyright (c) 2001-2005, Intel Corporation 
 All rights reserved.
@@ -87,7 +87,7 @@ POSSIBILITY OF SUCH DAMAGE.
 #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		BME1000_REG(0, 25)
 #define HV_OEM_BITS_LPLU	(1 << 2)
 #define HV_OEM_BITS_A1KDIS	(1 << 6)
 #define HV_OEM_BITS_ANEGNOW	(1 << 10)

Reply via email to