patch-2.4.19 linux-2.4.19/include/asm-mips/mc146818rtc.h
Next file: linux-2.4.19/include/asm-mips/mips-boards/bonito64.h
Previous file: linux-2.4.19/include/asm-mips/linux_logo_sgi.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-mips/mc146818rtc.h
- Orig date:
Mon Jul 2 13:56:40 2001
diff -urN linux-2.4.18/include/asm-mips/mc146818rtc.h linux-2.4.19/include/asm-mips/mc146818rtc.h
@@ -16,6 +16,8 @@
#ifndef RTC_PORT
#if defined(CONFIG_MIPS_ITE8172) || defined(CONFIG_MIPS_IVR)
#define RTC_PORT(x) (0x14014800 + (x))
+#elif defined(CONFIG_MIPS_PB1500)
+#define RTC_PORT(x) (0xAC000000 + (x))
#else
#define RTC_PORT(x) (0x70 + (x))
#endif
@@ -52,6 +54,8 @@
#elif defined(CONFIG_MIPS_ITE8172) || defined(CONFIG_MIPS_IVR)
#include <asm/it8172/it8172_int.h>
#define RTC_IRQ IT8172_RTC_IRQ
+#elif defined(CONFIG_MIPS_PB1500)
+#undef RTC_IRQ
#else
#define RTC_IRQ 8
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)