summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-05-06 19:23:48 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-05-06 19:23:48 +0000
commitc24b35b2984cac3d8628b12fd63a954bdbada292 (patch)
tree02e75598f4b74bc2708443abfb41bcef0649a93b /sys/arch
parentaced4eb90185865a63d1bb921f12955537ca108d (diff)
Try to deal with the pci shadow bus issue by disabling a specific chip
revision of the CNB20HE that always seems to be involved in the shadow bus. This is definately not the right way to do things. The correct way is to try to figure out that the bus is being detected for the second time. ok deraadt
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/pci/pchb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c
index 01fa17a8052..0f5c493b8f2 100644
--- a/sys/arch/i386/pci/pchb.c
+++ b/sys/arch/i386/pci/pchb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pchb.c,v 1.31 2002/04/28 20:36:23 nate Exp $ */
+/* $OpenBSD: pchb.c,v 1.32 2002/05/06 19:23:47 nate Exp $ */
/* $NetBSD: pchb.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */
/*
@@ -167,6 +167,9 @@ pchbattach(parent, self, aux)
switch (PCI_VENDOR(pa->pa_id)) {
case PCI_VENDOR_RCC:
switch (PCI_PRODUCT(pa->pa_id)) {
+ case PCI_PRODUCT_RCC_CNB20HE:
+ if (PCI_REVISION(pa->pa_id) == 0x23)
+ break;
case PCI_PRODUCT_RCC_CIOB20:
case PCI_PRODUCT_RCC_CNB20LE:
case PCI_PRODUCT_RCC_CMIC_HE: