]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] e1000: Fix regression: garbled stats and irq allocation during swsusp
authorAuke Kok <auke-jan.h.kok@intel.com>
Mon, 6 Nov 2006 16:57:12 +0000 (08:57 -0800)
committerChris Wright <chrisw@sous-sol.org>
Sun, 19 Nov 2006 03:28:02 +0000 (19:28 -0800)
commitf8d0f4c70c1b99e37102367bf37e394245fae1c0
tree26e97815f524c5c1e20a89e174fa595f21694a43
parentb7d3dcaa7a0b39129ac089ab1a6d9179c0a7fb1b
[PATCH] e1000: Fix regression: garbled stats and irq allocation during swsusp

e1000: Fix suspend/resume powerup and irq allocation

From: Auke Kok <auke-jan.h.kok@intel.com>

After 7.0.33/2.6.16, e1000 suspend/resume left the user with an enabled
device showing garbled statistics and undetermined irq allocation state,
where `ifconfig eth0 down` would display `trying to free already freed irq`.

Explicitly free and allocate irq as well as powerup the PHY during resume
fixes when needed.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
[chrisw: trivial 2.6.18 backport s/err/ret_val/]
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/e1000/e1000_main.c