Re: eepro100 2.4.7-ac3 problems (apm related)

Martin Knoblauch (Martin.Knoblauch@TeraPort.de)
Tue, 31 Jul 2001 11:26:14 +0200


> eepro100 2.4.7-ac3 problems (apm related)
>
>
> Hi!
>
> The eepro100 interface in my Fujitsy/Siemens Lifebook S-4546
> won't come up after a suspend, if I unload the module and load it again
> it works fine...
> "ioctl SIOCSIFFLAGS: No such device" is the error message.
>
> This happend in 2.4.5 i think.
>
> /Pawel
>

same here with an eepro100 inside a IBM Thinkpad570. Happened with
2.4.6-ac2. Since then I apply the appended patch after installing "-ac"
stuff. This completely disables power state handling for the device. Not
very clean, but I do not care in this particular case. It probably shows
a more principal issue with the eepro100. Kai - did you look deeper into
the issue?

Martin

diff -rc2 eepro100.c eepro100.c-ac3-orig
*** eepro100.c Tue Jul 31 11:21:26 2001
--- eepro100.c-ac3-orig Tue Jul 31 11:20:56 2001
***************
*** 779,783 ****

/* Put chip into power state D2 until we open() it. */
! pci_set_power_state(pdev, 0); /* MKN */

pci_set_drvdata (pdev, dev);
--- 779,783 ----

/* Put chip into power state D2 until we open() it. */
! pci_set_power_state(pdev, 2);

pci_set_drvdata (pdev, dev);
***************
*** 1834,1838 ****
printk(KERN_DEBUG "%s: %d multicast blocks dropped.\n",
dev->name, i);

! pci_set_power_state(sp->pdev, 0); /* MKN */

MOD_DEC_USE_COUNT;
--- 1834,1838 ----
printk(KERN_DEBUG "%s: %d multicast blocks dropped.\n",
dev->name, i);

! pci_set_power_state(sp->pdev, 2);

MOD_DEC_USE_COUNT;

-- 
------------------------------------------------------------------
Martin Knoblauch         |    email:  Martin.Knoblauch@TeraPort.de
TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/