On Thu, Jul 31, 2014 at 11:21 PM, Fabian Frederick <[email protected]> wrote: > Could you tell me where I could find SH 7619 CHCR values in order to solve > the > following errors ? > > arch/sh/drivers/dma/dma-sh.c: In function 'calc_xmit_shift': > arch/sh/drivers/dma/dma-sh.c:97:21: error: 'CHCR_TS_LOW_MASK' undeclared > (first > use in this function) > arch/sh/drivers/dma/dma-sh.c:97:21: note: each undeclared identifier is > reported > only once for each function it appears in > arch/sh/drivers/dma/dma-sh.c:97:42: error: 'CHCR_TS_LOW_SHIFT' undeclared > (first > use in this function) > arch/sh/drivers/dma/dma-sh.c:98:12: error: 'CHCR_TS_HIGH_MASK' undeclared > (first > use in this function) > arch/sh/drivers/dma/dma-sh.c:98:34: error: 'CHCR_TS_HIGH_SHIFT' undeclared > (first use in this function) > arch/sh/drivers/dma/dma-sh.c: In function 'sh_dmac_configure_channel': > arch/sh/drivers/dma/dma-sh.c:145:10: error: 'CHCR_TS_LOW_SHIFT' undeclared > (first use in this function) > arch/sh/drivers/dma/dma-sh.c:145:10: error: 'CHCR_TS_HIGH_SHIFT' undeclared > (first use in this function) > > I guess it should be added in a new dma-register.h in arch/sh/include/cpu-sh2 > ?
Google told me: http://www.alldatasheet.com/datasheet-pdf/pdf/249585/RENESAS/SH7619.html The values seem to be the same as for sh3. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

