login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Unknown mailing list,
1
.
Re: [PATCH] watchdog: add Nano 7240 driver
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Wim Van Sebroeck <wim@...>
To: Andrew Morton <akpm@...>
Cc: Gilles Gigan <gilles.gigan@...>, <linux-kernel@...>
Subject:
Re: [PATCH] watchdog: add Nano 7240 driver
Date: Wednesday, October 24, 2007 - 11:22 am
Hi Andrew,
quoted text
> > + case WDIOC_SETOPTIONS:{ > > + int retval = -EINVAL; > > + > > + if (arg & WDIOS_DISABLECARD) { > > + wdt_disable(); > > + retval = 0; > > + } > > + > > + if (arg & WDIOS_ENABLECARD) { > > + wdt_enable(); > > + retval = 0; > > + } > > + > > + return retval; > > hrm. So if userspace does ioctl(..., WDIOS_DISABLECARD|WDIOS_ENABLECARD, > that happens to be equivalent to WDIOS_ENABLECARD? > > Do all watchdog drivers do it exactly the same way, or are we offering > inconsistent interfaces between different drivers?
I fear that all watchdog drivers do it more or less like this. I'll have a look at it later on. Greetings, Wim. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] watchdog: add Nano 7240 driver
, Gilles Gigan
, (Tue Oct 23, 10:11 pm)
Re: [PATCH] watchdog: add Nano 7240 driver
, Wim Van Sebroeck
, (Wed Oct 24, 11:16 am)
Re: [PATCH] watchdog: add Nano 7240 driver
, Andrew Morton
, (Tue Oct 23, 10:29 pm)
Re: [PATCH] watchdog: add Nano 7240 driver
, Gilles Gigan
, (Wed Oct 31, 2:31 am)
Re: [PATCH] watchdog: add Nano 7240 driver
, Wim Van Sebroeck
, (Wed Oct 24, 11:22 am)
Re: [PATCH] watchdog: add Nano 7240 driver
, Alan Cox
, (Wed Oct 24, 12:27 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.27-rc8
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Linux 2.6.20-rc6
Mike Snitzer
Re: Distributed storage.
git
:
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Herbert Xu
Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch...
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
775 guests
online.
Online users
bobby33ser
Syndicate