summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm
diff options
context:
space:
mode:
authormatk <matk@FreeBSD.org>2004-03-06 15:52:42 +0000
committermatk <matk@FreeBSD.org>2004-03-06 15:52:42 +0000
commita8492f84bfa6da2f288a534e337bc3ea54b1316b (patch)
tree8da3a77b5bb1433a25b93ea34cac1f381fd53019 /sys/dev/sound/pcm
parentd763a3ee32bbf9afe40744bff2abaf67a75150f3 (diff)
downloadFreeBSD-src-a8492f84bfa6da2f288a534e337bc3ea54b1316b.zip
FreeBSD-src-a8492f84bfa6da2f288a534e337bc3ea54b1316b.tar.gz
Augment /dev/sndstat with the module names, if applicable.
Approved by: tanimura (mentor)
Diffstat (limited to 'sys/dev/sound/pcm')
-rw-r--r--sys/dev/sound/pcm/sound.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 29ddd44..0ac6949 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -314,6 +314,12 @@ void pcm_lock(struct snddev_info *d);
void pcm_unlock(struct snddev_info *d);
#endif
+#ifdef KLD_MODULE
+#define PCM_KLDSTRING(a) ("kld " # a)
+#else
+#define PCM_KLDSTRING(a) ""
+#endif
+
#endif /* _KERNEL */
#endif /* _OS_H_ */
OpenPOWER on IntegriCloud