linux/sound/isa/sb/sb8.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Driver for SoundBlaster 1.0/2.0/Pro soundcards and compatible
 *  Copyright (c) by Jaroslav Kysela <[email protected]>
 */

#include <linux/init.h>
#include <linux/err.h>
#include <linux/isa.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/sb.h>
#include <sound/opl3.h>
#include <sound/initval.h>

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();

static int index[SNDRV_CARDS] =;	/* Index 0-MAX */
static char *id[SNDRV_CARDS] =;	/* ID for this card */
static bool enable[SNDRV_CARDS] =;	/* Enable this card */
static long port[SNDRV_CARDS] =;	/* 0x220,0x240,0x260 */
static int irq[SNDRV_CARDS] =;	/* 5,7,9,10 */
static int dma8[SNDRV_CARDS] =;	/* 1,3 */

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(irq, int, irq, NULL, 0444);
MODULE_PARM_DESC();
module_param_hw_array(dma8, int, dma, NULL, 0444);
MODULE_PARM_DESC();

struct snd_sb8 {};

static irqreturn_t snd_sb8_interrupt(int irq, void *dev_id)
{}

static int snd_sb8_match(struct device *pdev, unsigned int dev)
{}

static int snd_sb8_probe(struct device *pdev, unsigned int dev)
{}

#ifdef CONFIG_PM
static int snd_sb8_suspend(struct device *dev, unsigned int n,
			   pm_message_t state)
{}

static int snd_sb8_resume(struct device *dev, unsigned int n)
{}
#endif

#define DEV_NAME

static struct isa_driver snd_sb8_driver =;

module_isa_driver(snd_sb8_driver, SNDRV_CARDS);