aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mc146818rtc.h
diff options
context:
space:
mode:
authorrn@wyvis.research.intel-research.net <rn@wyvis.research.intel-research.net>2003-03-14 15:58:24 +0000
committerrn@wyvis.research.intel-research.net <rn@wyvis.research.intel-research.net>2003-03-14 15:58:24 +0000
commit0ec37682a14624a0f5097be9ea1fec77453dc8c1 (patch)
treebab97e72ada703fd5a1d9c774d3d0451d6ceade7 /xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mc146818rtc.h
parentd9812e47d9c20b15dbb920cc451eff1c7b88e81c (diff)
parentf9e443afb85c3843c8abd0760ee4a77b0aceeeed (diff)
downloadxen-0ec37682a14624a0f5097be9ea1fec77453dc8c1.tar.gz
xen-0ec37682a14624a0f5097be9ea1fec77453dc8c1.tar.bz2
xen-0ec37682a14624a0f5097be9ea1fec77453dc8c1.zip
bitkeeper revision 1.126 (3e71fc20anCOs2KFyD3-AMyHjdJQfg)
resolve merge conflicts manually
Diffstat (limited to 'xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mc146818rtc.h')
-rw-r--r--xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mc146818rtc.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mc146818rtc.h b/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mc146818rtc.h
deleted file mode 100644
index d6e3009430..0000000000
--- a/xenolinux-2.4.21-pre4-sparse/include/asm-xeno/mc146818rtc.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Machine dependent access functions for RTC registers.
- */
-#ifndef _ASM_MC146818RTC_H
-#define _ASM_MC146818RTC_H
-
-#include <asm/io.h>
-
-#ifndef RTC_PORT
-#define RTC_PORT(x) (0x70 + (x))
-#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */
-#endif
-
-/*
- * The yet supported machines all access the RTC index register via
- * an ISA port access but the way to access the date register differs ...
- */
-#define CMOS_READ(addr) ({ \
-outb_p((addr),RTC_PORT(0)); \
-inb_p(RTC_PORT(1)); \
-})
-#define CMOS_WRITE(val, addr) ({ \
-outb_p((addr),RTC_PORT(0)); \
-outb_p((val),RTC_PORT(1)); \
-})
-
-#define RTC_IRQ 8
-
-#endif /* _ASM_MC146818RTC_H */