Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / char / mwave / README
blob70f8d19fb79f5deb4ead601bcd9afbf10a9ab59f
1 Module options
2 --------------
4 The mwave module takes the following options.  Note that these options
5 are not saved by the BIOS and so do not persist after unload and reload.
7   mwave_debug=value, where value is bitwise OR of trace flags:
8         0x0001 mwavedd api tracing
9         0x0002 smapi api tracing
10         0x0004 3780i tracing
11         0x0008 tp3780i tracing
13         Tracing only occurs if the driver has been compiled with the
14         MW_TRACE macro #defined  (i.e. let EXTRA_CFLAGS += -DMW_TRACE
15         in the Makefile).
17   mwave_3780i_irq=5/7/10/11/15
18         If the dsp irq has not been setup and stored in bios by the 
19         thinkpad configuration utility then this parameter allows the
20         irq used by the dsp to be configured.
22   mwave_3780i_io=0x130/0x350/0x0070/0xDB0
23         If the dsp io range has not been setup and stored in bios by the 
24         thinkpad configuration utility then this parameter allows the
25         io range used by the dsp to be configured.
27   mwave_uart_irq=3/4
28         If the mwave's uart irq has not been setup and stored in bios by the 
29         thinkpad configuration utility then this parameter allows the
30         irq used by the mwave uart to be configured.
32   mwave_uart_io=0x3f8/0x2f8/0x3E8/0x2E8
33         If the uart io range has not been setup and stored in bios by the 
34         thinkpad configuration utility then this parameter allows the
35         io range used by the mwave uart to be configured.
37 Example to enable the 3780i DSP using ttyS1 resources:
38         
39   insmod mwave mwave_3780i_irq=10 mwave_3780i_io=0x0130 mwave_uart_irq=3 mwave_uart_io=0x2f8
41 Accessing the driver
42 --------------------
44 You must also create a node for the driver.  Without devfs:
45   mkdir -p /dev/modems
46   mknod --mode=660 /dev/modems/mwave c 10 219
47 With devfs:
48   mkdir -p /dev/modems
49   ln -s ../misc/mwave /dev/modems/mwave