|author||Ian Lepore <ian@FreeBSD.org>||2019-12-17 15:56:48 +0000|
|committer||Ian Lepore <ian@FreeBSD.org>||2019-12-17 15:56:48 +0000|
Update owc_gpiobus (one-wire over gpio) to the modern gpio_pin interface.
It used to be required that a device be a child of gpiobus(4) to manipulate gpio pins. That requirement didn't work well for FDT-based systems with many cross-hierarchy users of gpio, so a more modern framework was created that removed the old hierarchy requirement. These changes adapt the owc_gpiobus driver to use the newer gpio_pin_* functions to acquire, release, and manipulate gpio pins. This allows a single driver to work for both hinted-attachment and fdt-based systems, and removes the requirement that any one-wire fdt nodes must appear at the root of the devicetree. Differential Revision: https://reviews.freebsd.org/D22710
Notes: svn path=/head/; revision=355858
Diffstat (limited to 'sys/netinet/tcp_stacks')
0 files changed, 0 insertions, 0 deletions