HomeFreeBSD

Add a new ioctl to allow the setting of GPIO pin names.

Description

Add a new ioctl to allow the setting of GPIO pin names.

When a gpiobus child is added, use its name to identify the mapped pin
names.

Make the respective changes to libgpio.

Add a new '-n' flag to gpioctl(8) to set the pin name.

Differential Revision: https://reviews.freebsd.org/D2002
Reviewed by: rpaulo
Requested by: many

Details

Provenance
loosAuthored on
Reviewer
rpaulo
Differential Revision
D2002: Allow setting of GPIO pin names.
Parents
rS279760: Fix lib/libnv tests compilation with -std=c++11, by adding appropriate
Branches
Unknown
Tags
Unknown

Event Timeline