From: Krzysztof Halasa Date: Sun, 23 Mar 2014 00:36:48 +0000 (+0100) Subject: IXP4xx: Fix DMA masks. X-Git-Tag: v3.15-rc1~81^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00e1b3a3d196ae876370633b32007bf98584e748;p=pandora-kernel.git IXP4xx: Fix DMA masks. Now, devices will have 32-bit default DMA masks (0xFFFFFFFF) as per DMA API. Fixes: $ ifconfig eth0 up net eth0: coherent DMA mask is unset $ ifconfig hdlc0 up net hdlc0: coherent DMA mask is unset Also fixes a cosmetic off-by-one bug which caused DMA transfers ending exactly on the 64 MiB boundary to go through dmabounce unnecessarily. Signed-off-by: Krzysztof HaƂasa Tested-by: Simon Kagstrom Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed