summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-08-11 21:22:45 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-08-11 21:22:45 +0000
commit14f70a1460722d7d4596558d56946035e3e55eee (patch)
treed5049206bfb1cf55a28cce9201bcab4d78566035 /sys/arch/i386/include
parent349d31c323e210525f6fbdaf914cdfd8cd69b818 (diff)
Disable the RTC the periodic interrupt. Leaving it enabled causes the
Dell Inspirion 4150 to wake up immediately even though RTC_EN isn't set in the PM1 Enable register. ok deraadt@, mlarkin@
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index 7ab24ef2037..5896c7230b4 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.113 2010/08/05 21:10:09 deraadt Exp $ */
+/* $OpenBSD: cpu.h,v 1.114 2010/08/11 21:22:44 kettenis Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -375,6 +375,7 @@ extern void (*initclock_func)(void);
void startclocks(void);
void rtcdrain(void *);
void rtcstart(void);
+void rtcstop(void);
void i8254_delay(int);
void i8254_initclocks(void);
void i8254_startclock(void);