diff options
Diffstat (limited to 'arch/mips/include/asm/mach-lantiq/xway/xway_dma.h')
-rw-r--r-- | arch/mips/include/asm/mach-lantiq/xway/xway_dma.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mach-lantiq/xway/xway_dma.h b/arch/mips/include/asm/mach-lantiq/xway/xway_dma.h index 872943a4b90e..5f8693d5ab12 100644 --- a/arch/mips/include/asm/mach-lantiq/xway/xway_dma.h +++ b/arch/mips/include/asm/mach-lantiq/xway/xway_dma.h | |||
@@ -21,7 +21,7 @@ | |||
21 | #define LTQ_DESC_SIZE 0x08 /* each descriptor is 64bit */ | 21 | #define LTQ_DESC_SIZE 0x08 /* each descriptor is 64bit */ |
22 | #define LTQ_DESC_NUM 0x40 /* 64 descriptors / channel */ | 22 | #define LTQ_DESC_NUM 0x40 /* 64 descriptors / channel */ |
23 | 23 | ||
24 | #define LTQ_DMA_OWN BIT(31) /* owner bit */ | 24 | #define LTQ_DMA_OWN BIT(31) /* owner bit */ |
25 | #define LTQ_DMA_C BIT(30) /* complete bit */ | 25 | #define LTQ_DMA_C BIT(30) /* complete bit */ |
26 | #define LTQ_DMA_SOP BIT(29) /* start of packet */ | 26 | #define LTQ_DMA_SOP BIT(29) /* start of packet */ |
27 | #define LTQ_DMA_EOP BIT(28) /* end of packet */ | 27 | #define LTQ_DMA_EOP BIT(28) /* end of packet */ |
@@ -38,7 +38,7 @@ struct ltq_dma_channel { | |||
38 | int nr; /* the channel number */ | 38 | int nr; /* the channel number */ |
39 | int irq; /* the mapped irq */ | 39 | int irq; /* the mapped irq */ |
40 | int desc; /* the current descriptor */ | 40 | int desc; /* the current descriptor */ |
41 | struct ltq_dma_desc *desc_base; /* the descriptor base */ | 41 | struct ltq_dma_desc *desc_base; /* the descriptor base */ |
42 | int phys; /* physical addr */ | 42 | int phys; /* physical addr */ |
43 | }; | 43 | }; |
44 | 44 | ||