patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / asm-cris / rtc.h
index 382081c..97c1303 100644 (file)
@@ -100,6 +100,8 @@ struct rtc_time {
 #define RTC_RD_TIME            _IOR(RTC_MAGIC, 0x09, struct rtc_time)  /* Read RTC time. */
 #define RTC_SET_TIME           _IOW(RTC_MAGIC, 0x0a, struct rtc_time)  /* Set RTC time. */
 #define RTC_SET_CHARGE         _IOW(RTC_MAGIC, 0x0b, int)              
-#define RTC_MAX_IOCTL 0x0b
+#define RTC_VLOW_RD     _IOR(RTC_MAGIC, 0x11, int)  /* Voltage Low detector */
+#define RTC_VLOW_SET    _IO(RTC_MAGIC, 0x12)        /* Clear voltage low information */
+#define RTC_MAX_IOCTL 0x12
 
 #endif /* __RTC_H__ */