1*4882a593SmuzhiyunModule options 2*4882a593Smuzhiyun-------------- 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunThe mwave module takes the following options. Note that these options 5*4882a593Smuzhiyunare not saved by the BIOS and so do not persist after unload and reload. 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun mwave_debug=value, where value is bitwise OR of trace flags: 8*4882a593Smuzhiyun 0x0001 mwavedd api tracing 9*4882a593Smuzhiyun 0x0002 smapi api tracing 10*4882a593Smuzhiyun 0x0004 3780i tracing 11*4882a593Smuzhiyun 0x0008 tp3780i tracing 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun Tracing only occurs if the driver has been compiled with the 14*4882a593Smuzhiyun MW_TRACE macro #defined (i.e. let ccflags-y := -DMW_TRACE 15*4882a593Smuzhiyun in the Makefile). 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun mwave_3780i_irq=5/7/10/11/15 18*4882a593Smuzhiyun If the dsp irq has not been setup and stored in bios by the 19*4882a593Smuzhiyun thinkpad configuration utility then this parameter allows the 20*4882a593Smuzhiyun irq used by the dsp to be configured. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun mwave_3780i_io=0x130/0x350/0x0070/0xDB0 23*4882a593Smuzhiyun If the dsp io range has not been setup and stored in bios by the 24*4882a593Smuzhiyun thinkpad configuration utility then this parameter allows the 25*4882a593Smuzhiyun io range used by the dsp to be configured. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun mwave_uart_irq=3/4 28*4882a593Smuzhiyun If the mwave's uart irq has not been setup and stored in bios by the 29*4882a593Smuzhiyun thinkpad configuration utility then this parameter allows the 30*4882a593Smuzhiyun irq used by the mwave uart to be configured. 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun mwave_uart_io=0x3f8/0x2f8/0x3E8/0x2E8 33*4882a593Smuzhiyun If the uart io range has not been setup and stored in bios by the 34*4882a593Smuzhiyun thinkpad configuration utility then this parameter allows the 35*4882a593Smuzhiyun io range used by the mwave uart to be configured. 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunExample to enable the 3780i DSP using ttyS1 resources: 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun insmod mwave mwave_3780i_irq=10 mwave_3780i_io=0x0130 mwave_uart_irq=3 mwave_uart_io=0x2f8 40*4882a593Smuzhiyun 41*4882a593SmuzhiyunAccessing the driver 42*4882a593Smuzhiyun-------------------- 43*4882a593Smuzhiyun 44*4882a593SmuzhiyunYou must also create a node for the driver: 45*4882a593Smuzhiyun mkdir -p /dev/modems 46*4882a593Smuzhiyun mknod --mode=660 /dev/modems/mwave c 10 219 47*4882a593Smuzhiyun 48