From cf00b9f677c32c4f0ad187bed33e7bf2209db3b8 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 10 Jul 1998 01:14:47 +0000 Subject: 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 . 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 . 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? --- fs/proc/array.c | 4 ++++ fs/proc/root.c | 10 ++++++++++ 2 files changed, 14 insertions(+) (limited to 'fs') 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 @@ -1301,6 +1301,10 @@ static long get_root_array(char * page, int type, char **start, #ifdef CONFIG_RTC 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); 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, @@ -665,6 +672,9 @@ void proc_root_init(void) proc_register(&proc_root, &proc_root_cmdline); #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); -- cgit v1.2.3