]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pcnet: add cache flushing & invalidation
authorPaul Burton <paul.burton@imgtec.com>
Fri, 8 Nov 2013 11:18:45 +0000 (11:18 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 9 Nov 2013 16:21:01 +0000 (17:21 +0100)
commitf3ac866c78f7f0d91eb345967350830d46c3a563
tree2525f245b31a8988cd5db6dab83dd9022bcc9793
parenta95400411b0938b1ef6d87090f4b22026c56e55b
pcnet: add cache flushing & invalidation

Ensure that the view of memory from the CPU & the ethernet controller is
coherent at the various points where they exchange data. This prevents
stale data from being transmitted or received, and prevents the driver
from getting stuck waiting for the ethernet controller to update
descriptors when in reality it has but the old values are being read
from cache.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
drivers/net/pcnet.c