summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci
Commit message (Collapse)AuthorAgeFilesLines
* As previously announced: discontinue use of makedev() call in soundcode.phk2004-01-171-1/+1
| | | | | | | | | | | 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@
* Specify the right location of the generated header.obrien2004-01-121-1/+1
|
* Add Audigy support.obrien2004-01-111-93/+521
| | | | | | 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.
* Remove EMUDEBUG [un]def. This should be done in the Makefile.obrien2004-01-111-1/+0
|
* Sync with Creative's 8010.h rev 1.51.obrien2004-01-091-0/+7
|
* Fix sound LOR problems:scottl2003-11-111-25/+25
| | | | | | | | | | | | | | | | 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
* A couple of months' worth of back-burner hacking: restructure to betterdes2003-10-122-89/+189
| | | | | handle the minor (but significant) differences between the various Vortex chips; add (incomplete) support for playback.
* Correctly reset ich[3-5] sound cards on resume. This fixes audio playbacknjl2003-09-151-0/+30
| | | | | | | | | | | after suspend/resume for me. PR: Submitted by: iwasaki Reviewed by: orion Approved by: cg Obtained from: MFC after:
* update my email address.cg2003-09-0711-11/+11
|
* Recognize the sound chip on the Opteron-based nForce3 motherboardsobrien2003-09-031-0/+4
| | | | (such as the Asus SK8N).
* Use PCIR_BAR(x) instead of PCIR_MAPS.jhb2003-09-0219-41/+41
| | | | | Glanced over by: imp, gibbs Tested by: i386 LINT
* Add Creative SB AudioPCI CT4730 rev A.orion2003-08-291-2/+18
| | | | | Submitted by: David Xu <davidxu@FreeBSD.org> PR: kern/54810
* Add sound support for the AMD64 8111 chip.obrien2003-08-281-0/+4
| | | | | PR: kern/55932 Submitted by: Mark Kettenis <kettenis@chello.nl>
* When calculating the block size to use for a particular sample rate,iedowse2003-08-231-4/+6
| | | | | | | | | | | 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)
* Prefer new location of pci include files (which have only been in theimp2003-08-2221-43/+43
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* disable resume code implementing panic().cg2003-08-141-1/+6
| | | | this needs to be reimplemented properly.
* Switch from legacy to native mode for ICH4 and ICH5.orion2003-08-102-21/+22
| | | | | | | Submitted by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp> Test by: Markko Merzin <markko@short.cut.ee> PR: kern/53242 MFC after: 5 days
* * support ich5cg2003-07-061-9/+14
| | | | | | | 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
* * add support for amd-768 audio, as used on many dual athlon boards. onlycg2003-07-061-19/+23
| | | | | | | | | | | 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
* Mega busdma API commit.scottl2003-07-0118-20/+41
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Add (but do not connect) a half-finished driver for Aureal Vortex cards.des2003-06-012-0/+811
| | | | The mixer works, pcm support is half done.
* more style(9) changes.obrien2003-04-201-6/+8
|
* more style(9) changes.obrien2003-04-201-32/+32
|
* A few style(9) fixes.obrien2003-04-201-50/+50
|
* Sync with Creative's 8010.h rev 1.39.obrien2003-04-181-3/+3
|
* Perform warm or cold reset AC97 per the spec depending on state of theorion2003-04-172-22/+49
| | | | | | 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.
* Fix bogus maxsegsz parameter for bus_dma_tag_create().simokawa2003-04-161-1/+1
| | | | MFC: 1 week
* - Don't call pci_enable_io() in drivers (unless needed for resume).mdodd2003-04-162-2/+0
| | | | | - Don't test memory/port status and emit an error message; the PCI bus code will do this now.
* Fix mismatch between bus address stored for buffer descriptors andorion2003-04-041-3/+8
| | | | | | | actual address of buffer descriptor. This should fix the reported calibration failures and subsequent speed problems with ich chipsets. Minor calibration comment updates.
* Perform warm reset if codec reports ready on attach.orion2003-03-281-16/+25
| | | | Move AC97 link control power up poke so it is always performed on attach.
* Re-work ac97 initialization to match cold reset described in AC97r.23orion2003-03-261-13/+20
| | | | | | | 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.
* For the VIA8233A use multi-sgd register set for primary playbackorion2003-03-261-2/+8
| | | | | | 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.
* Add defines for low power and second codec ready.orion2003-03-261-0/+3
|
* Distinguish between register sets that depend on ac97 caps (wr0, wr1,orion2003-03-201-17/+38
| | | | msgd) and those that don't (dxs0-3) when reporting format caps.
* Attempt a hard reset if AC97 codec is not ready on attach.orion2003-03-052-20/+27
| | | | | | Halt attach if mixer_init fails. Prompted by: points raised by Hugo Valentim <hvalentim@gmx.net>.
* Unbreak emu10k1 by properly using the buffer address.cognet2003-02-261-4/+4
| | | | New contestant for the lamest commit of the year award: cognet
* Fix compilation on alpha. Pointy hat to Marcel.orion2003-02-231-1/+1
|
* o Add back support for DXS channels.orion2003-02-222-84/+302
| | | | | | | | 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.
* Clean up viachan_init.orion2003-02-211-9/+13
|
* Fix assignment of record sgd_addr and clean up via8233chan_init.orion2003-02-211-10/+13
|
* Implement a "sndbuf_getbufaddr" function and use it instead of vtophys().cognet2003-02-2016-65/+89
| | | | Reviewed by: orion
* Back out M_* changes, per decision of the TRB.imp2003-02-192-2/+2
| | | | Approved by: trb
* Consolidate MIN/MAX macros into one place (param.h).alfred2003-02-021-3/+0
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Disable DRA to fix problems with recording.orion2003-01-261-14/+19
|
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-212-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Add nForce2 device id.orion2003-01-131-0/+4
| | | | | Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi> MFC after: 5 days
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-012-2/+2
| | | | especially in troff files.
* Do not return(foo()) in void function.semenu2002-12-181-5/+7
| | | | | Submitted by: marius@alchemy.franken.de MFC after: 3 days
* (hopefully) fix build breakage some people are seeingcg2002-11-266-7/+7
| | | | Approved by: re
* various fixes to eliminate locking warningscg2002-11-251-1/+1
| | | | | Approved by: re Reviewed by: orion
OpenPOWER on IntegriCloud