From patchwork Fri Dec 28 01:09:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 154584 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7509234ljp; Thu, 27 Dec 2018 17:10:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN4DeQiRAhvfMm4cRtynUl9NBxjIg33w0zzM7sYbdWRfx6mssjKdGTrUDajV5uuCk6u9KVQX X-Received: by 2002:a17:902:7481:: with SMTP id h1mr25984598pll.341.1545959421655; Thu, 27 Dec 2018 17:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545959421; cv=none; d=google.com; s=arc-20160816; b=TUamZobAxgHEVvhhJ0uvVoqXPkS5erO5mZDyb+idsmQiymP+Jd1fQFsPjQU122la29 fgntNZwBfIM319p1wQkWsdTvkMLPR9SEpyb2OjwYOiI/7Zhpj906gAbRi6NZDOkGhvi8 UG0kzcDoeUSzLcJK7ty4+MxFykk+LL4FN1MHwBeyJ4QqtUG4DO101K5j5laJGa43CPi9 PiuPlPcCZ+VayNVlSlXp/O3Ucpi6H95QMoaXlUorOUHRbGG5FPxLTeXXgNPabH62eSIY cvFxD+zBGU+4PMBtYSi2OeUqX9hCFJpBL3P8zJg1EsnBp676q2RNlayn90/2suKTMEdh P6bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:dkim-signature:delivered-to:sender :list-help:list-post:list-archive:list-subscribe:list-unsubscribe :list-id:precedence:mailing-list:dkim-signature:domainkey-signature; bh=IFbei5dwgtkvYfRmyd0T1o7jJ4XmyTbW6dPLimuiPic=; b=Zwin9IsGGeB70GpA4drG3uVE9+VgmIcyHI1SZ1HufpB6mGnzH9NZ2iKswVZz8dJaf+ FxkCJRa5vdGfxsow9/uHNUyTHyYP7h4bTIz/jxfGGgC62U3hlUzIusw6WFV4uxrOH0wX RszPElqjDFgpueandsvGD1+2tKrPiqdpOjfyZY4nQufKwpK/U9ls4ux3SYbwGPcWgmGy mRaEy0klmr9bwxXZrcZ6zr34GrHjHg5TySMfHiyAHV6cLOriv10GeuFYdNk6zpIjcZKk 8tWfhEHY/+howlPjPMNZ7UKTToK2j86IJs1FwaldOm6uIhu3z4RVPVtaG06EE8LcdpcW TICg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=JJzpOxZ6; dkim=pass header.i=@linaro.org header.s=google header.b=UbfJE3fu; spf=pass (google.com: domain of libc-alpha-return-98820-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-98820-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 89si20693365pfr.242.2018.12.27.17.10.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Dec 2018 17:10:21 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-98820-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=JJzpOxZ6; dkim=pass header.i=@linaro.org header.s=google header.b=UbfJE3fu; spf=pass (google.com: domain of libc-alpha-return-98820-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-98820-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=xdfqYJpU7D2jNkYemLS6Z0TF9mkWreeOG9yZvn6bviQ04U4exQwOn 3PytG+g4VwUvrr/SyOXwTrSgJKTEypZc+tn62XwdMX7AeXvVAF2ezlIS5t+kIlzD rrj91XV4Ai0AuX4gnaYQjsSp+w0uvPMaIhQajkvpBSgLFB7asR5jaE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=SZDxSjB90y7bmfR2PXqMMxhT3mk=; b=JJzpOxZ6feqZfhdtlwDWbDXzosRA qB1E1rudPRjtMzHlnfxGni7mYE+48ky/yuuBRadbAPHvmjcpZx+YYnwRgn/Bl3UC 1sR9Cj+N92M2n+u5fCj2ZFukzACopi1CUi8ujR2j7+p8IRzEw0x9BwjzHtEu/oCI Zs3hw3syRbUa7ms= Received: (qmail 48454 invoked by alias); 28 Dec 2018 01:10:11 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 48440 invoked by uid 89); 28 Dec 2018 01:10:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=affected, modes, 1334 X-HELO: mail-qk1-f195.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=IFbei5dwgtkvYfRmyd0T1o7jJ4XmyTbW6dPLimuiPic=; b=UbfJE3fumUubA4L8KkCIBzC6wLAwWjlB/wAX28eTgotn/uDp8Hx+EPU3bqMSSoN0qi t++StdCfX7950glfITuXrahOqGqRP1eQhdA7085VRP12bqQjbJLgu/+xlfNm8sBjexz4 YNGAszCrJZ5AWTAqkaeCM7f2FsBSgPDcratb0= Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH v2 00/12] Linux termios refactor Date: Thu, 27 Dec 2018 23:09:49 -0200 Message-Id: <20181228011001.22260-1-adhemerval.zanella@linaro.org> This patchset is an updated version of my previous version [1]. The main changes are just the update commit message for third part (termios: Consolidate termios c_cc symbolic constants) to add powerpc as affected architecture and to mention BZ#23783 on sixth part (termios: Consolidate Baud Rate Selection definitions). I am resending the whole set mainly because Siddhesh has asked to easier the review. [1] https://sourceware.org/ml/libc-alpha/2018-10/msg00255.html Adhemerval Zanella (12): termios: Define TIOCSER_TEMT with __USE_MISC (BZ#17783) termios: Consolidate struct termios termios: Consolidate termios c_cc symbolic constants termios: Consolidate Input Modes definitions. termios: Consolidate Output Modes definitions termios: Consolidate Baud Rate Selection definitions termios: Consolidate control mode definitions termios: Consolidate local mode definitions termios: Consolidate tcflow symbolic constants termios: Remove Linux _IOT_termios termios: Add powerpc termios-misc termios: Consolidate termios.h sysdeps/unix/sysv/linux/Makefile | 7 +- .../unix/sysv/linux/alpha/bits/termios-baud.h | 46 +++ .../unix/sysv/linux/alpha/bits/termios-c_cc.h | 40 +++ .../sysv/linux/alpha/bits/termios-c_cflag.h | 35 +++ .../sysv/linux/alpha/bits/termios-c_iflag.h | 38 +++ .../sysv/linux/alpha/bits/termios-c_lflag.h | 42 +++ .../sysv/linux/alpha/bits/termios-c_oflag.h | 66 +++++ .../sysv/linux/alpha/bits/termios-struct.h | 37 +++ sysdeps/unix/sysv/linux/alpha/bits/termios.h | 223 -------------- sysdeps/unix/sysv/linux/bits/termios-baud.h | 48 +++ sysdeps/unix/sysv/linux/bits/termios-c_cc.h | 40 +++ .../unix/sysv/linux/bits/termios-c_cflag.h | 34 +++ .../unix/sysv/linux/bits/termios-c_iflag.h | 40 +++ .../unix/sysv/linux/bits/termios-c_lflag.h | 58 ++++ .../unix/sysv/linux/bits/termios-c_oflag.h | 61 ++++ sysdeps/unix/sysv/linux/bits/termios-misc.h | 21 ++ sysdeps/unix/sysv/linux/bits/termios-struct.h | 36 +++ sysdeps/unix/sysv/linux/bits/termios-tcflow.h | 26 ++ sysdeps/unix/sysv/linux/bits/termios.h | 167 +---------- sysdeps/unix/sysv/linux/kernel_termios.h | 3 + .../unix/sysv/linux/mips/bits/termios-c_cc.h | 43 +++ .../sysv/linux/mips/bits/termios-c_lflag.h | 46 +++ .../sysv/linux/mips/bits/termios-struct.h | 34 +++ .../sysv/linux/mips/bits/termios-tcflow.h | 26 ++ sysdeps/unix/sysv/linux/mips/bits/termios.h | 222 -------------- sysdeps/unix/sysv/linux/mips/kernel_termios.h | 3 + .../sysv/linux/powerpc/bits/termios-baud.h | 45 +++ .../sysv/linux/powerpc/bits/termios-c_cc.h | 41 +++ .../sysv/linux/powerpc/bits/termios-c_cflag.h | 35 +++ .../sysv/linux/powerpc/bits/termios-c_iflag.h | 38 +++ .../sysv/linux/powerpc/bits/termios-c_lflag.h | 45 +++ .../sysv/linux/powerpc/bits/termios-c_oflag.h | 65 ++++ .../sysv/linux/powerpc/bits/termios-misc.h | 72 +++++ .../unix/sysv/linux/powerpc/bits/termios.h | 279 ------------------ .../unix/sysv/linux/sparc/bits/termios-c_cc.h | 43 +++ .../sysv/linux/sparc/bits/termios-c_oflag.h | 64 ++++ .../sysv/linux/sparc/bits/termios-struct.h | 34 +++ sysdeps/unix/sysv/linux/sparc/bits/termios.h | 225 -------------- .../unix/sysv/linux/sparc/kernel_termios.h | 3 + sysdeps/unix/sysv/linux/speed.c | 4 +- sysdeps/unix/sysv/linux/tcgetattr.c | 8 +- sysdeps/unix/sysv/linux/tcsetattr.c | 4 +- 42 files changed, 1334 insertions(+), 1113 deletions(-) create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h create mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h delete mode 100644 sysdeps/unix/sysv/linux/alpha/bits/termios.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-baud.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-c_cc.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-c_cflag.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-c_iflag.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-c_lflag.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-c_oflag.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-misc.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-struct.h create mode 100644 sysdeps/unix/sysv/linux/bits/termios-tcflow.h create mode 100644 sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h create mode 100644 sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h create mode 100644 sysdeps/unix/sysv/linux/mips/bits/termios-struct.h create mode 100644 sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h delete mode 100644 sysdeps/unix/sysv/linux/mips/bits/termios.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h create mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h delete mode 100644 sysdeps/unix/sysv/linux/powerpc/bits/termios.h create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h create mode 100644 sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h delete mode 100644 sysdeps/unix/sysv/linux/sparc/bits/termios.h -- 2.17.1