summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amiga/dev/rtc.h')
-rw-r--r--sys/arch/amiga/dev/rtc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amiga/dev/rtc.h b/sys/arch/amiga/dev/rtc.h
index 53f33209c90..842e77e2acb 100644
--- a/sys/arch/amiga/dev/rtc.h
+++ b/sys/arch/amiga/dev/rtc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtc.h,v 1.3 1997/09/18 13:39:59 niklas Exp $ */
+/* $OpenBSD: rtc.h,v 1.4 2000/01/24 16:02:04 espie Exp $ */
/* $NetBSD: rtc.h,v 1.5 1997/07/17 23:29:28 is Exp $ */
/*
@@ -93,6 +93,9 @@ struct rtclock3000 {
#define A3CONTROL1_HOLD_CLOCK 0
#define A3CONTROL1_FREE_CLOCK 9
+/* mode1 registers we use */
+#define leapyear year2
+
#define A3BBC_SET_REG 0xe0
#define A3BBC_WRITE_REG 0xc2
#define A3BBC_READ_REG 0xc3