OSDN Git Service

sfc: Remove early call to efx_nic_type::reconfigure_mac in efx_reset_up()
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 26 Jun 2013 23:13:07 +0000 (00:13 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 27 Aug 2013 21:28:02 +0000 (22:28 +0100)
commitba388fdd08ff458fabc8588e565b5d031191c50a
tree1f5322fb256aede0369b17cca8615dd3f392c397
parentd36a08b4ae08566426ddb7519b869ec0cd040532
sfc: Remove early call to efx_nic_type::reconfigure_mac in efx_reset_up()

efx_reset_up() calls efx_nic_type::reconfigure_mac once directly,
then again through efx_start_all() -> efx_start_port() ->
efx->type->reconfigure_mac().

This first call is also made too early to work properly on EF10.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c