diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-29 06:57:55 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-29 06:57:55 +0000 |
| commit | 6deb5a62ccd6719d11416994aecf480de90dab11 (patch) | |
| tree | dc98e831054cffde977a8cdd797799ecf3586644 /sys/isa/atrtc.c | |
| parent | 14870ecf9f6a502db2a42cd9c9e69d4fc51c22eb (diff) | |
Notes
Diffstat (limited to 'sys/isa/atrtc.c')
| -rw-r--r-- | sys/isa/atrtc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index 75511f411e12..64ef3b21c17a 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.133 1999/05/09 23:32:29 peter Exp $ + * $Id: clock.c,v 1.134 1999/05/28 14:08:59 bde Exp $ */ /* @@ -139,6 +139,7 @@ u_int stat_imask = SWI_CLOCK_MASK; u_int timer_freq = TIMER_FREQ; int timer0_max_count; u_int tsc_freq; +int tsc_is_broken; int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */ static int beeping = 0; @@ -793,7 +794,7 @@ startrtclock() return; #endif /* NAPM > 0 */ - if (tsc_present && tsc_freq != 0) { + if (tsc_present && tsc_freq != 0 && !tsc_is_broken) { tsc_timecounter.tc_frequency = tsc_freq; init_timecounter(&tsc_timecounter); } |
