diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-09-20 00:31:07 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-09-20 00:31:07 +0000 |
commit | 7b915aa63189e6fc7bd9d37889f064c85c17150d (patch) | |
tree | f6cb5cf468b4233a662fca5b6446ef05eb04cdee /sys/isa/rtc.h | |
parent | 736c101eaf3b4e0f80632f8a20d0a4ed0665f0d8 (diff) | |
download | src-7b915aa63189e6fc7bd9d37889f064c85c17150d.tar.gz src-7b915aa63189e6fc7bd9d37889f064c85c17150d.zip |
resettodr() implemented, inittodr() fixed
Submitted by: me & chris@gnome.co.uk
Notes
Notes:
svn path=/head/; revision=2913
Diffstat (limited to 'sys/isa/rtc.h')
-rw-r--r-- | sys/isa/rtc.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/isa/rtc.h b/sys/isa/rtc.h index 9c0f501e6175..d374a823d7c2 100644 --- a/sys/isa/rtc.h +++ b/sys/isa/rtc.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)rtc.h 7.1 (Berkeley) 5/12/91 - * $Id: rtc.h,v 1.4 1993/12/18 01:12:47 ache Exp $ + * $Id: rtc.h,v 1.5 1994/08/15 03:15:20 wollman Exp $ */ #ifndef _I386_ISA_RTC_H_ @@ -73,9 +73,14 @@ #define RTCSA_32 0x0b #define RTC_STATUSB 0x0b /* status register B */ +#define RTCSB_DST 0x01 /* Daylight Savings Time enable */ +#define RTCSB_24HR 0x02 /* 0 = 12 hours, 1 = 24 hours */ +#define RTCSB_BCD 0x04 /* 0 = BCD, 1 = Binary coded time */ +#define RTCSB_SQWE 0x08 /* 1 = output sqare wave at SQW pin */ +#define RTCSB_UINTR 0x10 /* 1 = enable update-ended interrupt */ +#define RTCSB_AINTR 0x20 /* 1 = enable alarm interrupt */ +#define RTCSB_PINTR 0x40 /* 1 = enable periodic clock interrupt */ #define RTCSB_HALT 0x80 /* stop clock updates */ -#define RTCSB_PINTR 0x40 /* periodic clock interrupt */ -#define RTCSB_24HR 0x02 /* 24-hour mode */ #define RTC_INTR 0x0c /* status register C (R) interrupt source */ #define RTCIR_UPDATE 0x10 /* update intr */ @@ -105,5 +110,5 @@ #define RTC_EXTLO 0x17 /* low byte of extended mem size */ #define RTC_EXTHI 0x18 /* low byte of extended mem size */ -#define RTC_CENTURY 0x32 /* current century - please increment in Dec99*/ +#define RTC_CENTURY 0x32 /* current century */ #endif /* _I386_ISA_RTC_H_ */ |