login
Header Space

 
 

[PATCH 0/2] unify DMA_..BIT_MASK definitions

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Monday, September 17, 2007 - 1:51 pm

This patches remove redundant DMA_..BIT_MASK definitions across two drivers.
First off, consolidate dma bitmask definitions in the proper header file...

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>

--
Index: 23-rc6/include/linux/dma-mapping.h
===================================================================
--- 23-rc6/include/linux/dma-mapping.h.orig	2007-09-17 17:48:20.000000000 +0200
+++ 23-rc6/include/linux/dma-mapping.h	2007-09-17 19:34:21.000000000 +0200
@@ -17,6 +17,7 @@
 #define DMA_48BIT_MASK	0x0000ffffffffffffULL
 #define DMA_40BIT_MASK	0x000000ffffffffffULL
 #define DMA_39BIT_MASK	0x0000007fffffffffULL
+#define DMA_35BIT_MASK	0x00000007ffffffffULL
 #define DMA_32BIT_MASK	0x00000000ffffffffULL
 #define DMA_31BIT_MASK	0x000000007fffffffULL
 #define DMA_30BIT_MASK	0x000000003fffffffULL
-- 
Regards/Gruß,
    Boris.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] unify DMA_..BIT_MASK definitions, Borislav Petkov, (Mon Sep 17, 1:51 pm)
Re: [PATCH 0/2] unify DMA_..BIT_MASK definitions, Jeremy Fitzhardinge, (Mon Sep 17, 2:14 pm)
Re: [PATCH 0/2] unify DMA_..BIT_MASK definitions, Borislav Petkov, (Mon Sep 17, 2:33 pm)
Re: [PATCH 0/2] unify DMA_..BIT_MASK definitions, Jeremy Fitzhardinge, (Mon Sep 17, 2:48 pm)
speck-geostationary