diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2010-05-19 14:33:54 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-05-22 03:51:17 -0400 |
commit | 10440af1bc8082c78186e7f4ea94124acee6625e (patch) | |
tree | 119a04516924aed333f8c4e8890233a4ec5fdbd9 /arch/sh/include/cpu-sh4 | |
parent | 2d151248286d438e97ebb22ff676423df299da86 (diff) |
sh: define DMA slaves per CPU type, remove now redundant header
Now that DMA slave IDs are only used used in platform specific code and have
become opaque cookies for the rest of the code, we can make the, CPU specific
too.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/cpu-sh4')
-rw-r--r-- | arch/sh/include/cpu-sh4/cpu/sh7722.h | 15 | ||||
-rw-r--r-- | arch/sh/include/cpu-sh4/cpu/sh7724.h | 19 |
2 files changed, 34 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-sh4/cpu/sh7722.h b/arch/sh/include/cpu-sh4/cpu/sh7722.h index 48560407cbe1..7a5b8a331b4a 100644 --- a/arch/sh/include/cpu-sh4/cpu/sh7722.h +++ b/arch/sh/include/cpu-sh4/cpu/sh7722.h | |||
@@ -235,4 +235,19 @@ enum { | |||
235 | HWBLK_NR, | 235 | HWBLK_NR, |
236 | }; | 236 | }; |
237 | 237 | ||
238 | enum { | ||
239 | SHDMA_SLAVE_SCIF0_TX, | ||
240 | SHDMA_SLAVE_SCIF0_RX, | ||
241 | SHDMA_SLAVE_SCIF1_TX, | ||
242 | SHDMA_SLAVE_SCIF1_RX, | ||
243 | SHDMA_SLAVE_SCIF2_TX, | ||
244 | SHDMA_SLAVE_SCIF2_RX, | ||
245 | SHDMA_SLAVE_SIUA_TX, | ||
246 | SHDMA_SLAVE_SIUA_RX, | ||
247 | SHDMA_SLAVE_SIUB_TX, | ||
248 | SHDMA_SLAVE_SIUB_RX, | ||
249 | SHDMA_SLAVE_SDHI0_TX, | ||
250 | SHDMA_SLAVE_SDHI0_RX, | ||
251 | }; | ||
252 | |||
238 | #endif /* __ASM_SH7722_H__ */ | 253 | #endif /* __ASM_SH7722_H__ */ |
diff --git a/arch/sh/include/cpu-sh4/cpu/sh7724.h b/arch/sh/include/cpu-sh4/cpu/sh7724.h index 0cd1f71a1116..fbbf550cc529 100644 --- a/arch/sh/include/cpu-sh4/cpu/sh7724.h +++ b/arch/sh/include/cpu-sh4/cpu/sh7724.h | |||
@@ -283,4 +283,23 @@ enum { | |||
283 | HWBLK_NR, | 283 | HWBLK_NR, |
284 | }; | 284 | }; |
285 | 285 | ||
286 | enum { | ||
287 | SHDMA_SLAVE_SCIF0_TX, | ||
288 | SHDMA_SLAVE_SCIF0_RX, | ||
289 | SHDMA_SLAVE_SCIF1_TX, | ||
290 | SHDMA_SLAVE_SCIF1_RX, | ||
291 | SHDMA_SLAVE_SCIF2_TX, | ||
292 | SHDMA_SLAVE_SCIF2_RX, | ||
293 | SHDMA_SLAVE_SCIF3_TX, | ||
294 | SHDMA_SLAVE_SCIF3_RX, | ||
295 | SHDMA_SLAVE_SCIF4_TX, | ||
296 | SHDMA_SLAVE_SCIF4_RX, | ||
297 | SHDMA_SLAVE_SCIF5_TX, | ||
298 | SHDMA_SLAVE_SCIF5_RX, | ||
299 | SHDMA_SLAVE_SDHI0_TX, | ||
300 | SHDMA_SLAVE_SDHI0_RX, | ||
301 | SHDMA_SLAVE_SDHI1_TX, | ||
302 | SHDMA_SLAVE_SDHI1_RX, | ||
303 | }; | ||
304 | |||
286 | #endif /* __ASM_SH7724_H__ */ | 305 | #endif /* __ASM_SH7724_H__ */ |