11da177e4SLinus TorvaldsModule options 21da177e4SLinus Torvalds-------------- 31da177e4SLinus Torvalds 41da177e4SLinus TorvaldsThe mwave module takes the following options. Note that these options 51da177e4SLinus Torvaldsare not saved by the BIOS and so do not persist after unload and reload. 61da177e4SLinus Torvalds 71da177e4SLinus Torvalds mwave_debug=value, where value is bitwise OR of trace flags: 81da177e4SLinus Torvalds 0x0001 mwavedd api tracing 91da177e4SLinus Torvalds 0x0002 smapi api tracing 101da177e4SLinus Torvalds 0x0004 3780i tracing 111da177e4SLinus Torvalds 0x0008 tp3780i tracing 121da177e4SLinus Torvalds 131da177e4SLinus Torvalds Tracing only occurs if the driver has been compiled with the 14*8ec3b843Smatt mooney MW_TRACE macro #defined (i.e. let ccflags-y := -DMW_TRACE 151da177e4SLinus Torvalds in the Makefile). 161da177e4SLinus Torvalds 171da177e4SLinus Torvalds mwave_3780i_irq=5/7/10/11/15 181da177e4SLinus Torvalds If the dsp irq has not been setup and stored in bios by the 191da177e4SLinus Torvalds thinkpad configuration utility then this parameter allows the 201da177e4SLinus Torvalds irq used by the dsp to be configured. 211da177e4SLinus Torvalds 221da177e4SLinus Torvalds mwave_3780i_io=0x130/0x350/0x0070/0xDB0 231da177e4SLinus Torvalds If the dsp io range has not been setup and stored in bios by the 241da177e4SLinus Torvalds thinkpad configuration utility then this parameter allows the 251da177e4SLinus Torvalds io range used by the dsp to be configured. 261da177e4SLinus Torvalds 271da177e4SLinus Torvalds mwave_uart_irq=3/4 281da177e4SLinus Torvalds If the mwave's uart irq has not been setup and stored in bios by the 291da177e4SLinus Torvalds thinkpad configuration utility then this parameter allows the 301da177e4SLinus Torvalds irq used by the mwave uart to be configured. 311da177e4SLinus Torvalds 321da177e4SLinus Torvalds mwave_uart_io=0x3f8/0x2f8/0x3E8/0x2E8 331da177e4SLinus Torvalds If the uart io range has not been setup and stored in bios by the 341da177e4SLinus Torvalds thinkpad configuration utility then this parameter allows the 351da177e4SLinus Torvalds io range used by the mwave uart to be configured. 361da177e4SLinus Torvalds 371da177e4SLinus TorvaldsExample to enable the 3780i DSP using ttyS1 resources: 381da177e4SLinus Torvalds 391da177e4SLinus Torvalds insmod mwave mwave_3780i_irq=10 mwave_3780i_io=0x0130 mwave_uart_irq=3 mwave_uart_io=0x2f8 401da177e4SLinus Torvalds 411da177e4SLinus TorvaldsAccessing the driver 421da177e4SLinus Torvalds-------------------- 431da177e4SLinus Torvalds 44bf6ee0aeSAdrian BunkYou must also create a node for the driver: 451da177e4SLinus Torvalds mkdir -p /dev/modems 461da177e4SLinus Torvalds mknod --mode=660 /dev/modems/mwave c 10 219 471da177e4SLinus Torvalds 48