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
Merge branch 'fix/hda' into for-linus
[pandora-kernel.git]
/
drivers
/
ide
/
piix.c
diff --git
a/drivers/ide/piix.c
b/drivers/ide/piix.c
index
69860de
..
bf14f39
100644
(file)
--- a/
drivers/ide/piix.c
+++ b/
drivers/ide/piix.c
@@
-98,7
+98,7
@@
static void piix_set_pio_mode(ide_drive_t *drive, const u8 pio)
control |= 1; /* Programmable timing on */
if (drive->media == ide_disk)
control |= 4; /* Prefetch, post write */
- if (
pio > 2
)
+ if (
ide_pio_need_iordy(drive, pio)
)
control |= 2; /* IORDY */
if (is_slave) {
master_data |= 0x4000;