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 Spe

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

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 s

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 d

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

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 are

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 rdif

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 co

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

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

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 src/s

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 sr

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 not

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 that

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 f

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 are

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 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-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 src/sys/dev/gpio/files.gpi

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 not

CVS commit: src/sys/dev/gpio

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

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

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 rdif

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 gpio_childdetached()

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

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

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

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

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

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

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 n

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

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 a

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 diff

CVS commit: src/sys/dev/gpio

2009-08-09 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Aug 9 08:18:01 UTC 2009 Modified Files: src/sys/dev/gpio: files.gpio Added Files: src/sys/dev/gpio: gpioiic.c Log Message: gpioiic(4), a driver to do use GPIO pins in bit-banging mode to form an I2C bus. Ported from

CVS commit: src/sys/dev/gpio

2009-08-08 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sat Aug 8 10:38:17 UTC 2009 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: Register with the PMF, and when detaching, just the right order. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/gpi

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

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 entere

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 dom

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 -r1.5

CVS commit: src/sys/dev/gpio

2009-08-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Aug 3 17:24:40 UTC 2009 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: unfold short line; debracket To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/gpio/gpioow.c Please note that diffs are

CVS commit: src/sys/dev/gpio

2009-08-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Aug 3 12:43:56 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Be more careful when attaching drivers at runtime, call the drivers match routine before attaching the device. Prevents non-working driver instan

CVS commit: src/sys/dev/gpio

2009-08-03 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Mon Aug 3 12:42:45 UTC 2009 Modified Files: src/sys/dev/gpio: gpioow.c Log Message: A better match routine that checks also the number of pins instead of checking the pins in the attach routine; malconfigured devices will no lon

CVS commit: src/sys/dev/gpio

2009-07-28 Thread Matthias Drochner
Module Name:src Committed By: drochner Date: Tue Jul 28 15:28:24 UTC 2009 Modified Files: src/sys/dev/gpio: gpiosim.c Log Message: add dummy pmf registration to allow suspend To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/gpio/gpiosim.c Please n

CVS commit: src/sys/dev/gpio

2009-07-26 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Jul 26 14:06:05 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Fold long line, add comment to fix possible creation of duplicates. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/gp

CVS commit: src/sys/dev/gpio

2009-07-26 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sun Jul 26 13:45:20 UTC 2009 Modified Files: src/sys/dev/gpio: gpiosim.c 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 th

CVS commit: src/sys/dev/gpio

2009-07-25 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Sat Jul 25 19:18:01 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c Log Message: use device_xname To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/gpio/gpio.c Please note that diffs are not public dom

CVS commit: src/sys/dev/gpio

2009-07-25 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Sat Jul 25 19:01:56 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c Log Message: make this build w/ GPIO_DEBUG To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/gpio/gpio.c Please note that diffs are n

CVS commit: src/sys/dev/gpio

2009-07-25 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sat Jul 25 16:41:58 UTC 2009 Modified Files: src/sys/dev/gpio: gpio.c Log Message: Change one more struct device * to device_t, noticed by cegger. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/gpio/g

CVS commit: src/sys/dev/gpio

2009-07-25 Thread Marc Balmer
Module Name:src Committed By: mbalmer Date: Sat Jul 25 16:30:44 UTC 2009 Modified Files: src/sys/dev/gpio: gpiovar.h Log Message: Use device_t instead of struct device * per cegger's request. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/dev/gpio/gp