aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/gianfar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/freescale/gianfar.c')
-rw-r--r--drivers/net/ethernet/freescale/gianfar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c
index e2d42475b006..ee6ddbd4f252 100644
--- a/drivers/net/ethernet/freescale/gianfar.c
+++ b/drivers/net/ethernet/freescale/gianfar.c
@@ -1798,9 +1798,9 @@ void stop_gfar(struct net_device *dev)
1798 1798
1799 netif_tx_stop_all_queues(dev); 1799 netif_tx_stop_all_queues(dev);
1800 1800
1801 smp_mb__before_clear_bit(); 1801 smp_mb__before_atomic();
1802 set_bit(GFAR_DOWN, &priv->state); 1802 set_bit(GFAR_DOWN, &priv->state);
1803 smp_mb__after_clear_bit(); 1803 smp_mb__after_atomic();
1804 1804
1805 disable_napi(priv); 1805 disable_napi(priv);
1806 1806
@@ -2043,9 +2043,9 @@ int startup_gfar(struct net_device *ndev)
2043 2043
2044 gfar_init_tx_rx_base(priv); 2044 gfar_init_tx_rx_base(priv);
2045 2045
2046 smp_mb__before_clear_bit(); 2046 smp_mb__before_atomic();
2047 clear_bit(GFAR_DOWN, &priv->state); 2047 clear_bit(GFAR_DOWN, &priv->state);
2048 smp_mb__after_clear_bit(); 2048 smp_mb__after_atomic();
2049 2049
2050 /* Start Rx/Tx DMA and enable the interrupts */ 2050 /* Start Rx/Tx DMA and enable the interrupts */
2051 gfar_start(priv); 2051 gfar_start(priv);