aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/patches-2.6.24/520-rc32434_wdt.patch
blob: cfcf69777b3028ab43266b7f49d89a8a1700d6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -75,6 +75,7 @@ EXPORT_SYMBOL(perf_irq);
  */
 
 unsigned int mips_hpt_frequency;
+EXPORT_SYMBOL(mips_hpt_frequency);
 
 void __init clocksource_set_clock(struct clocksource *cs, unsigned int clock)
 {
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -639,6 +639,18 @@ config AR7_WDT
 	help
 	  Hardware driver for the TI AR7 Watchdog Timer.
 
+config RC32434_WDT
+	tristate "IDT Interprise 79RC32434 SoC hardware watchdog"
+	depends on WATCHDOG && MIKROTIK_RB500
+	help
+	  This is a driver for hardware watchdog integrated in IDT Interprise
+	  79RC32434 SoC. This watchdog simply watches your kernel to make sure
+	  it doesn't freeze, and if it does, it reboots your computer after a
+	  certain amount of time.
+	  
+	  To compile this driver as a module, choose M here: the module will be
+	  called rc32434_wdt.
+
 # PARISC Architecture
 
 # POWERPC Architecture