diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-11 15:21:44 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-11 15:21:44 +0000 |
commit | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (patch) | |
tree | fe544bf249c9093fdb94ea1bdf0a2af1acd3659e /include/asm-mips | |
parent | c76e7d2fb3e85821ba1842d4f5219283eb706544 (diff) |
Timer code rework. Done so far:
o Fix interrupt handler to not loose cycles
o Warn about lost interrupts.
o Fix calibration of the R4000 CPU timer.
Still to do:
o General cleanup of the timer code
o Microsecond timers for the Indy
o The calculated values for r4k_offset are still off by ~480 from the
theoretical values. That means we're going to loose about 46 s per
day. Are the crystals that bad or is there still a bug hidden
somewhere? Maybe an option to set r4k_offset to a user supplied
value might help?
o Handle lost interrupts more gently so we don't loose time.
o Handle 100MHz R4000 count / compare bug.
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/sgint23.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/sgint23.h b/include/asm-mips/sgint23.h index 31319f829..2d157f064 100644 --- a/include/asm-mips/sgint23.h +++ b/include/asm-mips/sgint23.h @@ -1,4 +1,4 @@ -/* $Id: sgint23.h,v 1.5 1996/06/12 00:44:01 dm Exp $ +/* $Id: sgint23.h,v 1.2 1998/03/11 11:58:36 ralf Exp $ * sgint23.h: Defines for the SGI INT2 and INT3 chipsets. * * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) @@ -126,7 +126,7 @@ struct sgi_ioc_timers { #define SGINT_TCWORD_CNT2 0x80 /* Select counter two */ #define SGINT_TCWORD_CRBCK 0xc0 /* Readback command */ -#define SGINT_TCSAMP_COUNTER 0x164 +#define SGINT_TCSAMP_COUNTER 10255 struct sgi_int2_regs { struct sgi_ioc_ints ints; |