summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-07-10 01:14:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-07-10 01:14:47 +0000
commitcf00b9f677c32c4f0ad187bed33e7bf2209db3b8 (patch)
tree6091370501637f7d42c529bc35454aa0719f35d6 /fs
parent683c16eb00d32d749c1038f5fd9032d8543e5697 (diff)
o Support for the front panel on the Indy. The panel work now as a
user would expect it to work, like under IRIX with the exception that the machine doesn't freeze solid as long as the button is pressed. o Realtime clock driver (CONFIG_SGI_DS1286) for the Indy. Includes /proc/rtc interface which tells you everything about your RTC which you never wanted to know. You have to configure this driver into your kernel or you won't be able to set your RTC. o Some cleanup of the RTC interfaces in Linux, RTC does no longer mean PC-style RTC. The userland interface definitions are now in <linux/rtc.h>. We still need some more cleanup until we can enable several RTC drivers. o Virtual aliasing fixes for ptrace(2). o Add ptrace(2) interface definitions needed to build GDB to <asm/ptrace.h>. o Revert to some older routines, the newer optimized ones are buggy. o On panic the Indy LED will be blinking fast crying to the admin passing by [music from Rocky Horror show] ``fix me, fix me, fix me''. o On panic the power button will only reboot the machine, not power it down. That's probably more what people want it to do. o Remove some old files. o Did I tell you that CVS is buggy?
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/array.c4
-rw-r--r--fs/proc/root.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index f80893afc..7376c30f5 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -1302,6 +1302,10 @@ static long get_root_array(char * page, int type, char **start,
case PROC_RTC:
return get_rtc_status(page);
#endif
+#ifdef CONFIG_SGI_DS1286
+ case PROC_RTC:
+ return get_ds1286_status(page);
+#endif
case PROC_LOCKS:
return get_locks_status(page, start, offset, length);
#ifdef CONFIG_ZORRO
diff --git a/fs/proc/root.c b/fs/proc/root.c
index 6225b3fd9..afc440fc0 100644
--- a/fs/proc/root.c
+++ b/fs/proc/root.c
@@ -588,6 +588,13 @@ static struct proc_dir_entry proc_root_rtc = {
0, &proc_array_inode_operations
};
#endif
+#ifdef CONFIG_SGI_DS1286
+static struct proc_dir_entry proc_root_ds1286 = {
+ PROC_RTC, 3, "rtc",
+ S_IFREG | S_IRUGO, 1, 0, 0,
+ 0, &proc_array_inode_operations
+};
+#endif
static struct proc_dir_entry proc_root_locks = {
PROC_LOCKS, 5, "locks",
S_IFREG | S_IRUGO, 1, 0, 0,
@@ -666,6 +673,9 @@ void proc_root_init(void)
#ifdef CONFIG_RTC
proc_register(&proc_root, &proc_root_rtc);
#endif
+#ifdef CONFIG_SGI_DS1286
+ proc_register(&proc_root, &proc_root_ds1286);
+#endif
proc_register(&proc_root, &proc_root_locks);
proc_register(&proc_root, &proc_root_mounts);