Fix DAC960 driver on machines which don't support 64-bit DMA
authorMatthew Wilcox <matthew@wil.cx>
Tue, 11 Sep 2007 22:23:38 +0000 (15:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 12 Sep 2007 00:21:19 +0000 (17:21 -0700)
commit868047fcbb85dbb44ddd98c336fef83236a2c06a
treea2d6722342fa02c7105399c42f596f6ff5323b12
parent1a1a1a758bf0107d1f78ff1d622f45987803d894
Fix DAC960 driver on machines which don't support 64-bit DMA

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=8942

Use PCI_DMA_* constants instead of own private definitions Fall back to
32-bit DMA mask if a 64-bit one fails

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Acked-by: Jeff Garzik <jeff@garzik.org>
Tested-by: Lars <polynomial-c@gmx.de>
Cc: Alessandro Polverini <alex@nibbles.it>
Cc: <dac@conglom-o.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/DAC960.c
drivers/block/DAC960.h