Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
To: linux-mips@linux-mips.org
Subject: IP32 RTC fixlet
Date: Sat, 08 Jan 2005 20:27:46 -0800	[thread overview]
Message-ID: <41E0B2C2.7000909@total-knowledge.com> (raw)

IP32 power button delivers interrupt throug RTC,
so we can't let generic RTC driver use this interrupt.
Following patchlet allows us to still use generic RTC driver
to read/write time, and yet support handling button presses.

Index: include/asm/mach-ip32/mc146818rtc.h
===================================================================
RCS file: /home/cvs/linux/include/asm-mips/mach-ip32/mc146818rtc.h,v
retrieving revision 1.7
diff -u -r1.7 mc146818rtc.h
--- include/asm/mach-ip32/mc146818rtc.h 4 Dec 2004 21:14:12 -0000       1.7
+++ include/asm/mach-ip32/mc146818rtc.h 9 Jan 2005 04:24:28 -0000
@@ -16,7 +16,6 @@
 #include <asm/ip32/ip32_ints.h> /* For MACEISA_RTC_IRQ */

 #define RTC_PORT(x)    (0x70 + (x))
-#define RTC_IRQ                MACEISA_RTC_IRQ

 static unsigned char CMOS_READ(unsigned long addr)
 {

             reply	other threads:[~2005-01-09  4:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-09  4:27 Ilya A. Volynets-Evenbakh [this message]
2005-01-09 14:40 ` IP32 RTC fixlet Thiemo Seufer

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=41E0B2C2.7000909@total-knowledge.com \
    --to=ilya@total-knowledge.com \
    --cc=linux-mips@linux-mips.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