patch-2.3.6 linux/include/asm-sparc/io.h
Next file: linux/include/asm-sparc/namei.h
Previous file: linux/include/asm-ppc/system.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Wed Jun 9 14:44:26 1999
- Orig file:
v2.3.5/linux/include/asm-sparc/io.h
- Orig date:
Mon May 17 09:55:23 1999
diff -u --recursive --new-file v2.3.5/linux/include/asm-sparc/io.h linux/include/asm-sparc/io.h
@@ -1,4 +1,4 @@
-/* $Id: io.h,v 1.19 1999/05/14 07:26:09 davem Exp $ */
+/* $Id: io.h,v 1.20 1999/06/03 15:02:50 davem Exp $ */
#ifndef __SPARC_IO_H
#define __SPARC_IO_H
@@ -161,6 +161,15 @@
#define virt_to_phys(x) __pa((unsigned long)(x))
#define phys_to_virt(x) __va((unsigned long)(x))
+
+/*
+ * At the moment, we do not use CMOS_READ anywhere outside of rtc.c,
+ * so rtc_port is static in it. This should not change unless a new
+ * hardware pops up.
+ */
+
+#define RTC_PORT(x) (rtc_port + (x))
+#define RTC_ALWAYS_BCD 0
/* Nothing to do */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)