aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pci/t4dwave.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-04-04 20:56:47 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-04-04 20:56:47 +0000
commit489c22ebb854d89934fe808f5d85f5dc4de85db5 (patch)
treeb793de57a7a8d6dd735f55c26084755dcbbc8156 /sys/dev/sound/pci/t4dwave.c
parent4b97a93ad925f159ec5b8c4d1933e34da5cb0b67 (diff)
Notes
Diffstat (limited to 'sys/dev/sound/pci/t4dwave.c')
-rw-r--r--sys/dev/sound/pci/t4dwave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/t4dwave.c b/sys/dev/sound/pci/t4dwave.c
index cbd8f5b5d8eb2..194130337a09d 100644
--- a/sys/dev/sound/pci/t4dwave.c
+++ b/sys/dev/sound/pci/t4dwave.c
@@ -765,7 +765,7 @@ tr_pci_attach(device_t dev)
}
tr->type = pci_get_devid(dev);
- tr->lock = snd_mtxcreate(device_get_nameunit(dev));
+ tr->lock = snd_mtxcreate(device_get_nameunit(dev), "sound softc");
data = pci_read_config(dev, PCIR_COMMAND, 2);
data |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);