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 the definition of CTRL_GIO_M_DIS. This bit i...
details: https://anonhg.NetBSD.org/src/rev/7fb6a0977aed
branches: trunk
changeset: 795399:7fb6a0977aed
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Apr 11 04:42:34 2014 +0000
description:
Fix the definition of CTRL_GIO_M_DIS. This bit is not bit 3 but bit 2.
Reported by pooka@.
diffstat:
sys/dev/pci/if_wmreg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r ef787cc21db7 -r 7fb6a0977aed sys/dev/pci/if_wmreg.h
--- a/sys/dev/pci/if_wmreg.h Fri Apr 11 04:19:47 2014 +0000
+++ b/sys/dev/pci/if_wmreg.h Fri Apr 11 04:42:34 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wmreg.h,v 1.55 2013/12/29 21:28:41 msaitoh Exp $ */
+/* $NetBSD: if_wmreg.h,v 1.56 2014/04/11 04:42:34 msaitoh Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -209,8 +209,8 @@
#define CTRL_FD (1U << 0) /* full duplex */
#define CTRL_BEM (1U << 1) /* big-endian mode */
#define CTRL_PRIOR (1U << 2) /* 0 = receive, 1 = fair */
+#define CTRL_GIO_M_DIS (1U << 2) /* disabl PCI master access */
#define CTRL_LRST (1U << 3) /* link reset */
-#define CTRL_GIO_M_DIS (1U << 3) /* disabl PCI master access */
#define CTRL_ASDE (1U << 5) /* auto speed detect enable */
#define CTRL_SLU (1U << 6) /* set link up */
#define CTRL_ILOS (1U << 7) /* invert loss of signal */
Home |
Main Index |
Thread Index |
Old Index