No memory barrier is required.  This was pointed out by kib@ a while ago,
but I got distracted by other matters.


git-svn-id: svn://svn.freebsd.org/base/head@240096 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix duplicate entries for mwl(4):
- Move mwlfw from {amd64,i386}/conf/NOTES to sys/conf/NOTES (mwl(4) is
  already present in sys/conf/NOTES).
- Remove duplicate mwl(4) entries from {amd64,i386}/conf/NOTES.
- While here, add a description to the sfxge line in amd64/conf/NOTES.


git-svn-id: svn://svn.freebsd.org/base/head@240098 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Introduce new link-layer PFIL hook V_link_pfil_hook.
Merge ether_ipfw_chk() and part of bridge_pfil() into
unified ipfw_check_frame() function called by PFIL.
This change was suggested by rwatson? @ DevSummit.

Remove ipfw headers from ether/bridge code since they are unneeded now.

Note this thange introduce some (temporary) performance penalty since
PFIL read lock has to be acquired for every link-level packet.

MFC after:     3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@240099 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a reasonable error message telling the caller to specify a program
to be executed under hwpmc.  If there is no program to run then
exit.


git-svn-id: svn://svn.freebsd.org/base/head@240101 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Failure to open netmap device is unrecoverable.

There's no reason to "fail later" since there's nothing this tool can do in
netmap mode without /dev/netmap open.


git-svn-id: svn://svn.freebsd.org/base/head@240103 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add hpt27xx to GENERIC kernel for amd64 and i386 systems.

MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@240104 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revert previous commit, which was performed in the wrong tree.


git-svn-id: svn://svn.freebsd.org/base/head@240105 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a prominent warning about these functions' unsuitability for
cryptographic purposes, and recommend using arc4random(3) instead.


git-svn-id: svn://svn.freebsd.org/base/head@240107 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
* Rather than run the same 'ps' command twice, add 'kenv' which often
  gives machine unique values from the firmware.
* The kernel is more likely to be unique than /bin/ls (but no need to
  stuff many megabytes into /dev/random, so hash it).
* Change ordering to give larger variance across reboots to reduce
  predictability.


git-svn-id: svn://svn.freebsd.org/base/head@240108 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a configtest command.

Submitted by:	gjb@
MFC after:	1 week


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

Reminded by:	bz@


git-svn-id: svn://svn.freebsd.org/base/head@240111 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix the build broken by r240099.
Hide link_pfil_hook under _KERNEL macro.

MFC after:    3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@240112 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
No memory barrier is required.  This was pointed out by kib@ a while ago,
but I got distracted by other matters.

(for real this time)


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

MFC after: 3 days


git-svn-id: svn://svn.freebsd.org/base/head@240114 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use the consistenly the size of a variable. This helps to keep the code
simpler for the userland implementation.

MFC after: 3 days


git-svn-id: svn://svn.freebsd.org/base/head@240115 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Support another uchcom(4) device.

MFC after:	1 week


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

Suggested by:   mdf
Approved by:	adrian (menthor)


git-svn-id: svn://svn.freebsd.org/base/head@240119 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge ATF 0.16 from vendor/atf/dist.

Provenance: http://code.google.com/p/kyua
Discussed with: gibbs, gnn, keramida, mdf, mlaier,
Discussed with: Garrett Cooper


git-svn-id: svn://svn.freebsd.org/base/head@240120 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add headers created by running configure.


git-svn-id: svn://svn.freebsd.org/base/head@240122 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/master'