#
af53795d |
| 27-Aug-2022 |
skrll <skrll@NetBSD.org> |
Correct the abbreviation of approximately to 'approx.'
|
#
0f9421e0 |
| 25-Jan-2022 |
andvar <andvar@NetBSD.org> |
fix various typos in comments.
|
#
e4a5d84c |
| 21-Aug-2021 |
andvar <andvar@NetBSD.org> |
s/helt/held+s/eroneously/erroneously/+s/splitted/split/+s/recommented/recommended/
|
#
47ffcd69 |
| 20-Aug-2021 |
andvar <andvar@NetBSD.org> |
fix various typos in comments and log messages.
|
#
2da2de4b |
| 03-Jul-2020 |
isaki <isaki@NetBSD.org> |
Fix an argument passes to auixp_intr(). This is rest of rev 1.39 (split device_t/softc) in 2012. Problem reported and tested by Riccardo Mottola.
|
#
a923129f |
| 29-Feb-2020 |
isaki <isaki@NetBSD.org> |
round_blocksize must return a multiple of the framesize even if 6 channels mode. I believe that keeping "good alignment" is just a wish, not constraint.
|
#
db751219 |
| 16-Oct-2019 |
maya <maya@NetBSD.org> |
Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause.
OK'd by reinoud in email (from 4 Feb 2019).
|
#
edc8f0a6 |
| 08-Jun-2019 |
isaki <isaki@NetBSD.org> |
Clean get_props(). - Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly. This eliminates need for audio.c to take care of such (old) drivers which don't return both of PLAYBACK and CA
Clean get_props(). - Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly. This eliminates need for audio.c to take care of such (old) drivers which don't return both of PLAYBACK and CAPTURE. - All get_props() doesn't need to return AUDIO_PROP_MMAP. It is handled in the audio layer now.
show more ...
|
#
b950503f |
| 08-May-2019 |
isaki <isaki@NetBSD.org> |
Merge isaki-audio2 branch, the overhaul of audio subsystem. - Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly.
Merge isaki-audio2 branch, the overhaul of audio subsystem. - Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible).
Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
show more ...
|
#
d583f93c |
| 16-Mar-2019 |
isaki <isaki@NetBSD.org> |
Use C99 style struct initializer to audio_hw_if.
|
#
79fb1406 |
| 09-Dec-2018 |
jdolecek <jdolecek@NetBSD.org> |
use pci_intr_establish_xname() everywhere
|
#
d65a6a67 |
| 01-Jun-2017 |
chs <chs@NetBSD.org> |
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
al
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
show more ...
|
#
575a7585 |
| 07-Jul-2016 |
msaitoh <msaitoh@NetBSD.org> |
KNF. Remove extra spaces. No functional change.
|
#
7d1220ac |
| 18-Oct-2014 |
snj <snj@NetBSD.org> |
src is too big these days to tolerate superfluous apostrophes. It's "its", people!
|
#
b8930f84 |
| 29-Mar-2014 |
christos <christos@NetBSD.org> |
make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
#
5f819ca3 |
| 27-Oct-2012 |
chs <chs@NetBSD.org> |
split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
#
75fbecf5 |
| 30-Jan-2012 |
drochner <drochner@NetBSD.org> |
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive} where it looks straightforward, and pci_aprint_devinfo_fancy in a few others where drivers want to supply their own device names
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive} where it looks straightforward, and pci_aprint_devinfo_fancy in a few others where drivers want to supply their own device names instead of the pcidevs generated one. More complicated cases, where names are composed at runtime, are left alone for now. It certainly makes sense to simplify the drivers here rather than inventing a catch-all API. This should serve as as example for new drivers, and also ensure consistent output in the AB_QUIET ("boot -q") case. Also, it avoids excessive stack usage where drivers attach child devices because the buffer for the device name is not kept on the local stack anymore.
show more ...
|
#
8e152c74 |
| 02-Dec-2011 |
jmcneill <jmcneill@NetBSD.org> |
audio cookie is a struct auixp_codec, not auixp_softc
|
#
e29a9c27 |
| 24-Nov-2011 |
mrg <mrg@NetBSD.org> |
put back IPL_AUDIO and splaudio(), at the request of rmind. they are aliases and now we can easily revert audio to IPL_VM if necessary, without having to revert the whole branch.
|
#
18b5c52f |
| 23-Nov-2011 |
jmcneill <jmcneill@NetBSD.org> |
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From the original ad-audiomp branch notes:
Add MP locking to the audio drivers.
Making the audio drivers MP safe is necessary
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From the original ad-audiomp branch notes:
Add MP locking to the audio drivers.
Making the audio drivers MP safe is necessary before efforts can be made to make the VM system MP safe.
The are two locks per device instance, an ISR lock and a character device lock. The ISR lock replaces calls to splaudio()/splx(), and will be held across calls to device methods which were called at splaudio() before (e.g. trigger_output). The character device lock is held across calls to nearly all of the methods, excluding some only used for initialization, e.g. get_locks.
Welcome to 5.99.57.
show more ...
|
#
c1b390d4 |
| 24-Feb-2010 |
dyoung <dyoung@NetBSD.org> |
A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_
A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
show more ...
|
#
cd6e1fbf |
| 08-Jan-2010 |
dyoung <dyoung@NetBSD.org> |
Expand PMF_FN_* macros.
|
#
85cadc23 |
| 26-Nov-2009 |
njoly <njoly@NetBSD.org> |
Cleanup interrupt establish error messages. Do not mix aprint_error/aprint_normal/printf calls for a single line.
|
#
59717d71 |
| 06-May-2009 |
cegger <cegger@NetBSD.org> |
struct cfdata * -> cfdata_t, no functional changes intended.
|
#
c363a9cb |
| 18-Mar-2009 |
cegger <cegger@NetBSD.org> |
bzero -> memset
|