mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ide-cris: handle PIO auto-tuning in tune_cris_ide()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
4099d14322
commit
d281e9ad87
1 changed files with 2 additions and 0 deletions
|
@ -684,6 +684,8 @@ static void tune_cris_ide(ide_drive_t *drive, u8 pio)
|
||||||
{
|
{
|
||||||
int setup, strobe, hold;
|
int setup, strobe, hold;
|
||||||
|
|
||||||
|
pio = ide_get_best_pio_mode(drive, pio, 4);
|
||||||
|
|
||||||
switch(pio)
|
switch(pio)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue