Fix copy and paste miss introduced in rev 1.327.
Match prototype with reality to fix tool build on platforms where
wint_t != int.
No functional change.
- "struct mii_data *mii = &sc->sc_mii" and use it.
- Add comments.
- Fix some comments.
handle EILSEQ.
Make the spec_node table implementation private to spec_vnops.c.

To retrieve a spec_node, two new lookup functions (by device or by mount)
are implemented.  Both return a referenced vnode, for an opened block device
the opened vnode is returned so further diagnostic checks "vp == ... sd_bdevvp"
will not fire.  Otherwise any vnode matching the criteria gets returned.

No objections on tech-kern.

Welcome to 6.99.17
Handle invalid character sequences.
No functional change.
 - Fix comment.
 - Use macro.
Move the list of source directories required by TOOLS_BUILDRUMP=yes from
the buildrump.sh repo to here.  While I don't expect the list to change
often, it's a function of the NetBSD source tree -r/-D and therefore
easier to maintain here.
Fix from J.R. Oldroyd for wide chars > 2
multi-byte doc from J.R. Oldroyd
remove patch botches.
Mark up LC_CTYPE as environment variable.
Multi-byte docs and fixes for > 2 mblen charsets from J.R. Oldroyd
don't allow NULL for extra
bounce buffer fixes + convert some kassert -> kassertmsg
Fix two fencepoint errors.
simplify cache range op
Some armv7 fixes for speculative tlb loads.
Keep the built-in support for passwd -k, but don't make the kpasswd link or
install the kpasswd man page since these are provided by heimdal. I ifdef'ed
them so that the code to install them is still with the Makefile.
Turn on bounce buffering.