Convert to LIBADD.

Reviewed by:	bapt


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import libgpio.

This is a thin wrapper around the kernel interface which should make
it easier to write GPIO applications.  gpioctl(8) will be converted to
use this library in a separate commit.

Differential Revision:	https://reviews.freebsd.org/D1183
Reviewed by:	adrian, loos
Discussed on:	arm@, embedded@
Relnotes:	yes


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274987 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Skip L2 addresses lookups for p2p interfaces.

Discussed with:	melifaro
Sponsored by:	Yandex LLC


git-svn-id: svn+ssh://svn.freebsd.org/base/head@274988 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f