[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdW=zbGnTEY0EnaNU_Z1hRjaF0QaKR8C-6qVJt_bQkpr1A@mail.gmail.com>
Date: Mon, 4 Aug 2014 15:33:34 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Fabian Frederick <fabf@...net.be>
Cc: Richard Weinberger <richard@....at>,
Paul Bolle <pebolle@...cali.nl>,
Linux-sh list <linux-sh@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: SH 7619 CHCR values
On Thu, Jul 31, 2014 at 11:21 PM, Fabian Frederick <fabf@...net.be> 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 -- geert@...ux-m68k.org
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists