Fix reversed condition in the logic to wait for the chipset buffers
flush wait on the Gen2 chipsets.  Confirmed by the inspection of the
Linux agp code.

Submitted by:	Taku YAMAMOTO <taku@tackymt.homeip.net>
MFC after:	2 weeks
Be conservative and do not try to consume more bytes than was
requested from the server for the read operation.  Server shall not
reply with too large size, but client should be resilent too.

Reviewed by:	rmacklem
MFC after:	1 week
Properly quote argument.

MFC after:	3 days
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'