summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-06add support for iso8859-13Martynas Venckus
2008-11-05return an error when trying to get stereo values from a monoJacob Meuser
control. makes mixerctl(1) output more sensible. ok drahn, todd
2008-11-05add missing header needed by strcmp/strerror/memset functions.Charles Longeau
ok canacar@
2008-11-05Fix some function prototypes, remove unused variables and commented out codeCan Erkin Acar
2008-11-05add gilles@ as copyright holder for this file.Igor Sobrado
2008-11-05add a few missing id tags; there are a bunch of files, and developersIgor Sobrado
will probably miss this change when working on more important matters, so it is probably better to sort them now. there is a risk of losing the tags if a change needs to be reverted too. written with excellent advice from jmc@ ok gilles@
2008-11-05passord -> password;Jason McIntyre
fixes user/5975 from Rene Maroufi
2008-11-05wrap use of KNOTE macro arguments in () to prevent potential strangeDavid Gwynne
expansion. requested by otto@
2008-11-05wrap an if statement in a macro up with do { } while (0) so it is safe toDavid Gwynne
use in other if/else blocks. "yeah" deraadt@
2008-11-05since mmclose() is only called once for the final close,Matthieu Herrb
set ap_open_count = 0 in mmclose() instread of decrementing it. ok miod@, oga@.
2008-11-05syncTheo de Raadt
2008-11-05Remove some PCI macros no longer being used.Brad Smith
2008-11-05add dynamic forward escape command line; ok djm@Kevin Steves
2008-11-05remove unused macros, partly from Alexey SuslikovJacob Meuser
2008-11-05* use uint8_t instead of int to hold the value of an 8-bit register.Jacob Meuser
* for outputs.{bass,treble}, 0 dB corresponds to mixer value 128, not 0. * line-in is configured as the default recording source; set sc->sc_record_source accordingly. * add missing register to initialization code. from Marco (marco2z at arsystel com), thanks testing/ok drahn@
2008-11-05* remove two custom unsolicited event handlers in favor of genericJacob Meuser
jack sense handling. makes azalia_generic_mixer_pinctrl useless, so zap it. * azalia_generic_mixer_pin_sense works well enough to not need guessing of pin direction in azalia_generic_mixer_default. from Alexey Suslikov, thanks
2008-11-04man page states that alpha is fully ieee compliant, but it does notMartynas Venckus
maintain inexact flag. some platforms implement -mieee-with-inexact; however it's not practical since it slows down the code, with very small benefit. note the fact in the man page that inexact flag is not maintained. w/ a tweak from jmc@. ok jmc@, millert@, merdely@
2008-11-04Use defines for constants. Use __attribute__ bounded.Hans-Joerg Hoexer
ok markus@ (quite some time ago)
2008-11-04conversions are smarter now, remove corresponding ``BUGS'' itemAlexandre Ratchov
2008-11-04split code that converts any->any in two parts: one to encodeAlexandre Ratchov
native->any and one to decode any->native. It is simpler and faster this way.
2008-11-04word better than number here.Igor Sobrado
2008-11-04uvmspace_unshare() is never used; ok miodTheo de Raadt
2008-11-04implement azalia_create_encodings, which scans through the supportedJacob Meuser
formats and creates an array of unique encodings. use the array in azalia_query_encoding. in other words, no more duplicate encodings in `audioctl encodings`.
2008-11-04Reintroduce the extendsidi2 optimized sequence, but as a define_splitMiod Vallat
construct, so that it is still written in rtl statements, and part of it can be put in a delay slot. And the way it's written now, it does not create bogus uninitialized warnings.
2008-11-04need to take mode into account when verifying/setting parametersJacob Meuser
2008-11-04syncTheo de Raadt
2008-11-04fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. initial patch from me, rewritten by jsing@ ok jsg@
2008-11-04because parse_forward() is now used to parse all forward types (DLR),Kevin Steves
and it malloc's space for host variables, we don't need to malloc here. fixes small memory leaks. previously dynamic forwards were not parsed in parse_forward() and space was not malloc'd in that case. ok djm@
2008-11-04spelling: ambigious -> ambiguousMarc Espie
2008-11-04cleanup: remove channel mapping bits from encoding conversion code.Alexandre Ratchov
As a side effect, reduce CPU usage by ~10% on envy(4) devices.
2008-11-04add "new" conversion code to map any channel range into any otherAlexandre Ratchov
channel range (based on the encoding conversion code). Will allow to unentangle channel mapping from encoding conversion. As a side effect, greatly reduces CPU usage for channel mapping. No functionnal change.
2008-11-04syncTheo de Raadt
2008-11-04new devsTheo de Raadt
2008-11-04If we need to call the tasklet function on unlock, we don't need to holdOwain Ainsworth
tsk_lock (which blocks irqs) for the whole call of the function, just when we manipulate the function pointer.
2008-11-04cleanup: resample stream while in native format and remove resamplingAlexandre Ratchov
bits from the encoding conversion code. As a side effect this reduces CPU usage by 30% on envy(4).
2008-11-04missing setipl in the 'busy processing soft interrupts state'Dale Rahn
causes high priority interrupts to be delayed until that state is cleared.
2008-11-04optimization: add "new" resampling code (actually based on the existingAlexandre Ratchov
conversion bits) and use it when resampling only is required (ie for clients using s16 encoding), this is the most common case. Reduces CPU usage by ~50%. No functional change.
2008-11-04Move the trunk port count check from trunk_lb_start() to trunk_start()Brad Smith
before the protocol start routine is called so as to cover all protocols with the same check. ok mpf@
2008-11-04Add support for an experimental zero-knowledge password authenticationDamien Miller
method using the J-PAKE protocol described in F. Hao, P. Ryan, "Password Authenticated Key Exchange by Juggling", 16th Workshop on Security Protocols, Cambridge, April 2008. This method allows password-based authentication without exposing the password to the server. Instead, the client and server exchange cryptographic proofs to demonstrate of knowledge of the password while revealing nothing useful to an attacker or compromised endpoint. This is experimental, work-in-progress code and is presently compiled-time disabled (turn on -DJPAKE in Makefile.inc). "just commit it. It isn't too intrusive." deraadt@
2008-11-04volume scaling/setting cleanup:Jacob Meuser
* MAX_VOLUME_255 has been defined for ages. remove this define and the code that was only being used when this wasn't defined. * remove azalia_generic_mixer_{max,validate_value} since they are pointless. * when setting both stereo channels to the same level, just set the right channel level to the left channel level instead of calculating both separately. from Alexey Suslikov
2008-11-04need unistd.h for close() prototypeDamien Miller
2008-11-04changes to get target equivalence to work better.Marc Espie
- add new file to create lists of equivalent targets (siblings) - use that for sequential mode to have much better VPATH support - separate checking commands from reporting error, for later. - zap DieHorribly accordingly - renumber existing flags - signal_running_jobs() is simpler than pass_signal_to_jobs() - new debug option -dn for name matching. Similar code to handle parallel make is still missing. thanks to Mark, Miod, Theo, Otto, Todd for tests and/or comments.
2008-11-04regenBrad Smith
2008-11-04Add PCI ids for the Intel 7300 MCH and some more IDT PCI Express switches.Brad Smith
2008-11-04pcidevsTheo de Raadt
2008-11-04another intel g45 devTheo de Raadt
2008-11-04Kill some more ttm only defines. No binary change.Owain Ainsworth
2008-11-04The drawable spinlock is no longer ever held in interrupt context (andOwain Ainsworth
won't be). It doesn't need to block interrupts anymore so switch to IPL_NONE.
2008-11-04Enable IMR passthrough of vblank events before enabling it in theOwain Ainsworth
pipestat register. Fixes a nasty race where the bit would get set without being reflected in the interrupt register, so we'd never get another vblank interrupt. Also, use the user_irq_lock to also protect vblank register writes, since it covers the same register. From Eric Anholt and Keith Packard at Intel.
2008-11-04Hold the drm lock around all things that touch the ringbuffer.Owain Ainsworth
Not strictly needed in the non-gem case, but it will be needed then, and doesn't hurt now. From Eric Anholt at intel.