summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/cmi.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-04-04 20:56:47 +0000
committerjhb <jhb@FreeBSD.org>2002-04-04 20:56:47 +0000
commite41b9c8bc985e43b76dd58c8d1fcb8e2f492894b (patch)
treeb793de57a7a8d6dd735f55c26084755dcbbc8156 /sys/dev/sound/pci/cmi.c
parent4ca17c54a379a9078a74f29d8d42cf1ddeae30ff (diff)
downloadFreeBSD-src-e41b9c8bc985e43b76dd58c8d1fcb8e2f492894b.zip
FreeBSD-src-e41b9c8bc985e43b76dd58c8d1fcb8e2f492894b.tar.gz
Add lock type arguments to callers of snd_mtxcreate().
Diffstat (limited to 'sys/dev/sound/pci/cmi.c')
-rw-r--r--sys/dev/sound/pci/cmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/cmi.c b/sys/dev/sound/pci/cmi.c
index 62cfac2..9891e34 100644
--- a/sys/dev/sound/pci/cmi.c
+++ b/sys/dev/sound/pci/cmi.c
@@ -842,7 +842,7 @@ cmi_attach(device_t dev)
return ENXIO;
}
- sc->lock = snd_mtxcreate(device_get_nameunit(dev));
+ sc->lock = snd_mtxcreate(device_get_nameunit(dev), "sound softc");
data = pci_read_config(dev, PCIR_COMMAND, 2);
data |= (PCIM_CMD_PORTEN|PCIM_CMD_BUSMASTEREN);
pci_write_config(dev, PCIR_COMMAND, data, 2);
OpenPOWER on IntegriCloud