[2.4] (resent) Watchdog wdt83627 (Winbond W83627HF/F/HG/G) driver, 2.6 backport
Subsystems (2)
(resent due to a combination of mailer stupidity and my own I had to mangle Padraig's name to make it stop encoding as Quoted-Printable. hope this is palatable. sorry for the resends)
Hello,
Tested and working on Kontron JREX-PM.
fairly straightforward backport of w83627hf_wdt.c from 2.6.20.1
Changes from 2.6 version
Default timeout set to 120 seconds Nonstandard read only proc interface (/proc/watchdog) Always reset timer on driver load
Changed timeout limit to 255
Ignores failure to acquire IO port
Caveats:
Ignores failure to acquire IO port since it is always taken, there's probably a better way around that.
Releases IO port regardless of having acquired it.
Signature · 7 lines
Tal Kelrich PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F CAE6 FEC1 9AAC 12B9 AA69 Key Available at: http://www.hasturkun.com/pub.txt ---- The real reason psychology is hard is that psychologists are trying to do the impossible. ----
drivers/char/Config.in +1 -0
@@ -263,6 +263,7 @@ tristate ' W83877F (EMACS) Watchdog Timer' CONFIG_W83877F_WDT tristate ' WDT Watchdog timer' CONFIG_WDT tristate ' WDT PCI Watchdog timer' CONFIG_WDTPCI + tristate ' W83627HF/F/HG/G Watchdog' CONFIG_WDT_W83627 if [ "$CONFIG_WDT" != "n" ]; then bool ' WDT501 features' CONFIG_WDT_501 if [ "$CONFIG_WDT_501" = "y" ]; then
drivers/char/Makefile +1 -0
@@ -323,6 +323,7 @@ obj-$(CONFIG_SOFT_WATCHDOG) += softdog.o obj-$(CONFIG_INDYDOG) += indydog.o obj-$(CONFIG_8xx_WDT) += mpc8xx_wdt.o +obj-$(CONFIG_WDT_W83627) += wdt83627.o subdir-$(CONFIG_MWAVE) += mwave ifeq ($(CONFIG_MWAVE),y)
drivers/char/wdt83627.c +416 -0
416 lines not on this page · raw message
Re: [2.4] (updated Watchdog wdt83627 (Winbond W83627HF/F/HG/G) driver, 2.6 backport
Quoted 16 lines · On Sun, 1 Apr 2007 17:24:24 +0300 Tal Kelrich <[email protected]> wrote:
(resent due to a combination of mailer stupidity and my own I had to mangle Padraig's name to make it stop encoding as Quoted-Printable. hope this is palatable. sorry for the resends)
Hello,
Tested and working on Kontron JREX-PM.
fairly straightforward backport ofw83627hf_wdt.cfrom 2.6.20.1Changes from 2.6 version
Default timeout set to 120 seconds Nonstandard read only proc interface (/proc/watchdog) Always reset timer on driver load
Changed timeout limit to 255
Ignores failure to acquire IO port
Quoted 5 lines
Caveats:
Ignores failure to acquire IO port since it is always taken, there's probably a better way around that.
Releases IO port regardless of having acquired it.
Padraig's name still mangled, sorry (couldn't convince sylpheed-claws)
Changes from previous:
Added text to Configure.help file
Signature · 7 lines
Tal Kelrich PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F CAE6 FEC1 9AAC 12B9 AA69 Key Available at: http://www.hasturkun.com/pub.txt ---- We come to bury DOS, not to praise it. -- Paul Vojta, [email protected] ----
Re: [2.4] resent Watchdog wdt83627 (Winbond W83627HF/F/HG/G) driver, 2.6 backport
In reply to Tal KelrichQuoted 16 lines · On Sun, 1 Apr 2007 17:24:24 +0300 Tal Kelrich <[email protected]> wrote:
(resent due to a combination of mailer stupidity and my own I had to mangle Padraig's name to make it stop encoding as Quoted-Printable. hope this is palatable. sorry for the resends)
Hello,
Tested and working on Kontron JREX-PM.
fairly straightforward backport ofw83627hf_wdt.cfrom 2.6.20.1Changes from 2.6 version
Default timeout set to 120 seconds Nonstandard read only proc interface (/proc/watchdog) Always reset timer on driver load
Changed timeout limit to 255
Ignores failure to acquire IO port
Quoted 5 lines
Caveats:
Ignores failure to acquire IO port since it is always taken, there's probably a better way around that.
Releases IO port regardless of having acquired it.
(resent because I forgot to attach the patch :/ )
Padraig's name still mangled, sorry (couldn't convince sylpheed-claws)
Changes from previous:
Added text to Configure.help file
Signature · 7 lines
Tal Kelrich PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F CAE6 FEC1 9AAC 12B9 AA69 Key Available at: http://www.hasturkun.com/pub.txt ---- We come to bury DOS, not to praise it. -- Paul Vojta, [email protected] ----
drivers/char/Config.in +1 -0
@@ -263,6 +263,7 @@ tristate ' W83877F (EMACS) Watchdog Timer' CONFIG_W83877F_WDT tristate ' WDT Watchdog timer' CONFIG_WDT tristate ' WDT PCI Watchdog timer' CONFIG_WDTPCI + tristate ' W83627HF/F/HG/G Watchdog' CONFIG_WDT_W83627 if [ "$CONFIG_WDT" != "n" ]; then bool ' WDT501 features' CONFIG_WDT_501 if [ "$CONFIG_WDT_501" = "y" ]; then
drivers/char/Makefile +1 -0
@@ -323,6 +323,7 @@ obj-$(CONFIG_SOFT_WATCHDOG) += softdog.o obj-$(CONFIG_INDYDOG) += indydog.o obj-$(CONFIG_8xx_WDT) += mpc8xx_wdt.o +obj-$(CONFIG_WDT_W83627) += wdt83627.o subdir-$(CONFIG_MWAVE) += mwave ifeq ($(CONFIG_MWAVE),y)
drivers/char/wdt83627.c +416 -0
416 lines not on this page · raw message
Documentation/Configure.help Tue Apr 10 13:01:01 2007 renamed from Documentation/Configure.help Tue Apr 10 13:01:27 2007 +7 -0
@@ -20497,6 +20497,13 @@ say M here and read <file:Documentation/modules.txt>. The module will be called wdt_pci.o. +W83627HF/F/HG/G Watchdog +CONFIG_WDT_W83627 + This is a driver for the hardware watchdog on the W83627HF chipset. + To compile this driver as a module say M here. The module will be + named wdt83627.o + Most people will say N. + WDT501 features CONFIG_WDT_501 Saying Y here and creating a character special file /dev/temperature