fec: replace flush_dcache_range with dma_sync_single
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 28 Jan 2009 23:03:09 +0000 (23:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Feb 2009 08:58:24 +0000 (00:58 -0800)
commitccdc4f198193eb4956b8dbc00745270525c4cd6e
tree77efa737a2ee47692e6c09250f0cf0da3ae5a220
parent43268dcea7512cc10bc2542f20ce37971ecfeb48
fec: replace flush_dcache_range with dma_sync_single

flush_dcache_range is not portable across architectures. Use
dma_sync_single instead. Also, the memory must be synchronised in the
receive path aswell.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c