Skip to contentSkip to conversation

IP32 RTC fixlet

PATCH Applied Ilya A. Volynets-Evenbakh 2 participants 2 messages Jan 9, 2005 MIPS

lore
Share & tools
lore
#0 lore 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

asm/mach-ip32/mc146818rtc.h 9 Jan 2005 04:24:28 -0000 renamed from asm/mach-ip32/mc146818rtc.h 4 Dec 2004 21:14:12 -0000 1.7 +0 -0
diff -u -r1.7 mc146818rtc.h
@@ -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) {

#1 lore raw
Quoted 4 lines · Ilya A. Volynets-Evenbakh

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.

Applied, with the include for it removed as well.

Thiemo