summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sgi/dev/power.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/sgi/dev/power.c b/sys/arch/sgi/dev/power.c
index 8295fee28de..10a395d844d 100644
--- a/sys/arch/sgi/dev/power.c
+++ b/sys/arch/sgi/dev/power.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: power.c,v 1.3 2007/12/18 09:42:00 jasper Exp $ */
+/* $OpenBSD: power.c,v 1.4 2007/12/27 03:00:51 jsing Exp $ */
/*
* Copyright (c) 2007 Jasper Lievisse Adriaanse <jasper@openbsd.org>
@@ -25,6 +25,8 @@
#include <sys/proc.h>
#include <sys/signalvar.h>
+#include <dev/ic/ds1687reg.h>
+
#include <machine/bus.h>
#include <machine/autoconf.h>
@@ -38,9 +40,6 @@
* Power button driver for the SGI O2
*/
-#define DS1687_EXT_CTRL 0x4a
-#define DS1687_KICKSTART 0x01
-
struct power_softc {
struct device sc_dev;
bus_space_tag_t sc_st;