git: cdd3234186b1 - main - sound: Include ai2s and davbus for PowerPC

From: Jose Luis Duran <jlduran_at_FreeBSD.org>
Date: Sun, 10 Nov 2024 02:46:54 UTC
The branch main has been updated by jlduran:

URL: https://cgit.FreeBSD.org/src/commit/?id=cdd3234186b19e1b9d7cfc985ef8d247552b0f11

commit cdd3234186b19e1b9d7cfc985ef8d247552b0f11
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2024-11-10 02:44:14 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2024-11-10 02:44:14 +0000

    sound: Include ai2s and davbus for PowerPC
    
    Include PowerPC ai2s and davbus sound modules in the metadriver.
    
    Reviewed by:    christos, emaste
    Approved by:    emaste (mentor)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D47467
---
 sys/dev/sound/driver.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys/dev/sound/driver.c b/sys/dev/sound/driver.c
index 13218f419a28..c9219261e08f 100644
--- a/sys/dev/sound/driver.c
+++ b/sys/dev/sound/driver.c
@@ -55,6 +55,9 @@ static moduledata_t snd_mod = {
 DECLARE_MODULE(snd_driver, snd_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE);
 MODULE_VERSION(snd_driver, 1);
 
+#if defined(__powerpc__)
+MODULE_DEPEND(snd_driver, snd_ai2s, 1, 1, 1);
+#endif
 MODULE_DEPEND(snd_driver, snd_als4000, 1, 1, 1);
 MODULE_DEPEND(snd_driver, snd_atiixp, 1, 1, 1);
 #if defined(__i386__) || defined(__amd64__)
@@ -63,6 +66,9 @@ MODULE_DEPEND(snd_driver, snd_cmi, 1, 1, 1);
 MODULE_DEPEND(snd_driver, snd_cs4281, 1, 1, 1);
 MODULE_DEPEND(snd_driver, snd_csa, 1, 1, 1);
 MODULE_DEPEND(snd_driver, snd_csapcm, 1, 1, 1);
+#if defined(__powerpc__)
+MODULE_DEPEND(snd_driver, snd_davbus, 1, 1, 1);
+#endif
 MODULE_DEPEND(snd_driver, snd_emu10kx, 1, 1, 1);
 MODULE_DEPEND(snd_driver, snd_envy24, 1, 1, 1);
 MODULE_DEPEND(snd_driver, snd_envy24ht, 1, 1, 1);