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

CVS commit: src/sys/dev/gpio

2018-06-01 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jun 1 13:42:14 UTC 2018 Modified Files: src/sys/dev/gpio: gpiopps.c Log Message: Fix a paste-o that prevented the 2-pin interrupt messages from being printed correctly (but no other harmful effects). Pointed out by Brad

CVS commit: src/sys/dev/gpio

2018-06-01 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jun 1 13:42:14 UTC 2018 Modified Files: src/sys/dev/gpio: gpiopps.c Log Message: Fix a paste-o that prevented the 2-pin interrupt messages from being printed correctly (but no other harmful effects). Pointed out by Brad

CVS commit: src/sys/dev/gpio

2017-07-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Jul 6 10:43:06 UTC 2017 Modified Files: src/sys/dev/gpio: gpio.c gpiovar.h Log Message: Let the controller provide a default name for pins. This makes pins easier to locate when we have multiple banks and a variable number

CVS commit: src/sys/dev/gpio

2017-07-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Jul 6 10:43:06 UTC 2017 Modified Files: src/sys/dev/gpio: gpio.c gpiovar.h Log Message: Let the controller provide a default name for pins. This makes pins easier to locate when we have multiple banks and a variable number

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

2015-10-15 Thread Jared D. McNeill
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: pull in sysmon_taskq To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/gpio/files.gpio Please note that diffs are

CVS commit: src/sys/dev/gpio

2015-10-15 Thread Jared D. McNeill
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: pull in sysmon_taskq To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/gpio/files.gpio Please note that diffs are

CVS commit: src/sys/dev/gpio

2015-10-04 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 4 18:35:44 UTC 2015 Modified Files: src/sys/dev/gpio: gpiobutton.c Log Message: Use sysmon_taskq instead of our own workqueue for submitting button events. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/gpio

2015-10-04 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 4 18:35:44 UTC 2015 Modified Files: src/sys/dev/gpio: gpiobutton.c Log Message: Use sysmon_taskq instead of our own workqueue for submitting button events. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/gpio

2015-09-01 Thread Frank Wille
Module Name:src Committed By: phx Date: Tue Sep 1 19:25:32 UTC 2015 Modified Files: src/sys/dev/gpio: gpioiic.c Log Message: i2c_acquire_bus() should return 0 on success. Fixed bug in gpioiic_bb_set_bits(), which was introduced with the SDA/SCL- reverse feature. Now the

CVS commit: src/sys/dev/gpio

2015-09-01 Thread Frank Wille
Module Name:src Committed By: phx Date: Tue Sep 1 19:25:32 UTC 2015 Modified Files: src/sys/dev/gpio: gpioiic.c Log Message: i2c_acquire_bus() should return 0 on success. Fixed bug in gpioiic_bb_set_bits(), which was introduced with the SDA/SCL- reverse feature. Now the

CVS commit: src/sys/dev/gpio

2015-08-20 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Thu Aug 20 12:09:22 UTC 2015 Modified Files: src/sys/dev/gpio: files.gpio gpiosim.c Log Message: Use needs-count for # of pseudo instances; suggested by cube@. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/dev/gpio

2015-08-20 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Thu Aug 20 12:09:22 UTC 2015 Modified Files: src/sys/dev/gpio: files.gpio gpiosim.c Log Message: Use needs-count for # of pseudo instances; suggested by cube@. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/dev/gpio

2015-05-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 30 17:12:16 UTC 2015 Modified Files: src/sys/dev/gpio: gpiobutton.c Log Message: remove debug printf To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/gpio/gpiobutton.c Please note that diffs

CVS commit: src/sys/dev/gpio

2015-05-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 30 17:12:16 UTC 2015 Modified Files: src/sys/dev/gpio: gpiobutton.c Log Message: remove debug printf To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/gpio/gpiobutton.c Please note that diffs

CVS commit: src/sys/dev/gpio

2015-05-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 30 15:35:51 UTC 2015 Modified Files: src/sys/dev/gpio: files.gpio Added Files: src/sys/dev/gpio: gpiobutton.c Log Message: Simple driver for GPIO power/sleep buttons. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/gpio

2015-05-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat May 30 15:35:51 UTC 2015 Modified Files: src/sys/dev/gpio: files.gpio Added Files: src/sys/dev/gpio: gpiobutton.c Log Message: Simple driver for GPIO power/sleep buttons. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/gpio

2015-05-29 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri May 29 23:17:13 UTC 2015 Modified Files: src/sys/dev/gpio: files.gpio Added Files: src/sys/dev/gpio: gpiorfkill.c Log Message: Simple driver for gpio control of rf enable/disable pins. To generate a diff of this

CVS commit: src/sys/dev/gpio

2015-05-29 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri May 29 23:17:13 UTC 2015 Modified Files: src/sys/dev/gpio: files.gpio Added Files: src/sys/dev/gpio: gpiorfkill.c Log Message: Simple driver for gpio control of rf enable/disable pins. To generate a diff of this

CVS commit: src/sys/dev/gpio

2014-06-29 Thread Frank Kardel
Module Name:src Committed By: kardel Date: Sun Jun 29 09:32:24 UTC 2014 Modified Files: src/sys/dev/gpio: gpio.c Log Message: make implementation match gpio(4) man entry. do no change configuration if no flags are be set (allows non-destructive inquiry via GPIOSET again).

CVS commit: src/sys/dev/gpio

2014-06-29 Thread Frank Kardel
Module Name:src Committed By: kardel Date: Sun Jun 29 09:32:24 UTC 2014 Modified Files: src/sys/dev/gpio: gpio.c Log Message: make implementation match gpio(4) man entry. do no change configuration if no flags are be set (allows non-destructive inquiry via GPIOSET again).

CVS commit: src/sys/dev/gpio

2013-05-20 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon May 20 15:46:41 UTC 2013 Modified Files: src/sys/dev/gpio: gpio.c Log Message: When returning the old value, use the value read from the device. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/sys/dev/gpio

2013-05-20 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon May 20 15:48:25 UTC 2013 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: Make the gpiosim(4) device a 64 bit wide GPIO. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/gpio/gpiosim.c

CVS commit: src/sys/dev/gpio

2013-05-20 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon May 20 15:46:41 UTC 2013 Modified Files: src/sys/dev/gpio: gpio.c Log Message: When returning the old value, use the value read from the device. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/sys/dev/gpio

2013-05-20 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon May 20 15:48:25 UTC 2013 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: Make the gpiosim(4) device a 64 bit wide GPIO. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/gpio/gpiosim.c

CVS commit: src/sys/dev/gpio

2011-11-25 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Nov 25 13:49:43 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Don't ignore the gpiobus_close() return value. Found by joerg@ using clang. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/dev/gpio

2011-11-25 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Nov 25 13:49:43 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Don't ignore the gpiobus_close() return value. Found by joerg@ using clang. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 12:33:01 UTC 2011 Modified Files: src/sys/dev/gpio: files.gpio Added Files: src/sys/dev/gpio: gpiopwm.c Log Message: gpiopwm(4) is a driver to pulse GPIO pins in software. This obsoletes the software pulsing

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 13:16:33 UTC 2011 Modified Files: src/sys/dev/gpio: gpiopwm.c Log Message: On detach, set the pin to low state. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/gpio/gpiopwm.c Please note

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 14:02:01 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Remove an unused variable. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/dev/gpio/gpio.c Please note that diffs are

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 13:16:33 UTC 2011 Modified Files: src/sys/dev/gpio: gpiopwm.c Log Message: On detach, set the pin to low state. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/gpio/gpiopwm.c Please note

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Nov 13 14:02:01 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Remove an unused variable. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/dev/gpio/gpio.c Please note that diffs are

CVS commit: src/sys/dev/gpio

2011-11-13 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Nov 14 07:45:55 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Initialize ga.ga_dvname in gpio_search to prevent a stack fault in config_match To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

CVS commit: src/sys/dev/gpio

2011-10-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Oct 3 08:23:58 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Don't cast void pointers. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/gpio/gpio.c Please note that diffs are not

CVS commit: src/sys/dev/gpio

2011-10-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Oct 3 11:28:28 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Unbreak and move the list of child devices to COMPAT_50. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/gpio/gpio.c

CVS commit: src/sys/dev/gpio

2011-10-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Oct 3 11:31:56 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Fix non-COMPAT_50 compilation. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/dev/gpio/gpio.c Please note that diffs

CVS commit: src/sys/dev/gpio

2011-10-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Oct 3 08:23:58 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Don't cast void pointers. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/gpio/gpio.c Please note that diffs are not

CVS commit: src/sys/dev/gpio

2011-10-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Oct 3 11:28:28 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Unbreak and move the list of child devices to COMPAT_50. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/gpio/gpio.c

CVS commit: src/sys/dev/gpio

2011-10-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Oct 3 11:31:56 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Fix non-COMPAT_50 compilation. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/dev/gpio/gpio.c Please note that diffs

CVS commit: src/sys/dev/gpio

2011-10-02 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Oct 2 10:01:25 UTC 2011 Modified Files: src/sys/dev/gpio: files.gpio Log Message: Add the flag locator (missed in the previous commit). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/dev/gpio

2011-10-02 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Oct 2 10:01:25 UTC 2011 Modified Files: src/sys/dev/gpio: files.gpio Log Message: Add the flag locator (missed in the previous commit). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/dev/gpio

2011-09-07 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Sep 7 07:43:05 UTC 2011 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: Newline is \n, not /n. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/gpio/gpioow.c Please note that diffs are

CVS commit: src/sys/dev/gpio

2011-09-07 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Sep 7 07:43:05 UTC 2011 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: Newline is \n, not /n. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/gpio/gpioow.c Please note that diffs are

CVS commit: src/sys/dev/gpio

2011-09-02 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Sep 2 06:50:21 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Make sure error is not used unitialized when sc-sc_attach_busy is 0. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/dev/gpio

2011-09-02 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Sep 2 06:50:21 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Make sure error is not used unitialized when sc-sc_attach_busy is 0. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/dev/gpio

2011-08-31 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Aug 31 12:07:26 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: gpio(4) keeps track of child devices attached using the GPIOATTACH ioctl(), so remove those references and free the memory in

CVS commit: src/sys/dev/gpio

2011-08-31 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Aug 31 12:20:35 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c gpiovar.h Log Message: Remove what I committed accidentally... To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/gpio/gpio.c cvs

CVS commit: src/sys/dev/gpio

2011-08-31 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Aug 31 12:23:32 UTC 2011 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: Add glue code to build as module. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/gpio/gpioow.c Please note that

CVS commit: src/sys/dev/gpio

2011-08-31 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Aug 31 12:25:05 UTC 2011 Modified Files: src/sys/dev/gpio: gpioiic.c Log Message: Switch von u_int_XY to uintXY To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/gpio/gpioiic.c Please note that diffs

CVS commit: src/sys/dev/gpio

2011-08-31 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Aug 31 12:07:26 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: gpio(4) keeps track of child devices attached using the GPIOATTACH ioctl(), so remove those references and free the memory in

CVS commit: src/sys/dev/gpio

2011-08-31 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Aug 31 12:20:35 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c gpiovar.h Log Message: Remove what I committed accidentally... To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/dev/gpio/gpio.c cvs

CVS commit: src/sys/dev/gpio

2011-08-31 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Aug 31 12:23:32 UTC 2011 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: Add glue code to build as module. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/gpio/gpioow.c Please note that

CVS commit: src/sys/dev/gpio

2011-08-31 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Wed Aug 31 12:25:05 UTC 2011 Modified Files: src/sys/dev/gpio: gpioiic.c Log Message: Switch von u_int_XY to uintXY To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/gpio/gpioiic.c Please note that diffs

CVS commit: src/sys/dev/gpio

2011-08-29 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Aug 29 15:14:04 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c gpiosim.c Log Message: Register as built-in module when compiled wo/ _MODULE. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/sys/dev/gpio

2011-08-29 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Aug 29 15:14:04 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c gpiosim.c Log Message: Register as built-in module when compiled wo/ _MODULE. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/sys/dev/gpio

2011-08-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Aug 28 11:36:17 UTC 2011 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: build with WARNS=3 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/gpio/gpiosim.c Please note that diffs are not

CVS commit: src/sys/dev/gpio

2011-08-28 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Aug 28 11:36:17 UTC 2011 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: build with WARNS=3 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/gpio/gpiosim.c Please note that diffs are not

CVS commit: src/sys/dev/gpio

2011-08-26 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Aug 26 15:00:07 UTC 2011 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: u_int32_t - uin32_t. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/gpio/gpiosim.c Please note that diffs are not

CVS commit: src/sys/dev/gpio

2011-08-26 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Aug 26 15:00:07 UTC 2011 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: u_int32_t - uin32_t. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/gpio/gpiosim.c Please note that diffs are not

CVS commit: src/sys/dev/gpio

2011-08-14 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Aug 14 18:49:18 UTC 2011 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: fix indents To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/gpio/gpiosim.c Please note that diffs are not public

CVS commit: src/sys/dev/gpio

2011-08-14 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Aug 14 18:49:18 UTC 2011 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: fix indents To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/gpio/gpiosim.c Please note that diffs are not public

CVS commit: src/sys/dev/gpio

2011-07-23 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sat Jul 23 09:03:38 UTC 2011 Modified Files: src/sys/dev/gpio: gpioiic.c Log Message: When reading the bits from the I2C bus, also report SCL. Fixes PR43275. Fix originally from Maxim Weber, thanks. To generate a diff of this

CVS commit: src/sys/dev/gpio

2011-07-23 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sat Jul 23 09:03:38 UTC 2011 Modified Files: src/sys/dev/gpio: gpioiic.c Log Message: When reading the bits from the I2C bus, also report SCL. Fixes PR43275. Fix originally from Maxim Weber, thanks. To generate a diff of this

CVS commit: src/sys/dev/gpio

2011-06-09 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Jun 9 14:46:06 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Annotate that gpiobus_close's return value is undesired here To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/sys/dev/gpio

2011-06-09 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Jun 9 14:46:06 UTC 2011 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Annotate that gpiobus_close's return value is undesired here To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/sys/dev/gpio

2010-04-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Apr 25 11:23:34 UTC 2010 Modified Files: src/sys/dev/gpio: gpio.c Log Message: console spam To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/gpio/gpio.c Please note that diffs are not public domain;

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

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

CVS commit: src/sys/dev/gpio

2009-12-06 Thread David Young
Module Name:src Committed By: dyoung Date: Sun Dec 6 22:33:44 UTC 2009 Modified Files: src/sys/dev/gpio: gpioiic.c gpiolock.c gpiosim.c Log Message: Delete unnecessary device-activation hooks. Simplify the rest. To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/sys/dev/gpio

2009-11-12 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Nov 12 19:22:08 UTC 2009 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: Simplify activation hook. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/gpio/gpioow.c Please note that diffs are

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. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/gpio

2009-08-21 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Aug 21 12:53:42 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c gpiovar.h Log Message: Before trying to attach a child device driver, make sure the GPIO pins can be mapped. This prevents drivers from later failing in the

CVS commit: src/sys/dev/gpio

2009-08-17 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Aug 17 12:44:44 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c Log Message: unfold short lines, fold long line. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/dev/gpio/gpio.c Please note that

CVS commit: src/sys/dev/gpio

2009-08-07 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Aug 7 08:05:48 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Fold long line. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/gpio/gpio.c Please note that diffs are not public

CVS commit: src/sys/dev/gpio

2009-08-07 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Aug 7 08:08:18 UTC 2009 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: Properly teardown the sysctl node and detach child driver if gpiosim gets detached itself (e.g. when the 'drvctl -d gpiosimX' command is

CVS commit: src/sys/dev/gpio

2009-08-07 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Fri Aug 7 08:15:52 UTC 2009 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: Don't use an identifier name that probably clashes with the C standard. Requested by many. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/gpio

2009-08-06 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Thu Aug 6 13:16:49 UTC 2009 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: For the sake of correctness, call pmf_device_deregister() in the detach function. To generate a diff of this commit: cvs rdiff -u -r1.4

  1   2   >