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 9125d9abf099..d82f092cae90 100644
--- a/drivers/net/ethernet/freescale/gianfar.c
+++ b/drivers/net/ethernet/freescale/gianfar.c
@@ -1797,9 +1797,9 @@ void stop_gfar(struct net_device *dev)
1797 1797
1798 netif_tx_stop_all_queues(dev); 1798 netif_tx_stop_all_queues(dev);
1799 1799
1800 smp_mb__before_clear_bit(); 1800 smp_mb__before_atomic();
1801 set_bit(GFAR_DOWN, &priv->state); 1801 set_bit(GFAR_DOWN, &priv->state);
1802 smp_mb__after_clear_bit(); 1802 smp_mb__after_atomic();
1803 1803
1804 disable_napi(priv); 1804 disable_napi(priv);
1805 1805
@@ -2042,9 +2042,9 @@ int startup_gfar(struct net_device *ndev)
2042 2042
2043 gfar_init_tx_rx_base(priv); 2043 gfar_init_tx_rx_base(priv);
2044 2044
2045 smp_mb__before_clear_bit(); 2045 smp_mb__before_atomic();
2046 clear_bit(GFAR_DOWN, &priv->state); 2046 clear_bit(GFAR_DOWN, &priv->state);
2047 smp_mb__after_clear_bit(); 2047 smp_mb__after_atomic();
2048 2048
2049 /* Start Rx/Tx DMA and enable the interrupts */ 2049 /* Start Rx/Tx DMA and enable the interrupts */
2050 gfar_start(priv); 2050 gfar_start(priv);