tty: moxa: remove driver.
Subsystems (2)
Greg Kroah-Hartman
maintainerPATCH v2 1/1 tty: moxa: remove driver.
This is a very old driver, and no known hardware is still around for it, and the company says they do not need it anymore, so let's remove it as the LLMs are starting to poke at it and find "interesting" things which will just waste everyone's time given it's not actually used.
So let's drop it. If someone really needs it, it can come back in the future, in a more "modern" way, as the style here is very old...
---
Changes in v2:
- remove the MAINTAINERS reference
- remove the devices.txt char device number
- Link to v1: https://lore.kernel.org/r/2026080345-unmapped-sliced-49f2@gregkh
--- Documentation/admin-guide/devices.txt | 13 +- MAINTAINERS | 2 +- drivers/tty/Kconfig | 10 - drivers/tty/Makefile | 1 - drivers/tty/moxa.c | 2137 --------------------------------- 5 files changed, 3 insertions(+), 2160 deletions(-)
Documentation/admin-guide/devices.txt +2 -11
@@ -2388,18 +2388,9 @@ 171 char Reserved for IEEE 1394 (Firewire) - 172 char Moxa Intellio serial card - 0 = /dev/ttyMX0 First Moxa port - 1 = /dev/ttyMX1 Second Moxa port - ... - 127 = /dev/ttyMX127 128th Moxa port - 128 = /dev/moxactl Moxa control port + 172 char - 173 char Moxa Intellio serial card - alternate devices - 0 = /dev/cumx0 Callout device for ttyMX0 - 1 = /dev/cumx1 Callout device for ttyMX1 - ... - 127 = /dev/cumx127 Callout device for ttyMX127 + 173 char 174 char SmartIO serial card 0 = /dev/ttySI0 First SmartIO port
MAINTAINERS +1 -1
@@ -18237,7 +18237,7 @@ F: Documentation/devicetree/bindings/net/dsa/motorcomm,yt921x.yaml F: drivers/net/dsa/yt921x.* F: net/dsa/tag_yt921x.c -MOXA SMARTIO/INDUSTIO/INTELLIO SERIAL CARD +MOXA SMARTIO/INDUSTIO SERIAL CARD M: Jiri Slaby <[email protected]> S: Maintained F: Documentation/driver-api/tty/moxa-smartio.rst
drivers/tty/Kconfig +0 -10
@@ -208,16 +208,6 @@ config SERIAL_NONSTANDARD Most people can say N here. -config MOXA_INTELLIO - tristate "Moxa Intellio support" - depends on SERIAL_NONSTANDARD && PCI - select FW_LOADER - help - Say Y here if you have a Moxa Intellio multiport serial card. - - To compile this driver as a module, choose M here: the - module will be called moxa. - config MOXA_SMARTIO tristate "Moxa SmartIO support v. 2.0" depends on SERIAL_NONSTANDARD && PCI && HAS_IOPORT
drivers/tty/Makefile +0 -1
@@ -17,7 +17,6 @@ obj-$(CONFIG_SERIAL_DEV_BUS) += serdev/ # tty drivers obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o -obj-$(CONFIG_MOXA_INTELLIO) += moxa.o obj-$(CONFIG_MOXA_SMARTIO) += mxser.o obj-$(CONFIG_NOZOMI) += nozomi.o obj-$(CONFIG_NULL_TTY) += ttynull.o
drivers/tty/moxa.c deleted +0 -2137
2,137 lines not on this page · raw message
---
base-commit: 355b329694c9dd064d45286e56d5ef9482692b1b
change-id: 20260804-x-remove-moxa-426e35c77136
Best regards,
Signature · 1 line
Greg Kroah-Hartman <[email protected]>
Quoted 7 lines · Greg Kroah-Hartman
This is a very old driver, and no known hardware is still around for it, and the company says they do not need it anymore, so let's remove it as the LLMs are starting to poke at it and find "interesting" things which will just waste everyone's time given it's not actually used.
So let's drop it. If someone really needs it, it can come back in the future, in a more "modern" way, as the style here is very old...
The removal looks good to me.
With drivers/tty/moxa.c removed, the following device IDs in include/linux/pci_ids.h would have no remaining users:
- PCI_DEVICE_ID_MOXA_CP204J
- PCI_DEVICE_ID_MOXA_C218
- PCI_DEVICE_ID_MOXA_C320
Would it make sense to remove them as part of this patch as well?
--
Thanks
Crescent Hsieh
Greg Kroah-Hartman
maintainerQuoted 6 lines · Crescent Hsieh
Quoted 5 lines · Greg Kroah-Hartman
This is a very old driver, and no known hardware is still around for it, and the company says they do not need it anymore, so let's remove it as the LLMs are starting to poke at it and find "interesting" things which will just waste everyone's time given it's not actually used.
Quoted 6 lines
Quoted 2 lines
So let's drop it. If someone really needs it, it can come back in the future, in a more "modern" way, as the style here is very old...
The removal looks good to me.
Acked-by Crescent Hsieh <[email protected]>
Thanks for the ack.
Quoted 8 lines
With
drivers/tty/moxa.cremoved, the following device IDs ininclude/linux/pci_ids.hwould have no remaining users:-
PCI_DEVICE_ID_MOXA_CP204J
-PCI_DEVICE_ID_MOXA_C218
-PCI_DEVICE_ID_MOXA_C320Would it make sense to remove them as part of this patch as well?
I'll remove them as a separate patch.
thanks,
greg k-h
Quoted 5 lines · Greg Kroah-Hartman
This is a very old driver, and no known hardware is still around for it, and the company says they do not need it anymore, so let's remove it as the LLMs are starting to poke at it and find "interesting" things which will just waste everyone's time given it's not actually used.
Quoted 7 lines
So let's drop it. If someone really needs it, it can come back in the future, in a more "modern" way, as the style here is very old...
Cc Crescent Hsieh <[email protected]>Reported-by Jiri Slaby <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
thanks,
Signature · 2 lines
js suse labs