All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Schmalzing <jens.schmalzing@physik.uni-muenchen.de>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: <linuxppc-dev@lists.linuxppc.org>
Subject: Re: SUNGEM config
Date: 14 Feb 2002 06:42:47 +0900	[thread overview]
Message-ID: <87ofitf488.fsf@theorie.physik.uni-muenchen.de> (raw)
In-Reply-To: <20020213211243.28959@smtp.wanadoo.fr>


Hi,

> I shut down the device when the interface is down for more than
> about 10 seconds.

> Either I fake the ioctl and return no link,

Which makes ifd useless, because it won't be able to detect that a
link is actually present.

> or I power it back up each time, preventing basically the chip to
> ever be power managed.

Which consumes unnecassary power, reducing battery life.  I see the
point.  Would it make sense to make the time between the link going
down and the device powering off configurable, either as a module
parameter or as a kernel config option?  Then one could choose to have
either sensible power management or automatic link detection, if it's
not possible to get both.

Regards, Jens.

--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-02-13 21:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-12 19:15 SUNGEM config Christopher Murtagh
2002-02-13 10:59 ` benh
2002-02-13 16:52   ` Jens Schmalzing
2002-02-13 17:28     ` benh
2002-02-13 21:06       ` Jens Schmalzing
2002-02-13 21:12         ` Benjamin Herrenschmidt
2002-02-13 21:42           ` Jens Schmalzing [this message]
2002-02-13 22:19             ` Benjamin Herrenschmidt

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=87ofitf488.fsf@theorie.physik.uni-muenchen.de \
    --to=jens.schmalzing@physik.uni-muenchen.de \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.