Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/isa.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/wss.h>
#include <sound/opl3.h>
#include <sound/mpu401.h>
#include <sound/control.h>
#include <sound/initval.h>
Go to the source code of this file.
Macros | |
#define | SNDRV_LEGACY_FIND_FREE_IRQ |
#define | SNDRV_LEGACY_FIND_FREE_DMA |
#define | WRITE_MDIRQ_CFG 0x50 /* Set M&I&DRQ mask (the real config) */ |
#define | COMMAND_52 0x52 /* */ |
#define | READ_HARD_CFG 0x58 /* Read Hardware Config (I/O base etc) */ |
#define | COMMAND_5C 0x5c /* */ |
#define | COMMAND_60 0x60 /* */ |
#define | COMMAND_66 0x66 /* */ |
#define | COMMAND_6C 0x6c /* */ |
#define | COMMAND_6E 0x6e /* */ |
#define | COMMAND_88 0x88 /* Unknown command */ |
#define | DSP_INIT_MSS 0x8c /* Enable Microsoft Sound System mode */ |
#define | COMMAND_C5 0xc5 /* */ |
#define | GET_DSP_VERSION 0xe1 /* Get DSP Version */ |
#define | GET_DSP_COPYRIGHT 0xe3 /* Get DSP Copyright */ |
#define | DSP_RESET 0x06 /* offset of DSP RESET (wo) */ |
#define | DSP_READ 0x0a /* offset of DSP READ (ro) */ |
#define | DSP_WRITE 0x0c /* offset of DSP WRITE (w-) */ |
#define | DSP_COMMAND 0x0c /* offset of DSP COMMAND (w-) */ |
#define | DSP_STATUS 0x0c /* offset of DSP STATUS (r-) */ |
#define | DSP_DATAVAIL 0x0e /* offset of DSP DATA AVAILABLE (ro) */ |
#define | PFX "sc6000: " |
#define | DRV_NAME "SC-6000" |
Functions | |
MODULE_AUTHOR ("Krzysztof Helt") | |
MODULE_DESCRIPTION ("Gallant SC-6000") | |
MODULE_LICENSE ("GPL") | |
MODULE_SUPPORTED_DEVICE ("{{Gallant, SC-6000},""{AudioExcel, Audio Excel DSP 16},""{Zoltrix, AV302}}") | |
module_param_array (index, int, NULL, 0444) | |
MODULE_PARM_DESC (index,"Index value for sc-6000 based soundcard.") | |
module_param_array (id, charp, NULL, 0444) | |
MODULE_PARM_DESC (id,"ID string for sc-6000 based soundcard.") | |
module_param_array (enable, bool, NULL, 0444) | |
MODULE_PARM_DESC (enable,"Enable sc-6000 based soundcard.") | |
module_param_array (port, long, NULL, 0444) | |
MODULE_PARM_DESC (port,"Port # for sc-6000 driver.") | |
module_param_array (mss_port, long, NULL, 0444) | |
MODULE_PARM_DESC (mss_port,"MSS Port # for sc-6000 driver.") | |
module_param_array (mpu_port, long, NULL, 0444) | |
MODULE_PARM_DESC (mpu_port,"MPU-401 port # for sc-6000 driver.") | |
module_param_array (irq, int, NULL, 0444) | |
MODULE_PARM_DESC (irq,"IRQ # for sc-6000 driver.") | |
module_param_array (mpu_irq, int, NULL, 0444) | |
MODULE_PARM_DESC (mpu_irq,"MPU-401 IRQ # for sc-6000 driver.") | |
module_param_array (dma, int, NULL, 0444) | |
MODULE_PARM_DESC (dma,"DMA # for sc-6000 driver.") | |
module_param_array (joystick, bool, NULL, 0444) | |
MODULE_PARM_DESC (joystick,"Enable gameport.") | |
#define DSP_DATAVAIL 0x0e /* offset of DSP DATA AVAILABLE (ro) */ |
#define DSP_INIT_MSS 0x8c /* Enable Microsoft Sound System mode */ |
#define READ_HARD_CFG 0x58 /* Read Hardware Config (I/O base etc) */ |
#define WRITE_MDIRQ_CFG 0x50 /* Set M&I&DRQ mask (the real config) */ |
MODULE_AUTHOR | ( | "Krzysztof Helt" | ) |
MODULE_DESCRIPTION | ( | "Gallant SC-6000" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | joystick | , |
"Enable gameport." | |||
) |