floppy: tolerate DMA channel unavailability
authorJan Beulich <jbeulich@novell.com>
Wed, 17 Oct 2007 06:27:32 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:55 +0000 (08:42 -0700)
commit2e9c47cd4d451c57868c898672802eec9867ae1e
treeac2d7169107c579086bcaa8731ca3d9812776e59
parente98c3202916d30f0e6f59735801baa69bc3348ac
floppy: tolerate DMA channel unavailability

The floppy driver is already written to be able to operate in virtual DMA
mode.  Thus it can easily be adjusted to tolerate failure from
fd_request_dma() as long as virtual DMA mode is not disallowed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/floppy.c