summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-2.6.30/104-watchdog.patch
blob: 793bea1c6cd830f91904f8dc24631ee9461cf70c (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
Index: linux-2.6.30.5/drivers/watchdog/Kconfig
===================================================================
--- linux-2.6.30.5.orig/drivers/watchdog/Kconfig	2009-08-16 23:19:38.000000000 +0200
+++ linux-2.6.30.5/drivers/watchdog/Kconfig	2009-09-04 15:19:34.000000000 +0200
@@ -764,6 +764,13 @@
 	help
 	  Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
 
+config RAMIPS_WDT
+	tristate "Ralink Watchdog Timer"
+	depends on MIPS_RALINK
+	help
+		Hardware driver for the built-in watchdog timer on Ralink MIPS SoCs.
+
+
 # PARISC Architecture
 
 # POWERPC Architecture
Index: linux-2.6.30.5/drivers/watchdog/Makefile
===================================================================
--- linux-2.6.30.5.orig/drivers/watchdog/Makefile	2009-08-16 23:19:38.000000000 +0200
+++ linux-2.6.30.5/drivers/watchdog/Makefile	2009-09-04 15:19:34.000000000 +0200
@@ -105,6 +105,7 @@
 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
+obj-$(CONFIG_RAMIPS_WDT) += ramipswdt.o
 
 # PARISC Architecture