Re: suspend/resume and 3c59x

Andreas Dilger
2002-02-25T23:29:29Z

On Feb 25, 2002 12:20 -0800, Andrew Morton wrote:
> christophe barbé wrote:
> > I use the kernel 2.4.17 and the hotplug facilities for my 3com cardbus
> > (driver 3c59x). It works well when I insert and remove the card.
> > But If I don't remove the card before suspending (apm -s) my laptop,
> > The card is in a bad state when I resume the laptop and I need to remove
> > and insert the card to get it back. I have tried to ifdown and rmmod
> > before suspending but the result is the same.
>
> Did you provide the `enable_wol=1' module parameter?
>
> options 3c59x enable_wol=1
>
> Despite its name, this turns on some power management
> functionality. Should have been a separate "enable_pm".

Hmm, I have a similar problem with my Xircom 10/100 adapter (xirc2ps_cs).
On resume it never works, so I eject/insert it each resume (via cardctl).
My 3cce589et (10Mbps) card does not have this problem.

In dmesg xirc2ps_cs reports:
eth0: media 10Base2, silicon revision 4

On a normal insertion it reports:
eth0: MII link partner: 0081
eth0: MII selected
eth0: media 100BaseT, silicon revision 5

I'm not sure if that is the real problem or just a symptom. I'll have to
look if it supports the enable_wol parameter... Nope. Any ideas? 2.4.17

Cheers, Andreas
--
Andreas Dilger