mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Morten Stenseth <nfp3033@privat.cybercity.no>
To: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: pci bridge fails to wake up from suspend/resume(   Inspiron  8000 )
Date: 20 Feb 2001 01:00:00 +0100	[thread overview]
Message-ID: <200102192300.AAA83822@usr00.cybercity.no> (raw)
In-Reply-To: <3A911B15.F234FEEE@uow.edu.au>
In-Reply-To: <200102182102.WAA12512@usr01.cybercity.no>   <3A911B15.F234FEEE@uow.edu.au>

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

 
> Did you enable eepro100 power management?
> 

i tried with and without power managment enabled and it fails either
way, but i have been playing with the setpci command and have
been able to restore all the pci cards/bridges to their original state
and now everything seems to work great, actually it fixed another
problem i have had with this machine , namely whenever i try
to insert agpgart after a suspend/resume the machine freezes,
but resetting the host bridge to it original seems to fix the problem.

I have included a bash script which sets the registers correct
on a inspiron 8000 ( well it works here anyways :-) ) . ,

please give me a howler if anybody want's me to
check out/test  this some more.








 


[-- Attachment #2: fixpci.sh --]
[-- Type: text/x-sh, Size: 769 bytes --]

#!/bin/sh  
SETPCI=/sbin/setpci

#00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory
#Controller Hub (rev 02)
DEV=00:00.0
$SETPCI -s $DEV 12.w=0xe400

#02:06.0 PCI bridge: Action Tec Electronics Inc: Unknown device 0100 (rev 11) (prog-if 00 [Normal decode])
DEV=02:06.0
$SETPCI -s $DEV 20.w=0xf800
$SETPCI -s $DEV 22.w=0xf9f0
$SETPCI -s $DEV 24.w=0xfff0
$SETPCI -s $DEV 3e.w=0x0006

#08:04.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 08)        Subsystem: Action Tec Electronics Inc: Unknown device 1100
DEV=08:04.0
$SETPCI -s $DEV c.w=0x2008
$SETPCI -s $DEV 4.w=0x0117
$SETPCI -s $DEV 10.w=0xf000
$SETPCI -s $DEV 12.w=0xf8ff
$SETPCI -s $DEV 14.w=0xecc1
$SETPCI -s $DEV 1a.w=0xf8e0
$SETPCI -s $DEV 3c.w=0x0b00
 


  parent reply	other threads:[~2001-02-19 23:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-18 21:02 Morten Stenseth
2001-02-19 13:09 ` Andrew Morton
2001-02-20  0:00 ` Morten Stenseth [this message]
2001-02-20  4:40 Doug Siebert

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=200102192300.AAA83822@usr00.cybercity.no \
    --to=nfp3033@privat.cybercity.no \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®