Re: Machine restart doesn't work - Intel 965G, 2.6.19-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- Ryan Richter <[email protected]> wrote:
> 
> 2.6.19-rc1-git9 doesn't work any better for me.  I haven't tried
> unloading the e1000 module yet.  Since I run the machine off an nfsroot,
> it will require some creativity to test that.
> 
> -ryan

You may try the following patch instead if it's easier for you. It'll likely break suspend stuff,
but you won't need to play around with modules.

Aleks.

--- linux-2.6.19-rc2/drivers/net/e1000/e1000_main.c.orig	2006-10-17 13:36:06.000000000 -0700
+++ linux-2.6.19-rc2/drivers/net/e1000/e1000_main.c	2006-10-17 13:36:50.000000000 -0700
@@ -4847,6 +4847,7 @@
 static void e1000_shutdown(struct pci_dev *pdev)
 {
 	e1000_suspend(pdev, PMSG_SUSPEND);
+	pci_set_power_state(pdev, PCI_D0);
 }
 
 #ifdef CONFIG_NET_POLL_CONTROLLER



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux