NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/51676 CVS commit: src



The following reply was made to PR kern/51676; it has been noted by GNATS.

From: "Jason R Thorpe" <thorpej%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/51676 CVS commit: src
Date: Sat, 19 May 2018 13:59:07 +0000

 Module Name:	src
 Committed By:	thorpej
 Date:		Sat May 19 13:59:07 UTC 2018
 
 Modified Files:
 	src/share/man/man4: gpio.4
 	src/sys/dev/gpio: gpio.c gpiovar.h
 	src/sys/sys: gpio.h
 	src/usr.sbin/gpioctl: gpioctl.c
 
 Log Message:
 Overhaul of GPIO interrupt support (that wasn't even used by anything).
 - Remove the old, not-expressive-enough interrupt flags, and replace them
   with a new set of interrupt-specific flags that can express a wide
   variety of interrupt configurations (pos, neg, and double-edge, high
   and low level).
 - Remove old, unused gpio_pin_ctl_intr() and gpio_pin_irqen(), and
   replace them with gpio_intr_establish(), gpio_intr_disestablish(),
   and gpio_intr_str().  Corresponding fields in the gpio_chipset_tag
   are also added for back-end controllers, which now handle the actual
   dispatch of GPIO interrupts in order to properly support level-triggered
   interrupts as well as interoperate properly with FDT-registered
   interrupts.
 
 Piggy-back on the 8.99.18 version bump.
 
 Inspired by initial work from Brad Spencer.
 PR kern/51676
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.32 -r1.33 src/share/man/man4/gpio.4
 cvs rdiff -u -r1.60 -r1.61 src/sys/dev/gpio/gpio.c
 cvs rdiff -u -r1.17 -r1.18 src/sys/dev/gpio/gpiovar.h
 cvs rdiff -u -r1.15 -r1.16 src/sys/sys/gpio.h
 cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/gpioctl/gpioctl.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index