#include <linux/init.h>
#include <linux/pnp.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/mpu401.h>
#include <sound/initval.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>") |
|
| MODULE_DESCRIPTION ("MPU-401 UART") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param_array (index, int, NULL, 0444) |
|
| MODULE_PARM_DESC (index,"Index value for MPU-401 device.") |
|
| module_param_array (id, charp, NULL, 0444) |
|
| MODULE_PARM_DESC (id,"ID string for MPU-401 device.") |
|
| module_param_array (enable, bool, NULL, 0444) |
|
| MODULE_PARM_DESC (enable,"Enable MPU-401 device.") |
|
| module_param_array (port, long, NULL, 0444) |
|
| MODULE_PARM_DESC (port,"Port # for MPU-401 device.") |
|
| module_param_array (irq, int, NULL, 0444) |
|
| MODULE_PARM_DESC (irq,"IRQ # for MPU-401 device.") |
|
| module_param_array (uart_enter, bool, NULL, 0444) |
|
| MODULE_PARM_DESC (uart_enter,"Issue UART_ENTER command at open.") |
|
#define SND_MPU401_DRIVER "snd_mpu401" |
MODULE_DESCRIPTION |
( |
"MPU-401 UART" |
| ) |
|
module_param_array |
( |
id |
, |
|
|
charp |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
uart_enter |
, |
|
|
bool |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
id |
, |
|
|
"ID string for MPU-401 device." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
enable |
, |
|
|
"Enable MPU-401 device." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
port |
, |
|
|
"Port # for MPU-401 device." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
irq |
, |
|
|
"IRQ # for MPU-401 device." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
uart_enter |
, |
|
|
"Issue UART_ENTER command at open." |
|
|
) |
| |