linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Got Time
@ 2001-09-18 17:08 Armin Kuster
  2001-09-18 17:51 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Armin Kuster @ 2001-09-18 17:08 UTC (permalink / raw)
  To: linuxppc-embedded


 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Got Time
  2001-09-18 17:08 Got Time Armin Kuster
@ 2001-09-18 17:51 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2001-09-18 17:51 UTC (permalink / raw)
  To: Armin Kuster; +Cc: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-18 17:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-18 17:08 Got Time Armin Kuster
2001-09-18 17:51 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).