#include <linux/init.h>
#include <linux/pci.h>
#include <linux/time.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <sound/core.h>
#include <sound/ac97_codec.h>
#include <sound/initval.h>
#include "sis7019.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("David Dillow <[email protected]>") |
|
| MODULE_DESCRIPTION ("SiS7019") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_SUPPORTED_DEVICE ("{{SiS,SiS7019 Audio Accelerator}}") |
|
| module_param (index, int, 0444) |
|
| MODULE_PARM_DESC (index,"Index value for SiS7019 Audio Accelerator.") |
|
| module_param (id, charp, 0444) |
|
| MODULE_PARM_DESC (id,"ID string for SiS7019 Audio Accelerator.") |
|
| module_param (enable, bool, 0444) |
|
| MODULE_PARM_DESC (enable,"Enable SiS7019 Audio Accelerator.") |
|
| module_param (codecs, int, 0444) |
|
| MODULE_PARM_DESC (codecs,"Set bit to indicate that codec number is expected to be present (default 1)") |
|
| MODULE_DEVICE_TABLE (pci, snd_sis7019_ids) |
|
| module_pci_driver (sis7019_driver) |
|
#define SIS_PRIMARY_CODEC_PRESENT 0x0001 |
#define SIS_SECONDARY_CODEC_PRESENT 0x0002 |
#define SIS_SUSPEND_PAGES 1 |
#define SIS_TERTIARY_CODEC_PRESENT 0x0004 |
#define VOICE_SSO_TIMING 4 |
#define VOICE_SYNC_TIMING 8 |
MODULE_DESCRIPTION |
( |
"SiS7019" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
snd_sis7019_ids |
|
|
) |
| |
module_param |
( |
id |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
codecs |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
enable |
, |
|
|
"Enable SiS7019 Audio Accelerator." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
codecs |
, |
|
|
"Set bit to indicate that codec number is expected to be present (default 1)" |
|
|
) |
| |
module_pci_driver |
( |
sis7019_driver |
| ) |
|
MODULE_SUPPORTED_DEVICE |
( |
"{{SiS,SiS7019 Audio Accelerator}}" |
| ) |
|