Skip to contentSkip to conversation

char/mwave: drop it

PATCH Superseded Jiri Slaby (SUSE) 1 participant 1 message Nov 24, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 char/mwave: drop it

When I tried to clean up the driver a bit, Arnd noted:

Quoted 6 lines

According to thinkwiki.de, the 3780i modem was only used in a couple of Thinkpad models that are now over 25 years old, using Pentium II processors, and they all have a physical RS232 port that can be used to connect an external modem instead.

Maybe we can just retire this driver?

So instead of the clean up, drop the driver altogether.

---
I am not sure what you meant by "retire this driver"? If dropping, this is the patch :).

---
 Documentation/admin-guide/devices.txt         |   2 +-
 .../userspace-api/ioctl/ioctl-number.rst      |   1 -
 drivers/char/Kconfig                          |  26 -
 drivers/char/Makefile                         |   1 -
 drivers/char/mwave/3780i.c                    | 738 ------------------
 drivers/char/mwave/3780i.h                    | 358 ---------
 drivers/char/mwave/Makefile                   |  16 -
 drivers/char/mwave/README                     |  47 --
 drivers/char/mwave/mwavedd.c                  | 703 -----------------
 drivers/char/mwave/mwavedd.h                  | 152 ----
 drivers/char/mwave/mwavepub.h                 |  89 ---
 drivers/char/mwave/smapi.c                    | 572 --------------
 drivers/char/mwave/smapi.h                    |  76 --
 drivers/char/mwave/tp3780i.c                  | 574 --------------
 drivers/char/mwave/tp3780i.h                  | 103 ---
 include/linux/miscdevice.h                    |   1 -
 16 files changed, 1 insertion(+), 3458 deletions(-)
 delete mode 100644 drivers/char/mwave/3780i.c
 delete mode 100644 drivers/char/mwave/3780i.h
 delete mode 100644 drivers/char/mwave/Makefile
 delete mode 100644 drivers/char/mwave/README
 delete mode 100644 drivers/char/mwave/mwavedd.c
 delete mode 100644 drivers/char/mwave/mwavedd.h
 delete mode 100644 drivers/char/mwave/mwavepub.h
 delete mode 100644 drivers/char/mwave/smapi.c
 delete mode 100644 drivers/char/mwave/smapi.h
 delete mode 100644 drivers/char/mwave/tp3780i.c
 delete mode 100644 drivers/char/mwave/tp3780i.h
Documentation/admin-guide/devices.txt +1 -1
index 94c98be1329a..0fbde7d8dc78 100644
@@ -352,7 +352,7 @@
 		216 = /dev/fujitsu/apanel	Fujitsu/Siemens application panel
 		217 = /dev/ni/natmotn		National Instruments Motion
 		218 = /dev/kchuid	Inter-process chuid control
-		219 = /dev/modems/mwave	MWave modem firmware upload
+		219 =
 		220 = /dev/mptctl	Message passing technology (MPT) control
 		221 = /dev/mvista/hssdsi	Montavista PICMG hot swap system driver
 		222 = /dev/mvista/hasi		Montavista PICMG high availability
Documentation/userspace-api/ioctl/ioctl-number.rst +0 -1
index 7232b3544cec..6fbd9fbcc43f 100644
@@ -397,7 +397,6 @@ Code  Seq#    Include File                                             Comments
 0xCD  01     linux/reiserfs_fs.h                                       Dead since 6.13
 0xCE  01-02  uapi/linux/cxl_mem.h                                      Compute Express Link Memory Devices
 0xCF  02     fs/smb/client/cifs_ioctl.h
-0xDB  00-0F  drivers/char/mwave/mwavepub.h
 0xDD  00-3F                                                            ZFCP device driver see drivers/s390/scsi/
                                                                        <mailto:[email protected]>
 0xE5  00-3F  linux/fuse.h
drivers/char/Kconfig +0 -26
index d2cfc584e202..2a3a37b2cf3c 100644
@@ -249,32 +249,6 @@ config SONYPI
 	  To compile this driver as a module, choose M here: the
 	  module will be called sonypi.
 
-config MWAVE
-	tristate "ACP Modem (Mwave) support"
-	depends on X86 && TTY
-	select SERIAL_8250
-	help
-	  The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
-	  kernel driver and a user level application. Together these components
-	  support direct attachment to public switched telephone networks (PSTNs)
-	  and support selected world wide countries.
-
-	  This version of the ACP Modem driver supports the IBM Thinkpad 600E,
-	  600, and 770 that include on board ACP modem hardware.
-
-	  The modem also supports the standard communications port interface
-	  (ttySx) and is compatible with the Hayes AT Command Set.
-
-	  The user level application needed to use this driver can be found at
-	  the IBM Linux Technology Center (LTC) web site:
-	  <http://www.ibm.com/linux/ltc/>.
-
-	  If you own one of the above IBM Thinkpads which has the Mwave chipset
-	  in it, say Y.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called mwave.
-
 config SCx200_GPIO
 	tristate "NatSemi SCx200 GPIO Support"
 	depends on SCx200
drivers/char/Makefile +0 -1
index 1291369b9126..47bdc882797a 100644
@@ -33,7 +33,6 @@ obj-$(CONFIG_PC8736x_GPIO)	+= pc8736x_gpio.o
 obj-$(CONFIG_NSC_GPIO)		+= nsc_gpio.o
 obj-$(CONFIG_TELCLOCK)		+= tlclk.o
 
-obj-$(CONFIG_MWAVE)		+= mwave/
 obj-y				+= agp/
 
 obj-$(CONFIG_HANGCHECK_TIMER)	+= hangcheck-timer.o
drivers/char/mwave/3780i.c deleted +0 -738

738 lines not on this page · raw message

drivers/char/mwave/3780i.h deleted +0 -358

358 lines not on this page · raw message

drivers/char/mwave/Makefile deleted +0 -16
deleted file mode 100644
index a24fe96e3c96..000000000000
@@ -1,16 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-#
-# Makefile for ACP Modem (Mwave).
-#
-# See the README file in this directory for more info. <[email protected]>
-#
-
-obj-$(CONFIG_MWAVE) += mwave.o
-
-mwave-y := mwavedd.o smapi.o tp3780i.o 3780i.o
-
-# To have the mwave driver disable other uarts if necessary
-# ccflags-y := -DMWAVE_FUTZ_WITH_OTHER_DEVICES
-
-# To compile in lots (~20 KiB) of run-time enablable printk()s for debugging:
-ccflags-y += -DMW_TRACE
drivers/char/mwave/README deleted +0 -47

47 lines not on this page · raw message

drivers/char/mwave/mwavedd.c deleted +0 -703

703 lines not on this page · raw message

drivers/char/mwave/mwavedd.h deleted +0 -152

152 lines not on this page · raw message

drivers/char/mwave/mwavepub.h deleted +0 -89

89 lines not on this page · raw message

drivers/char/mwave/smapi.c deleted +0 -572

572 lines not on this page · raw message

drivers/char/mwave/smapi.h deleted +0 -76

76 lines not on this page · raw message

drivers/char/mwave/tp3780i.c deleted +0 -574

195 lines not on this page · raw message

drivers/char/mwave/tp3780i.h deleted +0 -103

103 lines not on this page · raw message

include/linux/miscdevice.h +0 -1
index 7d0aa718499c..fa9000f68523 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.52.0

Part of the diff is not shown here. View the raw message.