Source-Changes archive

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

CVS commit: [netbsd-10] src



Module Name:    src
Committed By:   bouyer
Date:           Sun Nov 26 11:45:16 UTC 2023

Modified Files:
        src/etc [netbsd-10]: MAKEDEV.tmpl
        src/share/man/man4 [netbsd-10]: gpioirq.4
        src/sys/conf [netbsd-10]: majors
        src/sys/dev/gpio [netbsd-10]: gpio.c gpioirq.c gpiovar.h

Log Message:
Pull up following revision(s) (requested by brad in ticket #461):
        sys/dev/gpio/gpiovar.h: revision 1.19
        share/man/man4/gpioirq.4: revision 1.4 via patch
        sys/dev/gpio/gpio.c: revision 1.73
        etc/MAKEDEV.tmpl: revision 1.234
        sys/conf/majors: revision 1.103
        sys/dev/gpio/gpioirq.c: revision 1.2
gpioirq(4) version 2
This update makes this driver more than just an example and allows for:
o More than one pin to be attached to a gpioirq instance.  That is,
  the mask parameter can be greater than 0x01 now.
o A /dev/gpioirqN device that allows GPIO pin interrupts to be
  transported into userland.  This is a device that can be opened for
  reading with a simple fixed output indicating the device unit, pin
  number and current pin state.
This update was used as part of a physical intrusion detection system
where multiple switches (i.e. window magnetic reed switches and etc.)
are tied to a bunch of GPIO inputs with userland software that reacts
to the pins changing state.


To generate a diff of this commit:
cvs rdiff -u -r1.232.2.1 -r1.232.2.2 src/etc/MAKEDEV.tmpl
cvs rdiff -u -r1.2 -r1.2.14.1 src/share/man/man4/gpioirq.4
cvs rdiff -u -r1.102 -r1.102.4.1 src/sys/conf/majors
cvs rdiff -u -r1.72 -r1.72.2.1 src/sys/dev/gpio/gpio.c
cvs rdiff -u -r1.1 -r1.1.36.1 src/sys/dev/gpio/gpioirq.c
cvs rdiff -u -r1.18 -r1.18.34.1 src/sys/dev/gpio/gpiovar.h

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