Use C99 sparse initialization for struct vfsops in pseudocode.
Where here, use conventional fsname.


git-svn-id: svn://svn.freebsd.org/base/head@245746 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix another build breakage for ia64.


git-svn-id: svn://svn.freebsd.org/base/head@245748 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Allocate the memory for the MSI-X table dynamically instead of allocating 32KB
statically. In most cases the number of table entries will be far less than
the maximum of 2048 allowed by the PCI specification.

Reuse macros from pcireg.h to interpret the MSI-X capability instead of rolling
our own.

Obtained from:	NetApp


git-svn-id: svn://svn.freebsd.org/base/head@245749 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Note that SIGCHLD is special and if ignored, won't be recorded by the filter.


git-svn-id: svn://svn.freebsd.org/base/head@245750 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Implement the -l option using ln(1) to facilitate boostrapping.

Ignore the new options -D, -h, -T, and -U.  Adjust -M support to ignore
an argument.

Sponsored by:	DARPA, AFRL
Reviewed by:	ian, ray, rpaulo


git-svn-id: svn://svn.freebsd.org/base/head@245751 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Replace all known uses of ln in the build process with appropriate
install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK
variables.

Sponsored by:	DARPA, AFRL
Reviewed by:	ian, ray, rpaulo


git-svn-id: svn://svn.freebsd.org/base/head@245752 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Install the template info directory with mode 644 instead of 444 to
allow it to be updated by its owner without resorting to privilege.

This is required by upcoming changes to allow installworld to work as
a non-root user.

Sponsored by:	DARPA, AFRL
Reviewed by:	ian, ray, rpaulo


git-svn-id: svn://svn.freebsd.org/base/head@245753 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Always bootstrap nmtree if it is not available on the host. It is fairly
small and it is quite annoying to get all the way through buildworld
only to discover that you forgot the DB_FROM_SRC (or soon NO_ROOT)
option.


git-svn-id: svn://svn.freebsd.org/base/head@245754 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix highest voltage detection

Submitted by:	Daisuke Aoyama <aoyama at peach.ne.jp>
Approved by:	imp@


git-svn-id: svn://svn.freebsd.org/base/head@245755 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Mark SUP_UPDATE as deprecated in make.conf(5), providing
  instructions to use SVN_UPDATE or freebsd-update(8).

- While here, remove bogus NO_WWWUPDATE.

MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@245756 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Chase r245756 of make.conf(5):

- If update method is SUP_UPDATE or CVS, warn that those
  update methods are deprecated.

- While here, remove bogus NO_WWWUPDATE.

MFC after:	3 days
X-MFC-with:	r245756


git-svn-id: svn://svn.freebsd.org/base/head@245757 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Document bsdinstall scripting as it currently operates. It may change in
the future depending on feedback from people using it to do unattended
system setup.


git-svn-id: svn://svn.freebsd.org/base/head@245758 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update change date.


git-svn-id: svn://svn.freebsd.org/base/head@245759 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Clarify that the setup script is optional.


git-svn-id: svn://svn.freebsd.org/base/head@245760 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make "-D skip" option work with FIFO by opening file in non-blocking mode.

Reviewed by:	jhb
Tested by:	delphij


git-svn-id: svn://svn.freebsd.org/base/head@245761 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix linking of loader.efi.

gcc handles -symbolic by passing -Bsymbolic through to ld. clang ignores
-symbolic and thus invokes ld without -Bsymbolic which leads to some symbols
not being properly linked in loader.efi. Fix this by using -Wl,-Bsymbolic which
passes -Bsymbolic to ld in both the gcc and clang cases.

Approved by:	rpaulo


git-svn-id: svn://svn.freebsd.org/base/head@245765 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
When copying the complement of the string loop to WINT_MAX as we are dealing
with a wint_t. WINT_MAX and WCHAR_MAX are the same on most architectures
except ARM EABI where wint_t is signed and wchar_t is unsigned.


git-svn-id: svn://svn.freebsd.org/base/head@245767 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
 - Don't include date and time the driver is built, this is useful for
   generating binary diffs.
 - Constify a few strings used in the driver.
 - Style changes to make the driver compile with default clang settings.

Approved by:	HighPoint Technologies
MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@245768 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Simplify and fix a bug in cc_ack_received()'s "are we congestion window limited"
logic (refer to [1] for associated discussion). snd_cwnd and snd_wnd are
unsigned long and on 64 bit hosts, min() will truncate them to 32 bits and could
therefore potentially corrupt the result (although under normal operation,
neither variable should legitmately exceed 32 bits).

[1] http://lists.freebsd.org/pipermail/freebsd-net/2013-January/034297.html

Submitted by:	jhb
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@245783 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Improve documentation of BSDINSTALL_DISTSITE and mdoc.


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