diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-07-18 02:14:27 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-07-18 02:14:27 +0000 |
commit | ec9a81256ab16206fb394fad8552c4e1c3cf2e62 (patch) | |
tree | fc8f86f4eca4d3bddd3efffe5f3270782f596e62 | |
parent | 581da83386205d71aad800657cd1609edfb95765 (diff) |
another prom name, 'audio'
-rw-r--r-- | sys/arch/sparc64/dev/ce4231.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/ce4231.c b/sys/arch/sparc64/dev/ce4231.c index bc333bf98e9..1694c6ad77f 100644 --- a/sys/arch/sparc64/dev/ce4231.c +++ b/sys/arch/sparc64/dev/ce4231.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ce4231.c,v 1.8 2002/04/08 17:49:41 jason Exp $ */ +/* $OpenBSD: ce4231.c,v 1.9 2002/07/18 02:14:26 jason Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -217,7 +217,10 @@ ce4231_match(parent, vcf, aux) { struct ebus_attach_args *ea = aux; - return (strcmp("SUNW,CS4231", ea->ea_name) == 0); + if (!strcmp("SUNW,CS4231", ea->ea_name) || + !strcmp("audio", ea->ea_name)) + return (1); + return (0); } void |