Skip to contentSkip to conversation

Got Time

PATCH Armin Kuster 2 participants 2 messages Sep 18, 2001

lore
Share & tools
lore
#0 lore raw

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

arch/ppc/config.in +1 -1
@@ -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/