Tobias Ringstrom wrote:
>
> On Sun, 11 Feb 2001, James Brents wrote:
>
> > Sorry, I wrote that in a hurry. Its a 3Com PCI 3c905C Tornado. I can
> > successfully use wakeonlan if I power off the machine immeadiatly after
> > turning it on. Using the shutdown command, which it will when I need it
> > to power back up, it will not work.
> > Im using a wakeonlan cable to my motherboard as well, not using wake
> > through PCI bus.
> > Kernel is 2.4.1
> > I appologize for not providing all required the specs in the original
> > message.
>
> Try this patch. It is against the zero-copy version of the driver, but
> I'm sure you can apply it, at least manually, to any 2.4 version.
>
> Andrew, when can we expect to have WOL working in 2.4?
>
> +/* Change from D3 (sleep) to D0 (active).
> + Problem: The Cyclone forgets all PCI config info during the transition! */
> +static void acpi_wake(struct pci_dev *pdev)
[...]
Compare this code with pci_set_power_state() function in
drivers/pci/pci.c.
Jeff
-- Jeff Garzik | "You see, in this world there's two kinds of Building 1024 | people, my friend: Those with loaded guns MandrakeSoft | and those who dig. You dig." --Blondie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:17 EST