diff --git a/sys/arch/mips/conf/files.sibyte b/sys/arch/mips/conf/files.sibyte index 7b08a0880bac..895fd40f4fd7 100644 --- a/sys/arch/mips/conf/files.sibyte +++ b/sys/arch/mips/conf/files.sibyte @@ -70,7 +70,7 @@ file arch/mips/sibyte/dev/sbsmbus.c smbus device xirtc attach xirtc at smbus -device strtc -attach strtc at smbus +device m41t81rtc +attach m41t81rtc at smbus -file arch/sbmips/sbmips/rtc.c xirtc | strtc +file arch/sbmips/sbmips/rtc.c xirtc | m41t81rtc diff --git a/sys/arch/sbmips/conf/GENERIC b/sys/arch/sbmips/conf/GENERIC index f7964a22b944..878ff584648c 100644 --- a/sys/arch/sbmips/conf/GENERIC +++ b/sys/arch/sbmips/conf/GENERIC @@ -1,10 +1,10 @@ -# $NetBSD: GENERIC,v 1.22 2003/10/25 13:21:13 simonb Exp $ +# $NetBSD: GENERIC,v 1.23 2003/10/25 15:05:00 simonb Exp $ include "arch/sbmips/conf/std.sbmips" options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC-$Revision: 1.22 $" +#ident "GENERIC-$Revision: 1.23 $" #options LOCKDEBUG # XXX XXX XXX XXX options DEBUG # extra kernel debugging support @@ -127,7 +127,7 @@ sbscn* at sbobio? offset ? smbus* at sbobio? offset ? xirtc* at smbus? chan ? dev ? # Xicor X1241 RTC -strtc* at smbus? chan ? dev ? # ST M41T81 RTC +m41t81rtc* at smbus? chan ? dev ? # ST M41T81 RTC # MII/PHY support brgphy* at mii? phy ? diff --git a/sys/arch/sbmips/sbmips/rtc.c b/sys/arch/sbmips/sbmips/rtc.c index 60d28c5cf719..522c034fd29c 100644 --- a/sys/arch/sbmips/sbmips/rtc.c +++ b/sys/arch/sbmips/sbmips/rtc.c @@ -1,4 +1,4 @@ -/* $NetBSD: rtc.c,v 1.8 2003/07/15 03:35:51 lukem Exp $ */ +/* $NetBSD: rtc.c,v 1.9 2003/10/25 15:05:00 simonb Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: rtc.c,v 1.8 2003/07/15 03:35:51 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rtc.c,v 1.9 2003/10/25 15:05:00 simonb Exp $"); #include #include @@ -96,7 +96,7 @@ static int time_writertc(int, int, int, int, int); CFATTACH_DECL(xirtc, sizeof(struct rtc_softc), xirtc_match, xirtc_attach, NULL, NULL); -CFATTACH_DECL(strtc, sizeof(struct rtc_softc), +CFATTACH_DECL(m41t81rtc, sizeof(struct rtc_softc), strtc_match, strtc_attach, NULL, NULL); static int rtcfound = 0;