Skip to contentSkip to conversation

eepro100 2.4.7-ac3 problems (apm related)

DISCUSSION Martin Knoblauch 1 participant 1 message Jul 31, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines

eepro100 2.4.7-ac3 problems (apm related)

Hi!

Quoted 9 lines

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;
Signature · 5 lines
------------------------------------------------------------------
Martin Knoblauch         |    email:  [email protected]
TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759