mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wim Van Sebroeck <wim@iguana.be>
To: Justin Cormack <justin@street-vision.com>
Cc: torvalds@osdl.org,
	Kernel mailing list <linux-kernel@vger.kernel.org>,
	Rob Radez <rob@osinvestor.com>
Subject: Re: [PATCH] 2.6.0-test4 - Watchdog patches
Date: Wed, 3 Sep 2003 21:54:10 +0200	[thread overview]
Message-ID: <20030903215410.F8811@infomag.infomag.iguana.be> (raw)
In-Reply-To: <1062364509.30543.155.camel@lotte.street-vision.com>; from justin@street-vision.com on Sun, Aug 31, 2003 at 10:15:09PM +0100

Hi Justin,

> There is *no point* making these module parameters. There is no other
> watchdog that works in exactly the same way but using different io
> ports. If there was this still wouldnt be the sensible way to do it. 

Since I copied this part of Rob's watchdog-patch, I'll let Rob answer this one.

> > +	if (timeout < 1 || timeout > 63) {
> > +		timeout = WD_TIMO;
> > +		printk (KERN_INFO PFX "timeout value must be 1<=x<=255, using %d\n",
> > +			timeout);
> 
> where did that 63 come from? should be 255.

Thanks, I'll fix this (And I'll take out the module_param's for wdt_start and wdt_stop 
also).

> Also, generally, please cc authors when you send patches. And making the comments the
> same in the watchdog drivers is a complete  waste of time. If you want to reduce
> the amount of duplicated code in the drivers you could make a watchdog_ops interface
> for almost all of them.

Sorry Justin, I normally cc the authors, but this time I indeed overlooked it. Sorry 
for that. Concerning the duplicated code: this is done intentionally; Rob and myself
won't to get the watchdog-drivers all at the same level so that we can then remove the
duplicate code and have some generic watchdog code that can be used (I allready have 
code for it, but I'm redoing the temperature stuff). After that we plan to foresee sysfs
interfacing for the drivers (can be done easily if you use the generic watchdog code).
the generic code indeed uses a watchdog_ops like interface. Hope this clarifies things 
a bit more. (So I try to do everything via a "phased" approach rather then go directly 
for the generic watchdog model code).

Greetings,
Wim.


  reply	other threads:[~2003-09-03 19:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-31 20:52 Wim Van Sebroeck
2003-08-31 21:15 ` Justin Cormack
2003-09-03 19:54   ` Wim Van Sebroeck [this message]
2003-09-05  0:48     ` Rob Radez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030903215410.F8811@infomag.infomag.iguana.be \
    --to=wim@iguana.be \
    --cc=justin@street-vision.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob@osinvestor.com \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®