Module Name:    src
Committed By:   msaitoh
Date:           Fri Jun 25 03:47:57 UTC 2010

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

Log Message:
The GIO master enable bit in STATUS register is not bit 16 but bit 18.
It will fix a problem on 82580 SGMII system.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 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.40 src/sys/dev/pci/if_wmreg.h:1.41
--- src/sys/dev/pci/if_wmreg.h:1.40	Sun Mar  7 09:05:19 2010
+++ src/sys/dev/pci/if_wmreg.h	Fri Jun 25 03:47:57 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_wmreg.h,v 1.40 2010/03/07 09:05:19 msaitoh Exp $	*/
+/*	$NetBSD: if_wmreg.h,v 1.41 2010/06/25 03:47:57 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -231,7 +231,7 @@
 #define	STATUS_PCIXSPD_66_100  STATUS_PCIXSPD(1)
 #define	STATUS_PCIXSPD_100_133 STATUS_PCIXSPD(2)
 #define	STATUS_PCIXSPD_MASK    STATUS_PCIXSPD(3)
-#define	STATUS_GIO_M_ENA (1U << 16)	/* PCIX master enable */
+#define	STATUS_GIO_M_ENA (1U << 19)	/* GIO master enable */
 
 #define	WMREG_EECD	0x0010	/* EEPROM Control Register */
 #define	EECD_SK		(1U << 0)	/* clock */

Reply via email to