CVS commit: src/share/man/man9
Module Name:src Committed By: isaki Date: Sat Aug 7 03:28:42 UTC 2021 Modified Files: src/share/man/man9: kauth.9 Log Message: x68k now uses KAUTH_MACHDEP_UNMANAGEDMEM. To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/share/man/man9/kauth.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/x68k
Module Name:src Committed By: isaki Date: Fri Aug 6 04:21:56 UTC 2021 Modified Files: src/sys/arch/x68k/x68k: machdep.c Log Message: Fix broken mm_md_physacc(). - Fix access to main memory and extended memory. This makes /dev/mem work again. - Introduce kauth(9) to access unmanaged memory area. Now you can read/write the internal I/O space via /dev/mem when securelevel = -1. Thanks ryo@, tsutsui@ for advices and reviews. To generate a diff of this commit: cvs rdiff -u -r1.205 -r1.206 src/sys/arch/x68k/x68k/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/dev/audio
Module Name:src Committed By: isaki Date: Wed Jul 21 06:18:32 UTC 2021 Modified Files: src/tests/dev/audio: audiotest.c Log Message: Add AUDIO_SETINFO_gain_balance test. The test checks whether AUDIO_SETINFO can change the gain and the balance at the same time (if MD driver has the capability). See PR kern/56308. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/dev/audio/audiotest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Wed Jul 21 06:14:58 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: AUDIO_SETINFO: fix a bug that the gain and the balance could not be set at the same time. Fix PR kern/56308. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: isaki Date: Sat Apr 10 04:10:21 UTC 2021 Modified Files: src/share/man/man4: hdaudio.4 Log Message: Fix a wrong description in previous. MD drivers can support 20 or 24 bits formats even under current MI layer's constraints. http://mail-index.netbsd.org/source-changes-d/2021/03/12/msg013255.html To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/share/man/man4/hdaudio.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev
Module Name:src Committed By: isaki Date: Sat Apr 3 04:10:30 UTC 2021 Modified Files: src/sys/dev: spkr.c spkr_audio.c spkrvar.h src/sys/dev/isa: spkr_pcppi.c Log Message: Rework about the rest note in speaker(4). - Obsolete the sc_rest callback. The rest note operation can be done by the common spkr layer. This also fixes PR kern/56060. This work-in-progress patch was left in my local tree for years. :( - Improve calculations of tone and rest length. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/spkr.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/spkr_audio.c cvs rdiff -u -r1.9 -r1.10 src/sys/dev/spkrvar.h cvs rdiff -u -r1.12 -r1.13 src/sys/dev/isa/spkr_pcppi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev
Module Name:src Committed By: isaki Date: Sat Apr 3 03:21:53 UTC 2021 Modified Files: src/sys/dev: spkr.c spkr_audio.c src/sys/dev/isa: spkr_pcppi.c Log Message: Improve SPKRDEBUG code. - Replace wrong aprint_debug_dev() with device_printf(). By this, it no longer need to print dev_t. - Improve some messages. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/spkr.c cvs rdiff -u -r1.9 -r1.10 src/sys/dev/spkr_audio.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/isa/spkr_pcppi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: isaki Date: Sun Mar 28 07:42:06 UTC 2021 Modified Files: src/share/man/man9: audio.9 Log Message: Update documents. - query_format has been mandatory (since at least Feb 2020). - set_params has been replaced to set_format (since May 2019). To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/share/man/man9/audio.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sat Mar 20 04:56:52 UTC 2021 Modified Files: src/sys/dev/audio: audiobell.c Log Message: Fix and improve the buffer length calculation to avoid zero length even if blk_ms is small. This fixes PR kern/56059. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/audio/audiobell.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/m68k/fpe
Module Name:src Committed By: isaki Date: Mon Mar 8 14:37:55 UTC 2021 Modified Files: src/sys/arch/m68k/fpe: fpu_explode.c Log Message: Remove incorrect byte and word conversions from fpu_explode. The correct operation here is arithmetic right shift, but nobody calls it. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/m68k/fpe/fpu_explode.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev
Module Name:src Committed By: isaki Date: Wed Feb 17 12:37:33 UTC 2021 Modified Files: src/sys/dev: spkr_audio.c Log Message: Attach this only if the parent device has playback capability. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/spkr_audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: isaki Date: Mon Feb 15 13:39:18 UTC 2021 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Fix my copy-and-paste bug in rev1.160. This fixes recording sample dropout. To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/sys/dev/usb/uaudio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Feb 14 03:41:13 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: Add missing curlwp_bindx() corresponding to curlwp_bind(). Pointed out by riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/dreamcast/dev/g2
Module Name:src Committed By: isaki Date: Tue Feb 9 12:39:28 UTC 2021 Modified Files: src/sys/arch/dreamcast/dev/g2: aica.c Log Message: Update function name in a comment. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/dreamcast/dev/g2/aica.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Tue Feb 9 12:36:34 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: Protect also audioopen() and audiobellopen() from audiodetach() with psref(9), as well as others(audioread, audiowrite, etc..). - Rename audio_file_enter to audio_sc_acquire_fromfile, audio_file_exit to audio_sc_release, for clarify. These are the reference counter for this sc. - Introduce audio_sc_acquire_foropen for audio{,bell}open. - audio_open needs to examine sc_dying again before inserting it into sc_files, in order to keep sc_files consistency. The race between audiodetach and audioopen is pointed out by riastradh@. Thank you for many advices. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Tue Feb 9 05:53:14 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: Change the lock conditions to call audio_unlink(). This can remove a different copy of audio_exlock_enter() in audio_unlink() and can use normal one. Also, in audiodetach(), this can set the exlock at more natual order (before calling audio_unlink()). No noticeable functional changes are intended. Thanks for comments, riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/sbus
Module Name:src Committed By: isaki Date: Sat Feb 6 13:02:28 UTC 2021 Modified Files: src/sys/dev/sbus: dbri.c Log Message: Remove an extra mutex_spin_exit() in error path. This is a part of rev 1.38. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/sbus/dbri.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Sat Feb 6 12:59:13 UTC 2021 Modified Files: src/sys/dev/pci: yds.c Log Message: Remove an extra mutex_spin_exit() in yds_resume(). This one has been moved to before yds_init() in rev 1.59. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/yds.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Sat Feb 6 12:55:34 UTC 2021 Modified Files: src/sys/dev/pci: sv.c Log Message: Add a missing mutex_spin_exit(). To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/dev/pci/sv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/xscale
Module Name:src Committed By: isaki Date: Sat Feb 6 12:53:37 UTC 2021 Modified Files: src/sys/arch/arm/xscale: pxa2x0_ac97.c Log Message: Fix "locking against myself". halt_{input,output} will be called with sc_intr_lock held. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/xscale/pxa2x0_ac97.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/dev
Module Name:src Committed By: isaki Date: Sat Feb 6 12:50:04 UTC 2021 Modified Files: src/sys/arch/x68k/dev: vs.c vsvar.h Log Message: Remove an unused variable. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/x68k/dev/vs.c cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/dev/vsvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Sat Feb 6 09:45:17 UTC 2021 Modified Files: src/sys/dev/pci: auich.c auvia.c Log Message: Hold sc_intr_lock in open()/close(). vtbl->{lock,unlock} (in fact ac97_{lock,unlock}) don't seem to need releasing an interrupt lock. Confirmed on auich. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/dev/pci/auich.c cvs rdiff -u -r1.86 -r1.87 src/sys/dev/pci/auvia.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/dev
Module Name:src Committed By: isaki Date: Sat Feb 6 09:27:35 UTC 2021 Modified Files: src/sys/arch/x68k/dev: vs.c vsvar.h Log Message: Remove sc_active flag. sc_[pr]intr can be used instead of it. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/arch/x68k/dev/vs.c cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/dev/vsvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/sbus
Module Name:src Committed By: isaki Date: Sat Feb 6 09:15:11 UTC 2021 Modified Files: src/sys/dev/sbus: dbri.c dbrivar.h Log Message: Remove something like counters. - Counting {open,close} is done by the MI audio layer. - trigger_* is not called again between trigger_* and halt_*. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/dev/sbus/dbri.c cvs rdiff -u -r1.16 -r1.17 src/sys/dev/sbus/dbrivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/dreamcast/dev/g2
Module Name:src Committed By: isaki Date: Sat Feb 6 09:14:03 UTC 2021 Modified Files: src/sys/arch/dreamcast/dev/g2: aica.c Log Message: Remove sc_open flag. Counting {open,close} is done by the MI audio layer. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/arch/dreamcast/dev/g2/aica.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/macppc/dev
Module Name:src Committed By: isaki Date: Sat Feb 6 07:20:36 UTC 2021 Modified Files: src/sys/arch/macppc/dev: awacs.c Log Message: Calling halt_{input,output} is done by the MI audio layer if necessary. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/arch/macppc/dev/awacs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/xscale
Module Name:src Committed By: isaki Date: Sat Feb 6 07:16:54 UTC 2021 Modified Files: src/sys/arch/arm/xscale: pxa2x0_ac97.c Log Message: Calling halt_{input,output} is done by the MI audio layer if necessary. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/xscale/pxa2x0_ac97.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/isa
Module Name:src Committed By: isaki Date: Sat Feb 6 07:16:18 UTC 2021 Modified Files: src/sys/dev/isa: gus.c Log Message: Calling halt_{input,output} is done by the MI audio layer if necessary. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/dev/isa/gus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: isaki Date: Sat Feb 6 06:15:13 UTC 2021 Modified Files: src/share/man/man9: audio.9 Log Message: Add a description to close(). > Before call to this, halt_input and halt_output are called if necessary. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/share/man/man9/audio.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Sat Feb 6 05:15:03 UTC 2021 Modified Files: src/sys/dev/pci: emuxki.c Log Message: Remove debug messages which are no longer necessary. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/dev/pci/emuxki.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/hppa/gsc
Module Name:src Committed By: isaki Date: Thu Feb 4 15:08:45 UTC 2021 Modified Files: src/sys/arch/hppa/gsc: harmony.c Log Message: Simplify harmony_speed_bits(). It no longer needs to write back the speed value. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hppa/gsc/harmony.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/hppa/gsc
Module Name:src Committed By: isaki Date: Thu Feb 4 15:06:11 UTC 2021 Modified Files: src/sys/arch/hppa/gsc: harmony.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/hppa/gsc/harmony.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/hppa/gsc
Module Name:src Committed By: isaki Date: Wed Feb 3 15:13:49 UTC 2021 Modified Files: src/sys/arch/hppa/gsc: harmony.c Log Message: Fix locking against myself. trigger_output will be called with sc_intr_lock held. >From source code review, not tested. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hppa/gsc/harmony.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Wed Feb 3 14:44:32 UTC 2021 Modified Files: src/sys/dev/pci: cs4280.c cs4281.c cs428x.h Log Message: Remove code no longer used. The code that used sc->{halt_input,halt_output} function pointer was removed in 2004. (see cs428x.c rev 1.7) To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/cs4280.c cvs rdiff -u -r1.56 -r1.57 src/sys/dev/pci/cs4281.c cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/cs428x.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/iomd
Module Name:src Committed By: isaki Date: Wed Feb 3 14:22:21 UTC 2021 Modified Files: src/sys/arch/arm/iomd: vidcaudio.c Log Message: Remove a comment no longer correct. Because halt_output is no longer called from an interrupt context, but that does not mean it's better to put this back to halt_output. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/arch/arm/iomd/vidcaudio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Fri Jan 15 05:34:49 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve error messages. - prefix MD device name if it's considered to be related to the MD driver. - revise some messages. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Fri Jan 15 04:09:28 UTC 2021 Modified Files: src/sys/dev/audio: audio.c Log Message: Change (harmless) zero-length debug messages. sys/modules is compiled with -Wzero-length-format and this makes sys/modules compilable even if AUDIO_DEBUG is defined. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Dec 13 05:47:09 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Revise comments. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Dec 13 05:44:09 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix a return value of audiopoll(). fo_poll is expected to return revents rather than errno on error. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Dec 13 05:29:20 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Avoid a dead lock in audiodetach, since rev 1.63. audio_unlink() must be called without exlock held (and audio_mixer_destroy() must be called with exlock held). This makes unplugging during playing/recording work (again). Reported by Julian Coleman on current-users: http://mail-index.netbsd.org/current-users/2020/12/10/msg040050.html To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Dec 13 05:21:12 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Add missing newline. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: isaki Date: Wed Dec 9 05:48:56 UTC 2020 Modified Files: src/share/man/man4: audio.4 Log Message: Remove an old description. This behavior was modified in sys/dev/audio/audio.c rev 1.65 (Mar. 2020). To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/share/man/man4/audio.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Wed Dec 9 04:30:39 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Rewrite error handling on audio_open(). This also fixes a few resource leaks on error case. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Wed Dec 9 04:24:08 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix that audio_open() didn't halt the recording mixer correctly if fd_allocfile() failed, since rev 1.65. Will fix PR kern/55848. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: isaki Date: Sun Sep 13 04:14:49 UTC 2020 Modified Files: src/sys/dev/audio: audio_if.h audiodef.h src/usr.bin/fstat: misc.c Log Message: Support audio descriptor for fstat(1). sys/dev/audio/*.h: export only what we need for fstat. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/audio/audio_if.h cvs rdiff -u -r1.14 -r1.15 src/sys/dev/audio/audiodef.h cvs rdiff -u -r1.23 -r1.24 src/usr.bin/fstat/misc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sat Sep 12 06:09:17 UTC 2020 Modified Files: src/sys/dev/audio: mulaw.c Log Message: Improve slinear16-to-mulaw conversion calculation. It's about 2~3 times faster on my amd64 and x68k(68030). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/audio/mulaw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: isaki Date: Sat Sep 12 05:19:16 UTC 2020 Modified Files: src/sys/arch/sparc/conf: files.sparc src/sys/arch/sparc/dev: audioamd.c src/sys/arch/sparc/sparc: genassym.cf src/sys/arch/vax/vsa: vsaudio.c src/sys/dev/ic: am7930.c am7930var.h src/sys/dev/tc: bba.c Removed Files: src/sys/arch/sparc/dev: audioamdvar.h src/sys/arch/sparc/include: am7930_machdep.h src/sys/arch/sparc/sparc: amd7930intr.s Log Message: Improve am7930 family drivers to share more code. audioamd(4) on sparc, vsaudio(4) on vax, and bba(4) are. - Remove complex and useless callbacks: onopen, onclose, and indirect_{read,write}. This makes audioamd and vsaudio almost the same. - Remove (already disabled) assembly fast interrupt path from audioamd(4). cf. http://mail-index.netbsd.org/source-changes/2009/12/19/msg004585.html - Use trigger_* method rather than start_* method. It's more suitable. vsaudio(4) was tested by naru@, bba(4) was tested by tsutsui@. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/arch/sparc/conf/files.sparc cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sparc/dev/audioamd.c cvs rdiff -u -r1.4 -r0 src/sys/arch/sparc/dev/audioamdvar.h cvs rdiff -u -r1.1 -r0 src/sys/arch/sparc/include/am7930_machdep.h cvs rdiff -u -r1.23 -r0 src/sys/arch/sparc/sparc/amd7930intr.s cvs rdiff -u -r1.70 -r1.71 src/sys/arch/sparc/sparc/genassym.cf cvs rdiff -u -r1.6 -r1.7 src/sys/arch/vax/vsa/vsaudio.c cvs rdiff -u -r1.59 -r1.60 src/sys/dev/ic/am7930.c cvs rdiff -u -r1.14 -r1.15 src/sys/dev/ic/am7930var.h cvs rdiff -u -r1.45 -r1.46 src/sys/dev/tc/bba.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Mon Sep 7 03:36:11 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix misspellings in comment. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/tc
Module Name:src Committed By: isaki Date: Sat Aug 29 03:24:31 UTC 2020 Modified Files: src/sys/dev/tc: bba.c Log Message: Fix white space and indent. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/tc/bba.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/vax/vsa
Module Name:src Committed By: isaki Date: Wed Aug 26 12:59:28 UTC 2020 Modified Files: src/sys/arch/vax/vsa: vsaudio.c Log Message: Fix misuse of device_private(). sc_dev is device_t. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/vax/vsa/vsaudio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Aug 23 04:20:01 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve debug messages. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Aug 23 04:14:57 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve and update comments. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Aug 23 04:07:23 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Style fixes. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand/xxboot
Module Name:src Committed By: isaki Date: Sat Aug 22 10:12:29 UTC 2020 Modified Files: src/sys/arch/x68k/stand/xxboot: ashldi3.S Log Message: Minor improvement. add/addx is faster and the size remains the same. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/ashldi3.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand/xxboot
Module Name:src Committed By: isaki Date: Sat Aug 22 10:05:04 UTC 2020 Modified Files: src/sys/arch/x68k/stand/xxboot: ashldi3.S Log Message: typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/ashldi3.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amiga/stand/bootblock/boot
Module Name:src Committed By: isaki Date: Sat Aug 22 05:09:02 UTC 2020 Modified Files: src/sys/arch/amiga/stand/bootblock/boot: ashldi3.s Log Message: Fix register order. %d0 is higher and %d1 is lower. This would have rarely affected. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amiga/stand/bootblock/boot/ashldi3.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand
Module Name:src Committed By: isaki Date: Sun Aug 16 07:25:51 UTC 2020 Modified Files: src/sys/arch/x68k/stand: README Log Message: Update and fix. All primary bootloaders can recognize Human68k partition table. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: isaki Date: Sun Aug 16 07:03:45 UTC 2020 Modified Files: src/distrib/sets/lists/base: md.x68k src/distrib/x68k/floppies/bootfloppy.generic: Makefile src/distrib/x68k/floppies/bootfloppy.sysinst: Makefile src/sys/arch/x68k/stand: Makefile README src/sys/arch/x68k/stand/xxboot: Makefile Removed Files: src/sys/arch/x68k/stand/boot_ustar: Makefile boot_ustar.S boot_ustar.ldscript version Log Message: Replace boot_ustar with xxboot_ustarfs. The old boot_ustar had many hard coding and was small(<1KB). The new xxboot_ustarfs is a part of integrated larger(<8KB) xxboot. We had to maintain three similar but not the same bootloaders, but now we have two! To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/distrib/sets/lists/base/md.x68k cvs rdiff -u -r1.9 -r1.10 \ src/distrib/x68k/floppies/bootfloppy.generic/Makefile cvs rdiff -u -r1.13 -r1.14 \ src/distrib/x68k/floppies/bootfloppy.sysinst/Makefile cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/stand/Makefile cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/README cvs rdiff -u -r1.30 -r0 src/sys/arch/x68k/stand/boot_ustar/Makefile cvs rdiff -u -r1.12 -r0 src/sys/arch/x68k/stand/boot_ustar/boot_ustar.S cvs rdiff -u -r1.6 -r0 src/sys/arch/x68k/stand/boot_ustar/boot_ustar.ldscript cvs rdiff -u -r1.3 -r0 src/sys/arch/x68k/stand/boot_ustar/version cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/stand/xxboot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand
Module Name:src Committed By: isaki Date: Sun Aug 16 06:43:44 UTC 2020 Modified Files: src/sys/arch/x68k/stand/libiocs: iocscall.h src/sys/arch/x68k/stand/xxboot: Makefile.xxboot boot.S bootmain.c consio1.c version xx.c xxboot.h xxboot.ldscript src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile Added Files: src/sys/arch/x68k/stand/xxboot: ashldi3.S ashrdi3.S memcmp.S memcpy.S memset.S src/sys/arch/x68k/stand/xxboot/fdboot_ustarfs: Makefile Log Message: Overhaul xxboot. And merge floppy boot, taken from boot_ustar. - Rewrite boot.S completely. boot.S now supports boot from SCSI HD/CD and floppy. - Use IOCS call to identify the floppy format, instead of chkfmt.s which accesses hardware directly. - Import print_hex() debug function from boot_ufs. - Import a feature that displays initial registers (for debug) from boot_ufs, and restore it (this in boot_ufs has been broken). - Add size optimized alternatives for some libkern routines. - Stop linking libsa to prevent to link unexpected objects. - Bump version to 2.0. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/libiocs/iocscall.h cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/xxboot/ashldi3.S \ src/sys/arch/x68k/stand/xxboot/ashrdi3.S \ src/sys/arch/x68k/stand/xxboot/memcmp.S \ src/sys/arch/x68k/stand/xxboot/memcpy.S \ src/sys/arch/x68k/stand/xxboot/memset.S cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/xxboot/boot.S cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/xxboot/bootmain.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/consio1.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/version \ src/sys/arch/x68k/stand/xxboot/xx.c \ src/sys/arch/x68k/stand/xxboot/xxboot.h cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/xxboot/fdboot_ustarfs/Makefile cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand/xxboot
Module Name:src Committed By: isaki Date: Fri Aug 14 03:54:46 UTC 2020 Modified Files: src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xxboot.ldscript Log Message: Reduce binary size as possible. These reduce filesize about 20 words. - Use word alignment (rather than longword alignment) for text/data section. - Use short reference. In the bootloader, all symbols can be expressed in short. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand/xxboot
Module Name:src Committed By: isaki Date: Fri Aug 14 03:43:28 UTC 2020 Modified Files: src/sys/arch/x68k/stand/xxboot: bootmain.c Log Message: Use DEV_OPEN() macro. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/xxboot/bootmain.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand/xxboot
Module Name:src Committed By: isaki Date: Fri Aug 14 03:40:48 UTC 2020 Modified Files: src/sys/arch/x68k/stand/xxboot: Makefile.xxboot src/sys/arch/x68k/stand/xxboot/cdboot_cd9660: Makefile src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile Log Message: Use fixed 'xx' instead of DEV and DEVDRV for simplicity. There is no choice other than xx for now. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot cvs rdiff -u -r1.2 -r1.3 \ src/sys/arch/x68k/stand/xxboot/cdboot_cd9660/Makefile cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand/xxboot
Module Name:src Committed By: isaki Date: Fri Aug 14 03:34:22 UTC 2020 Modified Files: src/sys/arch/x68k/stand/xxboot: bootmain.c xx.c Added Files: src/sys/arch/x68k/stand/xxboot: xxboot.h Log Message: Add xxboot.h common header to share prototype definitions. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/bootmain.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xx.c cvs rdiff -u -r0 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand
Module Name:src Committed By: isaki Date: Fri Aug 14 03:29:23 UTC 2020 Modified Files: src/sys/arch/x68k/stand: Makefile src/sys/arch/x68k/stand/xxboot: Makefile Makefile.xxboot Log Message: Style fixes. One entry per line for some parts. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/stand/Makefile cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/stand/xxboot/Makefile cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand/xxboot
Module Name:src Committed By: isaki Date: Fri Aug 14 03:25:39 UTC 2020 Modified Files: src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xxboot.ldscript Log Message: - Restore display of first_kbyte. This is helpful for development. - Check the filesize of resulting file instead of section sizes. If there is a gap between sections, the filesize may be exceeded even though the section total is not exceeded. Of course that doesn't usually happen but I've experienced this during development. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x68k/stand/xxboot
Module Name:src Committed By: isaki Date: Fri Aug 14 02:51:48 UTC 2020 Modified Files: src/sys/arch/x68k/stand/xxboot: bootmain.c Log Message: Make compilable even with XXBOOT_DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/bootmain.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Fri Jul 3 12:39:54 UTC 2020 Modified Files: src/sys/dev/pci: auixp.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/dev/pci/auixp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Fri May 29 03:09:14 UTC 2020 Modified Files: src/sys/dev/audio: audio.c audiovar.h Log Message: Fix suspend/resume. - Revert temporary usage of sc_[pr]busy during suspend. These indicate whether the mixer needs to be restarted or not. - Avoid timeout error when about to suspend. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/dev/audio/audio.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/audio/audiovar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: isaki Date: Fri May 1 08:21:27 UTC 2020 Modified Files: src/sys/arch/hppa/include: param.h src/sys/arch/m68k/include: param.h src/sys/arch/sh3/include: param.h src/sys/arch/sparc/include: param.h src/sys/arch/vax/include: param.h src/sys/dev/audio: audio.c Log Message: Move machine dependent AUDIO_BLK_MS default value to . If the port has __AUDIO_BLK_MS in , it will be used. Otherwise the default value (currently 10 msec) defined in audio.c will be used. This mechanism is for very old ports which cannot satisfactorily handle 10 msec block. Currently hppa, m68k, sh3, sparc(!64) and vax are. For port maintainers, if general models in your port cannot satisfactorily handle 10 msec block, please consider to define your suitable longer period (40 msec would be a good first choice). But please don't be eager to make the default value shorter. was discussed in source-changes-d. It's better than ifdef storm, or adding 60+ new header files in every arch/*/include/ directories for this. Thanks mrg@, ad@, and everyone. http://mail-index.netbsd.org/source-changes-d/2020/05/01/msg012572.html To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/hppa/include/param.h cvs rdiff -u -r1.22 -r1.23 src/sys/arch/m68k/include/param.h cvs rdiff -u -r1.24 -r1.25 src/sys/arch/sh3/include/param.h cvs rdiff -u -r1.73 -r1.74 src/sys/arch/sparc/include/param.h cvs rdiff -u -r1.62 -r1.63 src/sys/arch/vax/include/param.h cvs rdiff -u -r1.68 -r1.69 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/dev/audio
Module Name:src Committed By: isaki Date: Fri May 1 05:45:57 UTC 2020 Modified Files: src/tests/dev/audio: audiotest.c Log Message: Fix two tests. - kqueue_mode_{RDONLY,RDWR}_READ: Fix expected value. This is rest of rev1.9. - AUDIO_SETINFO_params_simul: Fix condition. This happens on full-duplex, not bi-directional. These affect only standalone test, not atf. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tests/dev/audio/audiotest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Wed Apr 29 03:58:27 UTC 2020 Modified Files: src/sys/dev/audio: audio.c audiodef.h Log Message: Set AUDIO_BLK_MS 40 msec on other old(slow) architectures not only m68k. Thanks tsutsui@ for comment about architecture choice. And move it from audiodef.h to audio.c as suggested by joerg@. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/dev/audio/audio.c cvs rdiff -u -r1.13 -r1.14 src/sys/dev/audio/audiodef.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: isaki Date: Sun Apr 19 08:18:19 UTC 2020 Modified Files: src/sys/arch/arm/imx: imx23_digfilt.c src/sys/arch/arm/xscale: pxa2x0_ac97.c src/sys/dev/pci: auvia.c esm.c sv.c Log Message: Fix round_blocksize not to return 0. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/imx/imx23_digfilt.c cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/xscale/pxa2x0_ac97.c cvs rdiff -u -r1.85 -r1.86 src/sys/dev/pci/auvia.c cvs rdiff -u -r1.64 -r1.65 src/sys/dev/pci/esm.c cvs rdiff -u -r1.57 -r1.58 src/sys/dev/pci/sv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/hdaudio
Module Name:src Committed By: isaki Date: Sun Apr 19 04:13:10 UTC 2020 Modified Files: src/sys/dev/hdaudio: hdafg.c Log Message: Make round_blocksize satisfy all of - restrictions that existed before merging isaki-audio2 branch. - better support for 6 channels hardware. - audio layer's requirement. This may help PR kern/54474. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/hdaudio/hdafg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Apr 19 03:52:22 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve the blocksize notation. The blocksize is expressed in bytes, and the millisecond notation is supplementary information to make it easier to understand. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Fri Apr 17 07:48:35 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve diagnostic messages. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: isaki Date: Sat Mar 28 08:35:37 UTC 2020 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/arch/evbarm/conf: GENERIC GENERIC64 src/sys/arch/i386/conf: GENERIC src/sys/arch/macppc/conf: GENERIC src/sys/arch/sparc64/conf: GENERIC src/sys/dev/audio: audiodef.h Log Message: Reduce default AUDIO_BLK_MS from 40msec to 10msec on all platform except m68k (m68k uses 40msec default as before). And remove the option from GENERIC. - It's not good idea to set such parameter in individual GENERICs. - 4msec is (probably no problem for most modern real hardware but) too aggressive to be default. - 10msec is too severe for antique machines but it's hard to draw a line. To generate a diff of this commit: cvs rdiff -u -r1.563 -r1.564 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.74 -r1.75 src/sys/arch/evbarm/conf/GENERIC cvs rdiff -u -r1.147 -r1.148 src/sys/arch/evbarm/conf/GENERIC64 cvs rdiff -u -r1.1226 -r1.1227 src/sys/arch/i386/conf/GENERIC cvs rdiff -u -r1.365 -r1.366 src/sys/arch/macppc/conf/GENERIC cvs rdiff -u -r1.225 -r1.226 src/sys/arch/sparc64/conf/GENERIC cvs rdiff -u -r1.12 -r1.13 src/sys/dev/audio/audiodef.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: isaki Date: Sat Mar 28 04:55:08 UTC 2020 Modified Files: src/share/man/man4: audio.4 Log Message: Add description about channel limitation introduced in audio.c 1.43. PR kern/54973. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/share/man/man4/audio.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: isaki Date: Sat Mar 28 04:21:58 UTC 2020 Modified Files: src/share/man/man4: audio.4 Log Message: Revert 1.96, 1.97 and 1.100. (no response from nia@) These changes are not correct nor notable unresolvable problem. If you find any problems, please send a report before changing manpage. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/share/man/man4/audio.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/dev/audio
Module Name:src Committed By: isaki Date: Thu Mar 26 13:43:10 UTC 2020 Modified Files: src/tests/dev/audio: audiotest.c Log Message: Add tests for poll(POLLIN) before read(). This affects only standalone test, not atf. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/dev/audio/audiotest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/dev/audio
Module Name:src Committed By: isaki Date: Thu Mar 26 13:37:44 UTC 2020 Modified Files: src/tests/dev/audio: audiotest.c Log Message: Sync with sys/dev/audio/audio.c rev1.65. > Fix to start recording immediately when open() with READ mode is called. This affects only standalone test, not atf. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/dev/audio/audiotest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Thu Mar 26 13:32:03 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix to start recording immediately when open() with READ mode is called (unless pause). - Opening /dev/audio always initializes pause with false. Therefore it always starts recording. - Opening /dev/sound inherites pause from the sticky parameter. Therefore whether /dev/sound starts recording or not depends on the sticky pause parameter. This fixes two problems: - Opening /dev/audio didn't start recording after merging isaki-audio2. - Opening /dev/sound didn't start recording regardless of the sticky pause, probably since long time ago (at least netbsd-7). To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/dev/audio
Module Name:src Committed By: isaki Date: Wed Mar 25 13:07:04 UTC 2020 Modified Files: src/tests/dev/audio: audiotest.c t_audio.awk Log Message: Use exact match to search testname. This didn't affect test results. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/dev/audio/audiotest.c cvs rdiff -u -r1.1 -r1.2 src/tests/dev/audio/t_audio.awk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sat Mar 7 06:27:19 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix/Update comments about allocm/freem. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sat Mar 7 06:25:57 UTC 2020 Modified Files: src/sys/dev/audio: audio.c audiovar.h Log Message: Split sc_lock and sc_exlock. Most (probably all) malloc/free (or routines which may sleep) now can be called without holding mutex. Pointed out by riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/dev/audio/audio.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/audio/audiovar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/dev/audio
Module Name:src Committed By: isaki Date: Wed Mar 4 14:20:44 UTC 2020 Modified Files: src/tests/dev/audio: audiotest.c Log Message: Sync with sys/dev/audio/audio.c rev1.62. > Restore backward compatibility with netbsd-7 audio. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/dev/audio/audiotest.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Wed Mar 4 14:19:41 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Restore backward compatibility with netbsd-7 audio. For sticky parameters (encoding, precision, channels, sample_rate and pause): - AUDIO_SETINFO for nonexistent track updates sticky parameters. - AUDIO_GETINFO for nonexistent track reads sticky parameters. For blocksize, hiwat, lowat and {play.record}.buffer_size: - AUDIO_SETINFO for nonexistent track does nothing. - AUDIO_GETINFO for nonexistent track returns dummy non-zero values. Nonexistent track is a playback track on O_RDONLY descriptor for example, or both tracks on /dev/audioctl. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/dev/audio
Module Name:src Committed By: isaki Date: Mon Mar 2 04:25:08 UTC 2020 Modified Files: src/tests/dev/audio: Makefile Log Message: Re-add -lrumpdev dropped in the previous commit. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/dev/audio/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Mar 1 07:42:08 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve an error message about round_blocksize. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Mar 1 07:40:04 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix wrong parameter displayed in debug messages. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Mar 1 07:35:33 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Reinitialize the sticky parameters whenever the hardware format is changed. When the number of the hardware channels becomes less than the number of channels that sticky parameters remember, subsequent open("/dev/sound") will fail without this treatment. This is for rev 1.43. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sat Feb 29 09:38:10 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Minor fix. audio_prinfo.pause is u_char, not bool. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sat Feb 29 07:13:37 UTC 2020 Modified Files: src/sys/dev/audio: audio.c Log Message: Release memories on audiobellclose. It's rest of the last commit. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/dev/audio/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Sat Feb 29 06:34:30 UTC 2020 Modified Files: src/sys/dev/pci: auacer.c auich.c auixp.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pci/auacer.c cvs rdiff -u -r1.158 -r1.159 src/sys/dev/pci/auich.c cvs rdiff -u -r1.48 -r1.49 src/sys/dev/pci/auixp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Sat Feb 29 06:25:33 UTC 2020 Modified Files: src/sys/dev/pci: gcscaudio.c Log Message: round_blocksize must return a multiple of the framesize. It's not divisible when blk=GCSCAUDI_PRD_SIZE_MAX and channels=4. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/gcscaudio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/sbus
Module Name:src Committed By: isaki Date: Sat Feb 29 06:06:29 UTC 2020 Modified Files: src/sys/dev/sbus: dbri.c Log Message: round_blocksize must return a multiple of the framesize even if passed blocksize is greater than the upper limit. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/sbus/dbri.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/amiga/dev
Module Name:src Committed By: isaki Date: Sat Feb 29 06:03:55 UTC 2020 Modified Files: src/sys/arch/amiga/dev: aucc.c Log Message: round_blocksize must return a multiple of the framesize. aucc(4) supports 3 channels mode. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/arch/amiga/dev/aucc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: isaki Date: Sat Feb 29 05:51:11 UTC 2020 Modified Files: src/sys/arch/amiga/dev: toccata.c src/sys/arch/arm/rockchip: rk_i2s.c src/sys/arch/arm/sunxi: sunxi_codec.c sunxi_i2s.c src/sys/arch/evbarm/mini2440: audio_mini2440.c src/sys/arch/prep/isa: paud_isa.c src/sys/dev/ic: ad1848.c ad1848var.h interwave.c interwavevar.h pl041.c src/sys/dev/isa: gus.c wss.c ym.c src/sys/dev/isapnp: gus_isapnp.c src/sys/dev/pci: autri.c cmpci.c yds.c Log Message: Remove rounding by 4 bytes on round_blocksize(). For drivers which supports only 16bit * 2channels sampling, rounding by 4 bytes no longer meaningful. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amiga/dev/toccata.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/rockchip/rk_i2s.c cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/sunxi/sunxi_codec.c \ src/sys/arch/arm/sunxi/sunxi_i2s.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/mini2440/audio_mini2440.c cvs rdiff -u -r1.18 -r1.19 src/sys/arch/prep/isa/paud_isa.c cvs rdiff -u -r1.32 -r1.33 src/sys/dev/ic/ad1848.c cvs rdiff -u -r1.19 -r1.20 src/sys/dev/ic/ad1848var.h \ src/sys/dev/ic/interwavevar.h cvs rdiff -u -r1.42 -r1.43 src/sys/dev/ic/interwave.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/pl041.c cvs rdiff -u -r1.117 -r1.118 src/sys/dev/isa/gus.c cvs rdiff -u -r1.73 -r1.74 src/sys/dev/isa/wss.c cvs rdiff -u -r1.46 -r1.47 src/sys/dev/isa/ym.c cvs rdiff -u -r1.40 -r1.41 src/sys/dev/isapnp/gus_isapnp.c cvs rdiff -u -r1.58 -r1.59 src/sys/dev/pci/autri.c cvs rdiff -u -r1.56 -r1.57 src/sys/dev/pci/cmpci.c cvs rdiff -u -r1.64 -r1.65 src/sys/dev/pci/yds.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: isaki Date: Sat Feb 29 05:39:03 UTC 2020 Modified Files: src/share/man/man9: audio.9 Log Message: Describe about (existing) constraints on round_blocksize(). To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/share/man/man9/audio.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: isaki Date: Fri Feb 28 13:31:03 UTC 2020 Modified Files: src/sys/dev/pci: auvia.c Log Message: Drop 512 bytes limit on auvia_round_blocksize(). This fixes attach on 6 channels device. PR kern/55017. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/pci/auvia.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/audio
Module Name:src Committed By: isaki Date: Sun Feb 23 07:17:01 UTC 2020 Modified Files: src/sys/dev/audio: audio.c audiodef.h audiovar.h Log Message: Prevent a race between audiodetach and fileops methods using psref(9). Fix PR kern/54427. Thank you so much riastradh@ To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/dev/audio/audio.c cvs rdiff -u -r1.9 -r1.10 src/sys/dev/audio/audiodef.h cvs rdiff -u -r1.7 -r1.8 src/sys/dev/audio/audiovar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.