Add mmio barriers at the appropriate places, don't have a platform
that needs them, but this is where the documentation of the patch
says to add them.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
netif_stop_queue(dev);
}
- dev->trans_start = jiffies;
+ mmiowb();
spin_unlock(&skge->tx_lock);
+ dev->trans_start = jiffies;
+
return NETDEV_TX_OK;
}
return 1; /* not done */
netif_rx_complete(dev);
+ mmiowb();
+
hw->intr_mask |= skge->port == 0 ? (IS_R1_F|IS_XA1_F) : (IS_R2_F|IS_XA2_F);
skge_write32(hw, B0_IMSK, hw->intr_mask);