Use the ARMv7 permissions bits, instead of the old ones.

This should fix issues seen on some boards.

Rip out generic/v7 variables while there, use defines instead.

No objections from drahn@
Add ARM 64-bit architecture ELF machine type.

ok drahn@
grammar
Add USB support for the Utilite

ok aalm@
Add another SMSC Hub.

ok aalm@
Get rid of PCI- and USBVERBOSE.

ok aalm@, pedro@
Kill EISAVERBOSE.

ok aalm@, pedro@
Get rid of MACOBIOVERBOSE, which we don't even implement.

ok aalm@, pedro@
Fix real syncs in softraid

Perform a wakeup on the discipline whenever there is a sync in progress
and we are disposing of a workunit. This allows non-fake syncs (such as
the ones performed by WAPBL) to work on a softraid volume without timing
out. Debugged with much help from Martin Natano (natano@).

OK oga@
Change how tmpfs enforces a maximum file size

In tmpfs_write(), tweak the existing check so it doesn't rely on
overflow behaviour. While there, differentiate between EINVAL and EFBIG
and check for uio_offset < 0 once again after the IO_APPEND case.

In tmpfs_write() and tmpfs_truncate(), check against SIZE_MAX and
TMPFS_MAX_FILESIZE. This allows us to crank TMPFS_MAX_FILESIZE from 4 to
64GB while keeping a sane limit for i386.

Discussed with and OK patrick@
Remove unnecessary check for B_LOCKED

B_LOCKED means that the buffer was added to a WAPBL transaction and
therefore needs to remain locked until the journal is written. It is
then important to notify WAPBL whenever the size of a B_LOCKED buffer is
modified.

Such a modification happens in bread_cluster_callback(), however it is
not possible for B_LOCKED to be set on that particular buffer, since we
don't perform read-ahead on metadata.
Remove unnecessary check for B_LOCKED

Likewise, there is no need to check for B_LOCKED in bread_cluster().
Remove pointless debugging code from buf_daemon()

Remove debugging code from buf_daemon() which was useful for an initial
assessment of WAPBL, but serves no purpose in practice, not even to
debug slightly more sophisticated uses of WAPBL.
Remove misleading comment

It turns out that the initial assessment of wl_bufcount_max was quite
reasonable, so remove the comment which claims otherwise. Verified
against NetBSD.

The rationale is to bind wl_bufcount_max by half the number of available
buffers, multipled by 1024 (taken as a very small fragment size). To
approximate this value, bufpages is multipled by the page size and
divided by a conservative estimate of 16K per buffer. (A more empirical
value would be around 4K, but due to the dynamic buffer cache we read in
whole 16K buffers.)
Fetch list of mirrors in the installer.

This requires SSL in ftp(1), so distrib/special/ftp was removed. The
RAMDISK had to grow to accomodate SSL and the full ftp(1).

Since we don't distribute sets in the cd, default the installer to
http in case we're booting from the cd.

NKL2_KIMG_ENTRIES has been bumped to accomodate RAMDISK growth as
well.

Thanks to drahn@ for helping lots with the distrib stuff.

ok pedro@
Add {SLIST,LIST,TAILQ}_SWAP macros from FreeBSD

Add the following macros from FreeBSD,

- SLIST_SWAP()
- LIST_SWAP()
- TAILQ_SWAP()

for swapping the contents of two lists/queues.

OK natano@
use uniform names;
Use current working directory for grep -R without file arguments.

Using stdin when -R is specified is counter-intuitive, so use current
working directory instead. This behaviour matches what GNU grep does.

Also: Let non-recursive grep without file arguments return the correct
exit status when there is a file error.

ok pedro@
Allow "-" as file argument to grep.

This behaviour matches what GNU and FreeBSD grep are doing.

ok pedro@
Make exit code calculation actually readable.

ok pedro@