[PATCH 00/12] Handle TIOC[GS]RS485 iocts on serial_core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Ricardo Ribalda Delgado (12):
  serial/max310x: Remove obsolete #ifset TIOC[SG]RS485
  serial/sc16is7xx: Remove obsolete #ifset TIOC[SG]RS485
  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]

 drivers/tty/serial/8250/8250_core.c   | 41 +-----------------
 drivers/tty/serial/8250/8250_fintek.c |  8 ++--
 drivers/tty/serial/atmel_serial.c     | 79 +++++++++++------------------------
 drivers/tty/serial/max310x.c          | 72 ++++++++++++-------------------
 drivers/tty/serial/mcf.c              | 37 ++++------------
 drivers/tty/serial/omap-serial.c      | 71 ++++++++++---------------------
 drivers/tty/serial/sc16is7xx.c        | 57 ++++++-------------------
 drivers/tty/serial/serial_core.c      | 38 +++++++++++++++++
 include/linux/serial_8250.h           |  3 --
 include/linux/serial_core.h           |  3 ++
 10 files changed, 141 insertions(+), 268 deletions(-)

-- 
2.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux