Skip to contentSkip to conversation

unify DMA_..BIT_MASK definitions: cleanup drivers/scsi/gdth.c

PATCH In review Borislav Petkov 1 participant 1 message Sep 17, 2007 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 unify DMA_..BIT_MASK definitions: cleanup drivers/scsi/gdth.c

move local #defines to the dma-mappings header.

--

drivers/scsi/gdth.c renamed from drivers/scsi/gdth.c.orig +0 -5
Index: 23-rc6/drivers/scsi/gdth.c
===================================================================
@@ -392,12 +392,7 @@
 #include <linux/proc_fs.h>
 #include <linux/time.h>
 #include <linux/timer.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6)
 #include <linux/dma-mapping.h>
-#else
-#define DMA_32BIT_MASK	0x00000000ffffffffULL
-#define DMA_64BIT_MASK	0xffffffffffffffffULL
-#endif
 
 #ifdef GDTH_RTC
 #include <linux/mc146818rtc.h>
Signature · 2 lines
Regards/Gruß,
    Boris.