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 sel[init|notify|record|

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 sel[init|notify|record|

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 no

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 no

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 no

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 no

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 th

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 th

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 pan

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 pan

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 src/sys/dev/g

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 src/sys/dev/g

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 f

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 f

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 di

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 di

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

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

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

2015-10-16 Thread Jared McNeill
. McNeill 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: Thu Oct 15 09:07:49 UTC 2015 Modified

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 Message:

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 pu

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 pub

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

2009-08-23 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Aug 23 12:08:57 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Prevent the creation of duplicate pin names in GPIOPINSET. Problem noticed by rmind a while ago. This should read GPIOSET.

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

2009-07-27 Thread Perry E. Metzger
Arnaud Lacombe writes: > On Mon, Jul 27, 2009 at 1:41 PM, Perry E. Metzger 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 oth

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

2009-07-27 Thread Arnaud Lacombe
On Mon, Jul 27, 2009 at 2:01 PM, Perry E. Metzger 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 I _just_ put m

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. Metzger 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 stuff > requires

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

2009-07-27 Thread Perry E. Metzger
Arnaud Lacombe writes: > On Sun, Jul 26, 2009 at 5:26 PM, matthew green 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 away.  so marc's claim that >>

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

2009-07-26 Thread Arnaud Lacombe
On Sun, Jul 26, 2009 at 5:26 PM, matthew green 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 away.  so marc's claim that > it did not get any objections i

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

2009-07-26 Thread matthew green
In article <87ws5vmk70@snark.cb.piermont.com>, Perry E. Metzger wrote: > >Tonnerre LOMBARD 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 do t

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

2009-07-26 Thread Christos Zoulas
In article <87ws5vmk70@snark.cb.piermont.com>, Perry E. Metzger wrote: > >Tonnerre LOMBARD 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 do this commit, it would b

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

2009-07-26 Thread Perry E. Metzger
Tonnerre LOMBARD 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 do this commit, it would be unreasonable to tell him >> off so impolitely. > > I'd prefer of you left this

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 Perry E. Metzger
Tonnerre LOMBARD writes: > 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

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 th

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

2009-07-26 Thread Perry E. Metzger
Tonnerre LOMBARD 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 > before

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

2009-07-26 Thread Tonnerre LOMBARD
Salut, On Sun, Jul 26, 2009 at 04:07:21PM +0200, Marc Balmer wrote: > >>Log Message: > >>Simplify the use _a lot_ by hooking this to sysctl instead of bio(4). > >>When it attaches, it creates a hw.gpiosimN.value sysctl node > >>which can > >>then be used to manipulate the simulated device state. >

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

2009-07-26 Thread Marc Balmer
Am 26.07.2009 um 16:01 schrieb Tonnerre LOMBARD: Salut, On Sun, Jul 26, 2009 at 01:45:20PM +, Marc Balmer wrote: Log Message: Simplify the use _a lot_ by hooking this to sysctl instead of bio(4). When it attaches, it creates a hw.gpiosimN.value sysctl node which can then be used to man

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

2009-07-26 Thread Tonnerre LOMBARD
Salut, On Sun, Jul 26, 2009 at 01:45:20PM +, Marc Balmer wrote: > Log Message: > Simplify the use _a lot_ by hooking this to sysctl instead of bio(4). > When it attaches, it creates a hw.gpiosimN.value sysctl node which can > then be used to manipulate the simulated device state. I am somehow