diff options
author | Jens Axboe <axboe@suse.de> | 2005-05-25 11:00:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-25 13:17:08 -0400 |
commit | 384f1fcd2db8bc5a15f20f10793d8e1c82acd6c5 (patch) | |
tree | 146040edb5fb3b7ce29ba468f6392b7eadf28fdc /drivers/ide/ide-cd.c | |
parent | 0e15850200437c60b969025500e466383ec51ed8 (diff) |
[PATCH] relax ide-cd dma restrictions
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>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 33a020faeabd..4f7ce7056228 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -1933,7 +1933,7 @@ static ide_startstop_t cdrom_do_block_pc(ide_drive_t *drive, struct request *rq) | |||
1933 | /* | 1933 | /* |
1934 | * check if dma is safe | 1934 | * check if dma is safe |
1935 | */ | 1935 | */ |
1936 | if ((rq->data_len & mask) || (addr & mask)) | 1936 | if ((rq->data_len & 3) || (addr & mask)) |
1937 | info->dma = 0; | 1937 | info->dma = 0; |
1938 | } | 1938 | } |
1939 | 1939 | ||