mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 22:21:07 +02:00
AR7 watchdog supports magic close
This patch adds the magic close flag (stopping the watchdog on an expected close by wrting 'V' to the device before closing it) to the watchdogs list, which the AR7 watchdog code actually supports. Signed-off-by: Axel Gembe <ago@bastart.eu.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12666 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8a9252317e
commit
afb3c4be87
@ -243,7 +243,7 @@ static int ar7_wdt_ioctl(struct inode *inode, struct file *file,
|
||||
static struct watchdog_info ident = {
|
||||
.identity = LONGNAME,
|
||||
.firmware_version = 1,
|
||||
.options = (WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING),
|
||||
.options = (WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE | WDIOF_KEEPALIVEPING),
|
||||
};
|
||||
int new_margin;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user