Subject: todr_attach for mips/alchemy
To: None <port-evbmips@NetBSD.org>
From: Shigeyuki Fukushima <shige@netbsd.org>
List: port-evbmips
Date: 03/07/2006 05:10:37
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>