git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Staging: phison: depends on ATA_BMDMA
[safe/jmp/linux-2.6]
/
drivers
/
ide
/
tx4939ide.c
diff --git
a/drivers/ide/tx4939ide.c
b/drivers/ide/tx4939ide.c
index
f210633
..
3c73677
100644
(file)
--- a/
drivers/ide/tx4939ide.c
+++ b/
drivers/ide/tx4939ide.c
@@
-114,7
+114,7
@@
static void tx4939ide_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
pair = ide_get_pair_dev(drive);
if (pair)
- safe = min(safe,
ide_get_best_pio_mode(pair, 255, 4)
);
+ safe = min(safe,
pair->pio_mode - XFER_PIO_0
);
/*
* Update Command Transfer Mode for master/slave and Data
* Transfer Mode for this drive.