#include <linux/init.h>
#include <linux/isa.h>
#include <linux/module.h>
#include <linux/gameport.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/wss.h>
#include <sound/opl3.h>
#include <sound/mpu401.h>
#include <sound/initval.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Ondrej Zary <[email protected]>") |
|
| MODULE_DESCRIPTION ("C-Media CMI8328") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param_array (index, int, NULL, 0444) |
|
| MODULE_PARM_DESC (index,"Index value for CMI8328 soundcard.") |
|
| module_param_array (id, charp, NULL, 0444) |
|
| MODULE_PARM_DESC (id,"ID string for CMI8328 soundcard.") |
|
| module_param_array (port, long, NULL, 0444) |
|
| MODULE_PARM_DESC (port,"Port # for CMI8328 driver.") |
|
| module_param_array (irq, int, NULL, 0444) |
|
| MODULE_PARM_DESC (irq,"IRQ # for CMI8328 driver.") |
|
| module_param_array (dma1, int, NULL, 0444) |
|
| MODULE_PARM_DESC (dma1,"DMA1 for CMI8328 driver.") |
|
| module_param_array (dma2, int, NULL, 0444) |
|
| MODULE_PARM_DESC (dma2,"DMA2 for CMI8328 driver.") |
|
| module_param_array (mpuport, long, NULL, 0444) |
|
| MODULE_PARM_DESC (mpuport,"MPU-401 port # for CMI8328 driver.") |
|
| module_param_array (mpuirq, int, NULL, 0444) |
|
| MODULE_PARM_DESC (mpuirq,"IRQ # for CMI8328 MPU-401 port.") |
|
int | array_find (int array[], int item) |
|
int | array_find_l (long array[], long item) |
|
#define CFG1_GAMEPORT (1 << 1) |
#define CFG1_SB_DISABLE (1 << 0) |
#define CFG2_MPU_ENABLE (1 << 2) |
#define SNDRV_LEGACY_FIND_FREE_DMA |
#define SNDRV_LEGACY_FIND_FREE_IOPORT |
#define SNDRV_LEGACY_FIND_FREE_IRQ |
MODULE_DESCRIPTION |
( |
"C-Media CMI8328" |
| ) |
|
module_param_array |
( |
id |
, |
|
|
charp |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
dma1 |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
dma2 |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
mpuport |
, |
|
|
long |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
mpuirq |
, |
|
|
int |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
index |
, |
|
|
"Index value for CMI8328 soundcard." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
id |
, |
|
|
"ID string for CMI8328 soundcard." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
port |
, |
|
|
"Port # for CMI8328 driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
irq |
, |
|
|
"IRQ # for CMI8328 driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
dma1 |
, |
|
|
"DMA1 for CMI8328 driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
dma2 |
, |
|
|
"DMA2 for CMI8328 driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mpuport |
, |
|
|
"MPU-401 port # for CMI8328 driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mpuirq |
, |
|
|
"IRQ # for CMI8328 MPU-401 port." |
|
|
) |
| |