diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-01-15 08:16:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-01-15 08:16:25 +0000 |
commit | 905190be498bdc3e706f34f771a041111d00b2f1 (patch) | |
tree | 29ebdee4d1642656faadc8b750b501194fb21297 /sys/dev/pci/ppb.c | |
parent | 1094deb2e2b8310d8f318d5dbd0ac5c2c1e8c481 (diff) |
special case one mislabeled device which is not a pci bridge at all
Diffstat (limited to 'sys/dev/pci/ppb.c')
-rw-r--r-- | sys/dev/pci/ppb.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/pci/ppb.c b/sys/dev/pci/ppb.c index a022ebfd31c..80602a7bdf1 100644 --- a/sys/dev/pci/ppb.c +++ b/sys/dev/pci/ppb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ppb.c,v 1.9 1998/03/10 08:40:39 deraadt Exp $ */ +/* $OpenBSD: ppb.c,v 1.10 2000/01/15 08:16:24 deraadt Exp $ */ /* $NetBSD: ppb.c,v 1.16 1997/06/06 23:48:05 thorpej Exp $ */ /* @@ -71,6 +71,12 @@ ppbmatch(parent, match, aux) struct pci_attach_args *pa = aux; /* + * This device is mislabeled. It is not a PCI bridge. + */ + if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_VIATECH && + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_VIATECH_VT82C586_PWR) + return (0); + /* * Check the ID register to see that it's a PCI bridge. * If it is, we assume that we can deal with it; it _should_ * work in a standardized way... |