1139749Simp/*-
262484Scg * Copyright (c) 2000 Cameron Grant <cg@freebsd.org>
362484Scg * All rights reserved.
462484Scg *
562484Scg * Redistribution and use in source and binary forms, with or without
662484Scg * modification, are permitted provided that the following conditions
762484Scg * are met:
862484Scg * 1. Redistributions of source code must retain the above copyright
962484Scg *    notice, this list of conditions and the following disclaimer.
1062484Scg * 2. Redistributions in binary form must reproduce the above copyright
1162484Scg *    notice, this list of conditions and the following disclaimer in the
1262484Scg *    documentation and/or other materials provided with the distribution.
1362484Scg *
1462484Scg * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1562484Scg * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1662484Scg * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1762484Scg * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1862484Scg * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1962484Scg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2062484Scg * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21166364Sjoel * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2262484Scg * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23166364Sjoel * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2462484Scg * SUCH DAMAGE.
2562484Scg *
2662484Scg * $FreeBSD: releng/10.2/sys/dev/sound/driver.c 193640 2009-06-07 19:12:08Z ariff $
2762484Scg */
2862484Scg
29193640Sariff#ifdef HAVE_KERNEL_OPTION_HEADERS
30193640Sariff#include "opt_snd.h"
31193640Sariff#endif
32193640Sariff
3362484Scg#include <dev/sound/pcm/sound.h>
3462484Scg
3562484Scgstatic int
3662484Scgsnd_modevent(module_t mod, int type, void *data)
3762484Scg{
3862484Scg
3962484Scg	switch (type) {
4062484Scg	case MOD_LOAD:
4162484Scg		break;
4262484Scg	case MOD_UNLOAD:
4362484Scg		break;
4462484Scg	default:
45193640Sariff		return (ENOTSUP);
4662484Scg		break;
4762484Scg	}
4862484Scg	return 0;
4962484Scg}
5062484Scg
5162484Scgstatic moduledata_t snd_mod = {
5262484Scg	"snd_driver",
5362484Scg	snd_modevent,
5462484Scg	NULL
5562484Scg};
5662484ScgDECLARE_MODULE(snd_driver, snd_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE);
5762484ScgMODULE_VERSION(snd_driver, 1);
5862484Scg
5962484ScgMODULE_DEPEND(snd_driver, snd_ad1816, 1, 1, 1);
6075885SorionMODULE_DEPEND(snd_driver, snd_als4000, 1, 1, 1);
61152851SariffMODULE_DEPEND(snd_driver, snd_atiixp, 1, 1, 1);
6262484Scg/* MODULE_DEPEND(snd_driver, snd_aureal, 1, 1, 1); */
6374429SorionMODULE_DEPEND(snd_driver, snd_cmi, 1, 1, 1);
6474429SorionMODULE_DEPEND(snd_driver, snd_cs4281, 1, 1, 1);
6562484ScgMODULE_DEPEND(snd_driver, snd_csa, 1, 1, 1);
6662484ScgMODULE_DEPEND(snd_driver, snd_csapcm, 1, 1, 1);
6762484ScgMODULE_DEPEND(snd_driver, snd_ds1, 1, 1, 1);
68160386SnetchildMODULE_DEPEND(snd_driver, snd_emu10kx, 1, 1, 1);
69159693SnetchildMODULE_DEPEND(snd_driver, snd_envy24, 1, 1, 1);
70162933SnetchildMODULE_DEPEND(snd_driver, snd_envy24ht, 1, 1, 1);
7162484ScgMODULE_DEPEND(snd_driver, snd_es137x, 1, 1, 1);
7262484ScgMODULE_DEPEND(snd_driver, snd_ess, 1, 1, 1);
7379047ScgMODULE_DEPEND(snd_driver, snd_fm801, 1, 1, 1);
7462484ScgMODULE_DEPEND(snd_driver, snd_gusc, 1, 1, 1);
75162925SariffMODULE_DEPEND(snd_driver, snd_hda, 1, 1, 1);
7679047ScgMODULE_DEPEND(snd_driver, snd_ich, 1, 1, 1);
7766302SjhbMODULE_DEPEND(snd_driver, snd_maestro, 1, 1, 1);
7871901SscottlMODULE_DEPEND(snd_driver, snd_maestro3, 1, 1, 1);
7962484ScgMODULE_DEPEND(snd_driver, snd_mss, 1, 1, 1);
8062484ScgMODULE_DEPEND(snd_driver, snd_neomagic, 1, 1, 1);
81154709SjoelMODULE_DEPEND(snd_driver, snd_sb16, 1, 1, 1);
8268140ScgMODULE_DEPEND(snd_driver, snd_sb8, 1, 1, 1);
8362484ScgMODULE_DEPEND(snd_driver, snd_sbc, 1, 1, 1);
8464466SnsayerMODULE_DEPEND(snd_driver, snd_solo, 1, 1, 1);
85162933SnetchildMODULE_DEPEND(snd_driver, snd_spicds, 1, 1, 1);
8662484ScgMODULE_DEPEND(snd_driver, snd_t4dwave, 1, 1, 1);
87125195SmrMODULE_DEPEND(snd_driver, snd_via8233, 1, 1, 1);
8864441ScgMODULE_DEPEND(snd_driver, snd_via82c686, 1, 1, 1);
8974429SorionMODULE_DEPEND(snd_driver, snd_vibes, 1, 1, 1);
90