Subject: Re: hardclock(9) for cobalt
To: None <tsutsui@ceres.dti.ne.jp>
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
List: port-cobalt
Date: 08/10/2004 03:13:40
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Date: Mon, 2 Aug 2004 00:41:09 +0900

> I guess you could control the timer by Timer/Counter control
> register (offset 0x864), so you can disable it somewhere
> during cpu_configure(9) and enable it again in cpu_initclocks(9).

I tested, stop counting for timer0, if a timer0 was disable (offset
0x864: bit 0).

 
> Maybe we should attach the timer as usual device and initialize
> it in the attachment, and functions which enable the timer that
> will be called from cpu_initclocks(9) should also be registered
> in the attachment (like mvme68k or news68k ;-).

OK! I try now.
Are required function attach, match, start, and stop? 
--
kiyohara