linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Armin Kuster <akuster@mvista.com>
To: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Got Time
Date: Tue, 18 Sep 2001 10:08:56 -0700	[thread overview]
Message-ID: <3BA77FA8.E317D5B8@mvista.com> (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
--- 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/

             reply	other threads:[~2001-09-18 17:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-18 17:08 Armin Kuster [this message]
2001-09-18 17:51 ` Got Time Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BA77FA8.E317D5B8@mvista.com \
    --to=akuster@mvista.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).