tty: reformat tty_struct::flags into kernel-docMove the partial tty_struct::flags documentation from tty_ldisc to thetty.h header and combine it with the one-liners present there. Convertall thos
tty: reformat tty_struct::flags into kernel-docMove the partial tty_struct::flags documentation from tty_ldisc to thetty.h header and combine it with the one-liners present there. Convertall those to kernel-doc. This way, we can simply reference thedocumentation in Documentation while the text is still along thedefinitions.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20211126081611.11001-10-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
tty: combine tty_ldisc_ops docs into kernel-docIn Documentation/driver-api/serial/tty.rst, there are duplicated textsabout some struct tty_ldisc_ops' hooks. Combine them into existingkernel-doc c
tty: combine tty_ldisc_ops docs into kernel-docIn Documentation/driver-api/serial/tty.rst, there are duplicated textsabout some struct tty_ldisc_ops' hooks. Combine them into existingkernel-doc comments of struct tty_ldisc_ops and drop them from theDocumentation/.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20211126081611.11001-9-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tty: combine tty_operations triple docs into kernel-docIn Documentation/driver-api/serial/tty.rst, there are triplicated textsabout some struct tty_operations' hooks. Combine them into existingke
tty: combine tty_operations triple docs into kernel-docIn Documentation/driver-api/serial/tty.rst, there are triplicated textsabout some struct tty_operations' hooks. Combine them into existingkernel-doc comments of struct tty_operations and drop them from theDocumentation/.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20211126081611.11001-8-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tty: make tty_ldisc_ops::hangup return voidThe documentation says that the return value of tty_ldisc_ops::hanguphook is ignored. And it really is, so there is no point for its returntype to be in
tty: make tty_ldisc_ops::hangup return voidThe documentation says that the return value of tty_ldisc_ops::hanguphook is ignored. And it really is, so there is no point for its returntype to be int. Switch it to void and all the hooks too.Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>Cc: Wolfgang Grandegger <wg@grandegger.com>Cc: Marc Kleine-Budde <mkl@pengutronix.de>Cc: "David S. Miller" <davem@davemloft.net>Cc: Jakub Kicinski <kuba@kernel.org>Cc: Paul Mackerras <paulus@samba.org>Cc: Liam Girdwood <lgirdwood@gmail.com>Cc: Mark Brown <broonie@kernel.org>Cc: Jaroslav Kysela <perex@perex.cz>Cc: Takashi Iwai <tiwai@suse.com>Cc: Peter Ujfalusi <peter.ujfalusi@gmail.com>Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>Acked-by: Mark Brown <broonie@kernel.org>Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20210914091134.17426-4-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tty: n_gsm: Add some instructions and code for requesterThe gsm driver can configure initiator or requester by parameterinitiator,but the config code and using are different ,the doc hasinitiator
tty: n_gsm: Add some instructions and code for requesterThe gsm driver can configure initiator or requester by parameterinitiator,but the config code and using are different ,the doc hasinitiator instructions only,it should be add instructions for requester.Signed-off-by: Zhenguo Zhao <Zhenguo.Zhao1@unisoc.com>Link: https://lore.kernel.org/r/1629461872-26965-1-git-send-email-zhenguo6858@gmail.comSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mxser: Documentation, fix typosFix some typos in the mxser's documentation.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20210618061516.662-70-jslaby@suse.czSigned-o
mxser: Documentation, fix typosFix some typos in the mxser's documentation.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20210618061516.662-70-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mxser: Documentation, make the docs up-to-dateRemove all the obsolete information from the documentation of mxserdriver. Either it was about the out-of-tree driver, or it was supersededby udev et
mxser: Documentation, make the docs up-to-dateRemove all the obsolete information from the documentation of mxserdriver. Either it was about the out-of-tree driver, or it was supersededby udev et al.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20210618061516.662-69-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mxser: Documentation, remove traces of callout deviceCallout devices are ancient history, so remove its traces from mxser'sdocumentation.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://
mxser: Documentation, remove traces of callout deviceCallout devices are ancient history, so remove its traces from mxser'sdocumentation.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20210618061516.662-68-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mxser: drop ISA supportWhile mxser PCI cards are still around and produced (Moxa provided mewith two recently), ISA cards are obsolete for a long time. I haven'tseen anyone using the cards and th
mxser: drop ISA supportWhile mxser PCI cards are still around and produced (Moxa provided mewith two recently), ISA cards are obsolete for a long time. I haven'tseen anyone using the cards and the ISA code paths are barely tested.Hence, remove ISA support from mxser driver so that we can clean thedriver up.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20210618061516.662-2-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Remove link to nonexistent rocket driver docsThe rocket driver and documentation were removed in this commit, butthe corresponding entry in index.rst was not removed.Signed-off-by: Desmond Cheon
Remove link to nonexistent rocket driver docsThe rocket driver and documentation were removed in this commit, butthe corresponding entry in index.rst was not removed.Signed-off-by: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>Fixes: 3b00b6af7a5b ("tty: rocket, remove the driver")Link: https://lore.kernel.org/r/20210511134937.2442291-1-desmondcheongzx@gmail.comSigned-off-by: Jonathan Corbet <corbet@lwn.net>
tty: rocket, remove the driverWhile the driver is still marked as maintained in MAINTAINERS, Comtroldoes not really care about this ancient driver. They are stillmanufacturing serial devices, but
tty: rocket, remove the driverWhile the driver is still marked as maintained in MAINTAINERS, Comtroldoes not really care about this ancient driver. They are stillmanufacturing serial devices, but those are controlled only byout-of-tree drivers.Comtrol didn't answer my pings, so this driver is apparentlyunmaintained. Aside from that, the driver was untouched for years, onlywhole-tree changes happened during the past years. The driver needs muchmore care, so drop it for now. If someone steps up to reintroduce it,they need to clean it up first.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20210302062214.29627-7-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tty: cyclades, remove this orphanThe Cyclades driver was orphaned by commit d459883e6c54 (MAINTAINERS:remove two dead e-mail) 13 years ago. Noone stepped up to take care ofthem and to fix all the
tty: cyclades, remove this orphanThe Cyclades driver was orphaned by commit d459883e6c54 (MAINTAINERS:remove two dead e-mail) 13 years ago. Noone stepped up to take care ofthem and to fix all the issues the driver has.On the top of that, there is no way to obtain the firmware for Z cardsfrom the vendor as cyclades.com ceased to exist.So it's time to drop the driver with all its traces.Signed-off-by: Jiri Slaby <jslaby@suse.cz>Link: https://lore.kernel.org/r/20210302062214.29627-5-jslaby@suse.czSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tty: vt: Replace HTTP links with HTTPS onesRationale:Reduces attack surface on kernel devs opening the links for MITMas HTTPS traffic is much harder to manipulate.Deterministic algorithm:For e
tty: vt: Replace HTTP links with HTTPS onesRationale:Reduces attack surface on kernel devs opening the links for MITMas HTTPS traffic is much harder to manipulate.Deterministic algorithm:For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS.Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>Link: https://lore.kernel.org/r/20200718133452.24290-1-grandmaster@al2klimov.deSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tty: n_gsm: add ioctl to map serial device to mux'ed ttyGuessing the first tty for a gsm0710 multiplexed serial device is notcurrently possible, which makes it racy to use with multiple modems.A
tty: n_gsm: add ioctl to map serial device to mux'ed ttyGuessing the first tty for a gsm0710 multiplexed serial device is notcurrently possible, which makes it racy to use with multiple modems.Add a way to map the physical serial tty to its related mux devicesusing an ioctl.Signed-off-by: Martin Hundebøll <martin@geanix.com>Link: https://lore.kernel.org/r/20190812211243.98686-1-martin@geanix.comSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tty: n_gsm: update doc example to use header for N_GSM0710 defineThere is no reason to gues the line discipline number when it isavailable from tty.hSigned-off-by: Martin Hundebøll <martin@geani
tty: n_gsm: update doc example to use header for N_GSM0710 defineThere is no reason to gues the line discipline number when it isavailable from tty.hSigned-off-by: Martin Hundebøll <martin@geanix.com>Link: https://lore.kernel.org/r/20190710192656.60381-2-martin@geanix.comSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tty: n_gsm: remove obsolete mknod doc exampleThe n_gsm driver handles registration of /dev/gsmttyX nodes, so there'sno need to do mknod manually.Signed-off-by: Martin Hundebøll <martin@geanix.co
tty: n_gsm: remove obsolete mknod doc exampleThe n_gsm driver handles registration of /dev/gsmttyX nodes, so there'sno need to do mknod manually.Signed-off-by: Martin Hundebøll <martin@geanix.com>Link: https://lore.kernel.org/r/20190710192656.60381-1-martin@geanix.comSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
docs: serial: move it to the driver-apiThe contents of this directory is mostly driver-api stuff.Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
12