Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66117
b: refs/heads/master
c: 851dd33
h: refs/heads/master
i:
  66115: a0764b0
v: v3
  • Loading branch information
Sergei Shtylyov authored and Bartlomiej Zolnierkiewicz committed Oct 11, 2007
1 parent 437558d commit a504911
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: bda7970c27b1033de0afa737cd8e5abf9c55c3d2
refs/heads/master: 851dd33bcf23655eede62730c029e4f608f4084f
7 changes: 4 additions & 3 deletions trunk/drivers/ide/ide-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,10 +664,11 @@ static unsigned int ide_get_mode_mask(ide_drive_t *drive, u8 base)
if ((id->field_valid & 4) == 0)
break;

mask = id->dma_ultra & hwif->ultra_mask;

if (hwif->udma_filter)
mask &= hwif->udma_filter(drive);
mask = hwif->udma_filter(drive);
else
mask = hwif->ultra_mask;
mask &= id->dma_ultra;

if ((mask & 0x78) && (eighty_ninty_three(drive) == 0))
mask &= 0x07;
Expand Down

0 comments on commit a504911

Please sign in to comment.