| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This takes us a lot closer to refcounting dev_t.
This patch originally by cg@ with a few minor changes by me.
It is largely untested, but has been HEADSUP'ed twice, so presumably
people have not found any issues with it.
Submitted by: cg@
|
| |
|
|
|
|
|
|
| |
I started with a year-old patch by Orlando Bassotto
<orlando.bassotto@ieo-research.it>, and ported it to 5.2-CURRENT along with
fixing the problems working with pre-Audigy cards.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dsp_open: rearrange to only hold one lock at a time
dsp_close: ditto
mixer_hwvol_init: delete locking, the only consumer seems to
be the ess driver and it only call it a creation time, I
think the device will be stable across the sleepable malloc.
cmi interrupt routine: Release locks while caller chn_intr,
either this or do what emu10k1 does which is have no locks
at in the interrupt handler.
Submitted by: mat@cnd.mcgill.ca
|
|
|
|
|
| |
handle the minor (but significant) differences between the various
Vortex chips; add (incomplete) support for playback.
|
|
|
|
|
|
|
|
|
|
|
| |
after suspend/resume for me.
PR:
Submitted by: iwasaki
Reviewed by: orion
Approved by: cg
Obtained from:
MFC after:
|
| |
|
|
|
|
| |
(such as the Asus SK8N).
|
|
|
|
|
| |
Glanced over by: imp, gibbs
Tested by: i386 LINT
|
|
|
|
|
| |
Submitted by: David Xu <davidxu@FreeBSD.org>
PR: kern/54810
|
|
|
|
|
| |
PR: kern/55932
Submitted by: Mark Kettenis <kettenis@chello.nl>
|
|
|
|
|
|
|
|
|
|
|
| |
round the result up to a multiple of 4 bytes so that it will always
be a multiple of the sample size. Also use the actual buffer size
from sc->bufsz instead of the default DS1_BUFFSIZE.
This fixes panics and bad distortion I have seen on Yamaha DS-1
hardware, mainly when playing certain Real Audio media.
Reviewed by: orion (an earlier version of the patch)
|
|
|
|
|
| |
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
|
|
|
|
| |
this needs to be reimplemented properly.
|
|
|
|
|
|
|
| |
Submitted by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>
Test by: Markko Merzin <markko@short.cut.ee>
PR: kern/53242
MFC after: 5 days
|
|
|
|
|
|
|
| |
PR: kern/53242
Submitted by: Shin-ichi Yoshimoto <yosimoto@waishi.jp> (partly)
Tested by: Dominic Marks <dom@cus.org.uk> (version in PR)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
tested for playback.
* modify device name strings for ich chips to better conform with their
common names.
* remove superflous 'AC97 controller' from nforce device names.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg.
Lockfunc allows a driver to provide a function for managing its locking
semantics while using busdma. At the moment, this is used for the
asynchronous busdma_swi and callback mechanism. Two lockfunc implementations
are provided: busdma_lock_mutex() performs standard mutex operations on the
mutex that is specified from lockfuncarg. dftl_lock() is a panic
implementation and is defaulted to when NULL, NULL are passed to
bus_dma_tag_create(). The only time that NULL, NULL should ever be used is
when the driver ensures that bus_dmamap_load() will not be deferred.
Drivers that do not provide their own locking can pass
busdma_lock_mutex,&Giant args in order to preserve the former behaviour.
sparc64 and powerpc do not provide real busdma_swi functions, so this is
largely a noop on those platforms. The busdma_swi on is64 is not properly
locked yet, so warnings will be emitted on this platform when busdma
callback deferrals happen.
If anyone gets panics or warnings from dflt_lock() being called, please
let me know right away.
Reviewed by: tmm, gibbs
|
|
|
|
| |
The mixer works, pcm support is half done.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
codec during initialization. This code mirrors the reset code used on
the VIA82c686 and fixes a codec initialization failure (SoundMAX
AD1885) reported by Matthias Schuendehuette.
|
|
|
|
| |
MFC: 1 week
|
|
|
|
|
| |
- Don't test memory/port status and emit an error message; the PCI
bus code will do this now.
|
|
|
|
|
|
|
| |
actual address of buffer descriptor. This should fix the reported
calibration failures and subsequent speed problems with ich chipsets.
Minor calibration comment updates.
|
|
|
|
| |
Move AC97 link control power up poke so it is always performed on attach.
|
|
|
|
|
|
|
| |
and be prepared to wait much longer for codec to become ready.
Credit to Hugo D. Valentim <hvalentim@gmx.net> for reporting the
problem, providing useful pointers, and repeated diff testing.
|
|
|
|
|
|
| |
channel and disable DXS3. Several users have reported DXS3 as playing
at half speed on the 8233A revision of the chipset. This implicitly
means no SPDIF for VIA8233A users.
|
| |
|
|
|
|
| |
msgd) and those that don't (dxs0-3) when reporting format caps.
|
|
|
|
|
|
| |
Halt attach if mixer_init fails.
Prompted by: points raised by Hugo Valentim <hvalentim@gmx.net>.
|
|
|
|
| |
New contestant for the lamest commit of the year award: cognet
|
| |
|
|
|
|
|
|
|
|
| |
o Make DXS3 the primary playback channel. It may be the only
universally supported channel with the assorted revisions of this
chipset.
o Add sysctl and handler for enabling s/pdif output from DXS3.
|
| |
|
| |
|
|
|
|
| |
Reviewed by: orion
|
|
|
|
| |
Approved by: trb
|
|
|
|
| |
Submitted by: Hiten Pandya <hiten@unixdaemons.com>
|
| |
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
|
|
|
|
| |
Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi>
MFC after: 5 days
|
|
|
|
| |
especially in troff files.
|
|
|
|
|
| |
Submitted by: marius@alchemy.franken.de
MFC after: 3 days
|
|
|
|
| |
Approved by: re
|
|
|
|
|
| |
Approved by: re
Reviewed by: orion
|