diff options
author | 2001-09-15 07:00:12 +0000 | |
---|---|---|
committer | 2001-09-15 07:00:12 +0000 | |
commit | 62639c27a7682eaa049ef517e74458fb32807b88 (patch) | |
tree | c102dda947a76464951a6e4452c3acd22be65397 | |
parent | sync (diff) | |
download | wireguard-openbsd-62639c27a7682eaa049ef517e74458fb32807b88.tar.xz wireguard-openbsd-62639c27a7682eaa049ef517e74458fb32807b88.zip |
match ebusIII (from netbsd)
-rw-r--r-- | sys/arch/sparc64/dev/ebus.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/ebus.c b/sys/arch/sparc64/dev/ebus.c index 3a6e5d9378b..cd9727bde0e 100644 --- a/sys/arch/sparc64/dev/ebus.c +++ b/sys/arch/sparc64/dev/ebus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ebus.c,v 1.2 2001/08/29 02:47:58 jason Exp $ */ +/* $OpenBSD: ebus.c,v 1.3 2001/09/15 07:00:12 jason Exp $ */ /* $NetBSD: ebus.c,v 1.24 2001/07/25 03:49:54 eeh Exp $ */ /* @@ -141,6 +141,13 @@ ebus_match(parent, match, aux) strcmp(name, "ebus") == 0) return (1); + /* Or a real ebus III */ + if (PCI_CLASS(pa->pa_class) == PCI_CLASS_BRIDGE && + PCI_VENDOR(pa->pa_id) == PCI_VENDOR_SUN && + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SUN_EBUSIII && + strcmp(name, "ebus") == 0) + return (1); + /* Or a PCI-ISA bridge XXX I hope this is on-board. */ if (PCI_CLASS(pa->pa_class) == PCI_CLASS_BRIDGE && PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_BRIDGE_ISA) { |