diff options
author | cg <cg@FreeBSD.org> | 2000-12-18 01:36:41 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2000-12-18 01:36:41 +0000 |
commit | 2fae4aec24ea4529882b3ec4cda45661ccd48ea8 (patch) | |
tree | e7e32573ed48df98bed54daa386c3520e959e951 /sys/modules | |
parent | 1fd2c926a884cc824e7da7ee1a51dad72b1dec5b (diff) | |
download | FreeBSD-src-2fae4aec24ea4529882b3ec4cda45661ccd48ea8.zip FreeBSD-src-2fae4aec24ea4529882b3ec4cda45661ccd48ea8.tar.gz |
kobjify.
this gives us several benefits, including:
* easier extensibility- new optional methods can be added to
ac97/mixer/channel classes without having to fixup every driver.
* forward compatibility for drivers, provided no new mandatory methods are
added.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/sound/driver/Makefile.inc | 2 | ||||
-rw-r--r-- | sys/modules/sound/pcm/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/sound/sound/Makefile | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/sys/modules/sound/driver/Makefile.inc b/sys/modules/sound/driver/Makefile.inc index 265f86d..124bfc8 100644 --- a/sys/modules/sound/driver/Makefile.inc +++ b/sys/modules/sound/driver/Makefile.inc @@ -1,3 +1,5 @@ # $FreeBSD$ +SRCS += ac97_if.h channel_if.h feeder_if.h mixer_if.h + .include "../Makefile.inc" diff --git a/sys/modules/sound/pcm/Makefile b/sys/modules/sound/pcm/Makefile index 97f83c8..1c30fab 100644 --- a/sys/modules/sound/pcm/Makefile +++ b/sys/modules/sound/pcm/Makefile @@ -3,8 +3,9 @@ .PATH: ${.CURDIR}/../../../dev/sound/pcm KMOD = snd_pcm SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += ac97_if.h channel_if.h feeder_if.h mixer_if.h SRCS += ac97.c channel.c dsp.c fake.c -SRCS += feeder.c feeder_fmt.c +SRCS += feeder.c feeder_fmt.c feeder_rate.c SRCS += mixer.c sound.c .include <bsd.kmod.mk> diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile index 97f83c8..1c30fab 100644 --- a/sys/modules/sound/sound/Makefile +++ b/sys/modules/sound/sound/Makefile @@ -3,8 +3,9 @@ .PATH: ${.CURDIR}/../../../dev/sound/pcm KMOD = snd_pcm SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += ac97_if.h channel_if.h feeder_if.h mixer_if.h SRCS += ac97.c channel.c dsp.c fake.c -SRCS += feeder.c feeder_fmt.c +SRCS += feeder.c feeder_fmt.c feeder_rate.c SRCS += mixer.c sound.c .include <bsd.kmod.mk> |