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

2022-09-25 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sun Sep 25 11:28:40 UTC 2022 Modified Files: src/sys/arch/luna68k/dev: lunafb.c omrasops.c omrasopsvar.h Log Message: lunafb: Improve drawing performance using VRAM ROP features. - Drawing a character on 4bpp normally needs 4

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

2022-09-25 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sun Sep 25 11:28:40 UTC 2022 Modified Files: src/sys/arch/luna68k/dev: lunafb.c omrasops.c omrasopsvar.h Log Message: lunafb: Improve drawing performance using VRAM ROP features. - Drawing a character on 4bpp normally needs 4

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

2022-09-25 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sun Sep 25 11:22:36 UTC 2022 Modified Files: src/sys/arch/luna68k/dev: omrasops.c Log Message: Cosmetic changes. Fix a typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

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

2022-09-25 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sun Sep 25 11:22:36 UTC 2022 Modified Files: src/sys/arch/luna68k/dev: omrasops.c Log Message: Cosmetic changes. Fix a typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/tests/dev/audio

2022-08-13 Thread Tetsuya Isaki
$ */ /* * Copyright (C) 2019 Tetsuya Isaki. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__RCSID("$NetBSD: audiotest.c,v 1.26 2022/08/13 07:19:15 isaki Exp $"); +__RCSID("$NetBSD: audiotest.c,v 1.27 2022/08/13 07:22:40 isaki Exp $"); #include #include @@ -587

CVS commit: src/tests/dev/audio

2022-08-13 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 13 07:22:41 UTC 2022 Modified Files: src/tests/dev/audio: audiotest.c Log Message: audiotest: Add two tests for AUDIO_SETINFO after mmap. These tests affect only standalone test, not atf. To generate a diff of this

CVS commit: src/tests/dev/audio

2022-08-13 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 13 07:19:16 UTC 2022 Modified Files: src/tests/dev/audio: audiotest.c Log Message: audiotest: Fix typo in comments. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/tests/dev/audio/audiotest.c Please

CVS commit: src/tests/dev/audio

2022-08-13 Thread Tetsuya Isaki
:40 2022 +++ src/tests/dev/audio/audiotest.c Sat Aug 13 07:19:15 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: audiotest.c,v 1.25 2022/08/13 07:14:40 isaki Exp $ */ +/* $NetBSD: audiotest.c,v 1.26 2022/08/13 07:19:15 isaki Exp $ */ /* * Copyright (C) 2019 Tetsuya Isaki. All rights reserved. @@ -26,7 +26,7

CVS commit: src/tests/dev/audio

2022-08-13 Thread Tetsuya Isaki
$ */ /* * Copyright (C) 2019 Tetsuya Isaki. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__RCSID("$NetBSD: audiotest.c,v 1.24 2022/08/07 10:12:19 andvar Exp $"); +__RCSID("$NetBSD: audiotest.c,v 1.25 2022/08/13 07:14:40 isaki Exp $"); #include #include @@ -13

CVS commit: src/tests/dev/audio

2022-08-13 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 13 07:14:40 UTC 2022 Modified Files: src/tests/dev/audio: audiotest.c Log Message: audiotest: Separate mmap_len test by parameters. This change affects only standalone test, not atf. To generate a diff of this commit:

CVS commit: src/sys/dev/audio

2022-08-13 Thread Tetsuya Isaki
ack->usrbuf.mem = kmem_alloc(newvsize, KM_SLEEP); + track->usrbuf_allocsize = newvsize; } + track->usrbuf.capacity = newbufsize; /* Recalc water mark. */ if (is_playback) { Index: src/sys/dev/audio/audiodef.h diff -u src/sys/dev/audio/audiodef.h:1.19 src/sys/dev/audio/

CVS commit: src/sys/dev/audio

2022-08-13 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 13 06:47:41 UTC 2022 Modified Files: src/sys/dev/audio: audio.c audiodef.h Log Message: audio: Rework about usrbuf allocation. - Allocate the usrbuf from kmem(9) instead of uvm(9). The usrbuf has used uvm(9), in case

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

2022-07-28 Thread Tetsuya Isaki
At Tue, 26 Jul 2022 09:52:40 -0700, Chuck Silvers wrote: > > This commit breaks usr.sbin/crash on m68k. > > curlwp is defined only in _KERNEL. usr.sbin/crash defines _KMEMUSER > > but not _KERNEL. > > > > Would you look into? > > I fixed it now, sorry about that. Thank you! --- Tetsuya Isaki

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

2022-07-26 Thread Tetsuya Isaki
g rather than always curlwp. > > > To generate a diff of this commit: > cvs rdiff -u -r1.59 -r1.60 src/sys/arch/m68k/m68k/db_trace.c This commit breaks usr.sbin/crash on m68k. curlwp is defined only in _KERNEL. usr.sbin/crash defines _KMEMUSER but not _KERNEL. Would you look into? Thanks, --- Tetsuya Isaki

CVS commit: src/sys/arch/x68k

2022-07-15 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jul 16 04:55:35 UTC 2022 Modified Files: src/sys/arch/x68k/dev: powsw.c src/sys/arch/x68k/x68k: machdep.c Log Message: The system should halt if the powerdown fails. On X680x0 hardware, front power button is an

CVS commit: src/sys/arch/x68k

2022-07-15 Thread Tetsuya Isaki
16 04:49:07 2022 +++ src/sys/arch/x68k/dev/powsw.c Sat Jul 16 04:55:35 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: powsw.c,v 1.3 2022/07/16 04:49:07 isaki Exp $ */ +/* $NetBSD: powsw.c,v 1.4 2022/07/16 04:55:35 isaki Exp $ */ /* * Copyright (c) 2011 Tetsuya Isaki. All rights reserved. @@ -30,7 +30,7

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

2022-07-15 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jul 16 04:49:07 UTC 2022 Modified Files: src/sys/arch/x68k/dev: powsw.c Log Message: Style fixes. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/dev/powsw.c Please note that diffs are not

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

2022-07-15 Thread Tetsuya Isaki
/powsw.c Sat Jul 16 04:49:07 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: powsw.c,v 1.2 2022/05/26 14:33:29 tsutsui Exp $ */ +/* $NetBSD: powsw.c,v 1.3 2022/07/16 04:49:07 isaki Exp $ */ /* * Copyright (c) 2011 Tetsuya Isaki. All rights reserved. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$N

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

2022-06-25 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jun 25 08:19:01 UTC 2022 Modified Files: src/sys/arch/x68k/x68k: machdep.c Log Message: Fix build without EXTENDED_MEMORY. To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208 src/sys/arch/x68k/x68k/machdep.c

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

2022-06-25 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jun 25 08:19:01 UTC 2022 Modified Files: src/sys/arch/x68k/x68k: machdep.c Log Message: Fix build without EXTENDED_MEMORY. To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208 src/sys/arch/x68k/x68k/machdep.c

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

2022-06-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Jun 23 12:32:22 UTC 2022 Modified Files: src/sys/arch/x68k/stand/boot: conf.c src/sys/arch/x68k/stand/libsa: libx68k.h sdcd.c Log Message: x68k/stand: Merge {sd,cd}strategy and {sd,cd}close respectively. For sd and cd

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

2022-06-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Jun 23 12:32:22 UTC 2022 Modified Files: src/sys/arch/x68k/stand/boot: conf.c src/sys/arch/x68k/stand/libsa: libx68k.h sdcd.c Log Message: x68k/stand: Merge {sd,cd}strategy and {sd,cd}close respectively. For sd and cd

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

2022-06-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue Jun 21 12:45:46 UTC 2022 Modified Files: src/sys/arch/x68k/stand/boot: version Log Message: x68k/stand: Bump boot's version. Fix blocksize parameter passes to SCSI IOCS. To generate a diff of this commit: cvs rdiff -u -r1.8

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

2022-06-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue Jun 21 12:45:46 UTC 2022 Modified Files: src/sys/arch/x68k/stand/boot: version Log Message: x68k/stand: Bump boot's version. Fix blocksize parameter passes to SCSI IOCS. To generate a diff of this commit: cvs rdiff -u -r1.8

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

2022-06-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue Jun 21 12:43:57 UTC 2022 Modified Files: src/sys/arch/x68k/stand/libsa: sdcd.c Log Message: x68k/stand: Correct blocksize in case of CD. - Fix calculation of the blocksize passes to SCSI IOCS. - Use three kind of sector size

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

2022-06-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue Jun 21 12:43:57 UTC 2022 Modified Files: src/sys/arch/x68k/stand/libsa: sdcd.c Log Message: x68k/stand: Correct blocksize in case of CD. - Fix calculation of the blocksize passes to SCSI IOCS. - Use three kind of sector size

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

2022-06-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue Jun 21 12:20:43 UTC 2022 Modified Files: src/sys/arch/x68k/stand/libsa: sdcd.c Log Message: x68k/stand: Correct a condition expression. - start is LBA but dblk is relative from this partition. - The first term was wrong. It

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

2022-06-21 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Tue Jun 21 12:20:43 UTC 2022 Modified Files: src/sys/arch/x68k/stand/libsa: sdcd.c Log Message: x68k/stand: Correct a condition expression. - start is LBA but dblk is relative from this partition. - The first term was wrong. It

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 11:44:01 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Fix a typo in comment. Remove several old comments. To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 11:44:01 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Fix a typo in comment. Remove several old comments. To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 11:30:57 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Clean up about audio_realloc(). - audio_realloc() never returns NULL, so there is no need to check it. - audio_free() is no point in

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 11:30:57 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Clean up about audio_realloc(). - audio_realloc() never returns NULL, so there is no need to check it. - audio_free() is no point in

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
return 0; } Index: src/sys/dev/audio/audiodef.h diff -u src/sys/dev/audio/audiodef.h:1.18 src/sys/dev/audio/audiodef.h:1.19 --- src/sys/dev/audio/audiodef.h:1.18 Wed Apr 20 07:11:13 2022 +++ src/sys/dev/audio/audiodef.h Sat Apr 23 07:55:07 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: audiodef.h,v 1.18 2022/0

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 07:55:07 UTC 2022 Modified Files: src/sys/dev/audio: audio.c audiodef.h Log Message: audio(4): Remove no longer used counters. These were used at very early phase of development. To generate a diff of this commit: cvs

CVS commit: src/tests/dev/audio

2022-04-23 Thread Tetsuya Isaki
@@ -1,4 +1,4 @@ -/* $NetBSD: audiotest.c,v 1.18 2021/12/10 20:36:05 andvar Exp $ */ +/* $NetBSD: audiotest.c,v 1.19 2022/04/23 07:47:42 isaki Exp $ */ /* * Copyright (C) 2019 Tetsuya Isaki. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__RCSID("$NetBSD: audiotest.c,v 1.18 2021/12/

CVS commit: src/tests/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 07:47:42 UTC 2022 Modified Files: src/tests/dev/audio: audiotest.c Log Message: tests: Add tests for AUDIO_GET[IO]OFFS ioctls. - AUDIO_GETIOFFS_one_{RDONLY,RDWR,WRONLY} - AUDIO_GETOOFFS_one_{RDONLY,RDWR,WRONLY} -

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 07:43:16 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Restore(implement) AUDIO_GETIOFFS ioctl. To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130 src/sys/dev/audio/audio.c

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 07:43:16 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Restore(implement) AUDIO_GETIOFFS ioctl. To generate a diff of this commit: cvs rdiff -u -r1.129 -r1.130 src/sys/dev/audio/audio.c

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 06:17:59 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Fix an (unintended) minor behavior on AUDIO_FLUSH. On NetBSD7, when AUDIO_FLUSH was issued, .offset of AUDIO_GETOOFFS was reinitialized

CVS commit: src/sys/dev/audio

2022-04-23 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Apr 23 06:17:59 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Fix an (unintended) minor behavior on AUDIO_FLUSH. On NetBSD7, when AUDIO_FLUSH was issued, .offset of AUDIO_GETOOFFS was reinitialized

CVS commit: src/sys/dev/audio

2022-04-20 Thread Tetsuya Isaki
Apr 20 06:05:22 2022 +++ src/sys/dev/audio/audiodef.h Wed Apr 20 07:11:13 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: audiodef.h,v 1.17 2022/04/20 06:05:22 isaki Exp $ */ +/* $NetBSD: audiodef.h,v 1.18 2022/04/20 07:11:13 isaki Exp $ */ /* * Copyright (C) 2017 Tetsuya Isaki. All rights reserved. @@ -12

CVS commit: src/sys/dev/audio

2022-04-20 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Apr 20 07:11:14 UTC 2022 Modified Files: src/sys/dev/audio: audio.c audiodef.h Log Message: audio(4): Rework AUDIO_GETOOFFS. - Count .samples/.deltablks in blocks. It makes .deltablks integer wrap around safe. - Remove

CVS commit: src/sys/dev/audio

2022-04-20 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Apr 20 06:05:22 UTC 2022 Modified Files: src/sys/dev/audio: audio.c audiodef.h Log Message: audio(4): Make recording buffer more robust. Previously, main buffer in recording track was usrbuf, which is the closest buffer to the

CVS commit: src/sys/dev/audio

2022-04-20 Thread Tetsuya Isaki
ri->error = (rtrack->dropframes != 0) ? 1 : 0; ri->open = 1; - ri->buffer_size = rtrack->usrbuf.capacity; + ri->buffer_size = audio_track_inputblk_as_usrbyte(rtrack, + rtrack->input->capacity); } ri->waiting = 0; /* open never hangs */ ri->active = sc-

CVS commit: src/sys/dev/audio

2022-04-19 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Apr 20 04:41:29 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Make debug messages better in audio_ioctl() and mixier_ioctl(). Divide by case. Reduce to one line if possible. To generate a diff

CVS commit: src/sys/dev/audio

2022-04-19 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Apr 20 04:41:29 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: audio(4): Make debug messages better in audio_ioctl() and mixier_ioctl(). Divide by case. Reduce to one line if possible. To generate a diff

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:49:27 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Add terminology comments. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/dev/audio/audio.c Please note that diffs are

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:49:27 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Add terminology comments. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/dev/audio/audio.c Please note that diffs are

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:43:36 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve comments. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/dev/audio/audio.c Please note that diffs are not

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:43:36 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Improve comments. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/dev/audio/audio.c Please note that diffs are not

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:41:12 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Remove a dead code in audio_track_record(). To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/dev/audio/audio.c Please

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:41:12 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Remove a dead code in audio_track_record(). To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/dev/audio/audio.c Please

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:36:06 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Clarify the assertion in audio_rmixer_process(). By previous commit (r1.116), the assersion no longer fires even without this modification. But

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:36:06 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Clarify the assertion in audio_rmixer_process(). By previous commit (r1.116), the assersion no longer fires even without this modification. But

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:27:32 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix conditions that audio_read() calls audio_track_record(). audio_track_record() must be called when usrbuf has at least one free block. I hope

CVS commit: src/sys/dev/audio

2022-03-26 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Mar 26 06:27:32 UTC 2022 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix conditions that audio_read() calls audio_track_record(). audio_track_record() must be called when usrbuf has at least one free block. I hope

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

2022-02-03 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Feb 4 06:16:03 UTC 2022 Modified Files: src/sys/arch/x68k/stand/xxboot: Makefile.xxboot Log Message: Add missing -m68020-60 option. This makes xxboot_ustarfs work even on 68060. Problem reported by Makoto Kamada. Confirmed

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

2022-02-03 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Feb 4 06:16:03 UTC 2022 Modified Files: src/sys/arch/x68k/stand/xxboot: Makefile.xxboot Log Message: Add missing -m68020-60 option. This makes xxboot_ustarfs work even on 68060. Problem reported by Makoto Kamada. Confirmed

Re: CVS commit: src/share/man/man4

2021-03-12 Thread Tetsuya Isaki
only 24bit. If the hardware supports 16bit precision and one or more precision higher than 16bit like hdafg(4), I think that there is no or less advantage for MD drivers to choice/support the precision higher than 16bit. Thanks, --- Tetsuya Isaki

Re: CVS commit: src/share/man/man9

2021-02-08 Thread Tetsuya Isaki
the sentence > is to explain why you don't need to handle conversion in that > case yourself. If it's clear for readers, no problem to me. Thanks, --- Tetsuya Isaki

Re: CVS commit: src/share/man/man9

2021-02-06 Thread Tetsuya Isaki
the upper layer chooses it, > -the driver does not need to provide a conversion function. > -Because the upper layer only supports conversion between > +the driver does not need to provide a conversion function, > +because the upper layer supports conversion between Is "only" a typo? or is it better to remove it in English? Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys/arch/hppa/gsc

2021-02-04 Thread Tetsuya Isaki
ompletely unrelated. Oops, this was my mistake. I hope that harmony.c,v 1.9 will fix this problem. Sorry for breaking it. --- Tetsuya Isaki

Re: CVS commit: src/sys/dev/audio

2020-05-30 Thread Tetsuya Isaki
At Fri, 29 May 2020 12:32:39 +, nia wrote: > OK... Can you request a pullup to ensure resuming with a stream > playing doesn't panic on 9.1? I will do it on next weekend. Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys/dev/audio

2020-05-28 Thread Tetsuya Isaki
time after system resumption, a panic will occur > due to an assertion failure (the recording mixer would > already be busy). It's because your change didn't restore [pr]mixer's running state correctly. I have fixed it. Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys/dev/audio

2020-05-27 Thread Tetsuya Isaki
f it's already been started > > > To generate a diff of this commit: > cvs rdiff -u -r1.73 -r1.74 src/sys/dev/audio/audio.c Why are playback and recording asymmetric? Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-05-01 Thread Tetsuya Isaki
) > > How about you, mrg@? > > works for me. i like Andrew's argument fo param.h for values > and types.h for yes/no. I've commited it. Thank you! --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-04-30 Thread Tetsuya Isaki
ion > > though. > > .. I mean, if it's a "tuneable" value like this rather than a constant like > __HAVE_SLOW_COMPUTER. :-) I see. I like this feeling. (not strong opinion too though) How about you, mrg@? Thanks, --- Tetsuya Isaki diff --git a/sys/arch/hppa/include/param.h b

Re: CVS commit: src/sys

2020-04-28 Thread Tetsuya Isaki
At Wed, 29 Apr 2020 12:22:01 +0900, Tetsuya Isaki wrote: > > i would just put it in types.h called __AUDIO_BLK_MS, > > and leave a default used in the code if unset. > It sounds nice. > I commit once here, and then I will try it. How about this diff? The old platforms are the sa

Re: CVS commit: src/sys

2020-04-28 Thread Tetsuya Isaki
At Tue, 28 Apr 2020 05:33:45 +1000, matthew green wrote: > i would just put it in types.h called __AUDIO_BLK_MS, > and leave a default used in the code if unset. It sounds nice. I commit once here, and then I will try it. Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-04-28 Thread Tetsuya Isaki
ck into audio.c, but otherwise this sounds > like a good step forward. Thank you. I will do so. --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-04-27 Thread Tetsuya Isaki
fer mode. * It reduces the latency one block but needs machine power. --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-04-11 Thread Tetsuya Isaki
rk. Your (2) and later looks to me to (a2)/(a4) ?. I don't intend about lower limit here (If my previous yds example was bad or shortage in word, it was my fault). What I intended was default value in (a2) with considering (a5). Does this help to share the topic? Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-04-09 Thread Tetsuya Isaki
Could you write that in another way? Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-04-06 Thread Tetsuya Isaki
ybe misunderstood. > On Fri, Apr 03, 2020 at 09:45:20PM +0900, Tetsuya Isaki wrote: > > But I was not able to set 1msec on yds(4) PCI sound card on In this case, yds(4) is attached at 5msec automatically. When attaching, audio layer calculates the blocksize from AUDI_BLK_MS etc and q

Re: CVS commit: src/sys

2020-04-03 Thread Tetsuya Isaki
handle separately "how long default blk_ms is better?" and "blocksize driver/hardware supports". Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-04-03 Thread Tetsuya Isaki
uned for modern systems and overridable > by a value exported (in a namespace-appropriate way) by a header that already > exists on all platforms. What header file do you think better? Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-04-03 Thread Tetsuya Isaki
rwise use MI default */ # define AUDIO_BLK_MS (10) # endif #endif arch//include/audio_machdep.h /* Use MI default, see dev/audio/audiodef.h */ #undef AUDIO_BLK_MS_MACHDEP arch//include/audio_machdep.h #define AUDIO_BLK_MS_MACHDEP (100) // for example Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-03-29 Thread Tetsuya Isaki
gt; (defined(__sparc__) && !defined(_LP64) > > #else > ... 4ms > #endif > > Or create (if we don't have yet) a and define it there. I try it. Thanks, --- Tetsuya Isaki

Re: CVS commit: src/sys

2020-03-28 Thread Tetsuya Isaki
;= 10msec > > - It's not good idea to set such parameter in individual GENERICs. > > It's not a good idea to punish the majority of NetBSD users because m68k > is incredibly slow. As martin pointed out, you seem to misunderstand. I just dropped m68k from majority. Thanks, --- Tetsuya Isaki

Re: CVS commit: src/share/man/man4

2020-03-18 Thread Tetsuya Isaki
in the system call. What problem of poll() are you talking about? --- Tetsuya Isaki

Re: CVS commit: src/share/man/man4

2020-03-17 Thread Tetsuya Isaki
ted for playback. > > When a mono recording device is set to use 1 channel, the kernel will > correct the number of channels back down to 1. This information can be > obtained with AUDIO_GETINFO... Please revert and send a bug report if so. --- Tetsuya Isaki

CVS commit: src/sys/dev/ic

2019-11-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Nov 28 05:07:27 UTC 2019 Modified Files: src/sys/dev/ic: ac97.c am7990.c Log Message: Use NULL for pointer. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/sys/dev/ic/ac97.c cvs rdiff -u -r1.79 -r1.80

CVS commit: src/sys/dev/ic

2019-11-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Nov 28 05:07:27 UTC 2019 Modified Files: src/sys/dev/ic: ac97.c am7990.c Log Message: Use NULL for pointer. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/sys/dev/ic/ac97.c cvs rdiff -u -r1.79 -r1.80

CVS commit: src/share/man/man4

2019-11-12 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Nov 13 07:52:25 UTC 2019 Modified Files: src/share/man/man4: audio.4 Log Message: Add some audio drivers in SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/share/man/man4/audio.4 Please note that

CVS commit: src/share/man/man4

2019-11-12 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Nov 13 07:52:25 UTC 2019 Modified Files: src/share/man/man4: audio.4 Log Message: Add some audio drivers in SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/share/man/man4/audio.4 Please note that

CVS commit: src/sys/dev/audio

2019-11-06 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Nov 6 13:37:28 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix a wrong calculation of recording ring buffer. Reported on http://mail-index.netbsd.org/current-users/2019/11/04/msg036976.html To generate

CVS commit: src/sys/dev/audio

2019-11-06 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Nov 6 13:37:28 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Fix a wrong calculation of recording ring buffer. Reported on http://mail-index.netbsd.org/current-users/2019/11/04/msg036976.html To generate

CVS commit: src/sys/dev/usb

2019-11-03 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Nov 4 05:46:39 UTC 2019 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Use kmem_zalloc() instead of kmem_alloc() to initialize structure. struct audio_format added a member since isaki-audio2. Fix PR kern/54662

CVS commit: src/sys/dev/usb

2019-11-03 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Nov 4 05:46:39 UTC 2019 Modified Files: src/sys/dev/usb: uaudio.c Log Message: Use kmem_zalloc() instead of kmem_alloc() to initialize structure. struct audio_format added a member since isaki-audio2. Fix PR kern/54662

CVS commit: src

2019-11-03 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sun Nov 3 11:13:46 UTC 2019 Modified Files: src/lib/libossaudio: ossaudio.c src/sys/compat/ossaudio: ossaudio.c Log Message: Use record field for recording even on SNDCTL_DSP_STEREO, SNDCTL_DSP_SETFMT, and

CVS commit: src

2019-11-03 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sun Nov 3 11:13:46 UTC 2019 Modified Files: src/lib/libossaudio: ossaudio.c src/sys/compat/ossaudio: ossaudio.c Log Message: Use record field for recording even on SNDCTL_DSP_STEREO, SNDCTL_DSP_SETFMT, and

CVS commit: src/sys/compat/ossaudio

2019-11-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Nov 2 11:56:34 UTC 2019 Modified Files: src/sys/compat/ossaudio: ossaudio.c Log Message: Use record.sample_rate for recording on SNDCTL_DSP_SPEED. It's kernel side of PR lib/54667. To generate a diff of this commit: cvs

CVS commit: src/sys/compat/ossaudio

2019-11-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Nov 2 11:56:34 UTC 2019 Modified Files: src/sys/compat/ossaudio: ossaudio.c Log Message: Use record.sample_rate for recording on SNDCTL_DSP_SPEED. It's kernel side of PR lib/54667. To generate a diff of this commit: cvs

CVS commit: src/lib/libossaudio

2019-11-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Nov 2 11:48:23 UTC 2019 Modified Files: src/lib/libossaudio: ossaudio.c Log Message: Use record.sample_rate for recording on SNDCTL_DSP_SPEED. Fix PR lib/54667. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/lib/libossaudio

2019-11-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Nov 2 11:48:23 UTC 2019 Modified Files: src/lib/libossaudio: ossaudio.c Log Message: Use record.sample_rate for recording on SNDCTL_DSP_SPEED. Fix PR lib/54667. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/sys/dev/audio

2019-09-06 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Sep 6 06:44:45 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Tune some debug message level. These messages are important for debugging hardware driver. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/audio

2019-09-06 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Sep 6 06:44:45 UTC 2019 Modified Files: src/sys/dev/audio: audio.c Log Message: Tune some debug message level. These messages are important for debugging hardware driver. To generate a diff of this commit: cvs rdiff -u

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

Re: CVS commit: src/usr.bin/audiocfg

2019-08-24 Thread Tetsuya Isaki
d changing it > may break things, so formatting changes should be avoided > if possible. It's my wrong. I reverted these changes. Thank you for pointing out. --- Tetsuya Isaki

  1   2   3   >