diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-06-12 15:52:55 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-06-12 15:52:55 +0000 |
commit | be5bd1d8f99fc0e437d436705356f24d67db8ed2 (patch) | |
tree | ff917dcbc5bd50611b03735b89cbc066daacefae /sys/arch/i386/pci | |
parent | 73a33c136a7d96d82e4034bea651293f8da0a41a (diff) |
pci revision is in the class field, not the id (some ppl just refuse to follow the rules)' pt out by patrik@lindergren.com
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r-- | sys/arch/i386/pci/pchb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c index d38b597f5c4..8be6bbd297e 100644 --- a/sys/arch/i386/pci/pchb.c +++ b/sys/arch/i386/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.33 2002/05/10 17:15:07 mickey Exp $ */ +/* $OpenBSD: pchb.c,v 1.34 2002/06/12 15:52:54 mickey Exp $ */ /* $NetBSD: pchb.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */ /* @@ -169,7 +169,7 @@ pchbattach(parent, self, aux) switch (PCI_PRODUCT(pa->pa_id)) { case PCI_PRODUCT_RCC_CNB20HE: if ((sc->sc_dev.dv_unit == 0 && - PCI_REVISION(pa->pa_id) == 0x23) || + PCI_REVISION(pa->pa_class) == 0x23) || sc->sc_dev.dv_unit != 0) break; case PCI_PRODUCT_RCC_CIOB20: |