diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-01-15 02:52:51 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-01-15 02:52:51 +0000 |
commit | fdb9fd0866050d52511af5964c7dcaa8163829dc (patch) | |
tree | 84fe430f5e1050ce3953703eab2ca5e5dd0a8d1c /sys/dev/pci/auviavar.h | |
parent | ea2aa03ab2ea9e57ed9db458346e303e1e7a5f28 (diff) |
bring in lots of ac97(4) and auvia(4) updates from NetBSD
user visible changes:
- when setting up ac97(4) mixer items, for some features like surround
sound, check if the feature if supported by the codec and only add
items for that feature if it is
- auvia(4) now supports multichannel playback with at least some
multichannel ac97(4) codecs
fixes problems for me and ajacoutot with different auvia(4)
devices/codecs. no regressions reported by testers.
if you have an ac97(4) audio device and are using mixerctl.conf(5),
you may want/need to update it.
ok ratchov
Diffstat (limited to 'sys/dev/pci/auviavar.h')
-rw-r--r-- | sys/dev/pci/auviavar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/auviavar.h b/sys/dev/pci/auviavar.h index 67203d24a8c..e86f3d24097 100644 --- a/sys/dev/pci/auviavar.h +++ b/sys/dev/pci/auviavar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: auviavar.h,v 1.7 2003/02/28 15:26:23 mickey Exp $ */ +/* $OpenBSD: auviavar.h,v 1.8 2008/01/15 02:52:50 jakemsr Exp $ */ /* $NetBSD: auviavar.h,v 1.1 2000/03/31 04:45:29 tsarna Exp $ */ /*- @@ -48,6 +48,7 @@ struct auvia_softc_chan { struct auvia_dma_op *sc_dma_ops; struct auvia_dma *sc_dma_ops_dma; u_int16_t sc_dma_op_count; + int sc_base; u_int16_t sc_reg; }; |