myri10ge: disable NAPI on failure to setup the interface
authorBrice Goglin <brice@myri.com>
Mon, 20 Oct 2008 11:54:12 +0000 (13:54 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 22 Oct 2008 10:22:11 +0000 (06:22 -0400)
commit051d36f3fbd013a73cb42a6762e5bf339a3732aa
treeb41728862789049361cb4f9e9004b60d2fee18ea
parentcde0d910b9185519f7f2cfe015f9039e02c2f25b
myri10ge: disable NAPI on failure to setup the interface

Disable NAPI if a failure occurs when setting up the interface. Leaving
it enabled could cause a BUG the next time an ifconfig up is issued.

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