Re: 2.4.29, e100 and a WOL packet causes keventd going mad

From
Nigel Cunningham <hidden>
Date
2005-01-31 06:14:33
Also in
lkml
Reply to
Scott Feldman, 2005-01-31
Hi.

On Mon, 2005-01-31 at 16:00, Scott Feldman wrote:
On Sun, 2005-01-30 at 19:58, Nigel Cunningham wrote:
quoted
Do you also disable the WOL event when resuming?
Good catch.  How's this look?
I looked at it last week because I used it for an example of device
model drivers at the CELF conference. I got your intel address from the
top of the .c file, but IIRC it bounced. Providence :>

[...]
quoted hunk ↗ jump to hunk
@@ -2333,6 +2331,7 @@ static int e100_resume(struct pci_dev *p
 	struct nic *nic = netdev_priv(netdev);
 
 	pci_set_power_state(pdev, PCI_D0);
+	pci_enable_wake(pdev, PCI_D0, 0);
 	pci_restore_state(pdev);
 	e100_hw_init(nic);
Shouldn't this be disable_wake?

Regards,

Nigel
-- 
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com

Ph: +61 (2) 6292 8028      Mob: +61 (417) 100 574
Thread (10 messages) 10 messages, 5 authors, last reply 2005-01-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help