char/mwave: drop it
Subsystems (2)
PATCH v2 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 :).
[v2] rebased on the top of changes accepted to the char tree
--- 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 | 536 ------------------ drivers/char/mwave/3780i.h | 358 ------------ drivers/char/mwave/Makefile | 10 - drivers/char/mwave/README | 37 -- drivers/char/mwave/mwavedd.c | 432 -------------- drivers/char/mwave/mwavedd.h | 90 --- drivers/char/mwave/mwavepub.h | 89 --- drivers/char/mwave/smapi.c | 404 ------------- drivers/char/mwave/smapi.h | 76 --- drivers/char/mwave/tp3780i.c | 477 ---------------- drivers/char/mwave/tp3780i.h | 103 ---- include/linux/miscdevice.h | 1 - 16 files changed, 1 insertion(+), 2642 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
@@ -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
@@ -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
@@ -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
@@ -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 -536
536 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 -10
@@ -1,10 +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
drivers/char/mwave/README deleted +0 -37
@@ -1,37 +0,0 @@ -Module options --------------- - -The mwave module takes the following options. Note that these options -are not saved by the BIOS and so do not persist after unload and reload. - - mwave_3780i_irq=5/7/10/11/15 - If the dsp irq has not been setup and stored in bios by the - thinkpad configuration utility then this parameter allows the - irq used by the dsp to be configured. - - mwave_3780i_io=0x130/0x350/0x0070/0xDB0 - If the dsp io range has not been setup and stored in bios by the - thinkpad configuration utility then this parameter allows the - io range used by the dsp to be configured. - - mwave_uart_irq=3/4 - If the mwave's uart irq has not been setup and stored in bios by the - thinkpad configuration utility then this parameter allows the - irq used by the mwave uart to be configured. - - mwave_uart_io=0x3f8/0x2f8/0x3E8/0x2E8 - If the uart io range has not been setup and stored in bios by the - thinkpad configuration utility then this parameter allows the - io range used by the mwave uart to be configured. - -Example to enable the 3780i DSP using ttyS1 resources: - - insmod mwave mwave_3780i_irq=10 mwave_3780i_io=0x0130 mwave_uart_irq=3 mwave_uart_io=0x2f8 - -Accessing the driver --------------------- - -You must also create a node for the driver: - mkdir -p /dev/modems - mknod --mode=660 /dev/modems/mwave c 10 219 -
drivers/char/mwave/mwavedd.c deleted +0 -432
432 lines not on this page · raw message
drivers/char/mwave/mwavedd.h deleted +0 -90
90 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 -404
404 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 -477
477 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
@@ -52,7 +52,6 @@#define PXA3XX_GCU_MINOR 197#define TUN_MINOR 200#define CUSE_MINOR 203 -#define MWAVE_MINOR 219/* ACP/Mwave Modem */ #define MPT_MINOR 220#define MPT2SAS_MINOR 221#define MPT3SAS_MINOR 222
Signature · 1 line
2.52.0