CVS commit: src/sys/dev/pci/hdaudio

2015-02-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb 11 00:37:25 UTC 2015

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c hdaudio.c hdaudiovar.h

Log Message:
Fix locking against myself problem:
hdaudio_intr() ->
mutex_enter(&sc->sc_corb_mtx);
hdaudio_rirb_dequeue() ->
hdaudio_rirb_unsol() ->
hdafg_unsol() ->
hdafg_assoc_dump_dd() ->
hdaudio_command() ->
mutex_enter(&sc->sc_corb_mtx);

Should that be done differently?


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/hdaudio/hdafg.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/hdaudio/hdaudio.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/hdaudio/hdaudiovar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2015-01-19 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jan 19 14:32:08 UTC 2015

Modified Files:
src/sys/dev/pci/hdaudio: hdaudiodevs.h hdaudiodevs_data.h

Log Message:
Regen for Realtek ALC280.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/hdaudio/hdaudiodevs.h \
src/sys/dev/pci/hdaudio/hdaudiodevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2015-01-19 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Jan 19 14:31:32 UTC 2015

Modified Files:
src/sys/dev/pci/hdaudio: hdaudiodevs

Log Message:
Add Realtek ALC280.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/hdaudio/hdaudiodevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-11-09 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sun Nov  9 20:14:01 UTC 2014

Modified Files:
src/sys/dev/pci/hdaudio: files.hdaudio

Log Message:
defflag HDAUDIOVERBOSE.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/hdaudio/files.hdaudio

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-10-27 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Tue Oct 28 02:49:52 UTC 2014

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_pci.c

Log Message:
disestalish interrupt and unmap register when attach failed.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/hdaudio/hdaudio_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-09-23 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Tue Sep 23 13:29:30 UTC 2014

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
Add missing defines for constants used in hdafg_enable_analog_beep.

This commit was approved by christos@


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-09-21 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Sun Sep 21 10:41:23 UTC 2014

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
Enable sysbeep(4) to be heard on speakers on Toughbook mk1 and mk5
computers.  Also on computers with SigmaTel STAC 9200(D), 9202(D)
9404(D), 9205(D) hdaudio controllers as well as Realtek ALC 231
hdaudio controllers reporting as ALC 269.

Addresses PR 45778.
Addresses PR 48495.

This commit was approved by christos@


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-09-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 19 17:24:55 UTC 2014

Added Files:
src/sys/dev/pci/hdaudio: hdaudiodevs.h hdaudiodevs_data.h

Log Message:
gen


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/hdaudiodevs.h \
src/sys/dev/pci/hdaudio/hdaudiodevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-09-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 19 17:24:23 UTC 2014

Added Files:
src/sys/dev/pci/hdaudio: devlist2h.awk

Log Message:
another devlist2h.awk, someone should merge them all so that they can
generate efficient ids and not dup the code 10 times!


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/devlist2h.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-09-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 19 17:23:35 UTC 2014

Modified Files:
src/sys/dev/pci/hdaudio: files.hdaudio hdafg.c hdaudio.c
Added Files:
src/sys/dev/pci/hdaudio: Makefile.hdaudiodevs hdaudio_verbose.c
hdaudio_verbose.h hdaudiodevs
Removed Files:
src/sys/dev/pci/hdaudio: hdaudio_ids.c hdaudio_ids.h

Log Message:
Pull out the device list and auto-generate it.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/Makefile.hdaudiodevs \
src/sys/dev/pci/hdaudio/hdaudio_verbose.c \
src/sys/dev/pci/hdaudio/hdaudio_verbose.h \
src/sys/dev/pci/hdaudio/hdaudiodevs
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio/files.hdaudio
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/hdaudio/hdafg.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/hdaudio/hdaudio.c
cvs rdiff -u -r1.8 -r0 src/sys/dev/pci/hdaudio/hdaudio_ids.c
cvs rdiff -u -r1.3 -r0 src/sys/dev/pci/hdaudio/hdaudio_ids.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-05-09 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri May  9 20:10:49 UTC 2014

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
Enable AUDIO_PROP_MMAP in hdafg(4).

Addresses PR#48792 and PR#35961.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2014-04-07 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon Apr  7 21:35:41 UTC 2014

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_ids.c

Log Message:
Use 0x prefix when printing hexadecimal numbers.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/hdaudio/hdaudio_ids.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2013-12-17 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Dec 17 17:13:46 UTC 2013

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_ids.c

Log Message:
Add an ID for VIA VT1705.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/hdaudio/hdaudio_ids.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2013-10-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Oct 16 18:13:00 UTC 2013

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c hdaudio.c

Log Message:
move debugging code inside debugging ifdef.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/hdaudio/hdafg.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/hdaudio/hdaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2013-10-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Oct 16 17:43:33 UTC 2013

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
move all the unused stuff to ifdef notyet


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2012-08-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Wed Aug 29 18:52:32 UTC 2012

Modified Files:
src/sys/dev/pci/hdaudio: hdafg_dd.c hdafg_dd.h

Log Message:
Fix rcsid.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/hdaudio/hdafg_dd.c \
src/sys/dev/pci/hdaudio/hdafg_dd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2012-03-11 Thread Lars Heidieker
Module Name:src
Committed By:   para
Date:   Sun Mar 11 19:39:36 UTC 2012

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
call kmem_free with the right address in hdafg_detach for sc_widgets
the former code let to memory corruption


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2012-03-02 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Mar  3 05:41:45 UTC 2012

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_ids.c

Log Message:
Added Conexant 20671.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio/hdaudio_ids.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2012-02-01 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Wed Feb  1 16:56:34 UTC 2012

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_pci.c

Log Message:
Set HDAUDIO_PCI_TCSEL to TC0 like Linux does.
Fixes stalled audio on Lenovo X60 with coreboot firmware.

Additionally, move snooping adjustment to be executed on resume too,
as Linux does.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/hdaudio/hdaudio_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-12-20 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec 21 02:16:57 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
relax the test for analog devices analog pcbeep widgets


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-12-19 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Dec 19 12:19:27 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
for analog devices codecs, mark the analog beeper pin as a beep generator
to help the parser. makes pcppi beep work again.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-12-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 12 01:25:29 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
remove duplicated code.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-12-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Dec 11 15:13:58 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
PR# kern/45701: hdaudio stops working after suspend/resume and then 
detach/reattach

restore BIOS pin widget config on detach, and selected pin widget config on
resume


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-11-04 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Fri Nov  4 15:32:34 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio.c

Log Message:
Don't attempt to reference a non-existent device.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/hdaudio/hdaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-10-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Oct 25 00:00:13 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
hdafg_halt_output: disable digital output


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-10-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Oct 24 22:20:59 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_ids.c hdaudio_ids.h

Log Message:
add VMware codec ID


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/hdaudio/hdaudio_ids.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/hdaudio/hdaudio_ids.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-10-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Oct 24 02:08:23 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
ossaudio's SNDCTL_DSP_GETOSPACE will call AUDIO_SETINFO if the block size
isn't a power of two, and since the block size is changing this tells
audio(4) to halt output, reconfigure the device, then trigger output again.

mplayer's oss driver uses SNDCTL_DSP_GETOSPACE a lot.

Instead of simply rounding to 128 bytes as required by the hardware, change
hdafg_round_blocksize to return one of 128, 256, 512, 1024, 2048, 4096,
or 8192.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-10-06 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Oct  6 22:25:00 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_ids.c

Log Message:
Add HDMI/DP codec ID found on NVIDIA GTX 550 Ti


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/hdaudio/hdaudio_ids.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Sep  7 20:34:59 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
Enable non-PCM passthru for digital converters, and treat the "AC3 supported"
flag to mean that the codec supports AC3 decoding for analog converters.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Sep  7 13:07:22 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
build fix for previous


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Sep  7 12:33:06 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
Read/modify/write the digital converter control 1 register when setting up
digital playback instead of clobbering existing state.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-09-06 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Sep  7 00:16:40 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
hdafg_stream_connect: if connecting a non-PCM stream, make sure only
converters that support non-PCM formats are configured to decode it


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-09-06 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Sep  6 11:14:17 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c

Log Message:
Set the /AUDIO digital converter control bit for non-PCM streams


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/hdaudio/hdafg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-09-06 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Sep  6 10:48:29 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio.c hdaudioreg.h

Log Message:
For AC3, set the Non-PCM bit in the stream format structure used in the
stream descriptors & codec config.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/hdaudio/hdaudio.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/hdaudio/hdaudioreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-09-05 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Sep  6 01:51:44 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdafg.c hdaudioreg.h

Log Message:
Add AC3 passthru support, currently untested.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/hdaudio/hdafg.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio/hdaudioreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-08-13 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat Aug 13 16:08:23 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio.c

Log Message:
detach childern too


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/hdaudio/hdaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-07-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul  9 16:01:31 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio.c

Log Message:
Release mutex before unmapping DMA memory.

Fixes a LOCKDEBUG panic triggered by `hdaudioctl set'.

ok jmcneill


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/hdaudio/hdaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-02-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Feb 13 17:49:12 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio.c hdaudiovar.h

Log Message:
switch back to polling rirb, this will have to be revisited


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/hdaudio/hdaudio.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/hdaudio/hdaudiovar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-02-12 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Feb 12 15:15:34 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: files.hdaudio hdafg.c hdaudio.c hdaudio_ids.c
hdaudio_pci.c hdaudioreg.h hdaudiovar.h
Added Files:
src/sys/dev/pci/hdaudio: ceareg.h eldreg.h hdafg_dd.c hdafg_dd.h
hdaudio_config.h hdmireg.h

Log Message:
sync with bsd-hdaudio r15:
 - fix an off-by-one in block size calculation
 - add register definitions from HDA034-A2, HDA035-A, HDA036-A
 - rename hdaudio_afg_* symbols to hdafg_*
 - add experimental HDMI and DisplayPort support code (needs help from DRM)
 - don't poll the RIRB unless cold
 - add support for unsolicited messages
 - 'hdaudioctl graph' works again
 - print each assoc's widget tree when boot -x


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/ceareg.h \
src/sys/dev/pci/hdaudio/eldreg.h src/sys/dev/pci/hdaudio/hdafg_dd.c \
src/sys/dev/pci/hdaudio/hdafg_dd.h \
src/sys/dev/pci/hdaudio/hdaudio_config.h \
src/sys/dev/pci/hdaudio/hdmireg.h
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/hdaudio/files.hdaudio \
src/sys/dev/pci/hdaudio/hdaudioreg.h
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/hdaudio/hdafg.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/hdaudio/hdaudio.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/hdaudio/hdaudio_ids.c
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/hdaudio/hdaudio_pci.c \
src/sys/dev/pci/hdaudio/hdaudiovar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-01-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Jan 14 03:16:38 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_afg.c

Log Message:
hda_error->hda_debug when tracing an adc assoc fails


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/pci/hdaudio/hdaudio_afg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-01-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Jan  7 18:24:53 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_afg.c

Log Message:
fix compilation when _MODULE is not defined


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/pci/hdaudio/hdaudio_afg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2011-01-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Jan  7 15:30:30 UTC 2011

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio.c hdaudio_afg.c hdaudio_pci.c
hdaudiovar.h

Log Message:
modularize hdaudio and hdafg drivers


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/hdaudio/hdaudio.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/hdaudio/hdaudio_afg.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/hdaudio/hdaudio_pci.c \
src/sys/dev/pci/hdaudio/hdaudiovar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-09-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Sep 13 22:37:02 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_ids.c hdaudio_ids.h

Log Message:
Add Conexant codec IDs


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/hdaudio/hdaudio_ids.c \
src/sys/dev/pci/hdaudio/hdaudio_ids.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-09-01 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Sep  2 01:55:31 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: files.hdaudio hdaudio.c hdaudio_afg.c
Added Files:
src/sys/dev/pci/hdaudio: hdaudio_ids.c hdaudio_ids.h

Log Message:
add a list of codec id->name mappings. they are printed at attach time
and exported via the AUDIO_GETDEV ioctl


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/hdaudio/files.hdaudio
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/hdaudio/hdaudio.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/hdaudio/hdaudio_afg.c
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/hdaudio_ids.c \
src/sys/dev/pci/hdaudio/hdaudio_ids.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-08-19 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Aug 19 18:06:38 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_afg.c

Log Message:
more assoc dump fixes


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/hdaudio/hdaudio_afg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-08-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 15 22:32:02 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_afg.c

Log Message:
kern/43542: 32kHz playback sounds like hissing analog TV snow

Instead of specifying a range of supported sample rates based on the lowest
and highest available frequencies, only advertise rates that the codec reports
as working. Let aurateconv take care of the rest.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/hdaudio/hdaudio_afg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-08-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 15 19:39:56 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_afg.c hdaudiovar.h

Log Message:
be less spammy when dumping assocs. extra details can be had with boot -x


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/pci/hdaudio/hdaudio_afg.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio/hdaudiovar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




CVS commit: src/sys/dev/pci/hdaudio

2010-08-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 15 16:21:46 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_afg.c

Log Message:
properly round block and buffer sizes -- nvidia HDA controllers work now


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/hdaudio/hdaudio_afg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-08-10 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Aug 10 13:47:39 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_afg.c

Log Message:
Increase safety of the speaker -> beep generator workaround by check
that no such widget is defined first.  On a Dell Latitude 430, widget
0x14 is the beep generator and the original version would replace the
normal speaker output, breaking head phone redirection in the process.

Discussed with jmcneill@


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/hdaudio/hdaudio_afg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-08-10 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Aug 10 11:14:30 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_afg.c

Log Message:
Reduce noise by explicitly skipping unassociated pins.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/hdaudio/hdaudio_afg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-08-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Aug  7 16:59:48 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio_pci.c
Added Files:
src/sys/dev/pci/hdaudio: hdaudio_pci.h

Log Message:
add support for nvidia hdaudio controllers


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio/hdaudio_pci.c
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/hdaudio/hdaudio_pci.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-08-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Aug  7 16:24:19 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio.c

Log Message:
Reject invalid vendor IDs (say if there was a RIRB timeout while reading the
VID registers)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/hdaudio/hdaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci/hdaudio

2010-08-02 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Aug  3 04:02:21 UTC 2010

Modified Files:
src/sys/dev/pci/hdaudio: hdaudio.c hdaudioreg.h

Log Message:
Use fewer magic constants related to the GCAP register.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/hdaudio/hdaudio.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/hdaudio/hdaudioreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.