2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/Documentation/serial
Claudio Scordino 93f3350c46 RS485: fix inconsistencies in the meaning of some variables
The crisv10.c and the atmel_serial.c serial drivers intepret the fields of the
serial_rs485 structure in a different way.

In particular, crisv10.c uses SER_RS485_RTS_AFTER_SEND and
SER_RS485_RTS_ON_SEND for the voltage of the RTS pin; atmel_serial.c,
instead, uses these values to know if a delay must be set before and
after sending.  This patch makes the usage of these variables consistent
across all drivers and fixes the Documentation as well.

From now on, SER_RS485_RTS_AFTER_SEND and SER_RS485_RTS_ON_SEND will be
used to set the voltage of the RTS pin (as in the crisv10.c driver); the
delay will be understood by looking only at the value of
delay_rts_before_send and delay_rts_after_send.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Darron Black <darron@griffin.net>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-15 12:13:44 -08:00
..
00-INDEX serial: add Documentation about RS485 serial communications 2010-11-11 11:35:59 -08:00
computone.txt Documentation: Computone ip2 is orphaned 2011-11-04 12:01:48 -07:00
digiepca.txt Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
driver Subject: [PATCH 1/2] serial: Add flush_buffer() operation to uart_ops 2008-07-20 17:12:34 -07:00
moxa-smartio Fix common misspellings 2011-03-31 11:26:23 -03:00
n_gsm.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
README.cycladesZ Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
riscom8.txt Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
rocket.txt Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
serial-rs485.txt RS485: fix inconsistencies in the meaning of some variables 2011-11-15 12:13:44 -08:00
specialix.txt Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
stallion.txt Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
sx.txt Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
tty.txt pps: timestamp is always passed to dcd_change() 2011-01-13 08:03:20 -08:00

The Cyclades-Z must have firmware loaded onto the card before it will
operate.  This operation should be performed during system startup,

The firmware, loader program and the latest device driver code are
available from Cyclades at
    ftp://ftp.cyclades.com/pub/cyclades/cyclades-z/linux/