diff options
author | kato <kato@FreeBSD.org> | 1997-01-04 06:38:46 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1997-01-04 06:38:46 +0000 |
commit | 5623928db244ff47e2be8b5aa5daf819f1723b03 (patch) | |
tree | 9ac7630e7b66229ef9c2a5538bb69605cd175100 /sys/pc98/cbus/clock.c | |
parent | 4d58e16e071016f16412c51764e641819bccb364 (diff) | |
download | FreeBSD-src-5623928db244ff47e2be8b5aa5daf819f1723b03.zip FreeBSD-src-5623928db244ff47e2be8b5aa5daf819f1723b03.tar.gz |
Add `#ifdef PC98' to include PC98-specific code. Add declaration of the
function rtc_outb().
This is a 2.2 candidate.
Diffstat (limited to 'sys/pc98/cbus/clock.c')
-rw-r--r-- | sys/pc98/cbus/clock.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 0ba9a65..2bddae2 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.9 1996/10/29 08:36:19 asami Exp $ + * $Id: clock.c,v 1.10 1996/10/30 22:39:48 asami Exp $ */ /* @@ -168,7 +168,10 @@ static u_char timer1_state; #endif static u_char timer2_state; static void (*timer_func) __P((struct clockframe *frame)) = hardclock; -int rtc_inb __P((void)); +#ifdef PC98 +int rtc_inb __P((void)); +void rtc_outb __P((int)); +#endif #if defined(I586_CPU) || defined(I686_CPU) static void set_i586_ctr_freq(u_int i586_freq, u_int i8254_freq); |