Add basic 2.6.24 support for rb532, korina napi code has to be adapted to work
[openwrt/svn-archive/archive.git] / target / linux / rb532 / patches-2.6.24 / 520-rc32434_wdt.patch
1 diff -urN linux-2.6.24.7/arch/mips/kernel/time.c linux-2.6.24.7.new/arch/mips/kernel/time.c
2 --- linux-2.6.24.7/arch/mips/kernel/time.c 2008-05-07 01:22:34.000000000 +0200
3 +++ linux-2.6.24.7.new/arch/mips/kernel/time.c 2008-07-15 15:38:33.000000000 +0200
4 @@ -75,6 +75,7 @@
5 */
6
7 unsigned int mips_hpt_frequency;
8 +EXPORT_SYMBOL(mips_hpt_frequency);
9
10 void __init clocksource_set_clock(struct clocksource *cs, unsigned int clock)
11 {
12 diff -urN linux-2.6.24.7/drivers/watchdog/Kconfig linux-2.6.24.7.new/drivers/watchdog/Kconfig
13 --- linux-2.6.24.7/drivers/watchdog/Kconfig 2008-05-07 01:22:34.000000000 +0200
14 +++ linux-2.6.24.7.new/drivers/watchdog/Kconfig 2008-07-15 15:39:24.000000000 +0200
15 @@ -639,6 +639,18 @@
16 help
17 Hardware driver for the TI AR7 Watchdog Timer.
18
19 +config RC32434_WDT
20 + tristate "IDT Interprise 79RC32434 SoC hardware watchdog"
21 + depends on WATCHDOG && MIKROTIK_RB500
22 + help
23 + This is a driver for hardware watchdog integrated in IDT Interprise
24 + 79RC32434 SoC. This watchdog simply watches your kernel to make sure
25 + it doesn't freeze, and if it does, it reboots your computer after a
26 + certain amount of time.
27 +
28 + To compile this driver as a module, choose M here: the module will be
29 + called rc32434_wdt.
30 +
31 # PARISC Architecture
32
33 # POWERPC Architecture