diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2014-03-23 01:36:48 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-03-26 23:08:11 +0100 |
commit | 00e1b3a3d196ae876370633b32007bf98584e748 (patch) | |
tree | c3a74ed0f4b674b25a5c7664735476b3ad0dcaf2 /drivers/scsi/arm/powertec.c | |
parent | 53ad835ce7050dc3a3b3343fb07636db86783e26 (diff) | |
download | linux-stable-00e1b3a3d196ae876370633b32007bf98584e748.tar.gz linux-stable-00e1b3a3d196ae876370633b32007bf98584e748.tar.bz2 linux-stable-00e1b3a3d196ae876370633b32007bf98584e748.zip |
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 <khc@pm.waw.pl>
Tested-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/scsi/arm/powertec.c')
0 files changed, 0 insertions, 0 deletions