]> Pileus Git - ~andy/linux/blobdiff - drivers/rtc/rtc-proc.c
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[~andy/linux] / drivers / rtc / rtc-proc.c
index 242bbf86c74a7bbfa9f9e5c8748c41c047a6b1ff..0a59fda5c09d176c5fa0af1f90625c04a29232c4 100644 (file)
@@ -69,6 +69,14 @@ static int rtc_proc_show(struct seq_file *seq, void *offset)
                                alrm.enabled ? "yes" : "no");
                seq_printf(seq, "alrm_pending\t: %s\n",
                                alrm.pending ? "yes" : "no");
+               seq_printf(seq, "update IRQ enabled\t: %s\n",
+                       (rtc->uie_rtctimer.enabled) ? "yes" : "no");
+               seq_printf(seq, "periodic IRQ enabled\t: %s\n",
+                       (rtc->pie_enabled) ? "yes" : "no");
+               seq_printf(seq, "periodic IRQ frequency\t: %d\n",
+                       rtc->irq_freq);
+               seq_printf(seq, "max user IRQ frequency\t: %d\n",
+                       rtc->max_user_freq);
        }
 
        seq_printf(seq, "24hr\t\t: yes\n");