[PATCH] ppc32: Fix MPC834x USB memory map offsets

Kumar Gala kumar.gala at freescale.com
Tue Aug 9 03:06:01 EST 2005


Linus,

If this can go into 2.6.13 that would be good since is a fairly  
trivial bug and fix.

- kumar

On Aug 4, 2005, at 8:59 AM, Gala Kumar K.-galak wrote:

> The memory mappings for MPC8349 USB MPH and DR modules were reversed.
>
> Signed-off-by: Li Yang <LeoLi at freescale.com>
> Signed-off-by: Jiang Bo <Tanya.jiang at freescale.com>
> Signed-off-by: Kumar Gala <kumar.gala at freescale.com>
>
> ---
> commit a2227df6ac23000dff7d95411ae5bd8022437ad3
> tree d22a59e837eb881b1292f70e51df561802b279df
> parent 51904043565cdfb348f58ce99377427c5ffe25fd
> author Kumar K. Gala <kumar.gala at freescale.com> Thu, 04 Aug 2005
> 08:57:58 -0500
> committer Kumar K. Gala <kumar.gala at freescale.com> Thu, 04 Aug 2005
> 08:57:58 -0500
>
>  arch/ppc/syslib/mpc83xx_devices.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/ppc/syslib/mpc83xx_devices.c
> b/arch/ppc/syslib/mpc83xx_devices.c
> --- a/arch/ppc/syslib/mpc83xx_devices.c
> +++ b/arch/ppc/syslib/mpc83xx_devices.c
> @@ -191,8 +191,8 @@ struct platform_device ppc_sys_platform_
>          .num_resources     = 2,
>          .resource = (struct resource[]) {
>              {
> -                .start    = 0x22000,
> -                .end    = 0x22fff,
> +                .start    = 0x23000,
> +                .end    = 0x23fff,
>                  .flags    = IORESOURCE_MEM,
>              },
>              {
> @@ -208,8 +208,8 @@ struct platform_device ppc_sys_platform_
>          .num_resources     = 2,
>          .resource = (struct resource[]) {
>              {
> -                .start    = 0x23000,
> -                .end    = 0x23fff,
> +                .start    = 0x22000,
> +                .end    = 0x22fff,
>                  .flags    = IORESOURCE_MEM,
>              },
>              {
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>




More information about the Linuxppc-embedded mailing list