Fix DAC960 driver on machines which don't support 64-bit DMA
commit9911e1d2a2e4d3e0188a95222a7cc2a8eb691bc2
authorMatthew Wilcox <matthew@wil.cx>
Tue, 11 Sep 2007 22:23:38 +0000 (11 15:23 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 Sep 2007 17:54:40 +0000 (26 10:54 -0700)
tree9e8f8ad82154167d43924579cfbcb6e917b37682
parent92e72da15356e2a103c212c02ac4a9479d31015a
Fix DAC960 driver on machines which don't support 64-bit DMA

commit 868047fcbb85dbb44ddd98c336fef83236a2c06a in mainline.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/DAC960.c
drivers/block/DAC960.h