On Tue, 2007-04-17 at 16:20 -0400, Stuart Anderson wrote:
> Just found a small problem w/ the termios structure as defined for PPC
> linux user. It doesn't match the one in include/asm-powerpc/termbits.h.
> 
> Index: linux-user/ppc/termbits.h
> ===================================================================
> --- linux-user/ppc/termbits.h   (revision 44)
> +++ linux-user/ppc/termbits.h   (working copy)
> @@ -7,8 +7,8 @@
>       unsigned int c_oflag;               /* output mode flags */
>       unsigned int c_cflag;               /* control mode flags */
>       unsigned int c_lflag;               /* local mode flags */
> +    unsigned char c_cc[TARGET_NCCS];                /* control
> characters */
>       unsigned char c_line;                    /* line discipline */
> -    unsigned char c_cc[TARGET_NCCS];                /* control
>       characters */
>       unsigned int c_ispeed;             /* input speed */
>       unsigned int c_ospeed;             /* output speed */
>   };
> 
> 
> With this change, both host and target 'stty -a' give the same output.

Thanks. I'll take a better look to this patch then apply. There maybe
the same issue in the ppc64 strucutre ?

-- 
J. Mayer <[EMAIL PROTECTED]>
Never organized



Reply via email to