Skip to content

Commit

Permalink
[PATCH] relax ide-cd dma restrictions
Browse files Browse the repository at this point in the history
This has been sitting for a while, and is causing lots of grief for
people burning CDs.  It relaxes the dma restriction for ide-cd,
requiring only the length to be 32-byte aligned, address should be fine
at normal double word alignment.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jens Axboe authored and Linus Torvalds committed May 25, 2005
1 parent 0e15850 commit 384f1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@ static ide_startstop_t cdrom_do_block_pc(ide_drive_t *drive, struct request *rq)
/*
* check if dma is safe
*/
if ((rq->data_len & mask) || (addr & mask))
if ((rq->data_len & 3) || (addr & mask))
info->dma = 0;
}

Expand Down

0 comments on commit 384f1fc

Please sign in to comment.