diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-15 03:07:32 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-15 03:07:32 +0000 |
commit | 00f11569ac8ca73cbcdef8822de1583e79aee571 (patch) | |
tree | 885056601a5d892577d3766cd39de5e0349df5ef /include | |
parent | b9bc325e1946507c23965bdeda759f7dbbbbb6a7 (diff) |
Portability cleanup as required by Linus.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-alpha/mc146818rtc.h | 2 | ||||
-rw-r--r-- | include/asm-arm/mc146818rtc.h | 2 | ||||
-rw-r--r-- | include/asm-i386/mc146818rtc.h | 2 | ||||
-rw-r--r-- | include/asm-mips/mc146818rtc.h | 11 | ||||
-rw-r--r-- | include/asm-mips64/mc146818rtc.h | 2 | ||||
-rw-r--r-- | include/asm-ppc/mc146818rtc.h | 2 | ||||
-rw-r--r-- | include/asm-sparc/mc146818rtc.h | 2 | ||||
-rw-r--r-- | include/asm-sparc64/mc146818rtc.h | 2 |
8 files changed, 22 insertions, 3 deletions
diff --git a/include/asm-alpha/mc146818rtc.h b/include/asm-alpha/mc146818rtc.h index 097703f1c..a643cfc35 100644 --- a/include/asm-alpha/mc146818rtc.h +++ b/include/asm-alpha/mc146818rtc.h @@ -24,4 +24,6 @@ outb_p((addr),RTC_PORT(0)); \ outb_p((val),RTC_PORT(1)); \ }) +#define RTC_IRQ 0 /* Don't support interrupt features. */ + #endif /* __ASM_ALPHA_MC146818RTC_H */ diff --git a/include/asm-arm/mc146818rtc.h b/include/asm-arm/mc146818rtc.h index 8729c5dfb..d6e300943 100644 --- a/include/asm-arm/mc146818rtc.h +++ b/include/asm-arm/mc146818rtc.h @@ -24,4 +24,6 @@ outb_p((addr),RTC_PORT(0)); \ outb_p((val),RTC_PORT(1)); \ }) +#define RTC_IRQ 8 + #endif /* _ASM_MC146818RTC_H */ diff --git a/include/asm-i386/mc146818rtc.h b/include/asm-i386/mc146818rtc.h index 8729c5dfb..d6e300943 100644 --- a/include/asm-i386/mc146818rtc.h +++ b/include/asm-i386/mc146818rtc.h @@ -24,4 +24,6 @@ outb_p((addr),RTC_PORT(0)); \ outb_p((val),RTC_PORT(1)); \ }) +#define RTC_IRQ 8 + #endif /* _ASM_MC146818RTC_H */ diff --git a/include/asm-mips/mc146818rtc.h b/include/asm-mips/mc146818rtc.h index 4ed782fc6..bae7fcd1a 100644 --- a/include/asm-mips/mc146818rtc.h +++ b/include/asm-mips/mc146818rtc.h @@ -1,12 +1,11 @@ -/* $Id: mc146818rtc.h,v 1.2 1998/06/30 00:23:10 ralf Exp $ - * +/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Machine dependent access functions for RTC registers. * - * Copyright (C) 1996, 1997, 1998 Ralf Baechle + * Copyright (C) 1996, 1997, 1998, 2000 Ralf Baechle */ #ifndef _ASM_MC146818RTC_H #define _ASM_MC146818RTC_H @@ -43,4 +42,10 @@ struct rtc_ops { extern struct rtc_ops *rtc_ops; +#ifdef CONFIG_DECSTATION +#define RTC_IRQ 0 +#else +#define RTC_IRQ 8 +#endif + #endif /* _ASM_MC146818RTC_H */ diff --git a/include/asm-mips64/mc146818rtc.h b/include/asm-mips64/mc146818rtc.h index f9e51fa61..cdea504a2 100644 --- a/include/asm-mips64/mc146818rtc.h +++ b/include/asm-mips64/mc146818rtc.h @@ -43,4 +43,6 @@ struct rtc_ops { extern struct rtc_ops *rtc_ops; +#define RTC_IRQ 8 + #endif /* _ASM_MC146818RTC_H */ diff --git a/include/asm-ppc/mc146818rtc.h b/include/asm-ppc/mc146818rtc.h index 7e406b07d..f7a479fff 100644 --- a/include/asm-ppc/mc146818rtc.h +++ b/include/asm-ppc/mc146818rtc.h @@ -24,4 +24,6 @@ outb_p((addr),RTC_PORT(0)); \ outb_p((val),RTC_PORT(1)); \ }) +#define RTC_IRQ 8 + #endif /* __ASM_PPC_MC146818RTC_H */ diff --git a/include/asm-sparc/mc146818rtc.h b/include/asm-sparc/mc146818rtc.h index 9431df163..fa7eac926 100644 --- a/include/asm-sparc/mc146818rtc.h +++ b/include/asm-sparc/mc146818rtc.h @@ -24,4 +24,6 @@ outb_p((addr),RTC_PORT(0)); \ outb_p((val),RTC_PORT(1)); \ }) +#define RTC_IRQ 8 + #endif /* __ASM_SPARC_MC146818RTC_H */ diff --git a/include/asm-sparc64/mc146818rtc.h b/include/asm-sparc64/mc146818rtc.h index 05c8ffd97..4a9e01b4f 100644 --- a/include/asm-sparc64/mc146818rtc.h +++ b/include/asm-sparc64/mc146818rtc.h @@ -24,4 +24,6 @@ outb_p((addr),RTC_PORT(0)); \ outb_p((val),RTC_PORT(1)); \ }) +#define RTC_IRQ 8 + #endif /* __ASM_SPARC64_MC146818RTC_H */ |