diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-09-20 16:03:42 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2013-11-22 17:03:21 -0600 |
commit | 22ece0e2e23c5cc5a23a5b8aff3dc75c9832e82f (patch) | |
tree | f5ff83652aaa5260d8a9e80f476ed2e9ae26c99e /drivers/gpio/sh_pfc.c | |
parent | a5144237ac6dce3a38a73a51c217636a37d1e0b6 (diff) | |
download | u-boot-imx-22ece0e2e23c5cc5a23a5b8aff3dc75c9832e82f.zip u-boot-imx-22ece0e2e23c5cc5a23a5b8aff3dc75c9832e82f.tar.gz u-boot-imx-22ece0e2e23c5cc5a23a5b8aff3dc75c9832e82f.tar.bz2 |
net: rtl8169: Improve cache maintenance
Instead of directly calling the low-level invalidate_dcache_range() and
flush_cache() functions, provide thin wrappers that take into account
alignment requirements.
While at it, fix a case where the cache was flushed but should have been
invalidated, two cases where the buffer data was flushed instead of the
descriptor and a missing cache invalidation before reading the packet
data that the NIC just wrote to memory.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Patch: 276474
Diffstat (limited to 'drivers/gpio/sh_pfc.c')
0 files changed, 0 insertions, 0 deletions