Reintroduce the ATF diffs for share/mk

The key difference between this and what I had previously is that I
removed all bits that need reexamining after some discussion with sjg@.

So basically, the subdir autodetection when MK_TESTS=yes bits are being
carried forward and some of the other bits are being left behind for
now.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Reintroduce change to optimize SUBDIR_OVERRIDE

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Reintroduce test auto-detection part. support

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix warnings when compiling OFED with clang

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Handle ipv6_network_...="AUTO" correctly on route teardown

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Add BSD.tests.dist mtree file and hook into build

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Add setting telnet baud rate support (bin/173728)

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Add TESTSDIR to this Makefile

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Cleanup bsd.tests.mk if MK_TESTS == no

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Commit all local improvements for nanobsd

See the PRs in the PR database for more details.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Commit local changes for ATF to pass integration tests

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Merge remote-tracking branch 'upstream/master'
Reintroduce changes for atf-tools-regression-convert

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into atf-tools-regression-convert
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into atf-tools-regression-convert
Improve sysctl handler code a bit

if_*em.c:
- Whitespace cleanup.

if_igb.c:
- Fix sysctl typing so it compiles with #define notyet in sys/sysctl.h.
- Diff reduce with if_*em.c wherever possible and sensical.
- Whitespace cleanup.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into atf-tools-regression-convert