summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-12-20 16:50:34 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-12-20 16:50:34 +0000
commit58219d8ebd596686202707b8d787d6673f7279ad (patch)
tree4455043b10d53c783e8a0b3fd381f0fadb221f21 /sys
parent4b1f376878b2fae6bd734482f3815fcd6252cc48 (diff)
using the right ebus bus space makes this beep again
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/dev/beeper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/beeper.c b/sys/arch/sparc64/dev/beeper.c
index ac7ecbbb3ea..9d7e3900f84 100644
--- a/sys/arch/sparc64/dev/beeper.c
+++ b/sys/arch/sparc64/dev/beeper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: beeper.c,v 1.9 2003/12/16 15:08:50 jason Exp $ */
+/* $OpenBSD: beeper.c,v 1.10 2005/12/20 16:50:33 martin Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -103,7 +103,7 @@ beeper_attach(parent, self, aux)
struct beeper_softc *sc = (void *)self;
struct ebus_attach_args *ea = aux;
- sc->sc_iot = ea->ea_iotag;
+ sc->sc_iot = ea->ea_memtag;
/* Use prom address if available, otherwise map it. */
if (ea->ea_nvaddrs) {