summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/gsc/harmonyvar.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-01-30 01:23:25 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-01-30 01:23:25 +0000
commit503498c95870ab70232981c78c4f1a125e316ee8 (patch)
tree2a19e75820b35c3a1a44987c3a5e1e7d1a73cba9 /sys/arch/hppa/gsc/harmonyvar.h
parentcf0d65d91cc152ce89d0b01774a3a5543d0feb36 (diff)
Check the codec revision... if it's >=CS4215E or >=AD1849K (same value
strangely =) the make ulinear (native) and slinear (emulated) available. Also, while here, make ulinear_le:16 available via emulation. (Btw, the LASI docs say that the format code for ulinear is a reserved value... Probably just wasn't available in the early CS4215/AD1849's)
Diffstat (limited to 'sys/arch/hppa/gsc/harmonyvar.h')
-rw-r--r--sys/arch/hppa/gsc/harmonyvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/harmonyvar.h b/sys/arch/hppa/gsc/harmonyvar.h
index de1466a34a9..4054d5474c7 100644
--- a/sys/arch/hppa/gsc/harmonyvar.h
+++ b/sys/arch/hppa/gsc/harmonyvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: harmonyvar.h,v 1.1 2003/01/28 04:20:49 jason Exp $ */
+/* $OpenBSD: harmonyvar.h,v 1.2 2003/01/30 01:23:24 jason Exp $ */
/*
* Copyright (c) 2003 Jason L. Wright (jason@thought.net)
@@ -99,7 +99,7 @@ struct harmony_softc {
int sc_playing, sc_capturing;
struct harmony_channel sc_playback, sc_capture;
struct harmony_volume sc_monitor_lvl, sc_input_lvl, sc_output_lvl;
- int sc_in_port, sc_out_port;
+ int sc_in_port, sc_out_port, sc_hasulinear8;
};
#define READ_REG(sc, reg) \