Re: Multiple rtc devices for todr_attach (Re: RTC todr for mips/alchemy)
"Garrett D'Amore" <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.evbmips |
|---|---|
| Message-ID | <[email protected]> |
Izumi Tsutsui wrote: > In article <[email protected]> > [email protected] 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. -- Garrett > --- > Izumi Tsutsui > -- Garrett D'Amore, Principal Software Engineer Tadpole Computer / Computing Technologies Division, General Dynamics C4 Systems http://www.tadpolecomputer.com/ Phone: 951 325-2134 Fax: 951 325-2191