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/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/sys/dev/gpio

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:09:39 UTC 2023 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: gpiosim(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/gpio/gpiosim.c Please

CVS commit: src/sys/dev/gpio

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:09:39 UTC 2023 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: gpiosim(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/gpio/gpiosim.c Please

CVS commit: src/sys/dev/gpio

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:09:31 UTC 2023 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: gpioow(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/gpio/gpioow.c Please note

CVS commit: src/sys/dev/gpio

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:09:31 UTC 2023 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: gpioow(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/gpio/gpioow.c Please note

CVS commit: src/sys/dev/gpio

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:08:31 UTC 2023 Modified Files: src/sys/dev/gpio: gpioiic.c Log Message: gpioiic(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/gpio/gpioiic.c Please

CVS commit: src/sys/dev/gpio

2023-05-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed May 10 00:08:31 UTC 2023 Modified Files: src/sys/dev/gpio: gpioiic.c Log Message: gpioiic(4): Use config_detach_children. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/gpio/gpioiic.c Please

CVS commit: src/sys/dev/gpio

2022-12-13 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Tue Dec 13 21:50:43 UTC 2022 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Never fib about pin count in GPIOINFO ioctl results. The number of pins on a controller simply does not change depending on the privileges of

CVS commit: src/sys/dev/gpio

2022-12-13 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Tue Dec 13 21:50:43 UTC 2022 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Never fib about pin count in GPIOINFO ioctl results. The number of pins on a controller simply does not change depending on the privileges of

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/sys/dev/gpio

2022-03-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Mar 29 22:10:42 UTC 2022 Modified Files: src/sys/dev/gpio: gpiopps.c Log Message: gpiopps module requires the gpio module to resolve several symbols To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/gpio

2022-03-29 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Mar 29 22:10:42 UTC 2022 Modified Files: src/sys/dev/gpio: gpiopps.c Log Message: gpiopps module requires the gpio module to resolve several symbols To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/gpio

2022-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 17 19:33:00 UTC 2022 Modified Files: src/sys/dev/gpio: gpio.c Log Message: When initializing pins, try to get the default pin name from the "gpio-line-names" property. If not present, then fall back on the default name

CVS commit: src/sys/dev/gpio

2022-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 17 19:33:00 UTC 2022 Modified Files: src/sys/dev/gpio: gpio.c Log Message: When initializing pins, try to get the default pin name from the "gpio-line-names" property. If not present, then fall back on the default name

CVS commit: src/sys/dev/gpio

2021-09-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Sep 21 14:38:52 UTC 2021 Modified Files: src/sys/dev/gpio: gpio.c Log Message: use l->l_cred since it is available. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/dev/gpio/gpio.c Please note that

CVS commit: src/sys/dev/gpio

2021-09-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Sep 21 14:38:52 UTC 2021 Modified Files: src/sys/dev/gpio: gpio.c Log Message: use l->l_cred since it is available. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/dev/gpio/gpio.c Please note that

CVS commit: src/sys/dev/gpio

2019-10-20 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Oct 20 09:35:18 UTC 2019 Modified Files: src/sys/dev/gpio: gpio.c Log Message: gpio: make GPIOREAD return also the symbolic name of the pin, if it is set To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

CVS commit: src/sys/dev/gpio

2019-10-20 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Oct 20 09:35:18 UTC 2019 Modified Files: src/sys/dev/gpio: gpio.c Log Message: gpio: make GPIOREAD return also the symbolic name of the pin, if it is set To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64

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

2015-10-16 Thread Paul Goyette
Shouldn't we also add a dependency from the gpio module to require the sysmon_taskq module? On Thu, 15 Oct 2015, Jared D. McNeill wrote: Module Name:src Committed By: jmcneill Date: Thu Oct 15 09:07:49 UTC 2015 Modified Files: src/sys/dev/gpio: files.gpio Log

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

2015-10-16 Thread Jared McNeill
nges-d@NetBSD.org Cc: Jared D. McNeill <jmcne...@netbsd.org> Subject: Re: CVS commit: src/sys/dev/gpio Shouldn't we also add a dependency from the gpio module to require the sysmon_taskq module? On Thu, 15 Oct 2015, Jared D. McNeill wrote: Module Name:src Committed By: jmcneill Date:

CVS commit: src/sys/dev/gpio

2010-01-24 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Jan 24 12:25:20 UTC 2010 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Unfold, bump copyright. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/gpio/gpio.c Please note that diffs are not

CVS commit: src/sys/dev/gpio

2010-01-08 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 8 19:48:18 UTC 2010 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Expand PMF_FN_* macros. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/dev/gpio/gpio.c Please note that diffs are not

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

2009-07-27 Thread Perry E. Metzger
Arnaud Lacombe lacom...@gmail.com writes: On Sun, Jul 26, 2009 at 5:26 PM, matthew greenm...@eterna.com.au wrote: incidentially, i actually did object to this change on ICB last night but i was off to bed and didn't feel like arguing at the time.  i didn't expect to see it commited straight

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

2009-07-27 Thread Arnaud Lacombe
Hi Perry, On Mon, Jul 27, 2009 at 1:41 PM, Perry E. Metzgerpe...@piermont.com wrote: And in addition to being less than 24 hours old, the code was his own code. The clear de facto rule is that you can change code you wrote and own with a lot less approval, even for a new developer, than other

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

2009-07-27 Thread Arnaud Lacombe
On Mon, Jul 27, 2009 at 2:01 PM, Perry E. Metzgerpe...@piermont.com wrote: Eh, if we make it too hard to commit to code under active development, people won't actively develop. Marc has also shown that he's willing to make reasonable changes when improvements are pointed out to him. That's why

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

2009-07-27 Thread Perry E. Metzger
Arnaud Lacombe lacom...@gmail.com writes: On Mon, Jul 27, 2009 at 1:41 PM, Perry E. Metzgerpe...@piermont.com wrote: And in addition to being less than 24 hours old, the code was his own code. The clear de facto rule is that you can change code you wrote and own with a lot less approval, even

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

2009-07-26 Thread Perry E. Metzger
Tonnerre LOMBARD tonne...@netbsd.ch writes: I am somehow missing an approved by: in this commit message. Whose approval did you get? It was discussed on ICB and no one really objected after the name was changed. While you're still a newdev, please get approval from a specific person

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

2009-07-26 Thread Tonnerre LOMBARD
Salut, On Sun, Jul 26, 2009 at 12:14:28PM -0400, Perry E. Metzger wrote: While you're still a newdev, please get approval from a specific person before you commit changes. I don't think the change was unreasonable or required more approval than Marc already got. Since it changes the way

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

2009-07-26 Thread Tonnerre LOMBARD
Salut, On Sun, Jul 26, 2009 at 12:48:06PM -0400, Perry E. Metzger wrote: That's another thing: quit being so rude to a new developer. Even if it was bad for him to do this commit, it would be unreasonable to tell him off so impolitely. I'd prefer of you left this judgment to him and me.

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

2009-07-26 Thread Christos Zoulas
In article 87ws5vmk70@snark.cb.piermont.com, Perry E. Metzger pe...@piermont.com wrote: Tonnerre LOMBARD tonne...@netbsd.ch writes: On Sun, Jul 26, 2009 at 12:48:06PM -0400, Perry E. Metzger wrote: That's another thing: quit being so rude to a new developer. Even if it was bad for him to