Make internal functions static
Correct off-by-one in validation of booted partition number.
Split the make fs portion into a function; do argument tests inside the
function.
Assume the first ld@sdmmc to attach is the booted device until
possibily-otherwise specified during evbarm cpu_rootconf().
When abusing enums, please at least use valid constants...
some more urtwn fixes:
 - support manual roaming (used by wpa_supplicant)
 - simplify ioctl handler
 - add our own reset callback
 - acquire KERNEL_LOCK before using net80211 or the network stack
 - clear IFF_OACTIVE even in the event of an endpoint stall
It is useless to check for sigcontext_vec and compat module loading for
PK_32 processes. The correct modules are already loaded, otherwise how
is the process running?
Simplify the ifdef mess. No functional context.
No need to wrap each version with a separate conditional.
We need more defines for this to actually work!
spelling
Improve a DIAGNOSTIC so it doesn't confuse people who need more coffee,
e.g. me.
Don't "sync" atomic ops.
Do sync after each range op.
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
Detect emulators (and display it on dmesg).
simplify the locking in urtwn_start
- Add a USBD_MPSAFE flag to usbd_open_pipe. If not set, acquire KERNEL_LOCK
  before invoking xfer callbacks on this pipe.
- Add an extra flags parameter to usb_init_task. If USBD_TASKQ_MPSAFE is not
  present, acquire KERNEL_LOCK before invoking the task callback.
make USBD_TASKQ_MPSAFE the same value as USBD_MPSAFE, just in case
Remove unneeded semi-colons
Simplify dwc_otg_standard_done and always call dwc_host_channel_free on
the last (attempted) TD. We were leaking channels before.

Remove dwc_otg_device_done in the process.