summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2005-01-24 20:40:17 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2005-01-24 20:40:17 +0000
commitc81543684b7825c625fdbcef99aa51925afa9bc0 (patch)
tree1985cd74de3abecdb29f925474a65012a3d044f4 /sys
parent25374bade27221262285aba1c71f2afd59d3a272 (diff)
Tweak mixer label. Whitespace.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sgi/dev/mavb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/dev/mavb.c b/sys/arch/sgi/dev/mavb.c
index cf5083fc639..c1a847b4b07 100644
--- a/sys/arch/sgi/dev/mavb.c
+++ b/sys/arch/sgi/dev/mavb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mavb.c,v 1.3 2005/01/02 19:25:41 kettenis Exp $ */
+/* $OpenBSD: mavb.c,v 1.4 2005/01/24 20:40:16 kettenis Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -789,7 +789,7 @@ mavb_query_devinfo(void *hdl, struct mixer_devinfo *di)
di->type = AUDIO_MIXER_VALUE;
di->mixer_class = AD1843_INPUT_CLASS;
di->next = AD1843_DAC1_MUTE;
- strlcpy(di->label.name, AudioNmaster, sizeof di->label.name);
+ strlcpy(di->label.name, AudioNdac "1", sizeof di->label.name);
di->un.v.num_channels = 2;
strlcpy(di->un.v.units.name, AudioNvolume,
sizeof di->un.v.units.name);
@@ -1120,7 +1120,7 @@ mavb_attach(struct device *parent, struct device *self, void *aux)
sc->sc_ring += MAVB_ISA_RING_SIZE; /* XXX */
bus_space_write_8(sc->sc_st, sc->sc_isash, MACE_ISA_RING_BASE,
- sc->sc_dmamap->dm_segs[0].ds_addr);
+ sc->sc_dmamap->dm_segs[0].ds_addr);
/* Establish interrupt. */
BUS_INTR_ESTABLISH(ca, NULL, ca->ca_intr, IST_EDGE, IPL_AUDIO,