aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/feature-removal-schedule.txt7
-rw-r--r--include/linux/dma-mapping.h21
2 files changed, 0 insertions, 28 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index f10014fa1d14..dfd6a9f4a583 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -460,13 +460,6 @@ Who: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
460 460
461---------------------------- 461----------------------------
462 462
463What: DMA_xxBIT_MASK macros
464When: Jun 2011
465Why: DMA_xxBIT_MASK macros were replaced with DMA_BIT_MASK() macros.
466Who: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
467
468----------------------------
469
470What: iwlwifi disable_hw_scan module parameters 463What: iwlwifi disable_hw_scan module parameters
471When: 3.0 464When: 3.0
472Why: Hareware scan is the prefer method for iwlwifi devices for 465Why: Hareware scan is the prefer method for iwlwifi devices for
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index 1a167c48d84d..347fdc32177a 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -46,27 +46,6 @@ struct dma_map_ops {
46 46
47#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) 47#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
48 48
49typedef u64 DMA_nnBIT_MASK __deprecated;
50
51/*
52 * NOTE: do not use the below macros in new code and do not add new definitions
53 * here.
54 *
55 * Instead, just open-code DMA_BIT_MASK(n) within your driver
56 */
57#define DMA_64BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(64)
58#define DMA_48BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(48)
59#define DMA_47BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(47)
60#define DMA_40BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(40)
61#define DMA_39BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(39)
62#define DMA_35BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(35)
63#define DMA_32BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(32)
64#define DMA_31BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(31)
65#define DMA_30BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(30)
66#define DMA_29BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(29)
67#define DMA_28BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(28)
68#define DMA_24BIT_MASK (DMA_nnBIT_MASK)DMA_BIT_MASK(24)
69
70#define DMA_MASK_NONE 0x0ULL 49#define DMA_MASK_NONE 0x0ULL
71 50
72static inline int valid_dma_direction(int dma_direction) 51static inline int valid_dma_direction(int dma_direction)