18c2ecf20Sopenharmony_ciModule options
28c2ecf20Sopenharmony_ci--------------
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciThe mwave module takes the following options.  Note that these options
58c2ecf20Sopenharmony_ciare not saved by the BIOS and so do not persist after unload and reload.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci  mwave_debug=value, where value is bitwise OR of trace flags:
88c2ecf20Sopenharmony_ci	0x0001 mwavedd api tracing
98c2ecf20Sopenharmony_ci	0x0002 smapi api tracing
108c2ecf20Sopenharmony_ci	0x0004 3780i tracing
118c2ecf20Sopenharmony_ci	0x0008 tp3780i tracing
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci        Tracing only occurs if the driver has been compiled with the
148c2ecf20Sopenharmony_ci        MW_TRACE macro #defined  (i.e. let ccflags-y := -DMW_TRACE
158c2ecf20Sopenharmony_ci        in the Makefile).
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci  mwave_3780i_irq=5/7/10/11/15
188c2ecf20Sopenharmony_ci	If the dsp irq has not been setup and stored in bios by the 
198c2ecf20Sopenharmony_ci	thinkpad configuration utility then this parameter allows the
208c2ecf20Sopenharmony_ci	irq used by the dsp to be configured.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci  mwave_3780i_io=0x130/0x350/0x0070/0xDB0
238c2ecf20Sopenharmony_ci	If the dsp io range has not been setup and stored in bios by the 
248c2ecf20Sopenharmony_ci	thinkpad configuration utility then this parameter allows the
258c2ecf20Sopenharmony_ci	io range used by the dsp to be configured.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci  mwave_uart_irq=3/4
288c2ecf20Sopenharmony_ci	If the mwave's uart irq has not been setup and stored in bios by the 
298c2ecf20Sopenharmony_ci	thinkpad configuration utility then this parameter allows the
308c2ecf20Sopenharmony_ci	irq used by the mwave uart to be configured.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci  mwave_uart_io=0x3f8/0x2f8/0x3E8/0x2E8
338c2ecf20Sopenharmony_ci	If the uart io range has not been setup and stored in bios by the 
348c2ecf20Sopenharmony_ci	thinkpad configuration utility then this parameter allows the
358c2ecf20Sopenharmony_ci	io range used by the mwave uart to be configured.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciExample to enable the 3780i DSP using ttyS1 resources:
388c2ecf20Sopenharmony_ci	
398c2ecf20Sopenharmony_ci  insmod mwave mwave_3780i_irq=10 mwave_3780i_io=0x0130 mwave_uart_irq=3 mwave_uart_io=0x2f8
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciAccessing the driver
428c2ecf20Sopenharmony_ci--------------------
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciYou must also create a node for the driver:
458c2ecf20Sopenharmony_ci  mkdir -p /dev/modems
468c2ecf20Sopenharmony_ci  mknod --mode=660 /dev/modems/mwave c 10 219
478c2ecf20Sopenharmony_ci
48