[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070807151244.26471f59@oldman>
Date: Tue, 7 Aug 2007 15:12:44 -0400
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Florian Lohoff <flo@...822.org>
Cc: Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
netdev@...r.kernel.org
Subject: [RFT] sky2: turn on pci power
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;
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists