273de9fa6a54d9777ceb23257bb03b659d184e72
[openwrt-10.03/.git] / target / linux / au1000-2.6 / patches / 004-mtx1_watchdog.patch
1 diff -urN linux-2.6.16.7/drivers/char/watchdog/Kconfig linux-2.6.16.7.new/drivers/char/watchdog/Kconfig
2 --- linux-2.6.16.7/drivers/char/watchdog/Kconfig        2006-04-17 23:53:25.000000000 +0200
3 +++ linux-2.6.16.7.new/drivers/char/watchdog/Kconfig    2006-04-22 23:23:53.000000000 +0200
4 @@ -460,6 +460,14 @@
5           timer expired and no process has written to /dev/watchdog during
6           that time.
7  
8 +config MTX1_WATCHDOG
9 +       tristate "MTX-1 Hardware Watchdog"
10 +       depends on WATCHDOG && MIPS_MTX1
11 +       help
12 +         Hardware driver for the AccessCube MTX-1 watchdog. This is a
13 +         watchdog timer that will reboot the machine after a 100 seconds
14 +         timer expired.
15 +
16  # S390 Architecture
17  
18  config ZVM_WATCHDOG
19 diff -urN linux-2.6.16.7/drivers/char/watchdog/Makefile linux-2.6.16.7.new/drivers/char/watchdog/Makefile
20 --- linux-2.6.16.7/drivers/char/watchdog/Makefile       2006-04-17 23:53:25.000000000 +0200
21 +++ linux-2.6.16.7.new/drivers/char/watchdog/Makefile   2006-04-22 23:21:18.000000000 +0200
22 @@ -65,6 +65,7 @@
23  
24  # MIPS Architecture
25  obj-$(CONFIG_INDYDOG) += indydog.o
26 +obj-$(CONFIG_MTX1_WATCHDOG) += mtx-1_watchdog.o
27  
28  # S390 Architecture