[PATCH] Relax idecd dma alignment check
authorJens Axboe <axboe@suse.de>
Tue, 31 May 2005 15:47:36 +0000 (17:47 +0200)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 31 May 2005 16:11:57 +0000 (09:11 -0700)
commit4e7c6816d680d1945916db047a47847afe4b9b02
treebf504678d31037e7946a9a33a7c47c1637d7818a
parent05fda3b1d88ebac1fc866fc3ed5b7ef5a4672fa6
[PATCH] Relax idecd dma alignment check

Only the address needs alignment of mask bits, length should work with
a relaxed alignment check.

Signed-off-by: Jens Axboe <axboe@suse.de>

[ This is take 2: make the length check be for 16-byte alignment, not
  just word alignment.  That should hopefully keep everybody happy,
  while still allowing CD writing with DMA ]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-cd.c