diff options
author | Frank Ch. Eigler <fche@redhat.com> | 1998-06-10 08:58:42 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 1998-06-10 08:58:42 +0000 |
commit | e1b5df344ed01679a4b8da81a9d1886dca78dc8b (patch) | |
tree | 187412069fca85f2fc0929f0ab67a6f825e03afa /sim/mips/dv-tx3904tmr.c | |
parent | 51c5a1366f9f877862df857137905b9b6808fcd5 (diff) | |
download | gdb-e1b5df344ed01679a4b8da81a9d1886dca78dc8b.zip gdb-e1b5df344ed01679a4b8da81a9d1886dca78dc8b.tar.gz gdb-e1b5df344ed01679a4b8da81a9d1886dca78dc8b.tar.bz2 |
* Typo fix for tx3904tmr use of configuration parameters.
(ChangeLog entry coming later.)
Diffstat (limited to 'sim/mips/dv-tx3904tmr.c')
-rw-r--r-- | sim/mips/dv-tx3904tmr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/mips/dv-tx3904tmr.c b/sim/mips/dv-tx3904tmr.c index b27e9b0..9803793 100644 --- a/sim/mips/dv-tx3904tmr.c +++ b/sim/mips/dv-tx3904tmr.c @@ -537,13 +537,13 @@ deliver_tx3904tmr_tick (struct hw *me, { /* apply internal clock divider */ if(GET_TCR_CCDE(controller)) /* divisor circuit enabled? */ - divisor = controller->ext_ticks * (1 << (1 + GET_CCDR_CDR(controller))); + divisor = controller->clock_ticks * (1 << (1 + GET_CCDR_CDR(controller))); else - divisor = controller->ext_ticks; + divisor = controller->clock_ticks; } else { - divisor = controller->clock_ticks; + divisor = controller->ext_ticks; } /* how many times to increase counter? */ |