diff options
-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) { |