History log of /src/sys/arch/hppa/gsc/harmony.c |
Revision | | Date | Author | Comments |
1.11 |
| 15-May-2022 |
gutteridge | harmony.c: expand and correct a couple of comments
|
1.10 |
| 04-Feb-2021 |
isaki | Simplify harmony_speed_bits(). It no longer needs to write back the speed value.
|
1.9 |
| 04-Feb-2021 |
isaki | Fix my mistakes in rev1.6. - I had to merge the channel bit and the speed bits. Reported by macallan@. - I also fix my indent, while I'm here.
|
1.8 |
| 03-Feb-2021 |
isaki | Fix locking against myself. trigger_output will be called with sc_intr_lock held. From source code review, not tested.
|
1.7 |
| 08-Jun-2019 |
isaki | branches: 1.7.2; 1.7.10; 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.
|
1.6 |
| 08-May-2019 |
isaki | 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
|
1.5 |
| 16-Mar-2019 |
isaki | branches: 1.5.2; Use C99 style struct initializer to audio_hw_if.
|
1.4 |
| 01-Jun-2017 |
chs | branches: 1.4.10; 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.
|
1.3 |
| 13-Apr-2015 |
riastradh | MD rnd.h cleanups. Please let me know if I broke anything!
|
1.2 |
| 10-Aug-2014 |
tls | branches: 1.2.4; 1.2.6; Merge tls-earlyentropy branch into HEAD.
|
1.1 |
| 24-Feb-2014 |
skrll | branches: 1.1.2; 1.1.4; 1.1.6; Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
|
1.1.6.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.1.6.1 |
| 24-Feb-2014 |
yamt | file harmony.c was added on branch yamt-pagecache on 2014-05-22 11:39:50 +0000
|
1.1.4.2 |
| 18-May-2014 |
rmind | sync with head
|
1.1.4.1 |
| 24-Feb-2014 |
rmind | file harmony.c was added on branch rmind-smpnet on 2014-05-18 17:45:11 +0000
|
1.1.2.1 |
| 07-Apr-2014 |
tls | Be a little more clear and consistent about harvesting entropy from devices:
1) deprecate RND_FLAG_NO_ESTIMATE
2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE
3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE
4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME| RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME
5) Make entropy harvesting from environmental sensors a little more generic and remove it from individual sensor drivers.
6) Remove individual open-coded delta-estimators for values from a few places in the tree (uvm, environmental drivers).
7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers that had stubbed out code, other minor cleanups.
|
1.2.6.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.2.6.1 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.2.4.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.2.4.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.2.4.1 |
| 10-Aug-2014 |
tls | file harmony.c was added on branch tls-maxphys on 2014-08-20 00:03:04 +0000
|
1.4.10.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.5.2.3 |
| 04-May-2019 |
isaki | Move dev/audio_if.h -> dev/audio/audio_if.h
|
1.5.2.2 |
| 04-May-2019 |
isaki | Remove simple flags that indicate whether the device is opened. These are handled in the upper layer now.
|
1.5.2.1 |
| 21-Apr-2019 |
isaki | Adapt to audio2.
|
1.7.10.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.7.2.1 |
| 28-Feb-2021 |
martin | Pull up following revision(s) (requested by isaki in ticket #1216): sys/arch/hppa/gsc/harmony.c: revision 1.8 sys/arch/hppa/gsc/harmony.c: revision 1.9 sys/arch/hppa/gsc/harmony.c: revision 1.10
Fix locking against myself. trigger_output will be called with sc_intr_lock held.
From source code review, not tested.
Fix my mistakes in rev1.6. - I had to merge the channel bit and the speed bits. Reported by macallan@. - I also fix my indent, while I'm here.
Simplify harmony_speed_bits(). It no longer needs to write back the speed value.
|