aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r--drivers/net/sfc/efx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 449760642e31..7b2015f9e469 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -696,8 +696,8 @@ static void efx_stop_port(struct efx_nic *efx)
696 696
697 /* Serialise against efx_set_multicast_list() */ 697 /* Serialise against efx_set_multicast_list() */
698 if (efx_dev_registered(efx)) { 698 if (efx_dev_registered(efx)) {
699 netif_tx_lock_bh(efx->net_dev); 699 netif_addr_lock_bh(efx->net_dev);
700 netif_tx_unlock_bh(efx->net_dev); 700 netif_addr_unlock_bh(efx->net_dev);
701 } 701 }
702} 702}
703 703
@@ -1815,6 +1815,7 @@ static struct efx_board efx_dummy_board_info = {
1815 .init = efx_nic_dummy_op_int, 1815 .init = efx_nic_dummy_op_int,
1816 .init_leds = efx_port_dummy_op_int, 1816 .init_leds = efx_port_dummy_op_int,
1817 .set_fault_led = efx_port_dummy_op_blink, 1817 .set_fault_led = efx_port_dummy_op_blink,
1818 .fini = efx_port_dummy_op_void,
1818}; 1819};
1819 1820
1820/************************************************************************** 1821/**************************************************************************
@@ -1941,6 +1942,7 @@ static void efx_pci_remove_main(struct efx_nic *efx)
1941 efx_fini_port(efx); 1942 efx_fini_port(efx);
1942 1943
1943 /* Shutdown the board, then the NIC and board state */ 1944 /* Shutdown the board, then the NIC and board state */
1945 efx->board_info.fini(efx);
1944 falcon_fini_interrupt(efx); 1946 falcon_fini_interrupt(efx);
1945 1947
1946 efx_fini_napi(efx); 1948 efx_fini_napi(efx);