summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/imxccm.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2018-06-03 17:46:22 +0000
committertb <tb@openbsd.org>2018-06-03 17:46:22 +0000
commit574f2eba33af838b034d6a095bdc9c30fe26a61a (patch)
tree6362754e1404b3b0ae98aacedf222f297453850b /sys/dev/fdt/imxccm.c
parentMake DMA work on Samsung Exynos. The crucial bit that makes it work is (diff)
downloadwireguard-openbsd-574f2eba33af838b034d6a095bdc9c30fe26a61a.tar.xz
wireguard-openbsd-574f2eba33af838b034d6a095bdc9c30fe26a61a.zip
Better version of the refactoring attempted in r1.154. Move SIOCSIFADDR
to its own function and merge the two switches in in_ioctl_change_ifaddr(). Finally: each ioctl has its own case and privilege check. ok visa As an aside, an audit of the ports tree has shown that we should continue to support the legacy ioctls SIOCSIF{,BRD,DST}ADDR, SIOCSIFNETMASK despite the fact that they have been deprecated for the better part of two decades and FreeBSD dropped support 7 years ago. Too many ports still rely on them. Thanks to sthen and visa for their help with that.
Diffstat (limited to 'sys/dev/fdt/imxccm.c')
0 files changed, 0 insertions, 0 deletions