diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-09-15 07:00:13 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-09-15 07:00:13 +0000 |
commit | 0c579e6615b08ea1a7556a41e08de8d1b01b7cdf (patch) | |
tree | d350267d1581c96a1b7f5baf630047ddad0f343e /sys | |
parent | b337316110ee811e1b3447ec69dd04226a82c5e4 (diff) |
match ebusIII (from netbsd)
Diffstat (limited to 'sys')
-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) { |