From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: [PATCH RESEND 0/8] serial: 8250: support hw-based RS485 direction control Date: Fri, 9 Dec 2011 18:07:12 +0100 Message-ID: <1323450440-414-1-git-send-email-w.sang@pengutronix.de> Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:49423 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120Ab1LIRHf (ORCPT ); Fri, 9 Dec 2011 12:07:35 -0500 Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: linux-serial@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Greg KH , Alan Cox , Claudio Scordino , Wolfram Sang Some 8250-variants control the direction pin for RS485 in hardware. Linux has RS485 support these days, so update the 8250-driver to adhere to that. Code is based on 3.2-rc4, tested on a OMAP-based custom board with a 16V2750. A git tree can be found here: git://git.pengutronix.de/git/wsa/linux-2.6.git 8250_rs485 There is no code change since the initial post of this series. I updated some of the patch descriptions, though. A kind-of-ack from Claudio can be found here [1]. Please consider for inclusion. Thanks and regards, Wolfram [1] http://lkml.org/lkml/2011/11/24/201 Matthias Fuchs (1): serial: 8250: Add ioctl to enable auto rs485 mode with some Exar UARTs Wolfram Sang (7): serial: 8250: replace hardcoded 0xbf with #define serial: 8250: save rs485_flags per instance serial: 8250: add RX_DURING_TX capability to RS485 mode serial: 8250: reject delaying RTS with RS485 serial: 8250: update rs485 flags with polarity settings serial: 8250: add Exar 16V2750 support serial: 8250: fix comment about accessing EMSR drivers/tty/serial/8250.c | 143 +++++++++++++++++++++++++++++++++++++++--- include/linux/serial_core.h | 3 +- include/linux/serial_reg.h | 4 +- 3 files changed, 137 insertions(+), 13 deletions(-) -- 1.7.7.3