summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2007-12-18 08:07:55 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2007-12-18 08:07:55 +0000
commit163e5cb01d451ff0ae1cd7e8d2d7ee8599d92891 (patch)
tree5666c3d241bd18251b0624e628db1037688db26f /sys/arch/mips64
parent00206dce7249c420f02f29331470674407d10970 (diff)
Expose the clock address space so that it can be used outside of clock(4).
ok miod@
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/dev/clockvar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/mips64/dev/clockvar.h b/sys/arch/mips64/dev/clockvar.h
index de485e34fba..b892fea6181 100644
--- a/sys/arch/mips64/dev/clockvar.h
+++ b/sys/arch/mips64/dev/clockvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: clockvar.h,v 1.3 2005/01/31 21:25:20 grange Exp $ */
+/* $OpenBSD: clockvar.h,v 1.4 2007/12/18 08:07:53 jsing Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -74,4 +74,7 @@ struct clock_softc {
void *ih;
};
+/* XXX Handle to clock address space. */
+bus_space_handle_t clock_h;
+
void md_clk_attach(struct device *, struct device *, void *);