summaryrefslogtreecommitdiff
path: root/drivers/block/DAC960.h
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-09-12 02:23:38 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-09-12 04:21:19 +0400
commit868047fcbb85dbb44ddd98c336fef83236a2c06a (patch)
treea2d6722342fa02c7105399c42f596f6ff5323b12 /drivers/block/DAC960.h
parent1a1a1a758bf0107d1f78ff1d622f45987803d894 (diff)
downloadlinux-868047fcbb85dbb44ddd98c336fef83236a2c06a.tar.xz
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>
Diffstat (limited to 'drivers/block/DAC960.h')
-rw-r--r--drivers/block/DAC960.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/block/DAC960.h b/drivers/block/DAC960.h
index f5e2436c39aa..85fa9bb63759 100644
--- a/drivers/block/DAC960.h
+++ b/drivers/block/DAC960.h
@@ -61,13 +61,6 @@
#define DAC960_V2_MaxPhysicalDevices 272
/*
- Define the pci dma mask supported by DAC960 V1 and V2 Firmware Controlers
- */
-
-#define DAC690_V1_PciDmaMask 0xffffffff
-#define DAC690_V2_PciDmaMask 0xffffffffffffffffULL
-
-/*
Define a 32/64 bit I/O Address data type.
*/