Remove file that need not have been imported.
Flatten GNU libregex vendor area.
Import libregex from GNU libc 2.17.
Import couple of important bug fixes from the upstream.

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=7e2f0d2
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=a445af0
Add GNU regex from glibc 2.17.
Fix build for FreeBSD.  We do not have alloca.h.
Connect libgnuregex 2.17 to the build.
Remove unneeded reference to link.h (sys/link_elf.h).

MFC after:	2 weeks
Use calloc().

MFC after:	2 weeks
As a temporary work-around (read: until there's a nice API for exposing
and controlling this form of antenna diversity) - print out the AR9285
antenna diversity configuration at attach time.

This will help track down and diagose if/when people have connectivity
issues on cards (eg if they connect a single antenna to LNA1, yet the
card has RX configured to only occur on LNA2.)

Tested:

* AR9285 w/ antenna diversity enabled in EEPROM;
* AR9285 w/ antenna diversity disabled in EEPROM; mapping only to a
  single antenna (LNA1.)
Enable slow diversity combining for the AR9285.

Now that I understand what's going on - and the RX antenna array maps
to what the receive LNA configuration actually is - I feel comfortable
in enabling this.

If people do have issues with this, there's enough debugging now available
that we have a chance to diagnose it without writing it up as 'weird
crap.'

Tested:

* AR9285 STA w/ diversity combining enabled in EEPROM

TODO:

* (More) testing in hostap mode
release: Allow empty extra distributions.

For example, WITHOUT_SHAREDOCS= in src.conf creates an empty doc
distribution.

Submitted by:	Kurt Lidl
Tested by:	Kurt Lidl
Discussed with:	gjb
MFC after:	1 week
Add a "-v" (verbose) option to the gssd daemon, to help
with diagnosis of kerberized NFS mount problems. When set,
messages are sent to syslog() (or fprintf(stderr,...) if
"-d" is also specified) to indicate activity/results of
kgssapi upcalls.

Reviewed by:	jhb
MFC after:	2 weeks
Document the new "-v" option for the gssd daemon.
This is a content change.

MFC after:	2 weeks
 - Consolidate duplicate code into support functions.
 - Split the bqlock into bqclean and bqdirty locks.
 - Only acquire the wakeup synchronization locks when we cross a
   threshold requiring them.
 - Restructure the way flushbufqueues() targets work so they are more
   smp friendly and sane.

Reviewed by:	kib
Discussed with:	mckusick, attilio
Sponsored by:	EMC / Isilon Storage Division

M    vfs_bio.c