summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/gus.c
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2008-04-21 00:32:42 +0000
committerjakemsr <jakemsr@openbsd.org>2008-04-21 00:32:42 +0000
commit19281baff7ec09bf537f48fdcd72d5779b4e4c26 (patch)
treedc61b02bab7cd9f32121274abf7c100001ee7998 /sys/dev/isa/gus.c
parentTry to reset the machine through the firmware to reboot. (diff)
downloadwireguard-openbsd-19281baff7ec09bf537f48fdcd72d5779b4e4c26.tar.xz
wireguard-openbsd-19281baff7ec09bf537f48fdcd72d5779b4e4c26.zip
allow low level audio drivers to specify a default sample format,
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
Diffstat (limited to 'sys/dev/isa/gus.c')
-rw-r--r--sys/dev/isa/gus.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/isa/gus.c b/sys/dev/isa/gus.c
index 657e07c1286..3138299a830 100644
--- a/sys/dev/isa/gus.c
+++ b/sys/dev/isa/gus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gus.c,v 1.29 2006/03/04 12:42:23 miod Exp $ */
+/* $OpenBSD: gus.c,v 1.30 2008/04/21 00:32:42 jakemsr Exp $ */
/* $NetBSD: gus.c,v 1.51 1998/01/25 23:48:06 mycroft Exp $ */
/*-
@@ -304,6 +304,7 @@ struct audio_hw_if gus_hw_if = {
gus_get_props,
NULL,
+ NULL,
NULL
};
@@ -340,6 +341,10 @@ static struct audio_hw_if gusmax_hw_if = {
ad1848_round,
ad1848_mappage,
gusmax_get_props,
+
+ NULL,
+ NULL,
+ NULL
};
/*