Improve osreldate.h/vers.c/version generation

Put newvers.sh generation logic into mk-osreldate.sh
This will allow someone to change include/Makefile without
having to regenerate osreldate.h. This bit is for misc/160646

Also, fix the awesome implicit dependency with vers.c and version
that resulted in both of the beforementioned files not being
regenerated in the event that newvers.sh was modified.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
More bmake set -e fixes

For conf/179111

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Revise the interface between vm_object_madvise() and vm_page_dontneed() so
that pointless calls to pmap_is_modified() can be easily avoided when
performing madvise(..., MADV_FREE).

Sponsored by:	EMC / Isilon Storage Division
Use STRUCT_USB_HOST_ID to make sure we have the right ELF section.
Regen.
Fix some bugs in the complex trig tests so that they test both double
and float precision properly.
Add implementations of acoshl(), asinhl(), and atanhl().  This is a
merge of the work done by bde and myself.
Avoid unnecessary controller reinitialization by checking driver
running state.  fxp(4) requires controller reinitialization for the
following cases.
 o RX lockup condition on i82557
 o promiscuous mode change
 o multicast filter change
 o WOL configuration
 o TSO/VLAN hardware tagging/checksum offloading configuration
 o MAC reprogramming after speed/duplex/flow-control resolution
 o Any events that result in MAC reprogramming(link UP/DOWN,
   remote link partner's restart of auto-negotiation etc)
 o Microcode loading/unloading
Apart from above cases which come from hardware limitation, upper
stack also blindly reinitializes controller whenever an IP address
is assigned. After r194573, fxp(4) no longer needs to reinitialize
the controller to program multicast filter after upping the
interface. So keeping track of driver running state should remove
all unnecessary controller reinitializations.

This change will also address endless controller reinitialization
triggered by dhclient(8).

Tested by:	hrs, Alban Hertroys <haramrae@gmail.com>
Handle options that override other options

This is a workaround for WITH_LDNS_UTILS forcing BIND_UTILS off.  It can
be reverted when we no longer have these conflicting options, or made more
general if we grow more cases like this.
Revert r251590. It unexpectedly broke the build and there were some
questions on locking. As part of commit-bit grooming, I'd like Steve
to handle this, but can't leave things broken in the mean time.
There is a one-to-one correspondence between the MSI-X vector # and the Status Descriptor Ring Index. Hence there is no need to check the Interrupt Source Register.

Approved by:	George Neville-Neil
Catch errors when trying to link files

More fixes for conf/179111

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Quote LOCAL_MTREE so it gets passed between make invocations properly

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Add another comment about WB195 (AR9285+AR3011) when using ASPM.
s/file system/filesystem/g

Based on r96755 from UFS.

MFC after:	3 days
Fix broken link checking

This fixes commit fa429a6733009a89d719c52e96cc5ef603371199

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix includes installs similar to fix done to bsd.links.mk

For conf/179111

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Merge branch 'master' of github.com:yaneurabeya/freebsd
Make the default choice for FTP media access use "auto".
Merge remote-tracking branch 'upstream/master'