public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Knoblauch <Martin.Knoblauch@TeraPort.de>
To: pworach@mysun.com
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Subject: Re: eepro100 2.4.7-ac3 problems (apm related)
Date: Tue, 31 Jul 2001 11:26:14 +0200	[thread overview]
Message-ID: <3B6679B6.25B1D759@TeraPort.de> (raw)

> 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

             reply	other threads:[~2001-07-31  9:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-31  9:26 Martin Knoblauch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-06  6:23 eepro100 2.4.7-ac3 problems (apm related) Pawel Worach
2001-08-04  1:15 Pawel Worach
2001-07-31 10:55 Kai Germaschewski
2001-07-31 11:12 ` Martin Knoblauch
2001-07-31 12:37 ` Martin Knoblauch
2001-07-30 22:43 Pawel Worach

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=3B6679B6.25B1D759@TeraPort.de \
    --to=martin.knoblauch@teraport.de \
    --cc=kai@tp1.ruhr-uni-bochum.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pworach@mysun.com \
    /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