diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2009-01-25 18:20:15 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2009-01-25 18:20:15 +0000 |
commit | 2cc6f5c8ec03335a49f2e56f1e7e89cdc413d7f9 (patch) | |
tree | 0b69f2614bb1df24136da0038c4090680be19224 /sys/modules | |
parent | d8a0e03d761654d8775e052e4132c83f77f2fa1b (diff) | |
download | FreeBSD-src-2cc6f5c8ec03335a49f2e56f1e7e89cdc413d7f9.zip FreeBSD-src-2cc6f5c8ec03335a49f2e56f1e7e89cdc413d7f9.tar.gz |
Add support for the I2S and davbus audio controllers found in Apple PowerPC
hardware.
Submitted by: Marco Trillo
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/sound/driver/Makefile | 21 | ||||
-rw-r--r-- | sys/modules/sound/driver/ai2s/Makefile | 10 | ||||
-rw-r--r-- | sys/modules/sound/driver/davbus/Makefile | 10 |
3 files changed, 34 insertions, 7 deletions
diff --git a/sys/modules/sound/driver/Makefile b/sys/modules/sound/driver/Makefile index 27c3dbe..f070119 100644 --- a/sys/modules/sound/driver/Makefile +++ b/sys/modules/sound/driver/Makefile @@ -1,15 +1,22 @@ # $FreeBSD$ +SUBDIR= ad1816 als4000 atiixp cs4281 csa ds1 emu10k1 emu10kx +SUBDIR+= envy24 envy24ht es137x ess fm801 hda ich maestro maestro3 +SUBDIR+= neomagic sb16 sb8 sbc solo spicds t4dwave via8233 +SUBDIR+= via82c686 vibes driver uaudio + +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" +SUBDIR+= cmi mss +.endif + .if ${MACHINE_ARCH} == "sparc64" .if ${MACHINE} == "sparc64" -audiocs= audiocs +SUBDIR+= audiocs .endif -SUBDIR= ${audiocs} es137x -.else -SUBDIR= ad1816 als4000 atiixp cmi cs4281 csa ds1 emu10k1 emu10kx -SUBDIR+= envy24 envy24ht es137x ess fm801 hda ich maestro maestro3 -SUBDIR+= mss neomagic sb16 sb8 sbc solo spicds t4dwave via8233 -SUBDIR+= via82c686 vibes driver uaudio +.endif + +.if ${MACHINE_ARCH} == "powerpc" +SUBDIR+= ai2s davbus .endif .include <bsd.subdir.mk> diff --git a/sys/modules/sound/driver/ai2s/Makefile b/sys/modules/sound/driver/ai2s/Makefile new file mode 100644 index 0000000..d693ddf --- /dev/null +++ b/sys/modules/sound/driver/ai2s/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/macio + +KMOD= snd_ai2s +SRCS= device_if.h bus_if.h ofw_bus_if.h +SRCS+= channel_if.h feeder_if.h mixer_if.h +SRCS+= snapper.c tumbler.c aoa.c i2s.c + +.include <bsd.kmod.mk> diff --git a/sys/modules/sound/driver/davbus/Makefile b/sys/modules/sound/driver/davbus/Makefile new file mode 100644 index 0000000..b5616fe --- /dev/null +++ b/sys/modules/sound/driver/davbus/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/macio + +KMOD= snd_davbus +SRCS= device_if.h bus_if.h ofw_bus_if.h +SRCS+= channel_if.h feeder_if.h mixer_if.h +SRCS+= aoa.c davbus.c + +.include <bsd.kmod.mk> |