| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
ok ratchov@
|
|
|
|
|
|
|
|
| |
use it during suspend/resume. Remove driver-specific mixer
save/restore bits that don't need to be duplicated in every
low-lever driver.
ok mpi
|
| |
|
|
|
|
|
| |
methods from all audio drivers and from the audio_if structure as they
are never called.
|
|
|
|
| |
available format. ok ratchov@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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 ratchov@
|
|
|
|
| |
ok claudio@
|
| |
|
|
|
|
|
| |
more than one block was used since the last time the interrupt handler
was run.
|
| |
|
|
|
|
| |
DVACT_{QUIESCE,RESUME}.
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
of set_params so they only get configured when necessary.
|
|
|
|
|
|
|
|
| |
modes, "double speed")
- connect s/pdif output to the correct controller channels
fixes s/pdif output, which I partly broke when adding multichannel
support. problem reported and patches tested by Antti Harri, thanks.
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
| |
factor 1
also obsoletes a XXX workaround in azalia
ok ratchov@
|
|
|
|
| |
ok dlg@
|
|
|
|
|
|
|
|
|
| |
instead of 8-bit mono mulaw @ 8kHz.
this is just the infrastructure; no drivers are specifying a default
yet.
ok ratchov@, deanna@
|
|
|
|
|
|
|
|
| |
- print chip version in `audioctl version'
- advertise some features of supported hardware in the man page
- CMI8768 now working properly
yes! ratchov@
|
|
|
|
| |
ok dlg@
|
|
|
|
|
|
| |
tested on my amd64
from bret.lambert@gmail.com via art@, thanks
|
|
|
|
|
|
|
|
|
| |
fixes for 48KHz sound and adds the C-Media CMI8738B PCI id.
By ITOH Yasufumi
From NetBSD
Thanks to kurt@ for providing me with a CMI8738 board.
|
| |
|
|
|
|
| |
deraadt@, jason@, mickey@ ok
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
will ease porting, and generally cleans up a bit
|
|
|
|
| |
as the mmap offset.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
All callers actually took all arguments to pci_intr_map from pci_attach_args
structs, so this simplifies code.
This also allows more complicated interrupt assignment schemes like the one
on sparc64.
This makes sparc64 pci interrupts work.
Inspired by the same change in NetBSD.
|
|
|
|
|
|
|
| |
put a size limitation of the PCI region to map. That makes the PERC 3/Di
raid controller usable, as it publishes too much PCI memory for us to map
in the kernel virtual memory. As we only access the first 256 byte it is
of no use to map 128MB of kvm.
|
|
motherboards (ie: bultin audio + video). Written by Takuya SHIOZAKI.
|