public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Roger Luethi <rl@hellgate.ch>
To: linux-kernel@vger.kernel.org
Subject: [INFO] Wake-On-LAN and VIA Rhine / DFE-530TX
Date: Wed, 29 May 2002 13:45:20 +0200	[thread overview]
Message-ID: <20020529114520.GA2956@k3.hellgate.ch> (raw)

I have added some code for Wake-On-LAN support in via-rhine.c which
basically boils down to handling the WOL cases in
via_rhine_ethtool_ioctl().

There are two pitfalls to consider:

- Depending on the version of the chip, the bit flags are in different
  locations, and not all chips support the same WOL options. We already
  have chip specific code paths, hence no problem.

- The manual I have for the Rhine-based D-Link DFE-530TX claims WOL
  support, and these cards come indeed with a WOL connector. That doesn't
  mean WOL works, though. The DFE-530TX exists in different revisions
  (sticker on the board): wrong revision -> no WOL. The LK Rhine driver
  does not read stickers, so the problem is right there.

With some luck the revisions can be mapped to the pci subsystem id (there
is some evidence indicating that this might be the case). Provided there is
a strict mapping, _if_ WOL ever makes it into via-rhine.c, we had better
match subsystem ids and throw an error message or something if a user tries
to enable WOL with a board that doesn't support it. Otherwise it's easy to
predict a new FAQ.

Roger

                 reply	other threads:[~2002-05-29 11:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020529114520.GA2956@k3.hellgate.ch \
    --to=rl@hellgate.ch \
    --cc=linux-kernel@vger.kernel.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