in pmf_deregister, don't constantly realloc. just shift everything closer
to the front. and then if empty, free. When adding, add space for 4 more
entries.
Instead of n * sizeof(type) use C99 sizeof(type [n]).
o Don't add unconnected pins to generated mixer list, should help
make auto-generated mixer lists slightly easier to work with.
o Move COP_AWTYPE_AUDIO_MIXER type knobs to mix.* rather than polluting
the inputs.* namespace and giving a few more characters for the
auto-generated names.
o Introduce an alternate to generic_mixer_init, generic_mixer_autoinit.
generic_mixer_autoinit uses COP_AWTYPE_PIN_COMPLEX "default
configuration" capability flags to determine proper pin widget control
and eapd configuration, as well as creating virtual outputs.master,
inputs.dac, and record.volume mixer controls that mirror the default
dac and adc controls.
o Introduce generic_mixer_init_widget which uses COP_AWTYPE_PIN_COMPLEX
"default configuration" device type, gross location, and geometric
locations to guess friendlier mixer control names.
o On ALC662-GR, the primary ADC NID is 0x09, not 0x08, so correct the
convgroupset in alc662_init_dacgroup.
Audio capture now works on ALC662-GR (as found in the ASUS EeePC 701).
Note that only ALC662-GR uses generic_mixer_autoinit and
generic_mixer_init_widget; other codecs will need to be tested and
converted to address PR#38578: azalia_codec.o is too large.
(given that it reverted other developers' changes saying
"misc/cosmetic changes", i assume that it was unintentional.)
this makes a watchdog on my box (8086:24d0) work again.
----------------------------
revision 1.1
date: 2007/08/26 16:49:47; author: xtraeme; state: Exp;
branches: 1.1.2;
Some changes for the ichlpcib driver:
- Moved to x86/pci, so that EM64T systems running NetBSD/amd64 can use it.
- Added support for the TCO on ICH6 or newer chipsets, adapted from
FreeBSD.
- Added timecounter support for the power management timer, adapted from
OpenBSD.
- Plus some misc/cosmetic changes.
Thanks to yukonbob on irc@freenode for testing the TCO part on ICH4-M.
Tested by me with ICH7 too.
Add support for switching menu format between numbers and letters. Will
prefer numbers, but will automatically switch to letters if > 9 options
and timeout > 0 (i.e. need a single key press to choose).
Menu format can be explicitly set in boot.cfg file.
Add support for reading numeric choices of more than 1 digit.
remove old broken lcspx driver. This is a bugfixed and refactored
version of the spx driver originally developed by Blaz Antonic in 2005.
OK'ed by mhitch.