patch-2.4.0-test6 linux/include/asm-mips/mc146818rtc.h
Next file: linux/include/asm-mips/page.h
Previous file: linux/include/asm-mips/hardirq.h
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Fri Aug 4 18:31:19 2000
- Orig file:
v2.4.0-test5/linux/include/asm-mips/mc146818rtc.h
- Orig date:
Tue May 23 15:31:36 2000
diff -u --recursive --new-file v2.4.0-test5/linux/include/asm-mips/mc146818rtc.h linux/include/asm-mips/mc146818rtc.h
@@ -1,16 +1,16 @@
-/* $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
+#include <linux/config.h>
#include <asm/io.h>
#ifndef RTC_PORT
@@ -42,5 +42,11 @@
};
extern struct rtc_ops *rtc_ops;
+
+#ifdef CONFIG_DECSTATION
+#define RTC_IRQ 0
+#else
+#define RTC_IRQ 8
+#endif
#endif /* _ASM_MC146818RTC_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)