net: rtl8169: Use non-cached memory if available
authorThierry Reding <treding@nvidia.com>
Wed, 10 Dec 2014 05:25:26 +0000 (22:25 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 18 Dec 2014 20:21:41 +0000 (13:21 -0700)
commitd58acdcbfb338abdb77cfea8ada500aea277decf
tree1fe7b0b2032fedd7e5728146159c2e7c9d9eb153
parentdad3ba0f0bb5ee2e87881c9f3a7ecfb8db384b2b
net: rtl8169: Use non-cached memory if available

To work around potential issues with explicit cache maintenance of the
RX and TX descriptor rings, allocate them from a pool of uncached memory
if the architecture supports it.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/net/rtl8169.c