todr_attach for mips/alchemy

Shigeyuki Fukushima <[email protected]>
Newsgroups gmane.os.netbsd.ports.evbmips
Organization NetBSD Developper
Message-ID <[email protected]>
Hi,

OMS-AL400 has a I2C RTC chip (which is connected PSC0 SMBus).
Now I have committed a driver for this one.

Then, I want to configure OMS-AL400 kernel, but can't build.
Therefore, there is no code implemented todr*
(todr_attach/inittodr/resettodr) functions
under mips/alchemy source tree.

IMHO, we can use sys/arch/powerpc/ibm4xx/dev/rtc.c as is.
(Perhaps this should be used on all platform.)

Just copy it to sys/arch/mips/alchemy/dev/rtc.c?

-- 
Kind Regards,
--- shige
Shigeyuki Fukushima <shige@{FreeBSD,jp.FreeBSD,NetBSD}.org>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.