Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61895
b: refs/heads/master
c: 8987d21
h: refs/heads/master
i:
  61893: 906069f
  61891: f87be77
  61887: cd02899
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 19, 2007
1 parent 0bd31a4 commit 9ee8ada
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 1c164acf50146d8a82caed642951390e073620f1
refs/heads/master: 8987d21ba6a426b0685257866ce366055930b57f
5 changes: 3 additions & 2 deletions trunk/drivers/ide/ide-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,12 @@ static ide_startstop_t ide_start_power_step(ide_drive_t *drive, struct request *
* we could be smarter and check for current xfer_speed
* in struct drive etc...
*/
if ((drive->id->capability & 1) == 0)
break;
if (drive->hwif->ide_dma_check == NULL)
break;
drive->hwif->dma_off_quietly(drive);
/*
* TODO: respect ->using_dma setting
*/
ide_set_dma(drive);
break;
}
Expand Down

0 comments on commit 9ee8ada

Please sign in to comment.