diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-11-24 03:12:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-11-24 03:12:05 +0000 |
commit | 38a9efdcb6530588d5fcda490ec61ab280852410 (patch) | |
tree | 9fe40c595376e9ed0ca2b01cc8e12b1b18c034b3 | |
parent | 3dfef7e8dce4329d211bd1bf3c044e71b471e4ea (diff) |
deal with busses which misidentify; enami@netbsd
-rw-r--r-- | sys/arch/i386/pci/pcib.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/arch/i386/pci/pcib.c b/sys/arch/i386/pci/pcib.c index aff566d3371..f8e10e95a5d 100644 --- a/sys/arch/i386/pci/pcib.c +++ b/sys/arch/i386/pci/pcib.c @@ -73,6 +73,17 @@ pcibmatch(parent, match, aux) PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_BRIDGE_ISA) return (1); + switch (PCI_VENDOR(pa->pa_id)) { + case PCI_VENDOR_INTEL: + switch (PCI_PRODUCT(pa->pa_id)) { + case PCI_PRODUCT_INTEL_SIO: + case PCI_PRODUCT_INTEL_82371MX: + case PCI_PRODUCT_INTEL_82371AB: + /* The above bridges mis-identify themselves */ + return (1); + } + } + return (0); } |