Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71363
b: refs/heads/master
c: f0bb945
h: refs/heads/master
i:
  71361: e4c219b
  71359: 4dd84a1
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Oct 18, 2007
1 parent c305340 commit 69d813d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93c680798531503ad1a4f1d6ad22e3785e8c4c75
refs/heads/master: f0bb945c9dd5d4b7061c86b2b0511854a67457b5
7 changes: 4 additions & 3 deletions trunk/drivers/ide/pci/cs5520.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,11 @@ static void __devinit init_hwif_cs5520(ide_hwif_t *hwif)
hwif->set_pio_mode = &cs5520_set_pio_mode;
hwif->set_dma_mode = &cs5520_set_dma_mode;

if (hwif->dma_base == 0) {
hwif->drives[1].autotune = hwif->drives[0].autotune = 1;
hwif->drives[0].autotune = 1;
hwif->drives[1].autotune = 1;

if (hwif->dma_base == 0)
return;
}

hwif->ide_dma_on = &cs5520_dma_on;
}
Expand Down

0 comments on commit 69d813d

Please sign in to comment.