Skip to contentSkip to conversation

tty: moxa: remove driver.

PATCH Superseded Greg Kroah-Hartman 2 participants 6 messages Aug 3 – Aug 4 TTY layer and serial drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH 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...

---
 drivers/tty/Kconfig  |   10 -
 drivers/tty/Makefile |    1 -
 drivers/tty/moxa.c   | 2137 ------------------------------------------
 3 files changed, 2148 deletions(-)
 delete mode 100644 drivers/tty/moxa.c
drivers/tty/Kconfig +0 -10
index 5d6b0dd4d423..2ed4f1e0e9ef 100644
@@ -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
index c6a063a541fd..43aa3f93b09a 100644
@@ -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

Signature · 1 line
2.55.0
maintainer
#1 lore raw
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...

LGTM, there are leftovers though:
MAINTAINERS
18341:MOXA SMARTIO/INDUSTIO/INTELLIO SERIAL CARD

Documentation/admin-guide/devices.txt
2391: 172 char Moxa Intellio serial card
2398: 173 char Moxa Intellio serial card - alternate devices

=========

Funilly, the MAINTAINERS entry was supposed to be for both mxser (SMARTIO/INDUSTIO) and moxa (INTELLIO), but the F: pattern for moxa was never added (cf. 679655daffdd). INTELLIO should dismiss from there, nonetheless.

thanks,

Signature · 2 lines
js
suse labs
author maintainer
#2 lore raw
Quoted 9 lines · Jiri Slaby
Quoted 8 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...

Quoted 8 lines
Quoted 4 lines

LGTM, there are leftovers though:
MAINTAINERS
18341:MOXA SMARTIO/INDUSTIO/INTELLIO SERIAL CARD

As you said, that one documents the mxser.c file, not moxa.c, so should I just remove both and this entry too?

And the .rst file needs to go, right?

Quoted 3 lines

Documentation/admin-guide/devices.txt
2391: 172 char Moxa Intellio serial card
2398: 173 char Moxa Intellio serial card - alternate devices

Oops, missed that.

Quoted 6 lines

=========

Funilly, the MAINTAINERS entry was supposed to be for both mxser (SMARTIO/INDUSTIO) and moxa (INTELLIO), but the F: pattern for moxa was never added (cf. 679655daffdd). INTELLIO should dismiss from there, nonetheless.

As above, should we also just drop mxser? Same age of the hardware from what I can tell.

thanks,

greg k-h

maintainer
#3 lore raw
Quoted 15 lines · Greg Kroah-Hartman
Quoted 14 lines · Jiri Slaby
Quoted 12 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...

Quoted 8 lines
Quoted 3 lines

LGTM, there are leftovers though:
MAINTAINERS
18341:MOXA SMARTIO/INDUSTIO/INTELLIO SERIAL CARD

As you said, that one documents the mxser.c file, not moxa.c, so should I just remove both and this entry too?

And the .rst file needs to go, right?

SMARTIO/INDUSTIO = mxser is supposed to stay.
INTELLIO = moxa is being removed.

Quoted 8 lines
Quoted 3 lines

Documentation/admin-guide/devices.txt
2391: 172 char Moxa Intellio serial card
2398: 173 char Moxa Intellio serial card - alternate devices

Oops, missed that.

Quoted 2 lines

=========

Quoted 7 lines
Quoted 4 lines

Funilly, the MAINTAINERS entry was supposed to be for both mxser (SMARTIO/INDUSTIO) and moxa (INTELLIO), but the F: pattern for moxa was never added (cf. 679655daffdd). INTELLIO should dismiss from there, nonetheless.

As above, should we also just drop mxser? Same age of the hardware from what I can tell.

No, mxser is still alive hardware-wise. I have a couple of mxser PCI cards around :).

There is also a patchset to convert mxser to serial_core (even 8250_core), yet not ready:
https://lore.kernel.org/all/[email protected]/

thanks,

Signature · 2 lines
js
suse labs
maintainer
#4 lore raw
Quoted 20 lines · Jiri Slaby
Quoted 19 lines · Greg Kroah-Hartman
Quoted 17 lines · Jiri Slaby
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...

LGTM, there are leftovers though:
MAINTAINERS
18341:MOXA SMARTIO/INDUSTIO/INTELLIO SERIAL CARD

Quoted 7 lines
Quoted 4 lines

As you said, that one documents the mxser.c file, not moxa.c, so should I just remove both and this entry too?

And the .rst file needs to go, right?

SMARTIO/INDUSTIO = mxser is supposed to stay.
INTELLIO = moxa is being removed.

That being said, the "/INTELLIO" part should go.

Quoted 1 line

thanks,

Signature · 2 lines
js
suse labs
author maintainer
#5 lore raw
Quoted 27 lines · Jiri Slaby
Quoted 26 lines · Jiri Slaby
Quoted 25 lines · Greg Kroah-Hartman
Quoted 17 lines · Jiri Slaby
Quoted 9 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...

Quoted 6 lines

Link:
https://lore.kernel.org/all/afqyY8FQ8ZfpH48_@moxa-ThinkCentre-
M90t/

Quoted 3 lines

LGTM, there are leftovers though:
MAINTAINERS
18341:MOXA SMARTIO/INDUSTIO/INTELLIO SERIAL CARD

As you said, that one documents the mxser.c file, not moxa.c, so should I just remove both and this entry too?

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

And the .rst file needs to go, right?

SMARTIO/INDUSTIO = mxser is supposed to stay.
INTELLIO = moxa is being removed.

That being said, the "/INTELLIO" part should go.

Great, will do that, thanks!

greg k-h