| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
OK mpi@
|
| |
|
|
| |
auvia(4). From Michael W. Bombardieri <mb at ii.net>. Thanks.
|
| | |
|
| |
|
|
|
| |
methods from all audio drivers and from the audio_if structure as they
are never called.
|
| |
|
|
| |
or unsigned 16-bit samples. Fixes sound on big endian machines.
|
| |
|
|
|
|
| |
caused DMA on the wrong memory location during recording.
ok kettenis@
|
| |
|
|
|
|
|
|
|
| |
the kernel_lock), as we already do better conversions in
user-mode. Yet, no need for every single driver to fiddle with the
conversion code as they are done transparently by common MI code. With
help from armani and miod, support from mpi
ok armani@
|
| |
|
|
| |
after discussions with beck deraadt kettenis.
|
| |
|
|
|
|
|
|
| |
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
|
| |
|
|
|
|
| |
no functional change.
ok sthen@
|
| |
|
|
|
|
|
|
| |
with the IPL_MPSAFE flag. In certain circumstances, this prevents
interrupt handlers from waiting the global kernel_lock possibly (hold
by slower code) to be released.
ok kettenis
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
structures (including sound-card registers) from concurent
access by syscall and interrupt code-paths. Since critical
sections remain the same, calls to splraise/spllower can be
safely replaced by calls to mtx_enter/mtx_leave with two
exceptions: (1) mutexes are not reentrant (the inner splraise
is thus removed), and (2) we're not allowed to sleep with a
mutex (either msleep is used or the mutex is released before
sleeping).
ok and help from kettenis, a lot of work from armani
|
| |
|
|
|
|
|
| |
just return and make the midi(4) driver retry later. UART buffers
are large enough for this, except eap(4) which uses interrupts for
output.
help from and ok jsg@
|
| |
|
|
|
|
|
|
| |
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
|
| |
|
|
| |
ok claudio@
|
| | |
|
| |
|
|
|
| |
traversal code to suspend/resume
ok oga kettenis blambert
|
| |
|
|
|
| |
mechnical changes work in these drivers too. Testing can occur after
this commit.
|
| |
|
|
|
|
|
|
|
|
| |
for both structs, the new members are 'bps' and 'msb', which
describe the number of bytes per sample and data alignment in the
sample, respectively. drivers must properly set these fields in
the 'query_encoding', 'set_parameters' and 'get_default_params'
hardware interface methods.
discussed with ratchov, deraadt
|
| | |
|
| |
|
|
|
|
|
| |
between instances, saving space in the kernel. feedback from many (some
incorporated, some left for future work).
ok deraadt, kettenis, "why not" miod.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
values of the audio_params structure during AUDIO_SETINFO if the
hardware cannot be set to exactly the requested mode.
some drivers do this sometimes. others always return EINVAL if there
isn't an exact match.
be more consistent. only return EINVAL if an absurd parameter was
requested, otherwise return a supported set of parameters, as close
as possible to what was requested.
with/ok ratchov@
|
| |
|
|
|
|
|
|
|
| |
instead of 8-bit mono mulaw @ 8kHz.
this is just the infrastructure; no drivers are specifying a default
yet.
ok ratchov@, deanna@
|
| |
|
|
| |
oustside, seqencer, toghether, nessissary, etc.
|
| | |
|
| |
|
|
|
|
|
| |
Allow umidi(4) to send multiple events in a single USB transfer.
This greatly improves the number of interrupts umidi is able to generate.
From Alexandre Ratchov.
|
| |
|
|
|
|
|
|
|
|
| |
Trident Microsystems 4DWAVE DX (ethernet network, revision 0x25)
Unfortunately, this is an autri sound card. Special case the match routines
for both drivers so if_pcn properly picks it up and autri does not.
From NetBSD
ok mickey@, tested by martin@
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
can use config -e to set flags to 0x0001.
ok deraadt@ mickey@
|
| |
|
|
|
|
|
|
| |
- mute the volume for interrupt channel.
- add some improvements for device initialization.
- Fix recording problem on SiS7018.
From NetBSD via Gabriel Gonzalez.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
will ease porting, and generally cleans up a bit
|
| | |
|
| | |
|
| |
|
|
|
|
| |
from netbsd:
Don't use a static variable in the power hook. It doesn't work with more
than one device.
|
| |
|