#include <linux/init.h>
#include <linux/err.h>
#include <linux/isa.h>
#include <linux/delay.h>
#include <linux/pnp.h>
#include <linux/module.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/tlv.h>
#include <sound/wss.h>
#include <sound/mpu401.h>
#include <sound/opl3.h>
#include <sound/opl4.h>
#include <sound/initval.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Massimo Piccioni <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DESCRIPTION ("OPTi92X - AD1848") |
|
| MODULE_SUPPORTED_DEVICE ("{{OPTi,82C924 (AD1848)},""{OPTi,82C925 (AD1848)},""{OAK,Mozart}}") |
|
| module_param (index, int, 0444) |
|
| MODULE_PARM_DESC (index,"Index value for opti9xx based soundcard.") |
|
| module_param (id, charp, 0444) |
|
| MODULE_PARM_DESC (id,"ID string for opti9xx based soundcard.") |
|
| module_param (port, long, 0444) |
|
| MODULE_PARM_DESC (port,"WSS port # for opti9xx driver.") |
|
| module_param (mpu_port, long, 0444) |
|
| MODULE_PARM_DESC (mpu_port,"MPU-401 port # for opti9xx driver.") |
|
| module_param (fm_port, long, 0444) |
|
| MODULE_PARM_DESC (fm_port,"FM port # for opti9xx driver.") |
|
| module_param (irq, int, 0444) |
|
| MODULE_PARM_DESC (irq,"WSS irq # for opti9xx driver.") |
|
| module_param (mpu_irq, int, 0444) |
|
| MODULE_PARM_DESC (mpu_irq,"MPU-401 irq # for opti9xx driver.") |
|
| module_param (dma1, int, 0444) |
|
| MODULE_PARM_DESC (dma1,"1st dma # for opti9xx driver.") |
|
#define CHIP_NAME "82C92x" |
#define DEV_NAME "opti92x" |
#define OPTi9XX_HW_82C924 3 |
#define OPTi9XX_HW_82C925 4 |
#define OPTi9XX_HW_82C928 1 |
#define OPTi9XX_HW_82C929 2 |
#define OPTi9XX_HW_82C930 5 |
#define OPTi9XX_HW_82C931 6 |
#define OPTi9XX_HW_82C933 7 |
#define OPTi9XX_MC_REG |
( |
|
n | ) |
n |
#define SNDRV_LEGACY_FIND_FREE_DMA |
#define SNDRV_LEGACY_FIND_FREE_IOPORT |
#define SNDRV_LEGACY_FIND_FREE_IRQ |
MODULE_DESCRIPTION |
( |
"OPTi92X - AD1848" |
| ) |
|
module_param |
( |
id |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
mpu_port |
, |
|
|
long |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
fm_port |
, |
|
|
long |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
irq |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
mpu_irq |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
dma1 |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
index |
, |
|
|
"Index value for opti9xx based soundcard." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
id |
, |
|
|
"ID string for opti9xx based soundcard." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
port |
, |
|
|
"WSS port # for opti9xx driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mpu_port |
, |
|
|
"MPU-401 port # for opti9xx driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
fm_port |
, |
|
|
"FM port # for opti9xx driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
irq |
, |
|
|
"WSS irq # for opti9xx driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mpu_irq |
, |
|
|
"MPU-401 irq # for opti9xx driver." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
dma1 |
, |
|
|
"1st dma # for opti9xx driver." |
|
|
) |
| |
MODULE_SUPPORTED_DEVICE |
( |
"{{OPTi,82C924 (AD1848)},""{OPTi,82C925 (AD1848)},""{OAK,Mozart}}" |
| ) |
|