| To: | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> |
|---|---|
| Subject: | Re: [PATCH 1/2] [MIPS] add DECstation I/O ASIC clocksource |
| From: | "Maciej W. Rozycki" <macro@linux-mips.org> |
| Date: | Wed, 23 Apr 2008 01:46:16 +0100 (BST) |
| Cc: | Ralf Baechle <ralf@linux-mips.org>, linux-mips <linux-mips@linux-mips.org> |
| In-reply-to: | <20080423085140.a693b2e5.yoichi_yuasa@tripeaks.co.jp> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20080423085140.a693b2e5.yoichi_yuasa@tripeaks.co.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Wed, 23 Apr 2008, Yoichi Yuasa wrote:
> add DECstation I/O ASIC clocksource
Thanks, I will have a look into it; reasonably soon I hope -- I'm
updating my tree right now. I am quite surprised you care about this
platform too.
> +void __init dec_ioasic_clocksource_init(void)
> +{
> + clocksource_dec.rating = 200;
> + clocksource_set_clock(&clocksource_dec, 25000000);
> +
> + clocksource_register(&clocksource_dec);
> +}
This is not true for all systems -- the clock rate is based on the
TURBOchannel clock and it varies across systems. And some have no counter
in the I/O ASIC at all (it has been added in a later revision of the
chip), which the old code handled albeit not in the prettiest way (by
chance actually, as originally I did know of the older revision).
Maciej
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/2] [MIPS] add DECstation DS1287 clockevent, Yoichi Yuasa |
|---|---|
| Next by Date: | Re: [PATCH 1/2] [MIPS] add DECstation I/O ASIC clocksource, Yoichi Yuasa |
| Previous by Thread: | Re: [PATCH 2/2] [MIPS] add DECstation DS1287 clockevent, Maciej W. Rozycki |
| Next by Thread: | Re: [PATCH 1/2] [MIPS] add DECstation I/O ASIC clocksource, Yoichi Yuasa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |