myri10ge: move request_irq to myri10ge_open
authorBrice Goglin <brice@myri.com>
Mon, 18 Dec 2006 10:50:40 +0000 (11:50 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Dec 2006 21:28:20 +0000 (16:28 -0500)
commitdf30a740e4647b035e44a94e6977ad42a94cb850
treee3805821b02b350f0d25710119647ef94a5d7d4b
parent7adda30c82f403c948b016a40fc68a1ef427dbca
myri10ge: move request_irq to myri10ge_open

Request IRQ in myri10ge_open() and free in close() instead of probe()
and remove() to eliminate potential race between the watchdog and the
interrupt handler. Additionaly, the interrupt handler won't get called
on shared irq anymore when the interface is down.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c