Root/target/linux/ramips/patches-2.6.39/104-ramips-watchdog-driver.patch

1--- a/drivers/watchdog/Kconfig
2+++ b/drivers/watchdog/Kconfig
3@@ -990,6 +990,13 @@ config BCM63XX_WDT
4       To compile this driver as a loadable module, choose M here.
5       The module will be called bcm63xx_wdt.
6 
7+config RAMIPS_WDT
8+ tristate "Ralink RT288X/RT305X Watchdog Timer"
9+ depends on SOC_RT288X || SOC_RT305X
10+ help
11+ Hardware driver for the built-in watchdog timer on the
12+ Ralink RT288X/RT305X SoCs.
13+
14 # PARISC Architecture
15 
16 # POWERPC Architecture
17--- a/drivers/watchdog/Makefile
18+++ b/drivers/watchdog/Makefile
19@@ -123,6 +123,7 @@ obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
20 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
21 obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o
22 octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o
23+obj-$(CONFIG_RAMIPS_WDT) += ramips_wdt.o
24 
25 # PARISC Architecture
26 
27

Archive Download this file



interactive