[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)
committerJeff Garzik <jeff@garzik.org>
Tue, 7 Nov 2006 09:27:51 +0000 (04:27 -0500)
commitedd106fc8ac1826dbe231b70ce0762db24133e5c
tree214fcbdd2c27362a6d8888a0045b555e376d8611
parente78181feb0b94fb6afeaef3b28d4f5df1b847c98
[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>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e1000/e1000_main.c