| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add new channels to the end of the list so channels used in order of
addition
* de-globalise definition of struct snddev_info and provide accessor
functions where necessary.
* move the $FreeBSD$ tag in each .c file into a macro and allow the
/dev/sndstat handler to display these when set to maximum verbosity to aid
debugging.
* allow each device to register its own sndstat handler to reduce the amount
of groping sndstat must do in foreign structs.
Notes:
svn path=/head/; revision=82180
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79116
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79090
|
| |
|
|
|
|
|
|
| |
Reviewed by: cg
MFC after: 1 week
Notes:
svn path=/head/; revision=78564
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1: most drivers are sensitive to timing, and
2: the handlers are MPSAFE and need a chance to get into the kernel
before some other non-mpsafe handler blocks the ithread on Giant in
shared irq cases.
Reviewed by: cg (in principle)
Notes:
svn path=/head/; revision=78366
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
worked before.
mixer, dsp and sndstat are seperate devices - give them their own cdevsws
instead of demuxing requests sent to a single cdevsw.
use the si_drv1/si_drv2 fields in dev_t structures for holding information
specific to an open instance of mixer/dsp.
nuke /dev/{dsp,dspW,audio}[0-9]* links - this functionality is now provided
using cloning.
various locking fixes.
Notes:
svn path=/head/; revision=78362
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
can be made userland-visible as <dev/ic/...>. Also, those files are
not supposed to contain any bus-specific details at all, so placing
them under .../isa/ has been a misnomer from the beginning.
The files in src/sys/dev/ic/ have been repo-copied from their old
location (this commit is a forced null commit there to record this
message).
Notes:
svn path=/head/; revision=77726
|
| |
|
|
| |
Notes:
svn path=/head/; revision=76635
|
| |
|
|
|
|
|
|
|
| |
- Finish transmitting data to mpu when a buffer gets empty.
Submitted by: KUROSAWA Takahiro <fwkg7679@mb.infoweb.ne.jp>
Notes:
svn path=/head/; revision=76370
|
| |
|
|
| |
Notes:
svn path=/head/; revision=75381
|
| |
|
|
|
|
|
|
|
| |
PR: 22372
Submitted by: Hiroyuki Aizu <aizu@jaist.ac.jp>
Reviewed by: cg
Notes:
svn path=/head/; revision=75326
|
| |
|
|
|
|
|
|
| |
PR: kern/26188
Submitted by: Jim Bloom <bloom@acm.org>
Notes:
svn path=/head/; revision=75113
|
| |
|
|
| |
Notes:
svn path=/head/; revision=74903
|
| |
|
|
| |
Notes:
svn path=/head/; revision=74797
|
| |
|
|
|
|
|
| |
otherwise resource_list_alloc panics when opti_detect tries its next probe.
Notes:
svn path=/head/; revision=74789
|
| |
|
|
|
|
|
| |
Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Notes:
svn path=/head/; revision=74788
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this introduces a new buffering mechanism which results in dramatic
simplification of the channel manager.
as several structures have changed, we take the opportunity to move their
definitions into the source files where they are used, make them private and
de-typedef them.
the sound drivers are updated to use snd_setup_intr instead of
bus_setup_intr, and to comply with the de-typedefed structures.
the ac97, mixer and channel layers have been updated with finegrained
locking, as have some drivers- not all though. the rest will follow soon.
Notes:
svn path=/head/; revision=74763
|
| |
|
|
|
|
|
|
|
|
|
|
| |
both should work in non-pnp mode, the 924 should also work in its rather
braindead pnp mode- it will adopt port 0x530 unless given hints due to it
starting up in soundblaster mode and thus not requesting a valid mss port
address.
Submitted by: George Reid <greid@ukug.uk.freebsd.org>
Notes:
svn path=/head/; revision=74711
|
| |
|
|
|
|
|
|
| |
pcm/midi devices trying to attach if the module is repeatedly loaded and
unloaded.
Notes:
svn path=/head/; revision=74395
|
| |
|
|
|
|
|
| |
use isa_dma_release when releasing dma channels
Notes:
svn path=/head/; revision=74364
|
| |
|
|
|
|
|
|
|
|
|
| |
Requested by: jhb
- Initialize a mutex prior to locking it.
Spotted by: dcs
Notes:
svn path=/head/; revision=74239
|
| |
|
|
| |
Notes:
svn path=/head/; revision=73775
|
| |
|
|
|
|
|
|
| |
Submitted by: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
PR: i386/21452
Notes:
svn path=/head/; revision=73151
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you ever want to run midi(4) out of the giant lock, uncomment
MIDI_OUTOFGIANT in midi.h. Confirmed to work for csamidi with WITNESS
and INVARIANTS.
- midi_info, midi_open and seq_info are now tailqs, allowing arbitrary
numbers of devices to be configured.
- Do not send an active sensing message to reset midi modules.
- Clone /dev/sequencer*. /dev/sequencer0 and /dev/sequencer are generated
upon initialization.
Notes:
svn path=/head/; revision=73072
|
| |
|
|
| |
Notes:
svn path=/head/; revision=72661
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71932
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71475
|
| |
|
|
|
|
|
|
|
| |
the ES18xx DSP code and is now my MP3 juke box engine.
Reviewed by: cg
Notes:
svn path=/head/; revision=70668
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70392
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modify chn_setblocksize() to pick a default soft-blocksize appropriate to the
sample rate and format in use. it will aim for a power of two size small
enough to generate block sizes of at most 20ms. it will also set the
hard-blocksize taking into account rate/format conversions in use.
update drivers to implement setblocksize correctly:
updated, tested: sb16, emu10k1, maestro, solo
updated, untested: ad1816, ess, mss, sb8, csa
not updated: ds1, es137x, fm801, neomagic, t4dwave, via82c686
i lack hardware to test: ad1816, csa, fm801, neomagic
others will be updated/tested in the next few days.
Notes:
svn path=/head/; revision=70291
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
this gives us several benefits, including:
* easier extensibility- new optional methods can be added to
ac97/mixer/channel classes without having to fixup every driver.
* forward compatibility for drivers, provided no new mandatory methods are
added.
Notes:
svn path=/head/; revision=70134
|
| |
|
|
|
|
|
| |
not work on vibra16x, so is disabled.
Notes:
svn path=/head/; revision=68414
|
| |
|
|
|
|
|
| |
doing the left channel twice.
Notes:
svn path=/head/; revision=68376
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68141
|
| |
|
|
|
|
|
|
|
|
| |
we do not support sb versions <2.00, and the sb8 driver has not been tested
yet.
these drivers are not yet enabled by default.
Notes:
svn path=/head/; revision=67803
|
| |
|
|
|
|
|
|
| |
unstaticize chn_start()
add reset/resetdone functions to channels
Notes:
svn path=/head/; revision=67652
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67651
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67164
|
| |
|
|
|
|
|
| |
Approved by: cg
Notes:
svn path=/head/; revision=66883
|
| |
|
|
|
|
|
|
|
|
| |
remove un-needed setdir functions
add bus_teardown_intr calls where necessary
destroy our dma tags where necessary
destroy ac97 before releasing resources
Notes:
svn path=/head/; revision=65644
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cloning infrastructure standard in kern_conf. Modules are now
the same with or without devfs support.
If you need to detect if devfs is present, in modules or elsewhere,
check the integer variable "devfs_present".
This happily removes an ugly hack from kern/vfs_conf.c.
This forces a rename of the eventhandler and the standard clone
helper function.
Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include
like <sys/queue.h>
Remove all #includes of opt_devfs.h they no longer matter.
Notes:
svn path=/head/; revision=65374
|
| |
|
|
|
|
|
|
|
|
|
|
| |
change channel interface - kobj implementation coming soonish
make pcm_makelinks not panic if modular
add pcm_unregister()
these changes support newpcm kld unloading, but this is only implemented
by ds1.c
Notes:
svn path=/head/; revision=65340
|
| |
|
|
|
|
|
|
|
|
|
| |
modify driver capability reporting format to list every audio format
seperately- required for above and because we could not previously indicate
that mono was unsupported.
there should be no functional impact.
Notes:
svn path=/head/; revision=64881
|
| |
|
|
|
|
|
|
| |
PR: kern/18714
Submitted by: Sean O'Connell <sean@stat.Duke.EDU>
Notes:
svn path=/head/; revision=64845
|
| |
|
|
|
|
|
| |
Submitted by: Ira L Cooper <ira@MIT.EDU>
Notes:
svn path=/head/; revision=64032
|
| |
|
|
|
|
|
|
| |
Reviewed by:tanimura
Fix boot panic introduced by newmidi code.
Notes:
svn path=/head/; revision=63461
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(I had been busy for my own research activity until the last weekend)
Supported devices:
SB Midi Port (sbc + midi)
SB OPL3 (sbc + midi)
16550 UART (midi, needs a trick in your hint)
CS461x Midi Port (csa + midi)
OSS-compatible sequencer (seq)
Supported playing software:
playmidi (We definitely need more)
Notes:
/dev/midistat now reports installed midi drivers. /dev/sndstat reports
only pcm drivers. We need the new name(pcmstat?).
EMU8000(SB AWE) does not sound yet but does get probed so that the OPL3
synth on an AWE card works.
TODO:
MSS/PCI bridge drivers
Midi-tty interface to support general serial devices
Modules
Notes:
svn path=/head/; revision=62947
|
| |
|
|
|
|
|
| |
bus to which pcm, mixer, etc will attach.
Notes:
svn path=/head/; revision=62483
|
| |
|
|
|
|
|
|
| |
Submitted by: mdharnois@home.com
PR: 19206
Notes:
svn path=/head/; revision=61569
|
| |
|
|
|
|
|
| |
an attachment node for something that may not have been compiled in.
Notes:
svn path=/head/; revision=61479
|