aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-10-23 04:31:37 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-24 07:27:12 -0400
commitf01865f0649f3d42b70fec8968adfd53734a3380 (patch)
tree8a60daa658ee4df2eb6defdd138a00ef81e35bf5 /drivers/net/sfc
parent7d4cdb5af0d079d095501ad4164b4985a1661098 (diff)
sfc: Change order of device removal to reverse of probe order
This makes efx_pci_remove_main() more obviously the inverse of efx_pci_probe_main(), and matches our out-of-tree driver. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/efx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 8b67553046e8..862e4832f614 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -2025,12 +2025,12 @@ static void efx_pci_remove_main(struct efx_nic *efx)
2025 if (!efx->membase) 2025 if (!efx->membase)
2026 return; 2026 return;
2027 2027
2028 falcon_fini_interrupt(efx);
2028 efx_fini_channels(efx); 2029 efx_fini_channels(efx);
2029 efx_fini_port(efx); 2030 efx_fini_port(efx);
2030 2031
2031 /* Shutdown the board, then the NIC and board state */ 2032 /* Shutdown the board, then the NIC and board state */
2032 efx->board_info.fini(efx); 2033 efx->board_info.fini(efx);
2033 falcon_fini_interrupt(efx);
2034 2034
2035 efx_fini_napi(efx); 2035 efx_fini_napi(efx);
2036 efx_remove_all(efx); 2036 efx_remove_all(efx);