Re: [PATCH 1/9] setup termcap for sparc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series adds all of the sparc patches we have around.  I still need 
to test and see if we need any more.  but this is start to getting sparc 
patches all upstreamed.

Dennis

On Wednesday 12 August 2009 09:51:38 am Dennis Gilmore wrote:
> ---
>  loader/init.c |   10 +++++++++-
>  1 files changed, 9 insertions(+), 1 deletions(-)
>
> diff --git a/loader/init.c b/loader/init.c
> index 8037de0..627428e 100644
> --- a/loader/init.c
> +++ b/loader/init.c
> @@ -333,8 +333,16 @@ static int setupTerminal(int fd) {
>
>      return 0;
>  }
> +#if defined(__sparc__)
> +static int termcmp(struct termios *a, struct termios *b) {
> +    if (a->c_iflag != b->c_iflag || a->c_oflag != b->c_oflag ||
> +    a->c_cflag != b->c_cflag || a->c_lflag != b->c_lflag)
> +    return 1;
> +    return memcmp(a->c_cc, b->c_cc, sizeof(a->c_cc));
> +}
> +#endif
>
> -#if !defined(__s390__) && !defined(__s390x__)
> +#if !defined(__s390__) && !defined(__s390x__) && !defined(__sparc__)
>  static int termcmp(struct termios *a, struct termios *b) {
>      if (a->c_iflag != b->c_iflag || a->c_oflag != b->c_oflag ||
>          a->c_cflag != b->c_cflag || a->c_lflag != b->c_lflag ||

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux