summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/via82c686.c
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/pci/via82c686.c
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/pci/via82c686.c')
-rw-r--r--sys/dev/sound/pci/via82c686.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/via82c686.c b/sys/dev/sound/pci/via82c686.c
index 7247f07..c68887e 100644
--- a/sys/dev/sound/pci/via82c686.c
+++ b/sys/dev/sound/pci/via82c686.c
@@ -572,7 +572,9 @@ via_attach(device_t dev)
if (bus_dmamap_load(via->sgd_dmat, via->sgd_dmamap, via->sgd_table, NSEGS * sizeof(struct via_dma_op), dma_cb, via, 0))
goto bad;
- snprintf(status, SND_STATUSLEN, "at io 0x%lx irq %ld", rman_get_start(via->reg), rman_get_start(via->irq));
+ snprintf(status, SND_STATUSLEN, "at io 0x%lx irq %ld %s",
+ rman_get_start(via->reg), rman_get_start(via->irq),
+ PCM_KLDSTRING(snd_via82c686));
/* Register */
if (pcm_register(dev, via, 1, 1)) goto bad;
OpenPOWER on IntegriCloud