Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's...



details:   https://anonhg.NetBSD.org/src/rev/594b6837c67a
branches:  trunk
changeset: 786005:594b6837c67a
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Apr 11 10:10:41 2013 +0000

description:
Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's required to set the PCISTATE
register correctly.

diffstat:

 sys/dev/pci/if_bgereg.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9d8a87d068be -r 594b6837c67a sys/dev/pci/if_bgereg.h
--- a/sys/dev/pci/if_bgereg.h   Thu Apr 11 01:27:47 2013 +0000
+++ b/sys/dev/pci/if_bgereg.h   Thu Apr 11 10:10:41 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bgereg.h,v 1.72 2013/04/08 15:55:58 msaitoh Exp $   */
+/*     $NetBSD: if_bgereg.h,v 1.73 2013/04/11 10:10:41 msaitoh Exp $   */
 /*
  * Copyright (c) 2001 Wind River Systems
  * Copyright (c) 1997, 1998, 1999, 2001
@@ -275,7 +275,8 @@
 
 #define BGE_INIT \
        (BGE_HIF_SWAP_OPTIONS|BGE_PCIMISCCTL_CLEAR_INTA| \
-        BGE_PCIMISCCTL_MASK_PCI_INTR|BGE_PCIMISCCTL_INDIRECT_ACCESS)
+        BGE_PCIMISCCTL_MASK_PCI_INTR|BGE_PCIMISCCTL_INDIRECT_ACCESS| \
+        BGE_PCIMISCCTL_PCISTATE_RW)
 
 #define BGE_CHIPID_TIGON_I             0x4000
 #define BGE_CHIPID_TIGON_II            0x6000



Home | Main Index | Thread Index | Old Index