login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
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:
Alan Cox <alan@...>
To: Wim Van Sebroeck <wim@...>
Cc: Andrew Morton <akpm@...>, Gilles Gigan <gilles.gigan@...>, <linux-kernel@...>
Subject:
Re: [PATCH] watchdog: add Nano 7240 driver
Date: Wednesday, October 24, 2007 - 12:27 pm
On Wed, 24 Oct 2007 17:22:40 +0200 Wim Van Sebroeck <wim@iguana.be> wrote:
quoted text
> Hi Andrew, > > > > + 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.
Not really an issue. "Mummy if I jump off a cliff it hurts" -
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
:
Andrew Morton
-mm merge plans for 2.6.23
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
openbsd-misc
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Arjan van de Ven
Re: [GIT]: Networking
Auke Kok
[PATCH] e1000e: test MSI interrupts
git
:
Colocation donated by:
Who's online
There are currently
3 users
and
966 guests
online.
Online users
zeekec
ceramicchristma
ceramicchristma
Syndicate