Remove pcm_devclass from DRIVER_MODULE invocations.
This commit is contained in:
parent
b8b05cc2b8
commit
2287364e04
@ -1206,6 +1206,6 @@ static driver_t a10codec_pcm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(a10codec, simplebus, a10codec_pcm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(a10codec, simplebus, a10codec_pcm_driver, 0, 0);
|
||||
MODULE_DEPEND(a10codec, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(a10codec, 1);
|
||||
|
@ -430,6 +430,6 @@ static driver_t a10hdmiaudio_pcm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(a10hdmiaudio, simplebus, a10hdmiaudio_pcm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(a10hdmiaudio, simplebus, a10hdmiaudio_pcm_driver, 0, 0);
|
||||
MODULE_DEPEND(a10hdmiaudio, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(a10hdmiaudio, 1);
|
||||
|
@ -964,7 +964,7 @@ static driver_t bcm2835_audio_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(bcm2835_audio, vchiq, bcm2835_audio_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(bcm2835_audio, vchiq, bcm2835_audio_driver, 0, 0);
|
||||
MODULE_DEPEND(bcm2835_audio, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(bcm2835_audio, vchiq, 1, 1, 1);
|
||||
MODULE_VERSION(bcm2835_audio, 1);
|
||||
|
@ -853,7 +853,7 @@ static driver_t ssi_pcm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(ssi, simplebus, ssi_pcm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(ssi, simplebus, ssi_pcm_driver, 0, 0);
|
||||
MODULE_DEPEND(ssi, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(ssi, sdma, 0, 0, 0);
|
||||
MODULE_VERSION(ssi, 1);
|
||||
|
@ -799,6 +799,6 @@ static driver_t sai_pcm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(sai, simplebus, sai_pcm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(sai, simplebus, sai_pcm_driver, 0, 0);
|
||||
MODULE_DEPEND(sai, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(sai, 1);
|
||||
|
@ -536,5 +536,5 @@ static driver_t audio_soc_driver = {
|
||||
sizeof(struct audio_soc_softc),
|
||||
};
|
||||
|
||||
DRIVER_MODULE(audio_soc, simplebus, audio_soc_driver, pcm_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(audio_soc, simplebus, audio_soc_driver, NULL, NULL);
|
||||
MODULE_VERSION(audio_soc, 1);
|
||||
|
@ -681,7 +681,7 @@ static driver_t ad1816_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_ad1816, isa, ad1816_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_ad1816, acpi, ad1816_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_ad1816, isa, ad1816_driver, 0, 0);
|
||||
DRIVER_MODULE(snd_ad1816, acpi, ad1816_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_ad1816, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_ad1816, 1);
|
||||
|
@ -939,7 +939,7 @@ static driver_t ess_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_ess, sbc, ess_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_ess, sbc, ess_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_ess, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(snd_ess, snd_sbc, 1, 1, 1);
|
||||
MODULE_VERSION(snd_ess, 1);
|
||||
|
@ -1894,7 +1894,7 @@ static driver_t mss_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_mss, isa, mss_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_mss, isa, mss_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_mss, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_mss, 1);
|
||||
|
||||
@ -2204,8 +2204,8 @@ static driver_t pnpmss_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_pnpmss, isa, pnpmss_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_pnpmss, acpi, pnpmss_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_pnpmss, isa, pnpmss_driver, 0, 0);
|
||||
DRIVER_MODULE(snd_pnpmss, acpi, pnpmss_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_pnpmss, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_pnpmss, 1);
|
||||
|
||||
@ -2289,7 +2289,7 @@ static driver_t guspcm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_guspcm, gusc, guspcm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_guspcm, gusc, guspcm_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_guspcm, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_guspcm, 1);
|
||||
ISA_PNP_INFO(pnpmss_ids);
|
||||
|
@ -906,7 +906,7 @@ static driver_t sb16_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_sb16, sbc, sb16_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_sb16, sbc, sb16_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_sb16, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(snd_sb16, snd_sbc, 1, 1, 1);
|
||||
MODULE_VERSION(snd_sb16, 1);
|
||||
|
@ -797,7 +797,7 @@ static driver_t sb_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_sb8, sbc, sb_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_sb8, sbc, sb_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_sb8, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(snd_sb8, snd_sbc, 1, 1, 1);
|
||||
MODULE_VERSION(snd_sb8, 1);
|
||||
|
@ -87,7 +87,7 @@ static driver_t pcm_davbus_driver = {
|
||||
PCM_SOFTC_SIZE
|
||||
};
|
||||
|
||||
DRIVER_MODULE(pcm_davbus, macio, pcm_davbus_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(pcm_davbus, macio, pcm_davbus_driver, 0, 0);
|
||||
MODULE_DEPEND(pcm_davbus, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
|
||||
/*****************************************************************************
|
||||
|
@ -120,7 +120,7 @@ static driver_t pcm_i2s_driver = {
|
||||
PCM_SOFTC_SIZE
|
||||
};
|
||||
|
||||
DRIVER_MODULE(pcm_i2s, macio, pcm_i2s_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(pcm_i2s, macio, pcm_i2s_driver, 0, 0);
|
||||
MODULE_DEPEND(pcm_i2s, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
|
||||
static int aoagpio_probe(device_t);
|
||||
|
@ -936,6 +936,6 @@ static driver_t als_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_als4000, pci, als_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_als4000, pci, als_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_als4000, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_als4000, 1);
|
||||
|
@ -1417,6 +1417,6 @@ static driver_t atiixp_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_atiixp, pci, atiixp_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_atiixp, pci, atiixp_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_atiixp, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_atiixp, 1);
|
||||
|
@ -1106,7 +1106,7 @@ static driver_t cmi_driver = {
|
||||
PCM_SOFTC_SIZE
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_cmi, pci, cmi_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_cmi, pci, cmi_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_cmi, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(snd_cmi, midi, 1,1,1);
|
||||
MODULE_VERSION(snd_cmi, 1);
|
||||
|
@ -964,6 +964,6 @@ static driver_t cs4281_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_cs4281, pci, cs4281_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_cs4281, pci, cs4281_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_cs4281, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_cs4281, 1);
|
||||
|
@ -1035,7 +1035,7 @@ static driver_t pcmcsa_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_csapcm, csa, pcmcsa_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_csapcm, csa, pcmcsa_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_csapcm, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(snd_csapcm, snd_csa, 1, 1, 1);
|
||||
MODULE_VERSION(snd_csapcm, 1);
|
||||
|
@ -2193,7 +2193,7 @@ static driver_t emu_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_emu10k1, pci, emu_driver, pcm_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(snd_emu10k1, pci, emu_driver, NULL, NULL);
|
||||
MODULE_DEPEND(snd_emu10k1, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_emu10k1, 1);
|
||||
MODULE_DEPEND(snd_emu10k1, midi, 1, 1, 1);
|
||||
|
@ -1530,7 +1530,7 @@ static driver_t emu_pcm_driver = {
|
||||
0,
|
||||
NULL
|
||||
};
|
||||
DRIVER_MODULE(snd_emu10kx_pcm, emu10kx, emu_pcm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_emu10kx_pcm, emu10kx, emu_pcm_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_emu10kx_pcm, snd_emu10kx, SND_EMU10KX_MINVER, SND_EMU10KX_PREFVER, SND_EMU10KX_MAXVER);
|
||||
MODULE_DEPEND(snd_emu10kx_pcm, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_emu10kx_pcm, SND_EMU10KX_PREFVER);
|
||||
|
@ -2686,7 +2686,7 @@ static driver_t envy24_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_envy24, pci, envy24_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_envy24, pci, envy24_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_envy24, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(snd_envy24, snd_spicds, 1, 1, 1);
|
||||
MODULE_VERSION(snd_envy24, 1);
|
||||
|
@ -2582,7 +2582,7 @@ static driver_t envy24ht_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_envy24ht, pci, envy24ht_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_envy24ht, pci, envy24ht_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_envy24ht, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_DEPEND(snd_envy24ht, snd_spicds, 1, 1, 1);
|
||||
MODULE_VERSION(snd_envy24ht, 1);
|
||||
|
@ -1941,6 +1941,6 @@ static driver_t es_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_es137x, pci, es_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_es137x, pci, es_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_es137x, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_es137x, 1);
|
||||
|
@ -759,6 +759,6 @@ static driver_t fm801_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_fm801, pci, fm801_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_fm801, pci, fm801_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_fm801, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_fm801, 1);
|
||||
|
@ -7156,6 +7156,6 @@ static driver_t hdaa_pcm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_hda_pcm, hdaa, hdaa_pcm_driver, pcm_devclass, NULL, NULL);
|
||||
DRIVER_MODULE(snd_hda_pcm, hdaa, hdaa_pcm_driver, NULL, NULL);
|
||||
MODULE_DEPEND(snd_hda, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_hda, 1);
|
||||
|
@ -767,6 +767,6 @@ static driver_t hdspe_pcm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_hdspe_pcm, hdspe, hdspe_pcm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_hdspe_pcm, hdspe, hdspe_pcm_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_hdspe, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_hdspe, 1);
|
||||
|
@ -1237,6 +1237,6 @@ static driver_t ich_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_ich, pci, ich_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_ich, pci, ich_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_ich, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_ich, 1);
|
||||
|
@ -1794,6 +1794,6 @@ static driver_t m3_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_maestro3, pci, m3_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_maestro3, pci, m3_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_maestro3, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_maestro3, 1);
|
||||
|
@ -817,6 +817,6 @@ static driver_t nm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_neomagic, pci, nm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_neomagic, pci, nm_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_neomagic, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_neomagic, 1);
|
||||
|
@ -1072,6 +1072,6 @@ static driver_t ess_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_solo, pci, ess_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_solo, pci, ess_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_solo, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_solo, 1);
|
||||
|
@ -1033,6 +1033,6 @@ static driver_t tr_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_t4dwave, pci, tr_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_t4dwave, pci, tr_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_t4dwave, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_t4dwave, 1);
|
||||
|
@ -1440,6 +1440,6 @@ static driver_t via_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_via8233, pci, via_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_via8233, pci, via_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_via8233, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_via8233, 1);
|
||||
|
@ -642,6 +642,6 @@ static driver_t via_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_via82c686, pci, via_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_via82c686, pci, via_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_via82c686, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_via82c686, 1);
|
||||
|
@ -939,6 +939,6 @@ static driver_t sonicvibes_driver = {
|
||||
PCM_SOFTC_SIZE
|
||||
};
|
||||
|
||||
DRIVER_MODULE(snd_vibes, pci, sonicvibes_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(snd_vibes, pci, sonicvibes_driver, 0, 0);
|
||||
MODULE_DEPEND(snd_vibes, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(snd_vibes, 1);
|
||||
|
@ -236,7 +236,7 @@ static driver_t ua_pcm_driver = {
|
||||
PCM_SOFTC_SIZE,
|
||||
};
|
||||
|
||||
DRIVER_MODULE(ua_pcm, uaudio, ua_pcm_driver, pcm_devclass, 0, 0);
|
||||
DRIVER_MODULE(ua_pcm, uaudio, ua_pcm_driver, 0, 0);
|
||||
MODULE_DEPEND(ua_pcm, uaudio, 1, 1, 1);
|
||||
MODULE_DEPEND(ua_pcm, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
|
||||
MODULE_VERSION(ua_pcm, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user