Check d_magic2 once, and not d_magic twice.  Pointed out by tsarna.
to determine if an interrupt needs to grab the kernel lock or not,
check interrupt's own ipl rather than cpu's current ipl.
__cpu_simple_lock: loop without locking cache or asserting LOCK#.
don't reference kernel_lock directly.
uvm_pageidlezero: grab kernel_lock before uvm.fpageqlock.  PR/27259.
Follow the change done for port prep, revision 1.50. This makes output from
the autoconfiguration visible again. (Ok'd by Chuck Silvers).
Change the sc_name buffer size from 16 to 32, since we already oveflow 16
in if_tlp_pci.c... The name code really needs to be fixed so that it does
not have a buffer overflow again:

1. the cardbus and eisa code don't initialize sc_name; it probably should?
2. tlp_attach() seems to print the name and the ethernet address, but
   the pci front end seems to do the same.
3. some of the name determination code in the pci front-end does not guarantee
   nul terminated strings.

Really, all this name code is just bloat and another place for bugs to hide.
Fix the argument to KERNEL_PROC_LOCK/KERNEL_PROC_UNLOCK.
s/Id/NetBSD/
Do hex conversion right.
Get rid of an oddly placed assert().
Don't allow open of low/full speed pipes types that will not work yet.
Don't make activate static.  It disagrees with prototype.
Whine about not being able to figure out default language if we are debugging.
Dont use lockmgr() from interrupt context.
Add 2 devices.  From OpenBSD.
Regen.
Only create a KTR_USER record if it's one of the tracepoints.


OK'd by manu.
Protect access to all public functions via a mutex as some of the backends are
not reentrant (such as compat, because it uses the non reentrant getnetgrent(3)
to implement `+@netgrp' & `-@netgrp').
Protect access to all public functions via a mutex as some of the backends are
not reentrant (such as compat getgr*_r, because it uses the non reentrant
_{dns,nis}_getgrent() backends to implement `+group').