netdev
[Top] [All Lists]

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

To: <sfeldma@xxxxxxxxx>, <ncunningham@xxxxxxxxxxxxx>
Subject: RE: 2.4.29, e100 and a WOL packet causes keventd going mad
From: "Brandeburg, Jesse" <jesse.brandeburg@xxxxxxxxx>
Date: Mon, 31 Jan 2005 11:26:43 -0800
Cc: David Härdeman <david@xxxxxxxx>, "Michael Gernoth" <simigern@xxxxxxxxxxxxxxxxxxxx>, "Linux Kernel Mailing List" <linux-kernel@xxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcUHUZ4QG04FGrWzQG+uFsJ5rBpdewAcwpHA
Thread-topic: 2.4.29, e100 and a WOL packet causes keventd going mad
>+static void e100_shutdown(struct device *dev)
>+{
>+      struct pci_dev *pdev = container_of(dev, struct pci_dev, dev);
>+      struct net_device *netdev = pci_get_drvdata(pdev);
>+      struct nic *nic = netdev_priv(netdev);
>+
>+      pci_enable_wake(pdev, PCI_D0, nic->flags & (wol_magic |
>e100_asf(nic)));
>+}
>+

Separately, does anyone think that the OS should be handling the PME event on 
the bus (as it comes from the PIC as an interrupt, and can be masked at the 
PIC) with a default handler?  The machines having the problem seem to be killed 
by an interrupt storm generated by the PME interrupt, just a guess.

Jesse


<Prev in Thread] Current Thread [Next in Thread>