Subject: Re: Multiple rtc devices for todr_attach (Re: RTC todr for mips/alchemy)
To: Izumi Tsutsui <email@example.com>
From: Garrett D'Amore <firstname.lastname@example.org>
Date: 03/28/2006 08:47:52
Izumi Tsutsui wrote:
> In article <4429594E.email@example.com>
> shige@NetBSD.org wrote:
>> I have a plan for multiple rtc devices support.
>> I sent a patch in this e-mail.
>> Would you like to review this fix?
>> And, do you have something better idea?
> Isn't it enough to add "no aurtc* at aubus?" to OMSAL400,
> or to move "aurtc* at aubus?" declaration from common ALCHEMY
> to each board specific config file?
yes, that is better.
> Anyway, "one todr device from multiple RTC devices" should be
> selected by each match function or a some priority value
> specified by device_register(), rather than strings specified
> by kernel config, IMHO.
That would require changing the todr logic a bit. That's MI code, and
has potential impact that reaches into other ports, so I don't want to
make any change there without broader review/approval.
> Izumi Tsutsui
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
Phone: 951 325-2134 Fax: 951 325-2191