diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-05-10 17:15:08 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-05-10 17:15:08 +0000 |
commit | c48eabe12b38c4b211d1803fd12bf5b48a38db78 (patch) | |
tree | af9d2fb5c2443f16812330d18b37cddbded4487a /sys | |
parent | 7aef88c17056f9e3e7db1d8440e98f35991e616f (diff) |
on ServerWorks CNB20HE Host:
do not synthesyse secondary pci bus on the pchb0 rev 0x23
OR
pchb1 w/ any revision.
prompted by frisco@blackant.net in pr#2642
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/pci/pchb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c index 0f5c493b8f2..d38b597f5c4 100644 --- a/sys/arch/i386/pci/pchb.c +++ b/sys/arch/i386/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.32 2002/05/06 19:23:47 nate Exp $ */ +/* $OpenBSD: pchb.c,v 1.33 2002/05/10 17:15:07 mickey Exp $ */ /* $NetBSD: pchb.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */ /* @@ -168,7 +168,9 @@ pchbattach(parent, self, aux) case PCI_VENDOR_RCC: switch (PCI_PRODUCT(pa->pa_id)) { case PCI_PRODUCT_RCC_CNB20HE: - if (PCI_REVISION(pa->pa_id) == 0x23) + if ((sc->sc_dev.dv_unit == 0 && + PCI_REVISION(pa->pa_id) == 0x23) || + sc->sc_dev.dv_unit != 0) break; case PCI_PRODUCT_RCC_CIOB20: case PCI_PRODUCT_RCC_CNB20LE: |