linux/sound/isa/ad1816a/ad1816a.c

// SPDX-License-Identifier: GPL-2.0-or-later

/*
    card-ad1816a.c - driver for ADI SoundPort AD1816A based soundcards.
    Copyright (C) 2000 by Massimo Piccioni <[email protected]>

*/

#include <linux/init.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/pnp.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/ad1816a.h>
#include <sound/mpu401.h>
#include <sound/opl3.h>

#define PFX

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

static int index[SNDRV_CARDS] =;	/* Index 1-MAX */
static char *id[SNDRV_CARDS] =;	/* ID for this card */
static bool enable[SNDRV_CARDS] =;	/* Enable this card */
static long port[SNDRV_CARDS] =;	/* PnP setup */
static long mpu_port[SNDRV_CARDS] =;	/* PnP setup */
static long fm_port[SNDRV_CARDS] =;	/* PnP setup */
static int irq[SNDRV_CARDS] =;	/* Pnp setup */
static int mpu_irq[SNDRV_CARDS] =;	/* Pnp setup */
static int dma1[SNDRV_CARDS] =;	/* PnP setup */
static int dma2[SNDRV_CARDS] =;	/* PnP setup */
static int clockfreq[SNDRV_CARDS];

module_param_array();
MODULE_PARM_DESC();
module_param_array();
MODULE_PARM_DESC();
module_param_array();
MODULE_PARM_DESC();
module_param_array();
MODULE_PARM_DESC();

static const struct pnp_card_device_id snd_ad1816a_pnpids[] =;

MODULE_DEVICE_TABLE(pnp_card, snd_ad1816a_pnpids);


#define DRIVER_NAME


static int snd_card_ad1816a_pnp(int dev, struct pnp_card_link *card,
				const struct pnp_card_device_id *id)
{}

static int snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard,
				  const struct pnp_card_device_id *pid)
{}

static unsigned int ad1816a_devices;

static int snd_ad1816a_pnp_detect(struct pnp_card_link *card,
				  const struct pnp_card_device_id *id)
{}

#ifdef CONFIG_PM
static int snd_ad1816a_pnp_suspend(struct pnp_card_link *pcard,
				   pm_message_t state)
{}

static int snd_ad1816a_pnp_resume(struct pnp_card_link *pcard)
{}
#endif

static struct pnp_card_driver ad1816a_pnpc_driver =;

static int __init alsa_card_ad1816a_init(void)
{}

static void __exit alsa_card_ad1816a_exit(void)
{}

module_init()
module_exit()