Welcome to NetBSD 3.1_STABLE.
Pull up following revision(s) (requested by joerg in ticket #1473):
	include/stddef.h: revision 1.11
Use gcc's builtin function.  This permits c++ compiliation of const
expressions using offsetof.  Boost-python relies on this, for example.
Pull up following revision(s) (requested by joerg in ticket #1473):
	include/stddef.h: revision 1.12
g++-4 does not like &0->member, so we have to use the built-in offsetof().
g++-3 does not have a built-in offsetof(), but we cannot use the c version,
      otherwise we break with -Wold-style-cast.
Inspired by the DF version, but a bit different.
Pull up following revision(s) (requested by joerg in ticket #1473):
	include/stddef.h: revision 1.13
gcc-3.3 does not have __offsetof__, but gcc-3.4 eems to require it:
From the redhat web page:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gcc/offsetof.html
__offsetof__ (expression)
    is equivalent to the parenthesized expression, except that the
    expression is considered an integral constant expression even if
    it contains certain operators that are not normally permitted in
    an integral constant expression. Users should never use __offsetof__
    directly; the only valid use of __offsetof__ is to implement the
    offsetof macro in <stddef.h>.
Pull up following revision(s) (requested by joerg in ticket #1473):
	include/stddef.h: revision 1.14
__offsetof__ is a builtin, so we need __GNU_PREREQ
Pull up following revision(s) (requested by joerg in ticket #1473):
	include/stddef.h: revision 1.15
Use __GNUC_PREREQ__() for the GCC 4 test, too.
Ticket 1473.
Pull up following revision(s) (requested by elad in ticket #1471):
	sys/sys/verified_exec.h: revision 1.33 via patch
Add extra argument to rename check to check destination file.
Pull up following revision(s) (requested by elad in ticket #1471):
	sys/kern/vfs_syscalls.c: revision 1.254 via patch
	sys/kern/kern_verifiedexec.c: revision 1.58 via patch
Add destination file vnode to rename checking.
Ticket 1471.
Pull up following revision(s) (requested by riz in ticket #1480):
	sys/dev/pci/if_skvar.h: revision 1.10
	sys/dev/pci/if_sk.c: revision 1.22
Add jumbo frames support, from OpenBSD (mcbride).  As seen on tech-net
for the last N months.
Pull up following revision(s) (requested by riz in ticket #1480):
	share/man/man4/sk.4: revision 1.9
Jumbo frames now work under NetBSD, so note it.
Ticket 1480.
Pull up following revision(s) (requested by nakayama in ticket #1517):
	sys/arch/sparc64/sparc64/locore.s: revision 1.217 via patch
	sys/arch/sparc64/sparc64/locore.s: revision 1.218 via patch
Fix a couple of %y register save/restore errors, inspired from OpenBSD.
  revision 1.44
  date: 2004/04/23 04:18:17;  author: marc;  state: Exp;  lines: +5 -4
  fix a couple of %y register save/restore errors
  1) don't save %y in a register that is later used before restoring %y
  2) always restore %y after calling a signal handler
  tested by drahn@, OK pval
From OpenBSD:
- reload %fprs for checking it again.
- use symbolic names for checking in %fprs.
  revision 1.51
  date: 2005/07/18 14:50:11;  author: deraadt;  state: Exp;  lines: +2 -1
  cache a copy of the fprs so we know what fp restore we should do after
  revision 1.50
  date: 2005/07/14 01:46:13;  author: deraadt;  state: Exp;  lines: +4 -4
  use symbolic names for checking in %fprs, as above
Ticket 1517.
Pull up following revision(s) (requested by bad in ticket #1524):
	usr.sbin/installboot/installboot.8: revision 1.54 via patch
	usr.sbin/installboot/installboot.h: revision 1.31
	usr.sbin/installboot/fstypes.c: revision 1.9
	usr.sbin/installboot/ffs.c: revision 1.19
Add support for finding files on RAID partitions.  This allows us to
add the block list of the 2nd stage boot loader to the 1st stage boot
loader when the partition is a RAID partition.  Tested on sparc.
Reviewed by gdt.
Pull up following revision(s) (requested by bad in ticket #1524):
	usr.sbin/installboot/ffs.c: revision 1.20
Don't include <dev/raidframe/raidframevar.h> but define RF_PROTECTED_SECTORS
directly.
Including raidframevar.h needs several definitions adding to the compat
framework for the tools builds, which aren't needed here.
XXX It's probably sensible to split off the few defines from raidframevar.h
    into a separate header file.
Pull up following revision(s) (requested by bad in ticket #1524):
	usr.sbin/installboot/ffs.c: revision 1.21
Apply changes to ffs_find_disk_blocks_ufs1() from revision 1.19
to ffs_find_disk_blocks_ufs2() too.  Except for data types the
code in the two functions is the same.
From the original commit message:
    Add support for finding files on RAID partitions.  This allows us to
    add the block list of the 2nd stage boot loader to the 1st stage boot
    loader when the partition is a RAID partition.
Briefly tested under 3.x/i386.
Ticket 1524.
Pull up following revision(s) (requested by jdc in ticket #1527):
	sys/arch/sparc/stand/common/promdev.c: revision 1.19
	share/man/man8/man8.sparc/boot.8: revision 1.29 + patch
	share/man/man8/man8.sparc/boot.8: revision 1.30
Add support to the 2nd stage boot loader for booting from RAID
partitions.  We do this by checking the NetBSD label to see if the
boot partition is of type RAID.  If so, we offset reads from the
disk so that the kernel image can be read.
Note that with this code, sun4 machines (with PROM monitor) will only
boot from RAID if the RAID partition is the first one on the disk.
Tested on a SPARCstation 20, a SPARCstation 2 and a 4/330.
Add some PROM monitor and Open Boot PROM boot-related commands and a
BUGS section describing boot limitations.
Drop trailing whitespace.