Hello.
Wessel, Jason wrote:
> It seems that the source forge list agent consumed the attachment, so I'll
> send it as an attachment instead vs the thunderbird inline.
I have a number fixes to arch/ppc too, including 85xx.
> Jason.
> -----Original Message-----
> From: Sergei Shtylyov [mailto:[EMAIL PROTECTED]
> Sent: Tue 5/8/2007 9:03 AM
> To: Wessel, Jason
> Cc: [email protected]
> Subject: Re: [Kgdb-bugreport] [PATCH] 85xx compilation fixes
> Hello.
> Jason Wessel wrote:
>>Attached is a patch to fix the 85xx rs232 code to compile correctly.
> 1) I don't see thye patch
> 2) which arch it's for, ppc or powerpc?
>>The plan would be to commit this to the power-lite.patch unless there is
>>objections.
>>Jason.
> WBR, Sergei
> ------------------------------------------------------------------------
> Fix the 85xx kgdb rs232 compilation problems.
>
> Signed-off-by: Bruce Ashfield <[EMAIL PROTECTED]>
>
> arch/ppc/platforms/85xx/sbc8560.c | 5 ++++-
> arch/ppc/syslib/ppc85xx_setup.c | 1 -
> include/asm-ppc/machdep.h | 1 +
> 3 files changed, 5 insertions(+), 2 deletions(-)
>
>
> Index: linux-2.6.21.1/arch/ppc/syslib/ppc85xx_setup.c
> ===================================================================
> --- linux-2.6.21.1.orig/arch/ppc/syslib/ppc85xx_setup.c
> +++ linux-2.6.21.1/arch/ppc/syslib/ppc85xx_setup.c
> @@ -112,7 +112,6 @@ mpc85xx_early_serial_map(void)
> #endif
> #endif
> }
> -#endif
>
> void
> mpc85xx_restart(char *cmd)
Hm, let me see... my variant is much more lengthy.
> Index: linux-2.6.21.1/arch/ppc/platforms/85xx/sbc8560.c
> ===================================================================
> --- linux-2.6.21.1.orig/arch/ppc/platforms/85xx/sbc8560.c
> +++ linux-2.6.21.1/arch/ppc/platforms/85xx/sbc8560.c
> @@ -49,6 +49,9 @@
>
> #include <syslib/ppc85xx_common.h>
> #include <syslib/ppc85xx_setup.h>
> +#ifdef CONFIG_SERIAL_TEXT_DEBUG
> +# include <syslib/gen550.h>
> +#endif
>
> static void __init
> sbc8560_early_serial_map(void)
> @@ -228,7 +231,7 @@ platform_init(unsigned long r3, unsigned
> #if defined(CONFIG_SERIAL_8250) && defined(CONFIG_SERIAL_TEXT_DEBUG)
> ppc_md.progress = gen550_progress;
> #endif /* CONFIG_SERIAL_8250 && CONFIG_SERIAL_TEXT_DEBUG */
> -#if defined(CONFIG_SERIAL_8250) && defined(CONFIG_KGDB)
> +#if defined(CONFIG_SERIAL_8250) && defined(CONFIG_KGDB_8250)
> ppc_md.early_serial_map = sbc8560_early_serial_map;
> #endif /* CONFIG_SERIAL_8250 && CONFIG_KGDB */
I have another (more lengthy) fix for this file too.
WBR, Sergei
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport