git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/mpc5200: Disable bestcomm prefetching when ATA DMA enabled
[pandora-kernel.git]
/
arch
/
powerpc
/
sysdev
/
bestcomm
/
ata.c
diff --git
a/arch/powerpc/sysdev/bestcomm/ata.c
b/arch/powerpc/sysdev/bestcomm/ata.c
index
1f5258f
..
901c9f9
100644
(file)
--- a/
arch/powerpc/sysdev/bestcomm/ata.c
+++ b/
arch/powerpc/sysdev/bestcomm/ata.c
@@
-61,6
+61,9
@@
bcom_ata_init(int queue_len, int maxbufsize)
struct bcom_ata_var *var;
struct bcom_ata_inc *inc;
+ /* Prefetch breaks ATA DMA. Turn it off for ATA DMA */
+ bcom_disable_prefetch();
+
tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_ata_bd), 0);
if (!tsk)
return NULL;