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:
9310465
)
sc1200: always tune PIO
author
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Tue, 16 Oct 2007 20:29:53 +0000
(22:29 +0200)
committer
Bartlomiej Zolnierkiewicz
<
[email protected]
>
Tue, 16 Oct 2007 20:29:53 +0000
(22:29 +0200)
Acked-by: Sergei Shtylyov <
[email protected]
>
Signed-off-by: Bartlomiej Zolnierkiewicz <
[email protected]
>
drivers/ide/pci/sc1200.c
patch
|
blob
|
history
diff --git
a/drivers/ide/pci/sc1200.c
b/drivers/ide/pci/sc1200.c
index ee0e3f554d9abe2eb68cf58d22408d264eea5482..0a5669adaf5148e886880096e2125bab9e9d6af1 100644
(file)
--- a/
drivers/ide/pci/sc1200.c
+++ b/
drivers/ide/pci/sc1200.c
@@
-1,5
+1,5
@@
/*
- * linux/drivers/ide/pci/sc1200.c Version 0.9
5 Jun 16
2007
+ * linux/drivers/ide/pci/sc1200.c Version 0.9
6 Aug 2
2007
*
* Copyright (C) 2000-2002 Mark Lord <
[email protected]
>
* Copyright (C) 2007 Bartlomiej Zolnierkiewicz
@@
-382,6
+382,9
@@
static void __devinit init_hwif_sc1200 (ide_hwif_t *hwif)
hwif->set_pio_mode = &sc1200_set_pio_mode;
hwif->set_dma_mode = &sc1200_set_dma_mode;
+ hwif->drives[0].autotune = 1;
+ hwif->drives[1].autotune = 1;
+
if (hwif->dma_base == 0)
return;