patch-2.4.25 linux-2.4.25/include/linux/mc146818rtc.h

Next file: linux-2.4.25/include/linux/moduleparam.h
Previous file: linux-2.4.25/include/linux/lvm.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/linux/mc146818rtc.h linux-2.4.25/include/linux/mc146818rtc.h
@@ -98,4 +98,12 @@
 #define BIN_TO_BCD(val) ((val)=(((val)/10)<<4) + (val)%10)
 #endif
 
+#ifndef RTC_IO_EXTENT
+#define RTC_IO_EXTENT	0x10	/* Only really two ports, but...	*/
+#endif
+
+#ifndef RTC_IOMAPPED
+#define RTC_IOMAPPED	1	/* Default to I/O mapping. */
+#endif
+
 #endif /* _MC146818RTC_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)