SUNGEM config

benh at kernel.crashing.org benh at kernel.crashing.org
Thu Feb 14 04:28:47 EST 2002


>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/





More information about the Linuxppc-dev mailing list