From: benh@kernel.crashing.org
To: Jens Schmalzing <jens.schmalzing@physik.uni-muenchen.de>,
<linuxppc-dev@lists.linuxppc.org>
Cc: <linuxppc-dev@lists.linuxppc.org>
Subject: Re: SUNGEM config
Date: Wed, 13 Feb 2002 18:28:47 +0100 [thread overview]
Message-ID: <20020213172847.23608@mailhost.mipsys.com> (raw)
In-Reply-To: <87k7th2ujl.fsf@theorie.physik.uni-muenchen.de>
>On Debian systems, this is done by a small daemon named ifd in the
>laptop-net package.
>
>Unfortunately, it uses the SIOCGMIIPHY and SIOCGMIIREG ioctls for link
>detection, which on my Pismo reproducibly lead to machine check
>oopses. I've managed to track down the problem, a patch is included
>below. Basically, instead of really reading the registers it fakes
>and returns a register setting from the cached status of the device.
>Right now, it is fairly ugly, since it only works for that relevant
>one bit.
Can you tell me more about those machine checks ? I suspect they happen
if you try to read the registers while the interface is shutdown, in
which case the GEM chip is down.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-02-13 17:28 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 [this message]
2002-02-13 21:06 ` Jens Schmalzing
2002-02-13 21:12 ` Benjamin Herrenschmidt
2002-02-13 21:42 ` Jens Schmalzing
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=20020213172847.23608@mailhost.mipsys.com \
--to=benh@kernel.crashing.org \
--cc=jens.schmalzing@physik.uni-muenchen.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).