sky2: fix hang on shutdown (and other irq issues)
authorstephen hemminger <shemminger@vyatta.com>
Wed, 16 Nov 2011 13:42:55 +0000 (13:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2011 01:27:08 +0000 (20:27 -0500)
There are several problems with recent change to how IRQ's are setup.
   * synchronize_irq in sky2_shutdown would hang because there
     was no IRQ setup.
   * when device was set to down, some IRQ bits left enabled so a
     hardware error would produce IRQ with no handler
   * quick link on Optima chip set was enabled without handler
   * suspend/resume would leave IRQ on with no handler if device
     was down

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found