aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_stacks
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2019-12-17 15:56:48 +0000
committerIan Lepore <ian@FreeBSD.org>2019-12-17 15:56:48 +0000
commitc7b0edf219290a9a77a4c59987b5783061ae19c9 (patch)
tree7aeb3022975f15d81015a9fe19472ac6993b38ae /sys/netinet/tcp_stacks
parent98d97cdec785593d6d0c33ccef9493b3f9d3e11e (diff)
downloadsrc-c7b0edf219290a9a77a4c59987b5783061ae19c9.tar.gz
src-c7b0edf219290a9a77a4c59987b5783061ae19c9.zip
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
Notes: svn path=/head/; revision=355858
Diffstat (limited to 'sys/netinet/tcp_stacks')
0 files changed, 0 insertions, 0 deletions