Lock ncr(4) and mark it MPSAFE along with various other fixes:
- Use bus_*() instead of bus_space_*().
- Use device_printf().
- Remove unused global variables and the extra warning suppression
  they required.
- Use callout() instead of timeout().

Reviewed by:	se


git-svn-id: svn+ssh://svn.freebsd.org/base/head@272121 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add strptime(3) support for %U and %W

Add support for the missing POSIX-2001 %U and %W features: the
existing  FreeBSD strptime code recognizes both directives and
validates that the week number lies in the permitted range,
but then simply discards the value.

Initial support for the feature was written by Paul Green with
important fixes by Andrey Chernov. Additional support for
handling tm_wday/tm_yday was written by David Carlier.

PR:		137307
MFC after:	1 month


git-svn-id: svn+ssh://svn.freebsd.org/base/head@272122 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use callout() instead of timeout().  This is almost identical to the
changes in r271963.

Approved by:	nyan


git-svn-id: svn+ssh://svn.freebsd.org/base/head@272123 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use callout(9) instead of timeout(9).

Approved by:	nyan


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