Got Time

2 messages, 2 authors, 2001-09-18 · open the first message on its own page

Got Time

From: Armin Kuster <hidden>
Date: 2001-09-18 17:08:56

 here is a patch that returns the ability to enable the realtime clock
on the 4xx

Summary:
arch/ppc/config.in			<- changed logic to allow RTC when 4xx
arch/ppc/kernel/ppc4xx_setup.c		<- removed ds1743.h header , again


patch.

diff -ruN linuxppc_2_4_devel/arch/ppc/config.in
linuxppc_2_4_devel_dev/arch/ppc/config.in
--- linuxppc_2_4_devel/arch/ppc/config.in	Tue Sep 18 07:44:32 2001
+++ linuxppc_2_4_devel_dev/arch/ppc/config.in	Tue Sep 18 09:41:17 2001
@@ -279,7 +279,7 @@

 source drivers/parport/Config.in

-if [ "$CONFIG_4xx" != "y" -a "$CONFIG_PPC_ISERIES" != "y" ]; then
+if [ "$CONFIG_4xx" = "y" -a "$CONFIG_PPC_ISERIES" != "y" ]; then
   if [ "$CONFIG_APUS" != "y" ]; then
     tristate 'Support for /dev/rtc' CONFIG_PPC_RTC
   else
diff -ruN linuxppc_2_4_devel/arch/ppc/kernel/ppc4xx_setup.c
linuxppc_2_4_devel_dev/arch/ppc/kernel/ppc4xx_setup.c
--- linuxppc_2_4_devel/arch/ppc/kernel/ppc4xx_setup.c	Tue Sep 18
07:45:37 2001
+++ linuxppc_2_4_devel_dev/arch/ppc/kernel/ppc4xx_setup.c	Tue Sep 18
09:47:42 2001
@@ -46,7 +46,6 @@
 #include <asm/time.h>

 #ifdef CONFIG_PPC_RTC
-#include <asm/ds1743.h>
 #include "todc.h"
 #endif


-- armin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: Got Time

From: Tom Rini <hidden>
Date: 2001-09-18 17:51:43

On Tue, Sep 18, 2001 at 10:08:56AM -0700, Armin Kuster wrote:
 here is a patch that returns the ability to enable the realtime clock
on the 4xx
Close enough.  We can just remove the CONFIG_4xx check totally.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help