Subject: Re: mk48txx(4) tod clock driver cleanup
To: None <>
From: Izumi Tsutsui <>
List: tech-kern
Date: 11/01/2003 03:43:40
In article <> wrote:

> Does this mean an end to seeing "No counter-timer -- using %tick at 269MHz
> as system clock." on my Ultra5?

No. According to sparc64/clock.c, U5 actually
doesn't have "counter-timer".

> I know the thing has an RTC.. you can watch
> it from OFW...

mk48txx is a clock device which keeps "time-of-day" with battery.
"counter-timer" is an interval timer that generates tick interrupts,
which is used to keep running system clock.

These todclock and timer are independent devices,
so sparc64/clock.c should be split into sparc64/clock.c
(which contains todr(9) and timer functions),
dev/mkclock.c, dev/mkclock_sbus.c, dev/mkclock_ebus.c,
and dev/mcclock_ebus.c etc. (which have device dependent
tod clock routines.)
Izumi Tsutsui