[PM] double pci_set_power_state in 8139too

From: Pavel Machek
Date: Wed Aug 27 2003 - 05:12:09 EST


Hi!

This part of -test4 looks bogus:

@@ -2571,6 +2571,9 @@
tp->stats.rx_missed_errors += RTL_R32 (RxMissed);
RTL_W32 (RxMissed, 0);

+ pci_save_state (pdev, tp->pci_state);
+ pci_set_power_state (pdev, 3);
+
pci_set_power_state (pdev, 3);
pci_save_state (pdev, tp->pci_state);


Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/