projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef539b5
)
ide-pmac: add PIO autotune fallback to ->ide_dma_check
author
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Tue, 16 Oct 2007 20:29:55 +0000
(22:29 +0200)
committer
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Tue, 16 Oct 2007 20:29:55 +0000
(22:29 +0200)
Since ide-pmac allows separate PIO and DMA timings, and ide-pmac always sets
->autotune this change shouldn't have any other effect than bringing ide-pmac
driver in-line with other host drivers wrt ->ide_dma_check implementation.
Cc: Benjamin Herrenschmidt <
[email protected]
>
Acked-by: Sergei Shtylyov <
[email protected]
>
Signed-off-by: Bartlomiej Zolnierkiewicz <
[email protected]
>
drivers/ide/ppc/pmac.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ppc/pmac.c
b/drivers/ide/ppc/pmac.c
index 9e86406bf44b7c6ebfc700cdbc16dc358dd50bc0..e0859385732e53e81dbf70cb366bbf24cd178228 100644
(file)
--- a/
drivers/ide/ppc/pmac.c
+++ b/
drivers/ide/ppc/pmac.c
@@
-1588,6
+1588,8
@@
pmac_ide_dma_check(ide_drive_t *drive)
if (ide_tune_dma(drive))
return 0;
+ ide_set_max_pio(drive);
+
return -1;
}