Re: [PATCH 1/2] [MIPS] add DECstation I/O ASIC clocksource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Maciej,

On Wed, 23 Apr 2008 01:46:16 +0100 (BST)
"Maciej W. Rozycki" <macro@xxxxxxxxxxxxxx> wrote:

> 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.

I'm interested in the little endian systems ;)
 
> > +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).

Hmm, we should measure the clock rate.
OK, I'll update dec-ioasic clocksource.

Yoichi


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux