sfc: Hold MAC lock for longer in efx_init_port()
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 25 Nov 2009 16:11:19 +0000 (16:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Nov 2009 23:59:32 +0000 (15:59 -0800)
commit1dfc5ceacd00365a9089e98643f4b26253d5a6aa
tree41dd6ca72a535d75e331d0df71a6fba26998af17
parent26deba501371c215f95624ede81ab5b611fd7d95
sfc: Hold MAC lock for longer in efx_init_port()

Although efx_init_port() is only called at probe time and so cannot
race with port reconfiguration, most of the functions it calls can
expect to be called with the MAC lock held.

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