sfc: When disabling the NIC, close the device rather than unregistering it
commitf4bd954e7c24063b15fa9abc8b4b1242772928ed
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 26 Dec 2008 21:48:51 +0000 (26 13:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 21:48:51 +0000 (26 13:48 -0800)
treefc4d54812802e29120ab0e3afac42f4722f0c4ab
parent307505e9a4ce0b13b2f996385669039806e07390
sfc: When disabling the NIC, close the device rather than unregistering it

This should reduce user confusion and may also aid recovery (ioctls
will still be available).

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c