CVS commit: src/usr.sbin/puffs/rump_lfs

2019-08-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Aug 30 23:41:48 UTC 2019 Modified Files: src/usr.sbin/puffs/rump_lfs: rump_lfs.c Log Message: The cleaner is compiled into rump_lfs and executed as a thread. Pass in the raw device using the new -J option. This avoids the use

CVS commit: src/libexec/lfs_cleanerd

2019-08-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Aug 30 23:37:23 UTC 2019 Modified Files: src/libexec/lfs_cleanerd: lfs_cleanerd.8 lfs_cleanerd.c Log Message: Add support for passing the raw device name separate from the filesystem. This is useful in the case where the

CVS commit: src/libexec/lfs_cleanerd

2019-08-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Aug 30 23:37:23 UTC 2019 Modified Files: src/libexec/lfs_cleanerd: lfs_cleanerd.8 lfs_cleanerd.c Log Message: Add support for passing the raw device name separate from the filesystem. This is useful in the case where the

CVS commit: src/tests/fs/common

2019-08-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Aug 30 23:45:13 UTC 2019 Modified Files: src/tests/fs/common: fstest_lfs.c Log Message: The cleaner is compiled into the ATF test harness for the LFS filesystem tests. Use the new -J option to pass the raw device into the

CVS commit: src/tests/fs/common

2019-08-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Aug 30 23:45:13 UTC 2019 Modified Files: src/tests/fs/common: fstest_lfs.c Log Message: The cleaner is compiled into the ATF test harness for the LFS filesystem tests. Use the new -J option to pass the raw device into the

CVS commit: src/usr.sbin/puffs/rump_lfs

2019-08-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Aug 30 23:41:48 UTC 2019 Modified Files: src/usr.sbin/puffs/rump_lfs: rump_lfs.c Log Message: The cleaner is compiled into rump_lfs and executed as a thread. Pass in the raw device using the new -J option. This avoids the use

Re: CVS commit: src

2019-09-03 Thread Brad Spencer
esystem isn't.. The big disadvantage is that you will have to preallocate the space, but this isn't too bad for building NetBSD, as those estimates are knowable. -- Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org

CVS commit: src/sbin/resize_lfs

2019-08-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Aug 22 20:26:07 UTC 2019 Modified Files: src/sbin/resize_lfs: resize_lfs.c Log Message: Use getdiskrawname to find the device name. Reviewed by Christos To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sbin/resize_lfs

2019-08-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Aug 22 20:26:07 UTC 2019 Modified Files: src/sbin/resize_lfs: resize_lfs.c Log Message: Use getdiskrawname to find the device name. Reviewed by Christos To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/lib/libutil

2019-08-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Aug 22 20:23:43 UTC 2019 Modified Files: src/lib/libutil: getdiskrawname.c Log Message: Teach getdiskrawname and getdiskcookedname about zvols. Reviewed by Christos To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/lib/libutil

2019-08-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Aug 22 20:23:43 UTC 2019 Modified Files: src/lib/libutil: getdiskrawname.c Log Message: Teach getdiskrawname and getdiskcookedname about zvols. Reviewed by Christos To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/libexec/lfs_cleanerd

2019-08-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Aug 22 20:28:08 UTC 2019 Modified Files: src/libexec/lfs_cleanerd: lfs_cleanerd.c Log Message: Use getdiskrawname to find the device name Reviewed by Christos To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/libexec/lfs_cleanerd

2019-08-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Aug 22 20:28:08 UTC 2019 Modified Files: src/libexec/lfs_cleanerd: lfs_cleanerd.c Log Message: Use getdiskrawname to find the device name Reviewed by Christos To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src

2019-09-15 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Sep 15 19:38:09 UTC 2019 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/etc: mi src/distrib/sets/lists/man: mi src/etc/defaults: rc.conf src/etc/rc.d: Makefile mountall

CVS commit: src

2019-09-15 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Sep 15 19:38:09 UTC 2019 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/etc: mi src/distrib/sets/lists/man: mi src/etc/defaults: rc.conf src/etc/rc.d: Makefile mountall

CVS commit: src/external/cddl/osnet/sbin/zfs

2019-09-20 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Sep 20 22:38:28 UTC 2019 Modified Files: src/external/cddl/osnet/sbin/zfs: mount_zfs.8 Log Message: Add a copyright to the man page and a bit of history. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/external/cddl/osnet/sbin/zfs

2019-09-20 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Sep 20 22:38:28 UTC 2019 Modified Files: src/external/cddl/osnet/sbin/zfs: mount_zfs.8 Log Message: Add a copyright to the man page and a bit of history. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src

2019-09-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Sep 22 18:45:20 UTC 2019 Modified Files: src/distrib/sets/lists/base: shl.mi src/external/cddl/osnet/lib/libavl: Makefile src/external/cddl/osnet/lib/libnvpair: Makefile

CVS commit: src

2019-09-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Sep 22 18:45:20 UTC 2019 Modified Files: src/distrib/sets/lists/base: shl.mi src/external/cddl/osnet/lib/libavl: Makefile src/external/cddl/osnet/lib/libnvpair: Makefile

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-10-04 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Oct 4 23:06:19 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: For ZFS on NetBSD there are a number of functions called zfs_netbsd_{create,mknod,link,etc..} that call functions

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-10-04 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Oct 4 23:06:19 UTC 2019 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: For ZFS on NetBSD there are a number of functions called zfs_netbsd_{create,mknod,link,etc..} that call functions

CVS commit: src

2021-10-14 Thread Brad Spencer
2021 @@ -0,0 +1,107 @@ +.\" $NetBSD: sgp40mox.4,v 1.1 2021/10/14 13:54:45 brad Exp $ +.\" +.\" Copyright (c) 2021 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that t

CVS commit: src/doc

2021-10-14 Thread Brad Spencer
commit hash 4f69c0d8e2f7192aeaf0d268211b1f54af50146b +Maintainer: Brad Spencer +Archive Site: https://github.com/Sensirion/embedded-sgp +Home Page: https://github.com/Sensirion +Date: 2021-09-30 +Mailing List: +Responsible: brad +License: BSD (3-clause) +Location: sys/dev/i2c/sensirion_voc_algorithm.c

CVS commit: src/doc

2021-10-14 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Oct 14 14:53:41 UTC 2021 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Mention sht4xtemp and sgp40mox in CHANGES. Add an entry for the Sensirion VOC algorithm in 3RDPARTY. To generate a diff of this commit: cvs

CVS commit: src

2021-10-14 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Oct 14 13:54:46 UTC 2021 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/modules: mi src/share/man/man4: Makefile src/sys/dev/i2c:

CVS commit: src

2021-10-03 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Oct 3 17:27:02 UTC 2021 Modified Files: src/distrib/sets/lists/man: mi src/distrib/sets/lists/modules: mi src/share/man/man4: Makefile src/sys/dev/i2c: files.i2c src/sys/modules: Makefile Added

CVS commit: src

2021-10-03 Thread Brad Spencer
7:27:02 2021 @@ -0,0 +1,93 @@ +.\" $NetBSD: sht4xtemp.4,v 1.1 2021/10/03 17:27:02 brad Exp $ +.\" +.\" Copyright (c) 2021 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby gran

CVS commit: src/distrib/sets/lists/debug

2021-10-04 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Oct 4 07:04:39 UTC 2021 Modified Files: src/distrib/sets/lists/debug: module.mi Log Message: Sorry.. missed the debug module build in the previous commit. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/distrib/sets/lists/debug

2021-10-04 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Oct 4 07:04:39 UTC 2021 Modified Files: src/distrib/sets/lists/debug: module.mi Log Message: Sorry.. missed the debug module build in the previous commit. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src

2021-11-11 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 11 14:16:05 UTC 2021 Modified Files: src/share/man/man4: si70xxtemp.4 src/sys/dev/i2c: si70xx.c si70xxvar.h Log Message: Some HTU21D chips do not have a heater register and apparently no heater element. Disable the

CVS commit: src

2021-11-11 Thread Brad Spencer
++ src/sys/dev/i2c/si70xx.c Thu Nov 11 14:16:04 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: si70xx.c,v 1.8 2021/08/21 11:55:25 andvar Exp $ */ +/* $NetBSD: si70xx.c,v 1.9 2021/11/11 14:16:04 brad Exp $ */ /* * Copyright (c) 2017 Brad Spencer @@ -17,10 +17,10 @@ */ #include -__KERNEL_RCSID(0, "

CVS commit: src

2021-11-12 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Nov 12 15:12:11 UTC 2021 Modified Files: src/share/man/man4: si70xxtemp.4 src/sys/dev/i2c: si70xx.c Log Message: Fix the serial number handling of the HTU21D chip and probably others. Increase the number of read

CVS commit: src

2021-11-12 Thread Brad Spencer
:11 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: si70xxtemp.4,v 1.6 2021/11/11 14:24:24 wiz Exp $ +.\" $NetBSD: si70xxtemp.4,v 1.7 2021/11/12 15:12:11 brad Exp $ .\" .\" Copyright (c) 2017 Brad Spencer .\" @@ -72,7 +72,7 @@ and then another read command is sent to Depending on

CVS commit: src/sys/dev/i2c

2021-11-14 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Nov 14 18:36:13 UTC 2021 Modified Files: src/sys/dev/i2c: sht3x.c Log Message: Fix some regressions that were introduced. One must make sure that you release the i2c bus if you acquire. One must not try to release the i2c bus

CVS commit: src/sys/dev/i2c

2021-11-14 Thread Brad Spencer
2021 @@ -1,4 +1,5 @@ -/* $NetBSD: sht3x.c,v 1.3 2021/11/13 13:36:42 christos Exp $ */ + +/* $NetBSD: sht3x.c,v 1.4 2021/11/14 18:36:13 brad Exp $ */ /* * Copyright (c) 2021 Brad Spencer @@ -17,7 +18,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sht3x.c,v 1.3 2021/11/13 13:36:42 christo

CVS commit: src/doc

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:39:06 UTC 2021 Modified Files: src/doc: CHANGES Log Message: Mention sht3xtemp(4) To generate a diff of this commit: cvs rdiff -u -r1.2847 -r1.2848 src/doc/CHANGES Please note that diffs are not public domain; they

CVS commit: src/doc

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:39:06 UTC 2021 Modified Files: src/doc: CHANGES Log Message: Mention sht3xtemp(4) To generate a diff of this commit: cvs rdiff -u -r1.2847 -r1.2848 src/doc/CHANGES Please note that diffs are not public domain; they

CVS commit: src/share/man/man4

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:36:34 UTC 2021 Modified Files: src/share/man/man4: iic.4 Log Message: Mention sht3xtemp(4) To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/share/man/man4/iic.4 Please note that diffs are not

CVS commit: src/share/man/man4

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:36:34 UTC 2021 Modified Files: src/share/man/man4: iic.4 Log Message: Mention sht3xtemp(4) To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/share/man/man4/iic.4 Please note that diffs are not

CVS commit: src

2021-11-06 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Nov 6 13:34:40 UTC 2021 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/modules: mi src/etc: MAKEDEV.tmpl src/share/man/man4:

CVS commit: src

2021-11-06 Thread Brad Spencer
t; $NetBSD: sht3xtemp.4,v 1.1 2021/11/06 13:34:39 brad Exp $ +.\" +.\" Copyright (c) 2021 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" co

CVS commit: src/sys/dev/i2c

2021-10-29 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Oct 29 23:23:33 UTC 2021 Modified Files: src/sys/dev/i2c: sht4x.c Log Message: Correct an off by one degree error in the temperature conversion. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/i2c

2021-10-29 Thread Brad Spencer
/dev/i2c/sht4x.c Fri Oct 29 23:23:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: sht4x.c,v 1.1 2021/10/03 17:27:02 brad Exp $ */ +/* $NetBSD: sht4x.c,v 1.2 2021/10/29 23:23:33 brad Exp $ */ /* * Copyright (c) 2021 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sht4x.c,

CVS commit: src

2021-12-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Dec 7 17:50:27 UTC 2021 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 spi.4 Log Message: Mention the SCMD device To generate a diff of this commit: cvs rdiff -u -r1.2852 -r1.2853 src/doc/CHANGES cvs

CVS commit: src

2021-12-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Dec 7 17:50:27 UTC 2021 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 spi.4 Log Message: Mention the SCMD device To generate a diff of this commit: cvs rdiff -u -r1.2852 -r1.2853 src/doc/CHANGES cvs

CVS commit: src

2021-12-07 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Dec 7 17:39:55 UTC 2021 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi module.mi src/distrib/sets/lists/man: mi

Re: CVS commit: src/etc

2022-03-13 Thread Brad Spencer
the correct manor. Even if it were possible to know the root filesystem type in a simple manor like one can know the root filesystem device and partition, I don't think that it would be possible to guess all of the cases correctly. -- Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org

Re: CVS commit: src/etc

2022-03-12 Thread Brad Spencer
nd Oracle never really ran to that conclusion either. No one is at all suggesting that any filesystem become second class in the NetBSD realization of ZFS. So the term legacy when speaking of ZFS is used to refer to a filesystem that uses whatever /etc/... files you use and uses the usual mount command

Re: CVS commit: src/etc

2022-02-05 Thread Brad Spencer
Alexander Nasonov writes: > Brad Spencer wrote: >> Alexander Nasonov writes: >> > Are there any downside of mixing legacy and non-legacy mountpoints? >> > E.g. if my /var is legacy but /var/crash is a normal ZFS mountpoint? >> >> That should work fine as

Re: CVS commit: src/etc

2022-02-05 Thread Brad Spencer
perfectly workable even from single user when /usr isn't available yet for most simple use cases. -- Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org

CVS commit: src

2023-11-05 Thread Brad Spencer
0:35:05 2023 @@ -1,6 +1,6 @@ -.\" $NetBSD: gpioirq.4,v 1.3 2023/08/01 20:39:15 andvar Exp $ +.\" $NetBSD: gpioirq.4,v 1.4 2023/11/06 00:35:05 brad Exp $ .\" -.\" Copyright (c) 2016 Brad Spencer +.\" Copyright (c) 2016, 2023 Brad Spencer .\" .\" Permission to

CVS commit: src

2023-11-05 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 6 00:35:06 UTC 2023 Modified Files: src/doc: CHANGES src/etc: MAKEDEV.tmpl src/share/man/man4: gpioirq.4 src/sys/conf: majors src/sys/dev/gpio: gpio.c gpioirq.c gpiovar.h Log Message:

CVS commit: src

2023-11-08 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Nov 8 23:46:55 UTC 2023 Modified Files: src/doc: CHANGES src/share/man/man4: gpiosim.4 src/sys/dev/gpio: gpiosim.c Log Message: Simple simulated interrupts for the simulated GPIO device gpiosim(4) To generate

CVS commit: src

2023-11-08 Thread Brad Spencer
rq 4 , .Xr sysctl 8 .Sh AUTHORS .An -nosplit The .Nm driver was written by -.An Marc Balmer Aq Mt m...@msys.ch . +.An Marc Balmer Aq Mt m...@msys.ch +Simulated interrupts added by +.An Brad Spencer Aq Mt b...@anduin.eldar.org . Index: src/sys/dev/gpio/gpiosim.c diff -u src/sys/dev/gpio/gpiosim.c

CVS commit: src/sys/dev/gpio

2023-11-10 Thread Brad Spencer
@@ -/* $NetBSD: gpioirq.c,v 1.2 2023/11/06 00:35:05 brad Exp $ */ +/* $NetBSD: gpioirq.c,v 1.3 2023/11/10 13:17:17 brad Exp $ */ /* * Copyright (c) 2016, 2023 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: gpioirq.c,v 1.2 2023/11/06 00:35:05 bra

CVS commit: src/sys/dev/gpio

2023-11-10 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Nov 10 13:17:17 UTC 2023 Modified Files: src/sys/dev/gpio: gpioirq.c Log Message: For /dev/ reads against gpioirq(4) implement the following: o O_NONBLOCK on reads o Add a d_poll function and associated

CVS commit: src

2022-05-13 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri May 13 16:39:33 UTC 2022 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/man: mi src/external/mpl/bind/bin/confgen/ddns-confgen: Makefile Log Message: Add LINKS and MLINKS to the

CVS commit: src

2022-05-13 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri May 13 16:39:33 UTC 2022 Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/man: mi src/external/mpl/bind/bin/confgen/ddns-confgen: Makefile Log Message: Add LINKS and MLINKS to the

CVS commit: src/share/man/man4

2022-06-15 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Jun 15 15:54:40 UTC 2022 Modified Files: src/share/man/man4: ssdfb.4 Log Message: Fix typo .. the Adafruit 931 module is mask 0x03 and the 938 module is mask 0x04. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/share/man/man4

2022-06-15 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Jun 15 15:54:40 UTC 2022 Modified Files: src/share/man/man4: ssdfb.4 Log Message: Fix typo .. the Adafruit 931 module is mask 0x03 and the 938 module is mask 0x04. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src

2022-04-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Apr 27 23:11:25 UTC 2022 Modified Files: src/share/man/man4: sht3xtemp.4 src/sys/dev/i2c: sht3x.c sht3xreg.h Log Message: After testing with a couple of more samples of the SHT3x sensor chip it was found that the

CVS commit: src

2022-04-27 Thread Brad Spencer
mp.4,v 1.3 2022/04/27 23:11:25 brad Exp $ .\" .\" Copyright (c) 2021 Brad Spencer .\" @@ -119,3 +119,6 @@ The .Nm driver was written by .An Brad Spencer Aq Mt b...@anduin.eldar.org . +.Sh BUGS +The datasheet did not provide enough information to get the alarm +function of the

CVS commit: src/sys/dev/gpio

2022-04-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Apr 27 23:15:30 UTC 2022 Modified Files: src/sys/dev/gpio: gpio.c Log Message: I have been using this for a while and forgot to commit it. This add a number of KERNEL_LOCK() calls and at the very least prevents gpioiic from

CVS commit: src/sys/dev/gpio

2022-04-27 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Apr 27 23:15:30 UTC 2022 Modified Files: src/sys/dev/gpio: gpio.c Log Message: I have been using this for a while and forgot to commit it. This add a number of KERNEL_LOCK() calls and at the very least prevents gpioiic from

CVS commit: src

2022-04-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Apr 30 13:48:09 UTC 2022 Modified Files: src/etc/rc.d: gpio src/share/man/man5: gpio.conf.5 Log Message: Like /etc/rc.d/network, add the ability to put a '!' character as the first character in /etc/gpio.conf and have

CVS commit: src

2022-04-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Apr 30 13:48:09 UTC 2022 Modified Files: src/etc/rc.d: gpio src/share/man/man5: gpio.conf.5 Log Message: Like /etc/rc.d/network, add the ability to put a '!' character as the first character in /etc/gpio.conf and have

CVS commit: src/doc

2022-04-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Apr 30 15:45:41 UTC 2022 Modified Files: src/doc: CHANGES Log Message: Mention the changes for /etc/rc.d/gpio To generate a diff of this commit: cvs rdiff -u -r1.2870 -r1.2871 src/doc/CHANGES Please note that diffs are not

CVS commit: src/doc

2022-04-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Apr 30 15:45:41 UTC 2022 Modified Files: src/doc: CHANGES Log Message: Mention the changes for /etc/rc.d/gpio To generate a diff of this commit: cvs rdiff -u -r1.2870 -r1.2871 src/doc/CHANGES Please note that diffs are not

CVS commit: src

2022-12-02 Thread Brad Spencer
/bmx280thp.4:1.4 Wed Nov 23 23:49:23 2022 +++ src/share/man/man4/bmx280thp.4 Sat Dec 3 01:04:42 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: bmx280thp.4,v 1.4 2022/11/23 23:49:23 wiz Exp $ +.\" $NetBSD: bmx280thp.4,v 1.5 2022/12/03 01:04:42 brad Exp $ .\" .\" Copyright (c) 2022 Bra

CVS commit: src

2022-12-02 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sat Dec 3 01:04:43 UTC 2022 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/modules: mi src/share/man/man4: bmx280thp.4 spi.4 src/sys/conf: files src/sys/dev/i2c:

CVS commit: src

2022-11-23 Thread Brad Spencer
21 23:51:10 2022 +++ src/share/man/man4/bmx280thp.4 Wed Nov 23 23:45:30 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: bmx280thp.4,v 1.2 2022/11/21 23:51:10 wiz Exp $ +.\" $NetBSD: bmx280thp.4,v 1.3 2022/11/23 23:45:30 brad Exp $ .\" .\" Copyright (c) 2022 Brad Spencer .\" @@ -55,6

CVS commit: src

2022-11-23 Thread Brad Spencer
Module Name:src Committed By: brad Date: Wed Nov 23 23:45:30 UTC 2022 Modified Files: src/share/man/man4: bmx280thp.4 src/sys/dev/i2c: bmx280.c bmx280var.h Log Message: Use kpause() instead of delay() in the measurement cycle. Try and derive the proper wait delay

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

2022-11-24 Thread Brad Spencer
ulas are pulled mostly literally from the docs. All I really did was changed the types to match the kernel names and unglobal'ed some of the variables for the factory calibration settings. Peeking at Adafruit's Ardunio code, they did the same thing. -- Brad Spencer - b...@anduin.eldar.org - KC8VKS - http://anduin.eldar.org

CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
+++ src/sys/dev/i2c/bmx280.c Thu Nov 24 21:07:05 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bmx280.c,v 1.3 2022/11/23 23:45:29 brad Exp $ */ +/* $NetBSD: bmx280.c,v 1.4 2022/11/24 21:07:05 brad Exp $ */ /* * Copyright (c) 2022 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$N

CVS commit: src/sys/dev/i2c

2022-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 24 21:07:05 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Mention where in the datasheet the compensation algorithms came from. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 02:29:37 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Use a better choice for the print format string. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/bmx280.c Please

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
/bmx280.c Thu Dec 1 02:29:37 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bmx280.c,v 1.5 2022/12/01 00:47:51 brad Exp $ */ +/* $NetBSD: bmx280.c,v 1.6 2022/12/01 02:29:37 brad Exp $ */ /* * Copyright (c) 2022 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bmx280.c,v 1.5 20

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Dec 1 00:47:51 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Correct the humidity conversion for the BME280 To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/i2c/bmx280.c Please note

CVS commit: src/sys/dev/i2c

2022-11-30 Thread Brad Spencer
.c Thu Dec 1 00:47:51 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: bmx280.c,v 1.4 2022/11/24 21:07:05 brad Exp $ */ +/* $NetBSD: bmx280.c,v 1.5 2022/12/01 00:47:51 brad Exp $ */ /* * Copyright (c) 2022 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bmx280.c,v 1.4 2022/

CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Module Name:src Committed By: brad Date: Tue Nov 22 19:40:31 UTC 2022 Modified Files: src/sys/dev/i2c: bmx280.c Log Message: Read the datasheet more closely and put in some delays. The chip will just return junk if the wait is not long enough to allow a measurement to

CVS commit: src/sys/dev/i2c

2022-11-22 Thread Brad Spencer
Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bmx280.c,v 1.1 2022/11/21 21:24:01 brad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bmx280.c,v 1.2 2022/11/22 19:40:31 brad Exp $"); /* Driver for the Bosch BMP280/BME280 temperature, humidity (some

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

2022-11-22 Thread Brad Spencer
t;however" is that it is possible (even for a RPI) to read the status register BEFORE the chip has even started to do its measurements, get a positive response (i.e. not busy) and then read the data registers and get junk. This was, as one might say, a "surprising development"

CVS commit: src

2022-11-21 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 21 21:24:02 UTC 2022 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/modules: mi src/share/man/man4: Makefile src/sys/dev/i2c:

CVS commit: src

2022-11-21 Thread Brad Spencer
;) == 0) Added files: Index: src/share/man/man4/bmx280thp.4 diff -u /dev/null src/share/man/man4/bmx280thp.4:1.1 --- /dev/null Mon Nov 21 21:24:02 2022 +++ src/share/man/man4/bmx280thp.4 Mon Nov 21 21:24:00 2022 @@ -0,0 +1,89 @@ +.\" $NetBSD: bmx280thp.4,v 1.1 2022/11/21 21:24:00 brad Exp $

CVS commit: src

2022-11-21 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 21 21:29:33 UTC 2022 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention the driver for the Bosch BMP280/BME280 To generate a diff of this commit: cvs rdiff -u -r1.2931 -r1.2932

CVS commit: src

2022-11-21 Thread Brad Spencer
Module Name:src Committed By: brad Date: Mon Nov 21 21:29:33 UTC 2022 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention the driver for the Bosch BMP280/BME280 To generate a diff of this commit: cvs rdiff -u -r1.2931 -r1.2932

CVS commit: src

2022-11-17 Thread Brad Spencer
man/man4/aht20temp.4 Thu Nov 17 19:20:05 2022 @@ -0,0 +1,76 @@ +.\" $NetBSD: aht20temp.4,v 1.1 2022/11/17 19:20:05 brad Exp $ +.\" +.\" Copyright (c) 2022 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpo

CVS commit: src

2022-11-17 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 17 19:20:06 UTC 2022 Modified Files: src/distrib/sets/lists/debug: module.mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/modules: mi src/share/man/man4: Makefile src/sys/dev/i2c:

CVS commit: src

2022-11-17 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 17 20:43:39 UTC 2022 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention the AHT20 driver To generate a diff of this commit: cvs rdiff -u -r1.2930 -r1.2931 src/doc/CHANGES cvs rdiff -u

CVS commit: src

2022-11-17 Thread Brad Spencer
Module Name:src Committed By: brad Date: Thu Nov 17 20:43:39 UTC 2022 Modified Files: src/doc: CHANGES src/share/man/man4: iic.4 Log Message: Mention the AHT20 driver To generate a diff of this commit: cvs rdiff -u -r1.2930 -r1.2931 src/doc/CHANGES cvs rdiff -u

CVS commit: src/sys/dev/ic

2023-04-16 Thread Brad Spencer
Module Name:src Committed By: brad Date: Sun Apr 16 17:16:45 UTC 2023 Modified Files: src/sys/dev/ic: bmx280.c Log Message: Do not create the sysctl tree if the initial setup of the chip fails. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/ic

2023-04-16 Thread Brad Spencer
/sys/dev/ic/bmx280.c Sun Apr 16 17:16:45 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: bmx280.c,v 1.1 2022/12/03 01:04:43 brad Exp $ */ +/* $NetBSD: bmx280.c,v 1.2 2023/04/16 17:16:45 brad Exp $ */ /* * Copyright (c) 2022 Brad Spencer @@ -17,7 +17,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: bmx

CVS commit: src

2023-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Nov 24 15:13:36 UTC 2023 Modified Files: src/share/man/man4: gpiosim.4 src/sys/dev/gpio: gpiosim.c Log Message: Style changes. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src

2023-11-24 Thread Brad Spencer
Module Name:src Committed By: brad Date: Fri Nov 24 15:13:36 UTC 2023 Modified Files: src/share/man/man4: gpiosim.4 src/sys/dev/gpio: gpiosim.c Log Message: Style changes. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8