#include <linux/init.h>
#include <linux/err.h>
#include <linux/isa.h>
#include <linux/delay.h>
#include <linux/time.h>
#include <linux/module.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/gus.h>
#include <sound/es1688.h>
#include <sound/mpu401.h>
#include <sound/opl3.h>
#define SNDRV_LEGACY_AUTO_PROBE
#define SNDRV_LEGACY_FIND_FREE_IRQ
#define SNDRV_LEGACY_FIND_FREE_DMA
#include <sound/initval.h>
#define CRD_NAME …
#define DEV_NAME …
MODULE_DESCRIPTION(…);
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
static int index[SNDRV_CARDS] = …;
static char *id[SNDRV_CARDS] = …;
static bool enable[SNDRV_CARDS] = …;
static long port[SNDRV_CARDS] = …;
static long gf1_port[SNDRV_CARDS] = …;
static long mpu_port[SNDRV_CARDS] = …;
static int irq[SNDRV_CARDS] = …;
static int mpu_irq[SNDRV_CARDS] = …;
static int gf1_irq[SNDRV_CARDS] = …;
static int dma8[SNDRV_CARDS] = …;
static int dma1[SNDRV_CARDS] = …;
static int joystick_dac[SNDRV_CARDS] = …;
static int channels[SNDRV_CARDS] = …;
static int pcm_channels[SNDRV_CARDS] = …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
module_param_hw_array(port, long, ioport, NULL, 0444);
MODULE_PARM_DESC(…) …;
module_param_hw_array(gf1_port, long, ioport, NULL, 0444);
MODULE_PARM_DESC(…) …;
module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
MODULE_PARM_DESC(…) …;
module_param_hw_array(irq, int, irq, NULL, 0444);
MODULE_PARM_DESC(…) …;
module_param_hw_array(mpu_irq, int, irq, NULL, 0444);
MODULE_PARM_DESC(…) …;
module_param_hw_array(gf1_irq, int, irq, NULL, 0444);
MODULE_PARM_DESC(…) …;
module_param_hw_array(dma8, int, dma, NULL, 0444);
MODULE_PARM_DESC(…) …;
module_param_hw_array(dma1, int, dma, NULL, 0444);
MODULE_PARM_DESC(…) …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
module_param_array(…);
MODULE_PARM_DESC(…) …;
static int snd_gusextreme_match(struct device *dev, unsigned int n)
{ … }
static int snd_gusextreme_es1688_create(struct snd_card *card,
struct snd_es1688 *chip,
struct device *dev, unsigned int n)
{ … }
static int snd_gusextreme_gus_card_create(struct snd_card *card,
struct device *dev, unsigned int n,
struct snd_gus_card **rgus)
{ … }
static int snd_gusextreme_detect(struct snd_gus_card *gus,
struct snd_es1688 *es1688)
{ … }
static int snd_gusextreme_mixer(struct snd_card *card)
{ … }
static int snd_gusextreme_probe(struct device *dev, unsigned int n)
{ … }
static struct isa_driver snd_gusextreme_driver = …;
module_isa_driver(snd_gusextreme_driver, SNDRV_CARDS);