Re: CVS commit: src/sys/net

2009-11-28 Thread Tetsuya Isaki
to fix it. --- Tetsuya Isaki is...@netbsd.org

CVS commit: src/sys/arch/x68k/dev

2010-01-09 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jan 9 09:16:33 UTC 2010 Modified Files: src/sys/arch/x68k/dev: grf.c par.c Log Message: Make compile with DEBUG. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x68k/dev/grf.c cvs rdiff -u -r1.37

Re: CVS commit: src/etc/rc.d

2012-06-15 Thread Tetsuya Isaki
At Wed, 13 Jun 2012 11:35:37 +0900, Tetsuya Isaki wrote: The rcvar assignment was missing, but shouldn't the normal logic skip calling the start command if the rcvar is not YES? Ah, you mean it's enough to add rcvar=${name} line into rc.d/makemandb instead of checkyesno

Re: CVS commit: src/sys/arch/m68k/fpe

2013-04-19 Thread Tetsuya Isaki
/fpe: fpu_cordic.c Thanks! s/tayler/taylor/g Oops, thanks! --- Tetsuya Isaki is...@pastel-flower.jp / is...@netbsd.org

Re: CVS commit: src/doc

2013-04-25 Thread Tetsuya Isaki
would we need to get you to work on adding long double support to libm? *g* er, I cannot eat anymore :-) --- Tetsuya Isaki is...@pastel-flower.jp / is...@netbsd.org

Re: CVS commit: src/distrib/x68k/floppies/ramdisk

2013-05-26 Thread Tetsuya Isaki
that the portmasters can read :-) Sorry for your incovenience. and I reworked it. I will check it too, but could you tell us(port-x68k@) it as tsutsui-san says if you notice build failure, please? Thanks, --- Tetsuya Isaki is...@pastel-flower.jp / is...@netbsd.org

Re: CVS commit: src/tests/lib/libm

2015-01-21 Thread Tetsuya Isaki
values for the float case, reflecting the actual exp2f() argument value after rounding to float precision. Fixes PR lib/49256. Thanks to Makoto Kamada and Tetsuya Isaki for the analysis. The reason I left the tests failing is that the results should be more accurate than the values

Re: CVS commit: src/tests/lib/libm

2015-01-29 Thread Tetsuya Isaki
Kamada and Tetsuya Isaki for the analysis. The reason I left the tests failing is that the results should be more accurate than the values that are actually returned. Changing the 'expected' values so that the tests pass is just wrong. ... I think the values ought to be accurate

Re: CVS commit: src/sys/dev

2017-07-09 Thread Tetsuya Isaki
nt > validbits != precision is not supported. > > This change will most likely break autoconfig on vs(4), for these machines > the parameters can be set to the paramaters reported at attach time via > sysctl. Do you have any plan to revive it? Thanks, --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org>

audio null_filter (Re: CVS commit: src/sys/dev)

2017-07-28 Thread Tetsuya Isaki
to interrupt this as source encoding (That is why I commited the diagnostic code in sys/dev/ic/msm6258.c r1.18). Therefore, I don't know details but I can imagine that it works by inserting this null_filter. Thanks, --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org> At Fri,

Re: CVS commit: src/sys/dev

2017-09-25 Thread Tetsuya Isaki
tes and one sizeof(struct audio_ringbuffer) is 92 bytes on recent i386. And I also think mixring is not (a part of) virtual channel. However, I agree the name of sc->sc_pr/sc_rr is not easy to understand if you are focusing on the name. Thanks, --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org>

Re: CVS commit: src/sys/dev

2017-10-02 Thread Tetsuya Isaki
he test described in the PR. Please read PR, nat@. I don't hope to correct this ridiculous macro. It just increases dead code in kernel. I'd like to clarify the specification first (See also PR/52585). --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org>

audio usemixer breaks vs(4) Re: CVS commit: src/sys/dev

2017-11-06 Thread Tetsuya Isaki
about supported devices (at least devices which has active users), please don't touch audio. Thanks, --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org> At Tue, 7 Nov 2017 01:13:19 +, > Module Name: src > Committed By: nat > Date: Tue Nov 7 01:13:19 UTC 201

Re: audio usemixer breaks vs(4) Re: CVS commit: src/sys/dev

2017-11-06 Thread Tetsuya Isaki
At Tue, 07 Nov 2017 12:45:47 +0900, Tetsuya Isaki wrote: > > nat@, (cc: christos@) > > With this change, vs(4) no longer works even if usemixer=0. ^^ Oops, it should be 'usemixer=1'. If usemixer=1, it plays noise. If usemix

Re: audio usemixer breaks vs(4) Re: CVS commit: src/sys/dev

2017-11-08 Thread Tetsuya Isaki
ear for myself. > Best regards and I hope to collaborate with you on audio in future as it is a > mutual interest. Please go ahead. I have no opinion anymore. --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org>

Re: CVS commit: src/sys/dev

2017-11-04 Thread Tetsuya Isaki
e a diff of this commit: > cvs rdiff -u -r1.428 -r1.429 src/sys/dev/audio.c Please describe the reason for this change in commit log. AU_RING_SIZE -> s.bufsize itself can be understood by looking at diff. And the change was done for audio_init_ringbuffer(), not audio_initbufs(). --- Tetsuya Isaki <is...@pastel-flower.jp / is...@netbsd.org>

Re: CVS commit: src/tests/lib/libc/atomic

2019-02-27 Thread Tetsuya Isaki
s compile. Sorry for build breakage. And thank you. I'm trying to add __sync_and_and_fetch_* to every libc that got an error this time. After confirming all build (tomorrow or later), I'll revert your change. Is this ok? Thanks, --- Tetsuya Isaki

Re: audio2

2019-05-27 Thread Tetsuya Isaki
roximating (see my first paragraph above). I'm sorry, I don't understand (I can't parse) this paragraph due to my poor English skill. Would you write it again? And anyway I don't understand your point well. Can you show me your proposal patch? Thanks, --- Tetsuya Isaki

CVS commit: src/sys/dev/audio

2019-05-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat May 25 02:42:04 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/audio/audio.c Please note that diffs are not

CVS commit: src/sys/dev/audio

2019-05-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat May 25 02:42:04 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/audio/audio.c Please note that diffs are not

Re: CVS commit: src/sys/arch

2019-05-24 Thread Tetsuya Isaki
can take more than 32MB > and didn't want to upset anyone. > > Do you think I should enable on the atari & luna68k ports? No, I don't think so either. Thank you for explanation. --- Tetsuya Isaki

CVS commit: src/sys/dev/pci

2019-05-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat May 25 04:25:30 UTC 2019 Modified Files: src/sys/dev/pci: yds.c Log Message: Fix yds_intr. It has not worked well since netbsd-8. - Read data offset before set ACTV2. - The interrupts occur every hardware block, not blocksize

CVS commit: src/sys/dev/pci

2019-05-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat May 25 04:25:30 UTC 2019 Modified Files: src/sys/dev/pci: yds.c Log Message: Fix yds_intr. It has not worked well since netbsd-8. - Read data offset before set ACTV2. - The interrupts occur every hardware block, not blocksize

CVS commit: src/doc

2019-05-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat May 25 02:49:26 UTC 2019 Modified Files: src/doc: BRANCHES Log Message: isaki-audio2 branch is terminated (merged to -current). To generate a diff of this commit: cvs rdiff -u -r1.349 -r1.350 src/doc/BRANCHES Please note

CVS commit: src/doc

2019-05-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat May 25 02:49:26 UTC 2019 Modified Files: src/doc: BRANCHES Log Message: isaki-audio2 branch is terminated (merged to -current). To generate a diff of this commit: cvs rdiff -u -r1.349 -r1.350 src/doc/BRANCHES Please note

CVS commit: src/sys

2019-05-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat May 25 04:41:53 UTC 2019 Modified Files: src/sys/arch/sgimips/hpc: haltwo.c src/sys/dev/bluetooth: btsco.c Log Message: Make it compilable even with debug option. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2019-05-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat May 25 04:41:53 UTC 2019 Modified Files: src/sys/arch/sgimips/hpc: haltwo.c src/sys/dev/bluetooth: btsco.c Log Message: Make it compilable even with debug option. To generate a diff of this commit: cvs rdiff -u

Re: audio2

2019-06-04 Thread Tetsuya Isaki
+63,6 @@ */ /* #define AUDIO_SUPPORT_TRACK_VOLUME */ -/* - * Whether use C language's "implementation defined" behavior (note that - * it's not "undefined" behavior). It improves performance well. - */ -#define AUDIO_USE_C_IMPLEMENTATION_DEFINED_BEHAVIOR - /* conversion stage */ typedef struct { audio_ring_t srcbuf; --- Tetsuya Isaki

CVS commit: src/sys/arch/sgimips/mace

2019-06-07 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 7 13:24:21 UTC 2019 Modified Files: src/sys/arch/sgimips/mace: mavb.c Log Message: mavb supports only playback for now, so drop FULLDUPLEX and INDEPENDENT property. These properies are valid only for bidirectional

CVS commit: src/sys/arch/sgimips/mace

2019-06-07 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 7 13:24:21 UTC 2019 Modified Files: src/sys/arch/sgimips/mace: mavb.c Log Message: mavb supports only playback for now, so drop FULLDUPLEX and INDEPENDENT property. These properies are valid only for bidirectional

CVS commit: src/sys/arch/evbarm/mini2440

2019-06-07 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 7 13:49:23 UTC 2019 Modified Files: src/sys/arch/evbarm/mini2440: audio_mini2440.c Log Message: Rename uda_ssio_getprops() -> uda_ssio_get_props() to make it easy to search. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/evbarm/mini2440

2019-06-07 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 7 13:49:23 UTC 2019 Modified Files: src/sys/arch/evbarm/mini2440: audio_mini2440.c Log Message: Rename uda_ssio_getprops() -> uda_ssio_get_props() to make it easy to search. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/audio

2019-06-08 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jun 8 08:20:11 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve checking and displaying property. - Full/half duplex and independentness are valid only on bidirectional device. - MMAP is no longer

CVS commit: src/sys/dev/audio

2019-06-08 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jun 8 08:20:11 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve checking and displaying property. - Full/half duplex and independentness are valid only on bidirectional device. - MMAP is no longer

CVS commit: src/sys

2019-06-08 Thread Tetsuya Isaki
8 13:40:17 2019 +++ src/sys/arch/x68k/dev/vs.c Sat Jun 8 08:02:37 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: vs.c,v 1.51 2019/05/08 13:40:17 isaki Exp $ */ +/* $NetBSD: vs.c,v 1.52 2019/06/08 08:02:37 isaki Exp $ */ /* * Copyright (c) 2001 Tetsuya Isaki. All rights reserved. @@ -30,7 +30,7 @@ */

CVS commit: src/sys

2019-06-08 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jun 8 08:02:38 UTC 2019 Modified Files: src/sys/arch/amiga/dev: aucc.c repulse.c toccata.c src/sys/arch/arm/iomd: vidcaudio.c src/sys/arch/arm/sunxi: sunxi_codec.c sunxi_i2s.c src/sys/arch/arm/xscale:

CVS commit: src/sys/dev/pci

2019-05-29 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed May 29 13:12:59 UTC 2019 Modified Files: src/sys/dev/pci: emuxki.c Log Message: Fix build error on i386. These were only needed during development. Reported by msaitoh@. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci

2019-05-29 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed May 29 13:12:59 UTC 2019 Modified Files: src/sys/dev/pci: emuxki.c Log Message: Fix build error on i386. These were only needed during development. Reported by msaitoh@. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/audio

2019-06-06 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Jun 6 13:08:30 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Revert rev1.7. Don't take care of incorrect drivers. They should be fixed. PR kern/54264. OK'ed by nakayama@-san. To generate a diff of this

CVS commit: src/sys/dev/audio

2019-06-06 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Jun 6 13:08:30 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Revert rev1.7. Don't take care of incorrect drivers. They should be fixed. PR kern/54264. OK'ed by nakayama@-san. To generate a diff of this

CVS commit: src/sys/dev/usb

2019-06-06 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Jun 6 12:59:33 UTC 2019 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Return correct properties. It fixes PR kern/54264. XXX I'm not sure all bidirectional uaudio devices support FULLDUPLEX or INDEPENDENT. To

CVS commit: src/sys/dev/usb

2019-06-06 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Jun 6 12:59:33 UTC 2019 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Return correct properties. It fixes PR kern/54264. XXX I'm not sure all bidirectional uaudio devices support FULLDUPLEX or INDEPENDENT. To

CVS commit: src/sys/arch/x68k/stand/boot

2019-06-14 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 14 14:15:53 UTC 2019 Modified Files: src/sys/arch/x68k/stand/boot: Makefile Log Message: boot_ufs (primary bootloader) expects /boot OMAGIC a.out. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/arch/x68k/stand/boot

2019-06-14 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 14 14:15:53 UTC 2019 Modified Files: src/sys/arch/x68k/stand/boot: Makefile Log Message: boot_ufs (primary bootloader) expects /boot OMAGIC a.out. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/arch/x68k/stand/boot_ufs

2019-06-14 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 14 14:17:58 UTC 2019 Modified Files: src/sys/arch/x68k/stand/boot_ufs: bootmain.c Log Message: Add missing newline. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/arch/x68k/stand/boot_ufs

2019-06-14 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 14 14:17:58 UTC 2019 Modified Files: src/sys/arch/x68k/stand/boot_ufs: bootmain.c Log Message: Add missing newline. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/dev/audio

2019-06-25 Thread Tetsuya Isaki
sys/dev/audio/audiodef.h Tue Jun 25 13:07:48 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: audiodef.h,v 1.4 2019/06/10 13:49:39 isaki Exp $ */ +/* $NetBSD: audiodef.h,v 1.5 2019/06/25 13:07:48 isaki Exp $ */ /* * Copyright (C) 2017 Tetsuya Isaki. All rights reserved. @@ -187,7 +187,11 @@ struct audio_trackmi

CVS commit: src/sys/dev/audio

2019-06-25 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue Jun 25 13:07:48 UTC 2019 Modified Files: src/sys/dev/audio: audio.c audiodef.h Log Message: Put the lowered mixing volume back when all playback tracks are closed. TODO: about long life descriptor. To generate a diff of this

CVS commit: src/sys/dev/audio

2019-06-12 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 12 13:53:25 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Fill silence if the last block of the first track is not filled. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/dev/audio

2019-06-12 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 12 13:53:25 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Fill silence if the last block of the first track is not filled. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/share/man/man9

2019-06-12 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 12 13:14:32 UTC 2019 Modified Files: src/share/man/man9: audio.9 Log Message: Describe about get_props() properties. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/share/man/man9/audio.9 Please note

CVS commit: src/share/man/man9

2019-06-12 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 12 13:14:32 UTC 2019 Modified Files: src/share/man/man9: audio.9 Log Message: Describe about get_props() properties. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/share/man/man9/audio.9 Please note

CVS commit: src/sys/dev/pad

2019-06-19 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 19 12:51:26 UTC 2019 Modified Files: src/sys/dev/pad: pad.c Log Message: pad(4)'s output format is LE even on big endian arch. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/dev/pad/pad.c Please

CVS commit: src/sys/dev/pad

2019-06-19 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 19 12:51:26 UTC 2019 Modified Files: src/sys/dev/pad: pad.c Log Message: pad(4)'s output format is LE even on big endian arch. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/dev/pad/pad.c Please

CVS commit: src/sys/dev/pad

2019-06-19 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 19 12:52:41 UTC 2019 Modified Files: src/sys/dev/pad: pad.c Log Message: Don't call next callout when an error occurs in start_output. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/sys/dev/pad/pad.c

CVS commit: src/sys/dev/audio

2019-06-19 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 19 12:49:50 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Don't wait until a block is filled. This improves that short sound breaks. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/dev/audio

2019-06-19 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 19 12:49:50 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Don't wait until a block is filled. This improves that short sound breaks. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src

2019-06-20 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Jun 20 12:14:46 UTC 2019 Modified Files: src/distrib/sets/lists/tests: mi src/tests/dev/audio: Makefile h_pad.c t_pad.sh Removed Files: src/tests/dev/audio: t_pad_output.bz2.uue Log Message: Rewrite t_pad test.

CVS commit: src

2019-06-20 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Jun 20 12:14:46 UTC 2019 Modified Files: src/distrib/sets/lists/tests: mi src/tests/dev/audio: Makefile h_pad.c t_pad.sh Removed Files: src/tests/dev/audio: t_pad_output.bz2.uue Log Message: Rewrite t_pad test.

CVS commit: src/sys/dev

2019-06-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 21 09:34:30 UTC 2019 Modified Files: src/sys/dev: spkr_audio.c Log Message: Use hztoms() instead of incorrect calculation. This makes spkr work on HZ=1024 like alpha. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/sys/dev

2019-06-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jun 21 09:34:30 UTC 2019 Modified Files: src/sys/dev: spkr_audio.c Log Message: Use hztoms() instead of incorrect calculation. This makes spkr work on HZ=1024 like alpha. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/sys/dev/audio

2019-06-22 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sun Jun 23 01:46:56 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Restore sysctl_teardown which was unintentionally dropped. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

CVS commit: src/sys/dev/wscons

2019-06-22 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jun 22 08:03:01 UTC 2019 Modified Files: src/sys/dev/wscons: wsbell.c Log Message: Add missing SETBELL() for WSKBDIO_COMPLEXBELL. wskbd_bell_data structure has value fields and operation bitmask field. "xset b * * 0" doesn't

CVS commit: src/sys/dev/wscons

2019-06-22 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jun 22 08:03:01 UTC 2019 Modified Files: src/sys/dev/wscons: wsbell.c Log Message: Add missing SETBELL() for WSKBDIO_COMPLEXBELL. wskbd_bell_data structure has value fields and operation bitmask field. "xset b * * 0" doesn't

CVS commit: src/sys/dev/audio

2019-06-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jun 10 13:12:51 UTC 2019 Modified Files: src/sys/dev/audio: audio.c audiovar.h Log Message: Call get_props() once at attach. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/audio/audio.c cvs rdiff

CVS commit: src/sys/dev/audio

2019-06-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jun 10 13:12:51 UTC 2019 Modified Files: src/sys/dev/audio: audio.c audiovar.h Log Message: Call get_props() once at attach. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/audio/audio.c cvs rdiff

CVS commit: src/sys/dev/audio

2019-06-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jun 10 13:28:09 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Add missing newline to some error messages. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/audio/audio.c Please

CVS commit: src/sys/dev/audio

2019-06-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jun 10 13:28:09 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Add missing newline to some error messages. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/audio/audio.c Please

CVS commit: src/sys/dev/audio

2019-06-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jun 10 13:49:39 UTC 2019 Modified Files: src/sys/dev/audio: audio.c audiodef.h Log Message: Use AUDIO_SCALEDOWN() macro rather than seemingly strange ifdefs. Discussed on source-changes-d. To generate a diff of this commit:

CVS commit: src/sys/dev/audio

2019-06-10 Thread Tetsuya Isaki
= *s++; +*d++ += AUDIO_SCALEDOWN(v * track->volume, 8); } } else #endif Index: src/sys/dev/audio/audiodef.h diff -u src/sys/dev/audio/audiodef.h:1.3 src/sys/dev/audio/audiodef.h:1.4 --- src/sys/dev/audio/audiodef.h:1.3 Thu May 23 12:20:27 2019 +++ src/sys/dev/audio/audiodef.h Mon

Re: audio2

2019-05-23 Thread Tetsuya Isaki
.h23 May 2019 03:31:36 - @@ -63,12 +63,6 @@ */ /* #define AUDIO_SUPPORT_TRACK_VOLUME */ -/* - * Whether use C language's "implementation defined" behavior (note that - * it's not "undefined" behavior). It improves performance well. - */ -#define AUDIO_USE_C_IMPLEMENTATION_DEFINED_BEHAVIOR - /* conversion stage */ typedef struct { audio_ring_t srcbuf; --- Tetsuya Isaki

CVS commit: src/sys/dev/audio

2019-05-23 Thread Tetsuya Isaki
ff=%lld, prot=%d", (long long)(*offp), prot); Index: src/sys/dev/audio/audiodef.h diff -u src/sys/dev/audio/audiodef.h:1.2 src/sys/dev/audio/audiodef.h:1.3 --- src/sys/dev/audio/audiodef.h:1.2 Wed May 8 13:40:17 2019 +++ src/sys/dev/audio/audiodef.h Thu May 23 12:20:27 2019 @@ -1,4 +1,4

CVS commit: src/sys/dev/audio

2019-05-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu May 23 12:20:27 UTC 2019 Modified Files: src/sys/dev/audio: audio.c audiodef.h Log Message: Remove unnecessary file lock. It has been introduced to prevent multiple syscalls entering simultaneously. But it's completely

Re: audio2

2019-05-24 Thread Tetsuya Isaki
ed". > So > it feels confusing and wrong to *name* the operation the opposite of > what it really is. What I want to do here is arithmetic right shift operation and 2nd argument in this macro indicates shift count. So I named it ASR. Thanks, --- Tetsuya Isaki

Re: audio2

2019-05-24 Thread Tetsuya Isaki
At Fri, 24 May 2019 07:01:56 +, m...@netbsd.org wrote: > > we don't have anyone using the non-__GNUC__ case This is C specification matter. It's not important whether such compiler really exist. Thanks, --- Tetsuya Isaki

Re: audio2

2019-05-21 Thread Tetsuya Isaki
IO_SETFD is marked obsolete and does nothing. Thanks, --- Tetsuya Isaki

CVS commit: src/sys/dev/audio

2019-05-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue May 21 12:52:57 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Adjust debug message. Inspired from PR kern/54177. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/audio/audio.c

CVS commit: src/sys/dev/audio

2019-05-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue May 21 12:52:57 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Adjust debug message. Inspired from PR kern/54177. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/audio/audio.c

Re: audio2

2019-05-21 Thread Tetsuya Isaki
; C) is equivalent to ((A * B) >> C). (A * B / C) is equivalent to ((A * B) / C). And in fact it worked. # I'm sorry if I misread your text. Thanks, --- Tetsuya Isaki > > 5234:#if defined(AUDIO_USE_C_IMPLEMENTATION_DEFINED_BEHAVIOR) && > > defined(__GNUC__) > > 5235-

Re: CVS commit: [isaki-audio2] src/sys/dev/usb

2019-05-02 Thread Tetsuya Isaki
sfer(). But I've read(traveled) source codes of these three USB functions and I believe that these can work with IPL_SOFTUSB/IPL_NONE held (in other words, releasing locks here is unnecessary). Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys/arch

2019-05-03 Thread Tetsuya Isaki
t68k Disabled: atari, luna68k, mvme68k, sun3, x68k Thanks, --- Tetsuya Isaki

CVS commit: src/sys/dev/pad

2019-06-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 26 11:53:15 UTC 2019 Modified Files: src/sys/dev/pad: pad.c padvar.h Log Message: Style fixes. No functional changes intended. - Rename some functions for consistency. - Rearrange some functions for readability. - Unify

CVS commit: src/sys/dev/pad

2019-06-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 26 11:53:15 UTC 2019 Modified Files: src/sys/dev/pad: pad.c padvar.h Log Message: Style fixes. No functional changes intended. - Rename some functions for consistency. - Rearrange some functions for readability. - Unify

CVS commit: src/sys/dev/pad

2019-06-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 26 12:21:40 UTC 2019 Modified Files: src/sys/dev/pad: pad.c Log Message: Fix return value. fo_poll expects revents, not errno. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pad/pad.c Please

CVS commit: src/sys/dev/pad

2019-06-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 26 12:21:40 UTC 2019 Modified Files: src/sys/dev/pad: pad.c Log Message: Fix return value. fo_poll expects revents, not errno. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pad/pad.c Please

CVS commit: src/sys/dev/audio

2019-07-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jul 10 13:17:57 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix freem() argument. The 3rd argument is bufsize, not direction... To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

CVS commit: src/sys/dev/audio

2019-07-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jul 10 13:26:47 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Use kmem_alloc/free() instead of old kern_malloc/free(). To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/dev/audio

2019-07-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jul 10 13:26:47 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Use kmem_alloc/free() instead of old kern_malloc/free(). To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

CVS commit: src/sys/dev/audio

2019-07-10 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jul 10 13:17:57 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix freem() argument. The 3rd argument is bufsize, not direction... To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

CVS commit: src/sys/dev/audio

2019-06-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 26 07:47:25 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve debug message and remove duplicated one. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/audio/audio.c

CVS commit: src/sys/dev/audio

2019-06-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 26 07:47:25 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve debug message and remove duplicated one. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/audio/audio.c

CVS commit: src/sys/dev/audio

2019-06-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Jun 26 06:57:45 UTC 2019 Modified Files: src/sys/dev/audio: audio.c audiobell.c audiodef.h audiovar.h Log Message: Improve audiobell (and interfaces with audio). - Generate pseudo sine wave if possible. It may improve timbre.

CVS commit: src/sys/dev/audio

2019-06-26 Thread Tetsuya Isaki
sys/dev/audio/audiodef.h:1.5 Tue Jun 25 13:07:48 2019 +++ src/sys/dev/audio/audiodef.h Wed Jun 26 06:57:45 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: audiodef.h,v 1.5 2019/06/25 13:07:48 isaki Exp $ */ +/* $NetBSD: audiodef.h,v 1.6 2019/06/26 06:57:45 isaki Exp $ */ /* * Copyright (C) 2017 Tetsuya Isaki. All ri

CVS commit: src/sbin/disklabel

2019-08-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 3 04:21:37 UTC 2019 Modified Files: src/sbin/disklabel: main.c Log Message: Fix a trivial wrong comment. x68k's arch is not m68010. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sbin/disklabel

2019-08-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 3 04:21:37 UTC 2019 Modified Files: src/sbin/disklabel: main.c Log Message: Fix a trivial wrong comment. x68k's arch is not m68010. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/usr.bin/audiocfg

2019-08-22 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Aug 22 14:40:14 UTC 2019 Modified Files: src/usr.bin/audiocfg: main.c Log Message: Fix assertion of "audiocfg list " when n is an illegal index. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/usr.bin/audiocfg

2019-08-22 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Aug 22 14:40:14 UTC 2019 Modified Files: src/usr.bin/audiocfg: main.c Log Message: Fix assertion of "audiocfg list " when n is an illegal index. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/dev/audio

2019-08-29 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Aug 29 13:01:07 UTC 2019 Modified Files: src/sys/dev/audio: audio.c audiovar.h Log Message: Fix lock assertion on async I/O mode. psignal() must be called without any spin locks. Thanks maxv@! To generate a diff of this

CVS commit: src/sys/dev/audio

2019-08-29 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Aug 29 13:01:07 UTC 2019 Modified Files: src/sys/dev/audio: audio.c audiovar.h Log Message: Fix lock assertion on async I/O mode. psignal() must be called without any spin locks. Thanks maxv@! To generate a diff of this

CVS commit: src/usr.bin/audiocfg

2019-08-24 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 24 07:39:42 UTC 2019 Modified Files: src/usr.bin/audiocfg: audiodev.c audiodev.h main.c Log Message: Revert about index number changes. It breaks its usage and output format. Pointed out by mrg@. To generate a diff of

  1   2   >