Skip to contentSkip to conversation

double pci_set_power_state in 8139too

PM Pavel Machek 1 participant 1 message Aug 27, 2003

lore
Share & tools
lore
#0 lore raw

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
Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]