Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137650
b: refs/heads/master
c: f7ef124
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 27, 2009
1 parent 260c4a4 commit d33616d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39375853d77bea48b7b334daa3698277af8d33f4
refs/heads/master: f7ef12482b17a015906cf74afe655e691b5fa2cb
4 changes: 4 additions & 0 deletions trunk/drivers/ide/icside.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ static int icside_dma_setup(ide_drive_t *drive)
BUG_ON(dma_channel_active(ec->dma));

hwif->sg_nents = ide_build_sglist(drive, rq);
if (hwif->sg_nents == 0) {
ide_map_sg(drive, rq);
return 1;
}

/*
* Ensure that we have the right interrupt routed.
Expand Down

0 comments on commit d33616d

Please sign in to comment.