summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2013-04-11 10:10:41 +0000
committermsaitoh <msaitoh@NetBSD.org>2013-04-11 10:10:41 +0000
commitae5be70bac68823ae05b20bef2fd2d331512302d (patch)
treeaf9cf5840f4658393b65756ef7822521aae43fb5 /sys/dev
parent2e33cc07795942d990757ae9a1e36017445919ed (diff)
Add BGE_PCIMISCCTL_PCISTATE_RW in BGE_INIT. It's required to set the PCISTATE
register correctly.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_bgereg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h
index 837fa469c3b..4582c5c672a 100644
--- a/sys/dev/pci/if_bgereg.h
+++ b/sys/dev/pci/if_bgereg.h
@@ -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