0001 Module options
0002 --------------
0003
0004 The mwave module takes the following options. Note that these options
0005 are not saved by the BIOS and so do not persist after unload and reload.
0006
0007 mwave_debug=value, where value is bitwise OR of trace flags:
0008 0x0001 mwavedd api tracing
0009 0x0002 smapi api tracing
0010 0x0004 3780i tracing
0011 0x0008 tp3780i tracing
0012
0013 Tracing only occurs if the driver has been compiled with the
0014 MW_TRACE macro #defined (i.e. let ccflags-y := -DMW_TRACE
0015 in the Makefile).
0016
0017 mwave_3780i_irq=5/7/10/11/15
0018 If the dsp irq has not been setup and stored in bios by the
0019 thinkpad configuration utility then this parameter allows the
0020 irq used by the dsp to be configured.
0021
0022 mwave_3780i_io=0x130/0x350/0x0070/0xDB0
0023 If the dsp io range has not been setup and stored in bios by the
0024 thinkpad configuration utility then this parameter allows the
0025 io range used by the dsp to be configured.
0026
0027 mwave_uart_irq=3/4
0028 If the mwave's uart irq has not been setup and stored in bios by the
0029 thinkpad configuration utility then this parameter allows the
0030 irq used by the mwave uart to be configured.
0031
0032 mwave_uart_io=0x3f8/0x2f8/0x3E8/0x2E8
0033 If the uart io range has not been setup and stored in bios by the
0034 thinkpad configuration utility then this parameter allows the
0035 io range used by the mwave uart to be configured.
0036
0037 Example to enable the 3780i DSP using ttyS1 resources:
0038
0039 insmod mwave mwave_3780i_irq=10 mwave_3780i_io=0x0130 mwave_uart_irq=3 mwave_uart_io=0x2f8
0040
0041 Accessing the driver
0042 --------------------
0043
0044 You must also create a node for the driver:
0045 mkdir -p /dev/modems
0046 mknod --mode=660 /dev/modems/mwave c 10 219
0047