Pull up revision 1.32 (requested by tsutsui in ticket #370).

Recent sysinst seems to require chroot.
Pull up revisions:
  src/sys/arch/xen/include/xenpmap.h revision 1.35 via patch
  src/sys/arch/xen/x86/xen_pmap.c revision 1.22 via patch
(requested by jym in ticket #372).

Enable the map/unmap recursive mapping functions for all Xen ports for
save/restore.

For an unknown reason (to me) Xen refuses to update VM translations
when the entry is pointing back to itself (which is precisely
what our recursive VM model does). So enable the functions that take
care of this, which will avoid all sort of memory corruption upon restore
leading domU to trample upon itself.

Save/restore works again for amd64. The occasional domU frontend
corruption is
still present, but is harmless to dom0. Now we have a working shell and
ddb inside domU, that helps debugging a tiny bit.

XXX pull-up to -6.
Pull up revision 1.86 (requested by riastradh in ticket #373).

Take the kernel lock in atapibusdetach just like atapibuschilddet.

Fixes kassert in scsipi_lookup_periph when I press the power button
on one of my laptops (and maybe another one) to power it off.

ok mrg
Pull up revision 1.44 (requested by dholland in ticket #374).

Omit outdated cryptographic claims as noted in PR 44160.

Interested readers can follow the references or read Wikipedia; this
is the wrong place to explain cryptographic hash functions and give
security advice.
Pull up revision 1.9 (requested by jnemeth in ticket #375).

PR/46601 - Jim Bernard -- add support for rc_directories
Pull up revision 1.30 (requested by kardel in ticket #376).

PR/44647: commit fix proposed by Takahiro HAYASHI
verified to be working in -current and also helps NetBSD-6 BETA2
Pull up revision 1.71 (requested by reinoud in ticket #377).

Implement dummy `cpu_mcontext_validate' to make it compile again. This
function needs to be implemented in the target secton one day for extra
security.
Pull up revision 1.15 (requested by abs in ticket #380).

Casting an uint32_t pointer to (long *) may have been acceptable
in the eighties but that time has long past. Minimally invasive
fix using a temporary long variable, so while we can still overflow
at least we're less broken.
Tickets 286, 363, 366, 370, 372, 373, 374, 375, 376, 377, 380.
Pull up revisions:
  src/sys/dev/iscsi/iscsi_globals.h revisions 1.3,1.4
  src/sys/dev/iscsi/iscsi_main.c revisions 1.4,1.5
  src/sys/dev/iscsi/iscsi_text.c revisions 1.4,1.5
  src/sys/dev/iscsi/iscsi_ioctl.c revisions 1.3,1.4
  src/sys/dev/iscsi/iscsi_send.c revisions 1.3,1.4,1.5
  src/sys/dev/iscsi/iscsi_utils.c revisions 1.2,1.3,1.4
  src/sbin/iscsid/iscsid_discover.c revision 1.4
  src/sys/dev/iscsi/iscsi_rcv.c revision 1.3
  src/sbin/iscsictl/iscsic_driverif.c revisions 1.5,1.6
(requested by martin in ticket #357, with updates from mhitch and mlelstv).

avoid namespace pollution when debugging
don't panic when printing data for a dead (NULL) connection

Close file descriptor passed into the kernel on success.
Fix locking of file handle. More cleanup on error paths.
Keep track of CCBs, so they cannot be used after a session ends.
Handle CCB timeouts even when the connection is terminated.
Compute firstdata, firstimmed correctly.

assemble_login_parameters() has a strange error reporting convention:
errors are positive numbers, so <= 0 is good, not >= ...
This makes CHAP authenticated iscsi logins work.

use first successful connection to a ISNS server

Add more debugging, fix filehandle usage, login negotiation and session
shutdown.
Add #ifdef'd code to send negotiation parameters in hex instead of base64,
so it works against older Linux targets.

report luns returns a 32bit list length.

Make digests work also on big endian machines.

it's really 32bit
Pull up revision 1.393 (requested by bouyer in ticket #381).

In some case, when an error is reported by the disk, the ahci controller
still reports a number of bytes transfered equal to bcount.
This then triggers a KASSERT in physio_biodone:
        if (done == todo)
                KASSERT(bp->b_error == 0);
Detect this case in wd(4) (so that the workaround works for other controllers
too if they have the same issue, or if the issue is with the drive)
and claim we didn't read/write anything.
Pull up revision 1.10 (requested by matt in ticket #382).

Don't rely on being able to allocate while in a softintr.  So preallocate
all the bus_dma maps in ifinit where we can sleep.
Pull up revision 1.85 via patch (requested by khorben in ticket #383).

Disable azalia(4) now that hdaudio(4) was switched on

ok bouyer@
Tickets 357, 381, 382, 383.
Pull up following revision(s) (requested by jdc in ticket #367):
	sys/dev/sbus/qe.c: revision 1.61
	sys/dev/sbus/qe.c: revision 1.62
Fix fallout from revision 1.46, and call ether_ioctl() in the default path.
Patch from John D. Baker in PR port-sparc/46572.
Fix multicast filter set up: we need to byte-swap the hash before writing to
the chip.  While here, remove open-coded copy of ether_crc32_le().
Pull up following revision(s) (requested by jdc in ticket #368):
	sys/dev/ic/hme.c: revision 1.88
	share/man/man4/hme.4: revision 1.10
PR kern/46424
Revert the part of revision 1.77 that altered the PHY attachment order.
Note that the PHY instance changes when a MII transceiver is connected.
Pull up following revision(s) (requested by jdc in ticket #378):
	external/public-domain/xz/prepare-import.sh: revision 1.3
	external/public-domain/xz/include/config.h: revision 1.2
Determine WORDS_BIGENDIAN at build time, rather than hardcoding it to 0.
Makes liblzma work on sparc64 (and probably other big endian hosts too).
Add a note to the import script.
tickets 367,368,378
Pull up revision 1.11 (requested by isaki in ticket #384).

Rewrite fpu_int().
Especially, remove the special treatment when |x| < 1
because it forgets to consider FPCR round mode.
See PR/46627 for the detail.  Thanks Y.Sugahara for advice.
Pull up revisions:
  src/etc/etc.vax/MAKEDEV.conf revision 1.14
  src/sys/arch/vax/conf/GENERIC revision 1.182
  src/sys/arch/vax/conf/INSTALL revision 1.60
  src/sys/arch/vax/conf/VAX780 revision 1.9
  src/sys/arch/vax/conf/majors.vax revision 1.24
  src/sys/arch/vax/vax/disksubr.c revision 1.53
  src/sys/dev/DEVNAMES revision 1.275
  src/sys/dev/mscp/files.mscp revision 1.8
  src/sys/dev/mscp/mscp_disk.c revision 1.72
  src/sys/dev/mscp/mscp_subr.c revision 1.42
  src/distrib/vax/ramdisk/Makefile revision 1.29
(requested by abs in ticket #385).

- Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed
 to mixing them in with the ra* disks, modelled loosely on how MSCP
 rx* floppies are handled
- racd* defaults to the same single iso9660 partition as cd*
- Cleanup config option handling slightly so any combination of ra*,
 rx* (and now raccd*) can be defined without build errors.
- Avoid ugly printf when disks have all zero disklabel magic number

Include racd0 and racd1 on ramdisk