]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitecaffe5b390188a2f5f4dd441e95cb9b935c7704
tree5ab8aadb5add5b196b46ee075979d68eab9c42fe
parent8c6e69029230410f3165dd3bd8a3386d063e336e
sky2: fix hang on shutdown (and other irq issues)

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>
drivers/net/ethernet/marvell/sky2.c