OpenCloudOS-Kernel/Documentation/driver-api/tty
Daniel Starke afe3154ba8 tty: n_gsm: add ioctl for DLC config via ldisc handle
The application which initializes the n_gsm ldisc may like to set
individual default parameters for each DLCI or take over of the application
specific DLCI configuration completely. This is currently not possible.
It is either possible to set common default parameters for all DLCIs or let
the user application set its DLCI specific configuration parameters.

Add support of GSMIOC_GETCONF_DLCI and GSMIOC_SETCONF_DLCI for the n_gsm
ldisc handle to support DLCI specific parameter configuration upfront.

Add a code example for this use case to the n_gsm documentation.

Signed-off-by: Daniel Starke <daniel.starke@siemens.com>
Link: https://lore.kernel.org/r/20230315105354.6234-3-daniel.starke@siemens.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-29 10:50:48 +02:00
..
index.rst Documentation: tty: move moxa-smartio.rst to tty 2022-04-14 18:24:24 +02:00
moxa-smartio.rst Documentation: tty: move moxa-smartio.rst to tty 2022-04-14 18:24:24 +02:00
n_gsm.rst tty: n_gsm: add ioctl for DLC config via ldisc handle 2023-03-29 10:50:48 +02:00
n_tty.rst Documentation: move tty to driver-api 2022-04-14 18:24:23 +02:00
tty_buffer.rst Documentation: move tty to driver-api 2022-04-14 18:24:23 +02:00
tty_driver.rst Documentation: move tty to driver-api 2022-04-14 18:24:23 +02:00
tty_internals.rst Documentation: move tty to driver-api 2022-04-14 18:24:23 +02:00
tty_ldisc.rst Documentation: move tty to driver-api 2022-04-14 18:24:23 +02:00
tty_port.rst Documentation: move tty to driver-api 2022-04-14 18:24:23 +02:00
tty_struct.rst Documentation: move tty to driver-api 2022-04-14 18:24:23 +02:00