mirror-linux/drivers/char/mwave
Jiri Slaby (SUSE) 00a925eee8 char/mwave: drop typedefs
typedefs are unnecessary here. They rather obfuscate the code than help.
So drop them and use the types directly.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20251119091949.825958-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-11-26 14:40:46 +01:00
..
3780i.c char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00
3780i.h char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00
Makefile char/mwave: remove printk tracing 2025-11-26 14:40:46 +01:00
README char/mwave: remove printk tracing 2025-11-26 14:40:46 +01:00
mwavedd.c char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00
mwavedd.h char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00
mwavepub.h char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00
smapi.c char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00
smapi.h char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00
tp3780i.c char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00
tp3780i.h char/mwave: drop typedefs 2025-11-26 14:40:46 +01:00

README

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