summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/isa')
-rw-r--r--sys/dev/sound/isa/emu8000.c2
-rw-r--r--sys/dev/sound/isa/gusmidi.c2
-rw-r--r--sys/dev/sound/isa/mpu.c2
-rw-r--r--sys/dev/sound/isa/opl.c2
-rw-r--r--sys/dev/sound/isa/uartsio.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/sound/isa/emu8000.c b/sys/dev/sound/isa/emu8000.c
index 73ac39f..2442e2b 100644
--- a/sys/dev/sound/isa/emu8000.c
+++ b/sys/dev/sound/isa/emu8000.c
@@ -720,7 +720,7 @@ emu_attach(device_t dev)
/* Fill the softc for this unit. */
bcopy(&emu_synthinfo, &scp->synthinfo, sizeof(emu_synthinfo));
- mtx_init(&scp->mtx, "emumid", MTX_DEF);
+ mtx_init(&scp->mtx, "emumid", NULL, MTX_DEF);
scp->devinfo = devinfo = create_mididev_info_unit(MDT_SYNTH, &emu_op_desc, &midisynth_op_desc);
/* Fill the midi info. */
diff --git a/sys/dev/sound/isa/gusmidi.c b/sys/dev/sound/isa/gusmidi.c
index 37c99cc..e5788d1 100644
--- a/sys/dev/sound/isa/gusmidi.c
+++ b/sys/dev/sound/isa/gusmidi.c
@@ -194,7 +194,7 @@ gusmidi_init(device_t dev)
/* Fill the softc. */
scp->dev = dev;
- mtx_init(&scp->mtx, "gusmid", MTX_DEF);
+ mtx_init(&scp->mtx, "gusmid", NULL, MTX_DEF);
scp->devinfo = devinfo = create_mididev_info_unit(MDT_MIDI, &gusmidi_op_desc, &midisynth_op_desc);
/* Fill the midi info. */
diff --git a/sys/dev/sound/isa/mpu.c b/sys/dev/sound/isa/mpu.c
index f66466f..4f1f034 100644
--- a/sys/dev/sound/isa/mpu.c
+++ b/sys/dev/sound/isa/mpu.c
@@ -358,7 +358,7 @@ mpu_attach(device_t dev)
MIDI_DEBUG(printf("mpu: attaching.\n"));
- mtx_init(&scp->mtx, "mpumid", MTX_DEF);
+ mtx_init(&scp->mtx, "mpumid", NULL, MTX_DEF);
/* Allocate the resources, switch to uart mode. */
if (mpu_allocres(scp, dev) || mpu_uartmode(scp)) {
diff --git a/sys/dev/sound/isa/opl.c b/sys/dev/sound/isa/opl.c
index 6ee4e96..21eb453 100644
--- a/sys/dev/sound/isa/opl.c
+++ b/sys/dev/sound/isa/opl.c
@@ -717,7 +717,7 @@ opl_attach(device_t dev)
/* Fill the softc. */
bcopy(&opl_synthinfo, &scp->synthinfo, sizeof(opl_synthinfo));
snprintf(scp->synthinfo.name, 64, "Yamaha OPL%d FM", scp->model);
- mtx_init(&scp->mtx, "oplmid", MTX_DEF);
+ mtx_init(&scp->mtx, "oplmid", NULL, MTX_DEF);
bcopy(pv_map, scp->pv_map, sizeof(pv_map));
if (scp->model < MODEL_OPL3) { /* OPL2. */
scp->synthinfo.nr_voices = 9;
diff --git a/sys/dev/sound/isa/uartsio.c b/sys/dev/sound/isa/uartsio.c
index 6554247..4170aeb 100644
--- a/sys/dev/sound/isa/uartsio.c
+++ b/sys/dev/sound/isa/uartsio.c
@@ -243,7 +243,7 @@ uartsio_attach(device_t dev)
/* Fill the softc. */
scp->dev = dev;
- mtx_init(&scp->mtx, "siomid", MTX_DEF);
+ mtx_init(&scp->mtx, "siomid", NULL, MTX_DEF);
scp->devinfo = devinfo = create_mididev_info_unit(MDT_MIDI, &uartsio_op_desc, &midisynth_op_desc);
/* Fill the midi info. */
OpenPOWER on IntegriCloud