]> git.enpas.org Git - openwrt.git/blob - target/linux/rb532/patches/520-rc32434_wdt.patch
7864d1536bdc8f125975737bf398acf192cd5757
[openwrt.git] / target / linux / rb532 / patches / 520-rc32434_wdt.patch
1 diff -ur linux-2.6.22.4.old/arch/mips/kernel/time.c linux-2.6.22.4.new/arch/mips/kernel/time.c
2 --- linux-2.6.22.4.old/arch/mips/kernel/time.c  2007-08-21 06:33:06.000000000 +0200
3 +++ linux-2.6.22.4.new/arch/mips/kernel/time.c  2007-12-24 17:13:43.000000000 +0100
4 @@ -478,3 +478,5 @@
5  EXPORT_SYMBOL(to_tm);
6  EXPORT_SYMBOL(rtc_mips_set_time);
7  EXPORT_SYMBOL(rtc_mips_get_time);
8 +EXPORT_SYMBOL(mips_hpt_frequency);
9 +
10 diff -ur linux-2.6.22.4.old/drivers/char/watchdog/Kconfig linux-2.6.22.4.new/drivers/char/watchdog/Kconfig
11 --- linux-2.6.22.4.old/drivers/char/watchdog/Kconfig    2007-08-21 06:33:06.000000000 +0200
12 +++ linux-2.6.22.4.new/drivers/char/watchdog/Kconfig    2007-12-24 17:13:43.000000000 +0100
13 @@ -575,6 +575,19 @@
14           To compile this driver as a module, choose M here: the
15           module will be called rm9k_wdt.
16  
17 +config RC32434_WDT
18 +       tristate "IDT Interprise 79RC32434 SoC hardware watchdog"
19 +       depends on WATCHDOG && MIKROTIK_RB500
20 +       help
21 +         This is a driver for hardware watchdog integrated in IDT Interprise
22 +         79RC32434 SoC. This watchdog simply watches your kernel to make sure
23 +         it doesn't freeze, and if it does, it reboots your computer after a
24 +         certain amount of time.
25 +
26 +         To compile this driver as a module, choose M here: the module will be
27 +         called rc32434_wdt.
28 +
29 +
30  # S390 Architecture
31  
32  config ZVM_WATCHDOG
33 diff -ur linux-2.6.22.4.old/drivers/char/watchdog/Makefile linux-2.6.22.4.new/drivers/char/watchdog/Makefile
34 --- linux-2.6.22.4.old/drivers/char/watchdog/Makefile   2007-08-21 06:33:06.000000000 +0200
35 +++ linux-2.6.22.4.new/drivers/char/watchdog/Makefile   2007-12-24 17:13:43.000000000 +0100
36 @@ -75,6 +75,7 @@
37  obj-$(CONFIG_INDYDOG) += indydog.o
38  obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
39  obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o
40 +obj-$(CONFIG_RC32434_WDT) += rc32434_wdt.o
41  
42  # S390 Architecture
43