Age | Commit message (Collapse) | Author |
|
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@
|
|
instead of 8-bit mono mulaw @ 8kHz.
this is just the infrastructure; no drivers are specifying a default
yet.
ok ratchov@, deanna@
|
|
- ANSI
- remove use of static
- remove some #ifdef's
- remove some white space
ok jakemsr@ dlg@
|
|
user noticible highlights:
- recording works
- setting the blockize works correctly
- added master volume mute
ok ratchov
|
|
pcisubmatch(); kettenis@ testing; brad@ ok
|
|
|
|
- fix another uninitialized variable
- ditch htopci() and pcitoh()... they are completely wrong with bus_space(9)
partially from NetBSD; ok mickey/millert
upshot: now works on sparc64 (and probably macppc)
|
|
|
|
<marius@gone.crockster.net> via pr2704; from the #40 train
|
|
|
|
|
|
will ease porting, and generally cleans up a bit
|
|
as the mmap offset.
|
|
correct order.
|
|
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.
|
|
Accomplished by adding functions to audio_hw_if instead of redoing
current ones so as to minimize need to change drivers.
For Neomagic, tell the AC97 subsystem that we don't support reads.
|
|
|
|
|
|
that devices that don't need it are not affected.
eso has those weird 16 bits mode that differ in endianess depending
on READ/WRITE. Use this to avoid setting AUDIO_FLAGS_EMULATED needlessly.
Reorder eso modes slightly so that emulated modes are always last.
|
|
|
|
|
|
|
|
|
|
|
|
|