summaryrefslogtreecommitdiffstats
path: root/drivers/char/wdt.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /drivers/char/wdt.c
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'drivers/char/wdt.c')
-rw-r--r--drivers/char/wdt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/char/wdt.c b/drivers/char/wdt.c
index 36af5fdcc..e48f22a0f 100644
--- a/drivers/char/wdt.c
+++ b/drivers/char/wdt.c
@@ -1,7 +1,7 @@
/*
* Industrial Computer Source WDT500/501 driver for Linux 2.1.x
*
- * (c) Copyright 1996 Alan Cox <alan@cymru.net>, All Rights Reserved.
+ * (c) Copyright 1996-1997 Alan Cox <alan@cymru.net>, All Rights Reserved.
* http://www.cymru.net
*
* This program is free software; you can redistribute it and/or
@@ -15,7 +15,7 @@
*
* (c) Copyright 1995 Alan Cox <alan@lxorguk.ukuu.org.uk>
*
- * Release 0.06.
+ * Release 0.07.
*
* Fixes
* Dave Gregorich : Modularisation and minor bugs
@@ -333,7 +333,7 @@ static struct file_operations wdt_fops = {
static struct miscdevice wdt_miscdev=
{
WATCHDOG_MINOR,
- "wdt",
+ "watchdog",
&wdt_fops
};
@@ -368,7 +368,7 @@ void cleanup_module(void)
#ifdef CONFIG_WDT_501
misc_deregister(&temp_miscdev);
#endif
- notifier_chain_unregister(&boot_notifier_list, &wdt_notifier);
+ unregister_reboot_notifier(&wdt_notifier);
release_region(io,8);
free_irq(irq, NULL);
}
@@ -377,7 +377,7 @@ void cleanup_module(void)
__initfunc(int wdt_init(void))
{
- printk("WDT500/501-P driver at %X(Interrupt %d)\n", io,irq);
+ printk("WDT500/501-P driver 0.07 at %X (Interrupt %d)\n", io,irq);
if(request_irq(irq, wdt_interrupt, SA_INTERRUPT, "wdt501p", NULL))
{
printk("IRQ %d is not free.\n", irq);
@@ -387,8 +387,8 @@ __initfunc(int wdt_init(void))
#ifdef CONFIG_WDT_501
misc_register(&temp_miscdev);
#endif
- request_region(io, 8, "wdt501");
- notifier_chain_register(&boot_notifier_list, &wdt_notifier);
+ request_region(io, 8, "wdt501p");
+ register_reboot_notifier(&wdt_notifier);
return 0;
}