diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-07-08 12:34:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-07-08 12:34:37 +0000 |
commit | e91c064db475a5898e7d362e97dbcc9ff16a145f (patch) | |
tree | 96a927272782f998c6e9373125ec1de9834ce8d6 | |
parent | 510f1b2578969862429c865f112e0485f837a142 (diff) |
Partially revert r1.8 - we do not want to match on the SPARCbook auxio2
registers, after all.
-rw-r--r-- | sys/arch/sparc/dev/power.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/power.c b/sys/arch/sparc/dev/power.c index 61c67177d4c..4422aa7510f 100644 --- a/sys/arch/sparc/dev/power.c +++ b/sys/arch/sparc/dev/power.c @@ -1,4 +1,4 @@ -/* $OpenBSD: power.c,v 1.8 2005/03/23 17:12:24 miod Exp $ */ +/* $OpenBSD: power.c,v 1.9 2005/07/08 12:34:36 miod Exp $ */ /* $NetBSD: power.c,v 1.2 1996/05/16 15:56:56 abrown Exp $ */ /* @@ -76,9 +76,7 @@ powermatch(struct device *parent, void *vcf, void *aux) struct confargs *ca = aux; if (CPU_ISSUN4M) { - /* Tadpole SPARCbooks provide the power register as "auxio2" */ - if (strcmp("power", ca->ca_ra.ra_name) == 0 || - strcmp("auxio2", ca->ca_ra.ra_name) == 0) + if (strcmp("power", ca->ca_ra.ra_name) == 0) return (1); } |