tg3: Add memory barriers to sync BD data
authorMichael Chan <mchan@broadcom.com>
Sun, 4 Mar 2012 14:48:14 +0000 (14:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2012 01:39:31 +0000 (20:39 -0500)
commit6541b806b5f267eda8f127bb7f5fec4e7e4db995
tree2415db513402df4b8c6a5f027a9045a80893b982
parentc441b456767357322dbc14b55bdc7da0051d0d98
tg3: Add memory barriers to sync BD data

for weak memory model architectures to ensure that the chip will DMA
valid BD data.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Reviewed-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c