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
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
$ */
+/* $NetBSD: audiotest.c,v 1.14 2021/07/21 06:18:32 isaki Exp $ */
/*
* Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include
-__RCSID("$NetBSD: audiotest.c,v 1.13 2020/10/13 09:00:17 rin Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.14 2021
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
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.
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
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
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).
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
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.
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
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
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
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
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
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
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
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
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
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
/vs.c:1.53 Sat Feb 6 09:27:35 2021
+++ src/sys/arch/x68k/dev/vs.c Sat Feb 6 12:50:04 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: vs.c,v 1.53 2021/02/06 09:27:35 isaki Exp $ */
+/* $NetBSD: vs.c,v 1.54 2021/02/06 12:50:04 isaki Exp $ */
/*
* Copyright (c) 2001 Tetsuya Isaki. All rights reserved
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.
src/sys/arch/x68k/dev/vsvar.h:1.17 src/sys/arch/x68k/dev/vsvar.h:1.18
--- src/sys/arch/x68k/dev/vsvar.h:1.17 Wed May 8 13:40:17 2019
+++ src/sys/arch/x68k/dev/vsvar.h Sat Feb 6 09:27:35 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: vsvar.h,v 1.17 2019/05/08 13:40:17 isaki Exp $ */
+/* $NetBSD: vsvar.h,v 1.18 2021/02/06 09:27:35 isaki Exp $ */
/*
* Copyright (c) 2001 Tetsuya Isaki. All rights reserved.
@@ -98,7 +98,6 @@ struct vs_softc {
struct dmac_dma_xfer *xfer;
int rate;
} sc_current;
- int sc_active;
const struct audio_hw_if *sc_hw_if;
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_*
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tetsuya Isaki. All rights reserved.
@@ -78,6 +78,8 @@
#define AUDIO_SCALEDOWN(value, bits) ((value) / (1 << (bits)))
#endif
+#if defined(_KERNEL)
+
/* conversion stage */
typedef struct {
audio_ring_t srcbuf;
@@ -92,7 +94,7 @@ typedef enum {
AUDIO_STATE_DRAINING, /* now dr
/audio/mulaw.c:1.3 Sat Jan 11 04:06:13 2020
+++ src/sys/dev/audio/mulaw.c Sat Sep 12 06:09:16 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: mulaw.c,v 1.3 2020/01/11 04:06:13 isaki Exp $ */
+/* $NetBSD: mulaw.c,v 1.4 2020/09/12 06:09:16 isaki Exp $ */
/*
* Copyright (C) 2017 Tetsuya Isaki. All rights reserved
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
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
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
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
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
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
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
$ */
/*
* Copyright (C) 2020 Tetsuya Isaki. All rights reserved.
@@ -37,8 +37,8 @@ ASENTRY_NOPROFILE(__ashldi3)
| %a0 = shift count
jbra start
loop:
- lsll #1,%d1 | X:%d1 <<= 1
- roxll #1,%d0 | %d0:X <<= 1
+ addl %d1,%d1 | X:%d1 <<= 1
+ addxl %d0,%
/ashldi3.S:1.1 Sun Aug 16 06:43:43 2020
+++ src/sys/arch/x68k/stand/xxboot/ashldi3.S Sat Aug 22 10:05:04 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: ashldi3.S,v 1.1 2020/08/16 06:43:43 isaki Exp $ */
+/* $NetBSD: ashldi3.S,v 1.2 2020/08/22 10:05:04 isaki Exp $ */
/*
* Copyright (C) 2020 Tetsuya Isaki
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
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
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
)
+ * counts from the beginning of the disk, not the beginning of the
+ * partition. On SCSI CD and floppy, SCSI_PARTTOP is zero.
+ */
+#if defined(XXBOOT_DEBUG)
+ IOCS_B_PRINT("xxstrategy ");
+ print_hex(dblk, 8);
+ IOCS_B_PRINT(" len=");
+ print_hex(size, 8);
+ IOCS_B_PRI
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
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
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
/arch/x68k/stand/xxboot/xxboot.h
diff -u /dev/null src/sys/arch/x68k/stand/xxboot/xxboot.h:1.3
--- /dev/null Fri Aug 14 03:34:22 2020
+++ src/sys/arch/x68k/stand/xxboot/xxboot.h Fri Aug 14 03:34:22 2020
@@ -0,0 +1,51 @@
+/* $NetBSD: xxboot.h,v 1.3 2020/08/14 03:34:22 isaki Exp $ */
+
+/*
+ * Cop
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
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
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
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.
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
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
: audiotest.c,v 1.10 2020/03/26 13:43:10 isaki Exp $ */
+/* $NetBSD: audiotest.c,v 1.11 2020/05/01 05:45:57 isaki Exp $ */
/*
* Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include
-__RCSID("$NetBSD: audiotest.c,v 1.10 2020/03/26 13:43:10 isak
+/* $NetBSD: audiodef.h,v 1.14 2020/04/29 03:58:27 isaki Exp $ */
/*
* Copyright (C) 2017 Tetsuya Isaki. All rights reserved.
@@ -43,25 +43,6 @@
#define AUMINNOBLK (3)
/*
- * Hardware blocksize in msec.
- * We use 10 msec as default for most platforms. But it's too severe for
- * most m68k.
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
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.
-
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
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
src/sys/dev/audio/audiodef.h Sat Mar 28 08:35:36 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: audiodef.h,v 1.12 2020/03/05 15:18:55 riastradh Exp $ */
+/* $NetBSD: audiodef.h,v 1.13 2020/03/28 08:35:36 isaki Exp $ */
/*
* Copyright (C) 2017 Tetsuya Isaki. All rights reserved.
@@ -44,13 +44,21 @@
/*
* H
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
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,
Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include
-__RCSID("$NetBSD: audiotest.c,v 1.9 2020/03/26 13:37:44 isaki Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.10 2020/03/26 13:43:10 isaki Exp $");
#include
#include
@@ -1383,6 +1383,7 @@ void test_rdwr_fall
c,v 1.9 2020/03/26 13:37:44 isaki Exp $ */
/*
* Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include
-__RCSID("$NetBSD: audiotest.c,v 1.8 2020/03/25 13:07:04 isaki Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.9 2020/03/26 13:37:44 isaki Ex
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.
isaki Exp $ */
/*
* Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include
-__RCSID("$NetBSD: audiotest.c,v 1.7 2020/03/04 14:20:44 isaki Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.8 2020/03/25 13:07:04 isaki Exp $");
#include
#inc
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
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.
(C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include
-__RCSID("$NetBSD: audiotest.c,v 1.6 2020/02/22 05:53:19 isaki Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.7 2020/03/04 14:20:44 isaki Exp $");
#include
#include
@@ -106,7 +106,6 @@ bool xp_sys_
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):
-
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
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
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
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
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
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
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
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
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
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
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:
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
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
{
devsw_detach(NULL, _cdevsw);
}
+#endif
break;
case MODULE_CMD_FINI:
+#ifdef _MODULE
devsw_detach(NULL, _cdevsw);
error = config_fini_component(cfdriver_ioconf_audio,
cfattach_ioconf_audio, cfdata_ioconf_audio);
if (error)
devsw_attach(audio_cd.cd_name, NULL, _bmajor,
1 - 100 of 479 matches
Mail list logo