]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - sound/oss/emu10k1/main.c
[PATCH] Last DMA_xBIT_MASK cleanups
[net-next-2.6.git] / sound / oss / emu10k1 / main.c
index 0cd44a6f7ac069c9e3ba322f5a94c23526b3940d..3721c5857b9048eb76f655e01360e76d08580179 100644 (file)
@@ -94,6 +94,7 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/proc_fs.h>
+#include <linux/dma-mapping.h>
 
 #include "hwaccess.h"
 #include "8010.h"
  
 
 /* the emu10k1 _seems_ to only supports 29 bit (512MiB) bit bus master */
-#define EMU10K1_DMA_MASK                0x1fffffff     /* DMA buffer mask for pci_alloc_consist */
+#define EMU10K1_DMA_MASK DMA_29BIT_MASK        /* DMA buffer mask for pci_alloc_consist */
 
 #ifndef PCI_VENDOR_ID_CREATIVE
 #define PCI_VENDOR_ID_CREATIVE 0x1102