Searched hist:a5f276f10ff70da89b349df445e944c8cd87956c (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
H A D | serial_core.h | diff a5f276f10ff70da89b349df445e944c8cd87956c Thu Nov 06 22:46:13 CET 2014 Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> serial_core: Handle TIOC[GS]RS485 ioctls.
The following drivers: 8250_core, atmel_serial, max310x, mcf, omap-serial and sci16is7xx implement code to handle RS485 ioctls.
In order to avoid code duplication, we implement a simple ioctl handler on the serial_core layer.
This handler can be used by all the other drivers instead of duplicating code.
Until this is the only RS485 ioctl handler, it will try first the rs485_config callback and if it is not present it will call the driver specific ioctl.
Reviewed-by: Alan Cox <alan@linux.intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/linux/drivers/tty/serial/ |
H A D | serial_core.c | diff a5f276f10ff70da89b349df445e944c8cd87956c Thu Nov 06 22:46:13 CET 2014 Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> serial_core: Handle TIOC[GS]RS485 ioctls.
The following drivers: 8250_core, atmel_serial, max310x, mcf, omap-serial and sci16is7xx implement code to handle RS485 ioctls.
In order to avoid code duplication, we implement a simple ioctl handler on the serial_core layer.
This handler can be used by all the other drivers instead of duplicating code.
Until this is the only RS485 ioctl handler, it will try first the rs485_config callback and if it is not present it will call the driver specific ioctl.
Reviewed-by: Alan Cox <alan@linux.intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|