linux_dsm_epyc7002/drivers/net/ethernet/cadence
Zumeng Chen ffac0e967f net: macb: ensure ordering write to re-enable RX smoothly
When a hardware issue happened as described by inline comments, the register
write pattern looks like the following:

<write ~MACB_BIT(RE)>
+ wmb();
<write MACB_BIT(RE)>

There might be a memory barrier between these two write operations, so add wmb
to ensure an flip from 0 to 1 for NCR.

Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-29 20:33:55 -05:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
macb.c net: macb: ensure ordering write to re-enable RX smoothly 2016-11-29 20:33:55 -05:00
macb.h net: ethernet: macb: Add support for rx_clk 2016-08-18 20:58:42 -07:00
Makefile net/macb: merge at91_ether driver into macb driver 2015-03-07 22:31:37 -05:00