[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#404107: [linux-image-2.6.18-3-686] sky2 crashes on boot or resume



Florian,
please, test this patch below As Soon As Possible.
A big hug to Stephen Hemminger!

-- 
Renato S. Yamane
Fingerprint: 68AE A381 938A F4B9 8A23  D11A E351 5030 D420 515A
PGP Server: http://pgp.mit.edu/ --> KeyID: 0xD420515A
<http://www.renatoyamane.com>




---
 drivers/net/sky2.c |    5 +++++
 1 file changed, 5 insertions(+)

--- net-2.6.22.orig/drivers/net/sky2.c	2007-04-03 10:57:48.000000000 -0700
+++ net-2.6.22/drivers/net/sky2.c	2007-04-03 13:08:45.000000000 -0700
@@ -3770,6 +3770,11 @@
 		goto out;

 	pci_enable_wake(pdev, PCI_D0, 0);
+
+	/* Renable clocks */
+	if (hw->chip_id == CHIP_ID_YUKON_EX || hw->chip_id == CHIP_ID_YUKON_EC_U)
+		sky2_pci_write32(hw, PCI_DEV_REG3, 0);
+
 	sky2_reset(hw);

 	sky2_write32(hw, B0_IMSK, Y2_IS_BASE);



Reply to: