netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Florian Lohoff <flo@rfc822.org>
Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>,
	netdev@vger.kernel.org
Subject: [RFT] sky2: turn on pci power
Date: Tue, 7 Aug 2007 15:12:44 -0400	[thread overview]
Message-ID: <20070807151244.26471f59@oldman> (raw)
In-Reply-To: <20070725072202.GA4905@paradigm.rfc822.org>

This setup step got dropped in 2.6.23, Yukon-EX configuration, maybe
this fixes your problem?

--- a/drivers/net/sky2.c	2007-08-06 04:39:36.000000000 -0400
+++ b/drivers/net/sky2.c	2007-08-07 14:50:25.000000000 -0400
@@ -222,6 +222,8 @@ static void sky2_power_on(struct sky2_hw
 	if (hw->chip_id == CHIP_ID_YUKON_EC_U || hw->chip_id == CHIP_ID_YUKON_EX) {
 		u32 reg;
 
+		sky2_pci_write32(hw, PCI_DEV_REG3, 0);
+
 		reg = sky2_pci_read32(hw, PCI_DEV_REG4);
 		/* set all bits to 0 except bits 15..12 and 8 */
 		reg &= P_ASPM_CONTROL_MSK;

      parent reply	other threads:[~2007-08-07 19:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070724082205.GA19480@paradigm.rfc822.org>
2007-07-24  8:50 ` 2.6.23-rc1 sky2 boot crash in sky2_mac_intr Stephen Hemminger
2007-07-24  9:40   ` Florian Lohoff
2007-07-24 23:30     ` Michal Piotrowski
2007-07-25  7:22       ` Florian Lohoff
2007-07-25 10:27         ` Stephen Hemminger
2007-08-07 19:12         ` Stephen Hemminger [this message]

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=20070807151244.26471f59@oldman \
    --to=shemminger@linux-foundation.org \
    --cc=flo@rfc822.org \
    --cc=michal.k.k.piotrowski@gmail.com \
    --cc=netdev@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;
as well as URLs for NNTP newsgroup(s).