From patchwork Tue Sep 9 18:06:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda Delgado X-Patchwork-Id: 4872061 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2F0D8C0338 for ; Tue, 9 Sep 2014 18:06:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0947620108 for ; Tue, 9 Sep 2014 18:06:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 20DD1200FE for ; Tue, 9 Sep 2014 18:06:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751102AbaIISGh (ORCPT ); Tue, 9 Sep 2014 14:06:37 -0400 Received: from mail-la0-f51.google.com ([209.85.215.51]:33068 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750954AbaIISGg (ORCPT ); Tue, 9 Sep 2014 14:06:36 -0400 Received: by mail-la0-f51.google.com with SMTP id gi9so7576400lab.38 for ; Tue, 09 Sep 2014 11:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=/bkhyXZF9sg5Y9e11KEesuJo1mG9J1B9t7cHzBruvPA=; b=zxxleRzdreHhW2Bmm32HdEMOl8i/glt6qslPP6QEnvE8qveuhflcHtN0yqOmOLH/+R X7YwkyQFSVcOyK8OqMwwoNyq3j2mCeCbFO4oqSbV/i0LtNKDx2ndU92USXBB4dAYTMJa qNbMGcLKwBMLceCiKNG2fmyAXYqfFeriPNadh8+74pQLk9ibj6VNtUHwasrUujISjddv RTsYFlPfB4RF7eVVfhdIQvegYHfhLga02jEDHuOKuJwWyupxhiTvMlfGjGqO8RhvafG0 nAt2YxeCk8wILr/9w7Vt9Q/QxXzlo9k1dMQHsOGaudO0qL0O1YBUjUACnhRX/005/AJq 3/Ig== X-Received: by 10.113.4.132 with SMTP id ce4mr35299464lbd.2.1410285994736; Tue, 09 Sep 2014 11:06:34 -0700 (PDT) Received: from neopili.qtec.com (x1-6-30-46-9a-6d-3c-54.cpe.webspeed.dk. [2.108.161.190]) by mx.google.com with ESMTPSA id as5sm4501523lac.46.2014.09.09.11.06.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Sep 2014 11:06:33 -0700 (PDT) From: Ricardo Ribalda Delgado To: "James E . J . Bottomley" , Helge Deller , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Ricardo Ribalda Delgado Subject: [PATCH 1/3] parisc/uapi: Add definition of TIOC[SG]RS485 Date: Tue, 9 Sep 2014 20:06:31 +0200 Message-Id: <1410285991-24833-1-git-send-email-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.1.0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit: e676253b19b2d269cccf67fdb1592120a0cd0676 (serial/8250: Add support for RS485 IOCTLs), adds support for RS485 ioctls for 825_core on all the archs. Unfortunaltely the definition of TIOCSRS485 and TIOCGRS485 was missing on the ioctls.h file Signed-off-by: Ricardo Ribalda Delgado --- arch/parisc/include/uapi/asm/ioctls.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/parisc/include/uapi/asm/ioctls.h b/arch/parisc/include/uapi/asm/ioctls.h index 66719c3..3af2d02 100644 --- a/arch/parisc/include/uapi/asm/ioctls.h +++ b/arch/parisc/include/uapi/asm/ioctls.h @@ -50,6 +50,8 @@ #define TCSETS2 _IOW('T',0x2B, struct termios2) #define TCSETSW2 _IOW('T',0x2C, struct termios2) #define TCSETSF2 _IOW('T',0x2D, struct termios2) +#define TIOCGRS485 0x542E +#define TIOCSRS485 0x542F #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ #define TIOCGDEV _IOR('T',0x32, int) /* Get primary device node of /dev/console */