All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] Handle TIOC[GS]RS485 iocts on serial_core
@ 2014-11-06  8:22 Ricardo Ribalda Delgado
  2014-11-06  8:22 ` [PATCH v2 01/11] serial_core: Handle TIOC[GS]RS485 ioctls Ricardo Ribalda Delgado
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Ricardo Ribalda Delgado @ 2014-11-06  8:22 UTC (permalink / raw)
  To: linux-serial; +Cc: Ricardo Ribalda Delgado

Right now there are six serial drivers doing RS485 ioctl handling.

Replace all the duplicated implementations with a single ioclt handler and a
callback function.

Change log v2:

-Removed patches already merged on tty-testing
-Rebase to latest tty-next
-Add Reviewed-by

Ricardo Ribalda Delgado (11):
  serial_core: Handle TIOC[GS]RS485 ioctls.
  serial/8250: Copy RS485 fields to serial_core
  8250/fintek: Use rs485 handler from serial_core
  serial/8250: Remove obsolete handling of rs485 ioctls
  serial/sc16is7xx: Use the rs485 functions on serial_core
  serial/mcf: Use the rs485 functions on serial_core
  serial/atmel: Use the rs485 functions on serial_core
  serial/omap: Use the rs485 functions on serial_core
  drivers/max310: Use the rs485 functions on serial_core
  serial_core: Remove call to driver-specific TIO[GS]RS485]
  tty/serial_core: Introduce lock mechanism for RS485

 drivers/tty/serial/8250/8250_core.c   | 41 +----------------
 drivers/tty/serial/8250/8250_fintek.c |  8 ++--
 drivers/tty/serial/atmel_serial.c     | 87 +++++++++++------------------------
 drivers/tty/serial/max310x.c          | 70 +++++++++++-----------------
 drivers/tty/serial/mcf.c              | 42 ++++-------------
 drivers/tty/serial/omap-serial.c      | 74 +++++++++--------------------
 drivers/tty/serial/sc16is7xx.c        | 53 +++++----------------
 drivers/tty/serial/serial_core.c      | 49 ++++++++++++++++++++
 include/linux/serial_8250.h           |  3 --
 include/linux/serial_core.h           |  3 ++
 10 files changed, 156 insertions(+), 274 deletions(-)

-- 
2.1.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-11-06 17:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06  8:22 [PATCH v2 00/11] Handle TIOC[GS]RS485 iocts on serial_core Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 01/11] serial_core: Handle TIOC[GS]RS485 ioctls Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 02/11] serial/8250: Copy RS485 fields to serial_core Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 03/11] 8250/fintek: Use rs485 handler from serial_core Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 04/11] serial/8250: Remove obsolete handling of rs485 ioctls Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 05/11] serial/sc16is7xx: Use the rs485 functions on serial_core Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 06/11] serial/mcf: " Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 07/11] serial/atmel: " Ricardo Ribalda Delgado
2014-11-06 17:33   ` Nicolas Ferre
2014-11-06  8:22 ` [PATCH v2 08/11] serial/omap: " Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 09/11] drivers/max310: " Ricardo Ribalda Delgado
2014-11-06  8:22 ` [PATCH v2 10/11] serial_core: Remove call to driver-specific TIO[GS]RS485] Ricardo Ribalda Delgado
2014-11-06  8:23 ` [PATCH v2 11/11] tty/serial_core: Introduce lock mechanism for RS485 Ricardo Ribalda Delgado

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.