diff options
author | 1998-11-24 03:12:04 +0000 | |
---|---|---|
committer | 1998-11-24 03:12:04 +0000 | |
commit | 2ec78b9386b76d1d8ba988e0f7d1de989d22861d (patch) | |
tree | 3992096badeb9c320b86bca633fcde7c1bda3b00 | |
parent | grammer (diff) | |
download | wireguard-openbsd-2ec78b9386b76d1d8ba988e0f7d1de989d22861d.tar.xz wireguard-openbsd-2ec78b9386b76d1d8ba988e0f7d1de989d22861d.zip |
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); } |