| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
interface. Instead, move to the convenience _any interface.
|
| |
|
|
|
|
|
|
|
| |
PR: 75316
Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp>
Obtained from: NetBSD plus changes
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
PR: 75311
Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp>
Obtained from: NetBSD plus changes
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
PR: 75276
Submitted by: Kazuhito HONDA <kazuhito at ph dot noda dot tus dot ac dot jp>
Obtained from: NetBSD with changes
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
One of a set of patches submitted by Kazuhito HONDA
to make the usb audio driver a lot more capable.
PR: 75274
Submitted by: Kazuhito HONDA (kazuhito at ph dot noda dot tus dot ac dot jp)
Obtained from: NetBSD (indirectly)
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
| |
These devices should be probed first because they are at fixed
locations and cannot be turned off. ISA PNP devices, on the other
hand, can be turned off and often can be flexible in the resources
they use. Probe them last, as always.
|
|
|
|
| |
Submitted by: Taku YAMAMOTO
|
|
|
|
| |
Submitted by: Taku Yamamoto (original author)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on UltraSPARC workstations. The driver is based on OpenBSD's SBus
cs4231 driver and heavily modified to incorporate into sound(4)
infrastructure. Due to the lack of APCDMA documentation, the DMA
code of SBus cs4231 came from OpenBSD's driver.
The driver runs without Giant lock and supports both SBus and EBus
based CS4231 audio controller. Special thanks to marius for providing
feedbacks during the driver writing. His feedback made it possible
to write hiccup free playback code under high system loads.
Approved by: jake (mentor)
Reviewed by: marius (initial version)
Tested by: marius, kwm, Julian C. Dunn(jdunn AT opentrend DOT net)
|
|
|
|
| |
removed.
|
|
|
|
|
|
|
| |
changes return code to ENOMEM in case of allocation failure.
Approved by: jake (mentor), scottl (co-mentor)
Reviewed by: truckman, matk
|
|
|
|
|
|
|
|
|
|
| |
handle DMA addresses located above 1GB. The LBA(loop begin address)
register which holds DMA base address is 32bits register. But the
MSB 2bits are used for other purposes. This effectivly limits the
DMA address space up to 1GB.
Approved by: jake (mentor)
Reviewed by: truckman, matk
|
|
|
|
|
|
|
|
|
|
| |
assign DMA address to the wrong address. It can cause system lockup
or other mysterious errors. Since most sound cards requires low DMA
address(BUS_SPACE_MAXADDR_24BIT) sndbuf_alloc() would fail when the
audio driver is loaded after long running of operations.
Approved by: jake (mentor)
Reviewed by: truckman, matk
|
|
|
|
|
|
|
|
|
| |
that conjures up the device node so it isn't true PNP. Noticed by jhb@.
* Add an attachment for esscontrol since it too uses ISA_PNP_PROBE.
* Move an attachment from snd_mss to snd_pnpmss. The latter is the real
PNP user.
|
|
|
|
|
|
|
| |
probe and attach when ACPI is enabled.
Submitted by: takawata (sbc fix)
MFC after: 1 day
|
| |
|
| |
|
|
|
|
|
|
| |
PR: kern/71317
Submitted by: Mezz <mezz@freebsd.org>
MFC after: 1 week
|
|
|
|
|
|
| |
PR: kern/71726
Submitted by: FUJIMOTO Kou <fujimoto@j.dendai.ac.jp>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
fm801 has sound capabilities or not. Unfortunately this code doesn't
work as expected.
Submitted by: many
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
calls in sb_cmd2() and sb_getmixer(). The lock has already be grabbed
before these functions are called.
This is a RELENG_5 candidate.
PR: 71189
Submitted by: stephane
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
holds sndstat_lock across a call to uiomove(), which is not legal
to do with a mutex because of the possibility that the data transfer
could sleep because of a page fault. It is not possible to just
unlock the mutex for the uiomove() call without introducing another
locking mechanism to prevent the body of sndstat_read() from being
re-entered. Converting sndstat_lock to an sx lock is the least
complicated change.
This is a candidate for RELENG_5.
LOR: 030
MFC after: 4 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allocation. Notably, in this case, the driver tries to allocate several
pieces of memory and then fails if the pieces allocated after the first
do not come after it physically, and within a specific range (8MB I
believe). Of course, this could just as easily fail for any number of
reasons, but it almost always fails now that contiguous allocations start
at the end of possible specified memory locations rather than the beginning.
Allocate all the possibly-needed memory up front, even though it's a waste,
to get around this. The least bogus solution would be to take the physical
address from the first allocation and create a new tag that specified that
further allocations must follow it within that 8MB window, then use that
when allocating new channels, but that's left for anyone else that really
feels like doing it.
Tested by: Erwin Lansing <erwin@lansing.dk>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- `sound'
The generic sound driver, always required.
- `snd_*'
Device-dependent drivers, named after the sound module names.
Configure accordingly to your hardware.
In addition, rename the `snd_pcm' module to `sound' in order to sync
with the driver names.
Suggested by: cg
|
|
|
|
|
|
|
|
| |
for unknown events.
A number of modules return EINVAL in this instance, and I have left
those alone for now and instead taught MOD_QUIESCE to accept this
as "didn't do anything".
|
|
|
|
|
| |
Yes, DDB is unrelated to the debugger with the same acronym. Hence,
the change.
|
|
|
|
| |
Note that DDB is unrelated to the debugger with the same acronym.
|
|
|
|
| |
Submitted by: Darron Broad (with cleanups)
|
|
|
|
|
|
| |
use full duplex mode.
Approved by: matk
|
|
|
|
|
|
| |
Approved by: hmp
Reviewed by: chris
Pointy hat to: josef (for ignoring warning)
|
|
|
|
|
|
|
|
| |
to use boot/device.hints now
As discussed on cvs-src@
Reviewed by: Hiten Pandya <hmp@backplane.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mixer channels.
e.g.: pcm0.line=0
to muten input line per default.
Approved by: cg
Reviewed by: le, stefanf
Requested by: Eugene Grosbein <eugen@grosbein.pp.ru> (implicitly)
PR: kern/63771
|
|
|
|
|
|
|
|
|
|
|
| |
The big lines are:
NODEV -> NULL
NOUDEV -> NODEV
udev_t -> dev_t
udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
|
|
|
|
| |
Bump __FreeBSD_version accordingly.
|
|
|
|
|
|
|
|
|
|
| |
I added bounds checking to the patch and cg improved
the formular.
Submitted by: Andriy Gapon <avg@icyb.net.ua>
PR: kern/65485
Approved by: cg
Reviewed by: imp, rwatson, le
|
|
|
|
| |
Submitted by: Joseph Dunn <joseph@magnesium.net>
|
| |
|
|
|
|
|
|
| |
exactly as done in the cmi driver. I am quite confident this is
safe since I'm runing this for more than two weeks now, on an SMP
box. A few people tested this patch for me successfully as well.
|
|
|
|
| |
module-friendly midi subsystem to be merged soon.
|
|
|
|
| |
unit management will corrupt.
|
|
|
|
|
|
| |
Submitted by: Josh Elsasser <jre@vineyard.net>
Approved by: tanimura (mentor)
PR: kern/61730
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
proper locking to be checked at runtime.
Remove sb_lock() and sb_unlock() calls from sb_reset_dsp() because the
latter is called from sb_setup() with the lock already held. Add a
call to sb_lockassert().
Surround the call to sb_reset_dsp() in sb16_attach() with sb_lock()
and sb_unlock() calls.
Tested by: Bartek Marcinkiewicz <junior AT p233.if.pwr.wroc.pl>
|
|
|
|
|
| |
PR: kern/66280
Submitted by: Christian Brueffer <chris@unixpages.org>
|
| |
|
|
|
|
|
|
| |
of you with other cards, please do review and test the drivers for
MP-safety and disable Giant in the interrupt routines when you are
sure of proper functionality.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
because they bogusly check for defined(INTR_MPSAFE) -- something which
never was a #define. Correct the definitions.
This make INTR_TYPE_AV finally get used instead of the lower-priority
INTR_TYPE_TTY, so it's quite possible some improvement will be had
on sound driver performance. It would also make all the drivers
marked INTR_MPSAFE actually run without Giant (which does seem to
work for me), but:
INTR_MPSAFE HAS BEEN REMOVED FROM EVERY SOUND DRIVER!
It needs to be re-added on a case-by-case basis since there is no one
who will vouch for which sound drivers, if any, willy actually operate
correctly without Giant, since there hasn't been testing because of
this bug disabling INTR_MPSAFE.
Found by: "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru>
|