summaryrefslogtreecommitdiff
path: root/sys/arch/socppc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-08-26 17:47:52 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-08-26 17:47:52 +0000
commitfdc0bf87eb95d420be5d6ae20e2d09d895c0d1ae (patch)
treea3b74d90f5171ed4ebea8655bd9978867b93ae94 /sys/arch/socppc
parent800db41782a1933541d230b06e0144f88ad58d3b (diff)
Use comconsfreq instead of hardcoded frequency. Still a bit of a hack, but
this lets me run the RB600 at 400MHz.
Diffstat (limited to 'sys/arch/socppc')
-rw-r--r--sys/arch/socppc/dev/com_obio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/dev/com_obio.c b/sys/arch/socppc/dev/com_obio.c
index c509c800e05..3b1bb2351ec 100644
--- a/sys/arch/socppc/dev/com_obio.c
+++ b/sys/arch/socppc/dev/com_obio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_obio.c,v 1.1 2008/05/10 12:02:20 kettenis Exp $ */
+/* $OpenBSD: com_obio.c,v 1.2 2009/08/26 17:47:51 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -51,7 +51,7 @@ com_obio_attach(struct device *parent, struct device *self, void *aux)
sc->sc_iot = oa->oa_iot;
sc->sc_iobase = oa->oa_offset;
- sc->sc_frequency = 266666666; /* XXX */
+ sc->sc_frequency = comconsfreq; /* XXX */
if (sc->sc_iobase != comconsaddr) {
if (bus_space_map(sc->sc_iot, sc->sc_iobase,