Home | History | Annotate | only in /src/sys/arch/evbmips
History log of /src/sys/arch/evbmips
RevisionDateAuthorComments
 1.9 15-Aug-2017  mrg merge the rest of sbmips into evbmips. install the stand files in
/usr/mdec/sbmips/ and document them in installboot(8) even though
it isn't really ported yet. also build the SBMIPS kernels.

unfortunately, sbmips has been broken since mips64 merge, but the
fix can happen in the evbmips version, which we might merge into
the older trees anyway.

XXX: releng can turn off sbmips* builds now for -current.
 1.8 04-Apr-2011  dyoung branches: 1.8.14; 1.8.32; 1.8.48;
Fix target 'tags'.
 1.7 25-Oct-2008  apb branches: 1.7.16; 1.7.22;
Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.6 17-Oct-2007  garbled branches: 1.6.16; 1.6.20; 1.6.26;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.5 24-Jun-2007  dyoung branches: 1.5.10;
In sys/kern/Make.tags.inc, create an intermediate variable FINDCOMM.
FINDCOMM contains the find(1) command that produces the list of
NetBSD sources that all architectures share, COMM. For backwards
compatibility, evaluate FINDCOMM to produce ${COMM}.

In arch/evbmips/Makefile, use FINDCOMM directly, because the
command-line 'echo $COMM ...' was too long.
 1.4 14-Mar-2007  dyoung branches: 1.4.6;
Remove the tags file before rebuilding it.
 1.3 06-Aug-2006  dyoung branches: 1.3.10; 1.3.14; 1.3.16;
Make the 'tags' target work better: use ${SYSDIR}/arch/evbmips/
instead of ../evbmips/, which was pretty fragile. Cope with long
argument lists using the echo ${args} | xargs ctags idiom used in
other architectures' tags target.
 1.2 06-Jan-2003  lukem branches: 1.2.18; 1.2.32; 1.2.36;
Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Jan-2003  thorpej Sync with HEAD.
 1.1.12.1 07-Mar-2002  thorpej file Makefile was added on branch nathanw_sa on 2003-01-07 21:05:59 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file Makefile was added on branch kqueue on 2002-06-23 17:35:47 +0000
 1.2.36.1 11-Aug-2006  yamt sync with head
 1.2.32.1 09-Sep-2006  rpaulo sync with head
 1.2.18.2 03-Sep-2007  yamt sync with head.
 1.2.18.1 30-Dec-2006  yamt sync with head.
 1.3.16.1 11-Jul-2007  mjf Sync with head.
 1.3.14.2 15-Jul-2007  ad Sync with head.
 1.3.14.1 10-Apr-2007  ad Sync with head.
 1.3.10.1 24-Mar-2007  yamt sync with head.
 1.4.6.1 26-Jun-2007  garbled Sync with HEAD.
 1.5.10.1 06-Nov-2007  matt sync with HEAD
 1.6.26.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.6.20.1 04-May-2009  yamt sync with head.
 1.6.16.1 17-Jan-2009  mjf Sync with HEAD.
 1.7.22.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.16.1 21-Apr-2011  rmind sync with head
 1.8.48.1 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.8.32.1 28-Aug-2017  skrll Sync with HEAD
 1.8.14.1 03-Dec-2017  jdolecek update from HEAD
 1.7 03-Oct-2025  thorpej prop_dictionary_get() does not confer ownership of the object reference
to the caller, so don't prop_object_release() it.
 1.6 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.5 29-Jul-2012  mlelstv branches: 1.5.2;
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.4 22-Jan-2010  martin branches: 1.4.12; 1.4.18;
Unify the name of the device property to hold a MAC address - there was
no clear majority for either "mac-addr" vs. "mac-address", but a quick
gallup poll among developers selected the latter.
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 04-Jan-2008  ad branches: 1.2.6; 1.2.8; 1.2.10;
Fix headers.
 1.1 20-Mar-2007  dyoung branches: 1.1.2; 1.1.4; 1.1.18; 1.1.20; 1.1.26; 1.1.32;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.32.1 08-Jan-2008  bouyer Sync with HEAD
 1.1.26.1 18-Feb-2008  mjf Sync with HEAD.
 1.1.20.3 21-Jan-2008  yamt sync with head
 1.1.20.2 03-Sep-2007  yamt sync with head.
 1.1.20.1 20-Mar-2007  yamt file autoconf.c was added on branch yamt-lazymbuf on 2007-09-03 14:24:10 +0000
 1.1.18.1 09-Jan-2008  matt sync with HEAD
 1.1.4.2 10-Apr-2007  ad Sync with head.
 1.1.4.1 20-Mar-2007  ad file autoconf.c was added on branch vmlocking on 2007-04-10 13:39:27 +0000
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file autoconf.c was added on branch yamt-idlelwp on 2007-03-24 14:54:38 +0000
 1.2.10.2 11-Mar-2010  yamt sync with head
 1.2.10.1 16-May-2008  yamt sync with head.
 1.2.8.1 18-May-2008  yamt sync with head.
 1.2.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.18.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.4.12.1 30-Oct-2012  yamt sync with head
 1.5.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4 02-Aug-2009  matt Use a common version of cpu.c (mmm removing identical code).
 1.3 17-Oct-2007  garbled branches: 1.3.20; 1.3.34; 1.3.38;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.2 17-May-2007  yamt branches: 1.2.10; 1.2.12;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.1 20-Mar-2007  dyoung branches: 1.1.2; 1.1.4; 1.1.8;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.8.1 22-May-2007  matt Update to HEAD.
 1.1.4.3 27-May-2007  ad Sync with head.
 1.1.4.2 10-Apr-2007  ad Sync with head.
 1.1.4.1 20-Mar-2007  ad file cpu.c was added on branch vmlocking on 2007-04-10 13:39:27 +0000
 1.1.2.3 19-Apr-2007  ad Compile fixes.
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file cpu.c was added on branch yamt-idlelwp on 2007-03-24 14:54:38 +0000
 1.2.12.2 03-Sep-2007  yamt sync with head.
 1.2.12.1 17-May-2007  yamt file cpu.c was added on branch yamt-lazymbuf on 2007-09-03 14:24:10 +0000
 1.2.10.1 06-Nov-2007  matt sync with HEAD
 1.3.38.1 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.3.34.1 24-Oct-2010  jym Sync with HEAD
 1.3.20.1 19-Aug-2009  yamt sync with head.
 1.27 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.26 22-Jul-2020  msaitoh s/reseting/resetting/
 1.25 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.24 26-Jun-2015  matt branches: 1.24.2;
Use cpu_startup_common()
 1.23 24-Mar-2014  christos branches: 1.23.6;
use cpu_{g,s}etmodel
 1.22 02-Mar-2012  matt branches: 1.22.2; 1.22.4;
Remove reduntant/conflicting common declarations.
 1.21 10-Jul-2011  matt branches: 1.21.2; 1.21.6;
CLeanup machine includes
 1.20 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.19 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.18 15-Dec-2010  matt branches: 1.18.2; 1.18.4;
Make this compilee again.
 1.17 19-May-2010  christos Replace ether_nonstatic_aton with a
- better named one
- not suffering from buffer oveflow
- simpler
- handling different separators
- returning error codes for errors

Some ideas from one posted on tech-net by Jonathan A. Kollasch
 1.16 08-Feb-2010  joerg branches: 1.16.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.15 22-Jan-2010  martin branches: 1.15.2;
Unify the name of the device property to hold a MAC address - there was
no clear majority for either "mac-addr" vs. "mac-address", but a quick
gallup poll among developers selected the latter.
 1.14 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.13 27-Nov-2009  rmind - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.12 26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.11 11-Aug-2009  matt Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)
 1.10 13-Feb-2009  apb Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
 1.9 30-Nov-2008  martin branches: 1.9.4;
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
 1.8 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.7 11-Nov-2008  dyoung It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
 1.6 02-Jul-2008  ad branches: 1.6.2; 1.6.4; 1.6.10;
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
 1.5 26-May-2008  tsutsui branches: 1.5.2;
Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).
 1.4 09-Jan-2008  wiz branches: 1.4.6; 1.4.8; 1.4.10; 1.4.12;
Fix typo in macro name and comments.
 1.3 17-Oct-2007  garbled branches: 1.3.2; 1.3.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.2 17-May-2007  yamt branches: 1.2.10; 1.2.12;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.1 20-Mar-2007  dyoung branches: 1.1.2; 1.1.4; 1.1.8;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.8.1 22-May-2007  matt Update to HEAD.
 1.1.4.3 27-May-2007  ad Sync with head.
 1.1.4.2 10-Apr-2007  ad Sync with head.
 1.1.4.1 20-Mar-2007  ad file machdep.c was added on branch vmlocking on 2007-04-10 13:39:27 +0000
 1.1.2.3 18-Apr-2007  ad - Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file machdep.c was added on branch yamt-idlelwp on 2007-03-24 14:54:38 +0000
 1.2.12.3 21-Jan-2008  yamt sync with head
 1.2.12.2 03-Sep-2007  yamt sync with head.
 1.2.12.1 17-May-2007  yamt file machdep.c was added on branch yamt-lazymbuf on 2007-09-03 14:24:10 +0000
 1.2.10.2 23-Mar-2008  matt sync with HEAD
 1.2.10.1 06-Nov-2007  matt sync with HEAD
 1.3.8.1 10-Jan-2008  bouyer Sync with HEAD
 1.3.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.4.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.4.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.10.4 11-Aug-2010  yamt sync with head.
 1.4.10.3 11-Mar-2010  yamt sync with head
 1.4.10.2 19-Aug-2009  yamt sync with head.
 1.4.10.1 04-May-2009  yamt sync with head.
 1.4.8.1 04-Jun-2008  yamt sync with head
 1.4.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.4.6.2 02-Jul-2008  mjf Sync with HEAD.
 1.4.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.2.1 03-Jul-2008  simonb Sync with head.
 1.6.10.7 14-Feb-2012  matt mem_cluster_cnt on mips is now a u_int.
 1.6.10.6 20-May-2011  matt Update to new definitions of savectx and mips_vector_init
 1.6.10.5 21-Mar-2010  cliff mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'
 1.6.10.4 01-Feb-2010  matt fix fallout from frame/trapframe merger.
 1.6.10.3 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.6.10.2 31-Dec-2009  matt Use mips_page_physload and mips_init_lwp0_uarea.
 1.6.10.1 07-Sep-2009  matt Update to deal with pcb_context being a label_t (this should be a common
routine).
 1.6.4.2 03-Mar-2009  skrll Sync with HEAD.
 1.6.4.1 19-Jan-2009  skrll Sync with HEAD.
 1.6.2.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.9.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.15.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.15.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.16.2.2 05-Mar-2011  rmind sync with head
 1.16.2.1 30-May-2010  rmind sync with head
 1.18.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.18.4.1 17-Feb-2011  bouyer Sync with HEAD
 1.18.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.21.6.3 06-Mar-2012  mrg sync to -current
 1.21.6.2 06-Mar-2012  mrg sync to -current
 1.21.6.1 04-Mar-2012  mrg sync to latest -current.
 1.21.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.21.2.1 17-Apr-2012  yamt sync with head
 1.22.4.1 18-May-2014  rmind sync with head
 1.22.2.2 03-Dec-2017  jdolecek update from HEAD
 1.22.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.23.6.2 05-Feb-2017  skrll Sync with HEAD
 1.23.6.1 22-Sep-2015  skrll Sync with HEAD
 1.24.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.5 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.4 24-Apr-2021  thorpej branches: 1.4.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.3 01-Jul-2011  dyoung branches: 1.3.68;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.2 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.1 20-Mar-2007  dyoung branches: 1.1.2; 1.1.4; 1.1.20; 1.1.62; 1.1.66; 1.1.72; 1.1.74;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.74.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.72.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.66.1 05-Mar-2011  rmind sync with head
 1.1.62.1 14-Jan-2010  matt device_t, CFATTACH_DECL_NEW, ansify, ...
 1.1.20.2 03-Sep-2007  yamt sync with head.
 1.1.20.1 20-Mar-2007  yamt file mainbus.c was added on branch yamt-lazymbuf on 2007-09-03 14:24:11 +0000
 1.1.4.2 10-Apr-2007  ad Sync with head.
 1.1.4.1 20-Mar-2007  ad file mainbus.c was added on branch vmlocking on 2007-04-10 13:39:28 +0000
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file mainbus.c was added on branch yamt-idlelwp on 2007-03-24 14:54:38 +0000
 1.3.68.1 02-Apr-2021  thorpej config_found_ia() -> config_found() w/ CFARG_IATTR.
 1.4.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.21 03-Oct-2025  thorpej Use device_setprop_data() to set the "mac-address" property.
 1.20 09-Feb-2016  kiyohara Clear ATAC_CAP_DATA32, if dev is atabus@wdc@pcmcia@aupcmcia. It is 32-bit transfers are not supported.
 1.19 27-Oct-2012  chs branches: 1.19.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.18 29-Jul-2012  mlelstv branches: 1.18.2;
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.17 22-Jan-2010  martin branches: 1.17.12; 1.17.18;
Unify the name of the device property to hold a MAC address - there was
no clear majority for either "mac-addr" vs. "mac-address", but a quick
gallup poll among developers selected the latter.
 1.16 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.15 04-Jan-2008  ad branches: 1.15.6; 1.15.8; 1.15.10;
Correct headers.
 1.14 22-Feb-2007  thorpej branches: 1.14.22; 1.14.28; 1.14.34;
TRUE -> true, FALSE -> false
 1.13 17-Nov-2006  tsutsui branches: 1.13.4;
Defer _spl0() or _splnone() calls (which enable hardware interrupts)
from cpu_configure(9) to cpu_initclocks(9) on mips ports which use
mips3_clockintr.c:mips3_clockintr() (i.e. CPU INT5 clock) to avoid
hardclock(9) before softclock interrupt is initialized in initclocks().
This should be harmless because initclocks() is a part of configure()
in these days and there is no MI function which expects hardware
interrupts between cpu_configure(9) and cpu_initclocks(9).

Disccussed on tech-kern and port-mips.
 1.12 05-May-2006  thorpej branches: 1.12.4; 1.12.8; 1.12.10;
Remove the devprop API and switch everthing over to the new proplib. Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.
 1.11 26-Feb-2006  thorpej branches: 1.11.2; 1.11.4; 1.11.6;
Use device_is_a()
 1.10 18-Feb-2006  thorpej - Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
- Rework the ARMADILLO / epe device properties interaction so that it actually
associates the MAC address property with the epe device instance.
 1.9 11-Dec-2005  christos branches: 1.9.2; 1.9.4; 1.9.6;
merge ktrace-lwp.
 1.8 09-Jun-2005  he branches: 1.8.2;
Change the second argument of config_rootfound() from a string to NULL,
so that we compile with -Wcast-qual.
 1.7 23-Oct-2004  thorpej Centralize the declaration of booted_device and booted_partition.
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 04-Jul-2003  thorpej Nuke the "alchemy_info" stuff, and just use the dev_propdb to set
the mac-addr property for the Au1x00 on-chip MACs.
 1.4 27-Sep-2002  thorpej branches: 1.4.6;
Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.3 26-Sep-2002  thorpej Get the pointer to the driver name early, rather than constantly
deferencing the cfdriver pointer.
 1.2 11-Sep-2002  simonb Use AU1500_MAC0_BASE as well as a test for setting the MAC addresses
of the on-chip interfaces.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file autoconf.c was added on branch kqueue on 2002-09-06 08:34:14 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file autoconf.c was added on branch gehenna-devsw on 2002-08-30 00:29:27 +0000
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.1 29-Jul-2002  nathanw file autoconf.c was added on branch nathanw_sa on 2002-09-17 21:14:18 +0000
 1.4.6.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.6.4 02-Nov-2004  skrll Sync with HEAD.
 1.4.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.6.1 03-Aug-2004  skrll Sync with HEAD
 1.8.2.4 21-Jan-2008  yamt sync with head
 1.8.2.3 26-Feb-2007  yamt sync with head.
 1.8.2.2 30-Dec-2006  yamt sync with head.
 1.8.2.1 21-Jun-2006  yamt sync with head.
 1.9.6.2 01-Jun-2006  kardel Sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.9.2.2 01-Mar-2006  yamt sync with head.
 1.9.2.1 18-Feb-2006  yamt sync with head.
 1.11.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.11.4.1 11-May-2006  elad sync with head
 1.11.2.1 24-May-2006  yamt sync with head.
 1.12.10.1 10-Dec-2006  yamt sync with head.
 1.12.8.1 12-Jan-2007  ad Sync with head.
 1.12.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.13.4.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.14.34.1 08-Jan-2008  bouyer Sync with HEAD
 1.14.28.1 18-Feb-2008  mjf Sync with HEAD.
 1.14.22.1 09-Jan-2008  matt sync with HEAD
 1.15.10.2 11-Mar-2010  yamt sync with head
 1.15.10.1 16-May-2008  yamt sync with head.
 1.15.8.1 18-May-2008  yamt sync with head.
 1.15.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.17.18.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.17.12.1 30-Oct-2012  yamt sync with head
 1.18.2.2 03-Dec-2017  jdolecek update from HEAD
 1.18.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.14.1 19-Mar-2016  skrll Sync with HEAD
 1.5 04-Apr-2011  dyoung Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.4 02-Oct-2006  gdamore branches: 1.4.78; 1.4.84;
Add the final glue bits required to enable the SPI interface on the
DBAU1550. This is parameterized somewhat as machdep pluggable code, so
different boards can supply different implementations.

At the moment, the DBAU1550 is the only Au1550 board I know of with SPI
connected devices.

I have not enabled I2C on the DBAU1550, as we do not have drivers for either
of the I2C connected devices (a different temperature/voltage sensor and
a serial eeprom.)
 1.3 23-Feb-2006  gdamore branches: 1.3.8; 1.3.14; 1.3.18; 1.3.20; 1.3.22;
Add PCMCIA board-specific logic for DBAU1550. It isn't quite right yet, so
I'm not enabling it in the configuration file yet. (I have an uncommitted
version of the config file that I will happily share with anyone who wants to
help test or debug.)
 1.2 13-Feb-2006  gdamore branches: 1.2.2;
Added board support for hard-reset (reboot) and power off.
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.2.2.3 01-Mar-2006  yamt sync with head.
 1.2.2.2 18-Feb-2006  yamt sync with head.
 1.2.2.1 13-Feb-2006  yamt file board.h was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.3.22.1 22-Oct-2006  yamt sync with head
 1.3.20.2 09-Sep-2006  rpaulo sync with head
 1.3.20.1 23-Feb-2006  rpaulo file board.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.3.18.1 18-Nov-2006  ad Sync with head.
 1.3.14.3 30-Dec-2006  yamt sync with head.
 1.3.14.2 21-Jun-2006  yamt sync with head.
 1.3.14.1 23-Feb-2006  yamt file board.h was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.3.8.2 22-Apr-2006  simonb Sync with head.
 1.3.8.1 23-Feb-2006  simonb file board.h was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.4.84.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.78.1 21-Apr-2011  rmind sync with head
 1.3 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.2 31-Jul-2002  simonb branches: 1.2.2; 1.2.4; 1.2.6;
Add kttcp, sysmon and broadcom/sibyte devices.
 1.1 29-Jul-2002  simonb Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.2.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.6.1 31-Jul-2002  jdolecek file conf.c was added on branch kqueue on 2002-09-06 08:34:15 +0000
 1.2.4.3 30-Aug-2002  gehenna Add generic major list for evbmips. It's shared with alchemy and malta.
 1.2.4.2 30-Aug-2002  gehenna catch up with -current.
 1.2.4.1 31-Jul-2002  gehenna file conf.c was added on branch gehenna-devsw on 2002-08-30 00:29:27 +0000
 1.2.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.2.2.1 31-Jul-2002  nathanw file conf.c was added on branch nathanw_sa on 2002-09-17 21:14:18 +0000
 1.8 02-Aug-2009  matt Use a common version of cpu.c (mmm removing identical code).
 1.7 17-Oct-2007  garbled branches: 1.7.20; 1.7.34; 1.7.38;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.6 20-May-2007  he branches: 1.6.10;
Now that curcpu() is defined in terms of curlwp() for mips, we need to
include <sys/lwp.h> where curcpu() is used.
 1.5 11-Dec-2005  christos branches: 1.5.30; 1.5.32; 1.5.38;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem branches: 1.4.16;
__KERNEL_RCSID()
 1.3 02-Oct-2002  thorpej branches: 1.3.6;
Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file cpu.c was added on branch kqueue on 2002-09-06 08:34:15 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file cpu.c was added on branch gehenna-devsw on 2002-08-30 00:29:27 +0000
 1.1.2.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.1 29-Jul-2002  nathanw file cpu.c was added on branch nathanw_sa on 2002-10-18 02:36:36 +0000
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 03-Sep-2007  yamt sync with head.
 1.5.38.1 22-May-2007  matt Update to HEAD.
 1.5.32.1 11-Jul-2007  mjf Sync with head.
 1.5.30.1 27-May-2007  ad Sync with head.
 1.6.10.1 06-Nov-2007  matt sync with HEAD
 1.7.38.1 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.7.34.1 24-Oct-2010  jym Sync with HEAD
 1.7.20.1 19-Aug-2009  yamt sync with head.
 1.8 09-Jun-2015  matt #include <sys/cpu.h> and/or <mips/cpuregs.h> as needed.
 1.7 10-Jul-2011  matt branches: 1.7.12; 1.7.30;
CLeanup machine includes
 1.6 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.5 04-Apr-2011  dyoung Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.4 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.3 16-Feb-2006  gdamore branches: 1.3.2; 1.3.10; 1.3.16; 1.3.22; 1.3.98; 1.3.102; 1.3.108; 1.3.110;
Add board reset logic.
 1.2 12-Feb-2006  gdamore Consistency wrt phys physical and KSEG1 addresses.
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.3.110.1 05-Mar-2011  bouyer Sync with HEAD
 1.3.108.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.102.2 21-Apr-2011  rmind sync with head
 1.3.102.1 05-Mar-2011  rmind sync with head
 1.3.98.1 20-Jan-2010  matt Adjust things to the new world order.
 1.3.22.2 09-Sep-2006  rpaulo sync with head
 1.3.22.1 16-Feb-2006  rpaulo file dbau1500.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.3.16.2 21-Jun-2006  yamt sync with head.
 1.3.16.1 16-Feb-2006  yamt file dbau1500.c was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.3.10.2 22-Apr-2006  simonb Sync with head.
 1.3.10.1 16-Feb-2006  simonb file dbau1500.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.3.2.2 18-Feb-2006  yamt sync with head.
 1.3.2.1 16-Feb-2006  yamt file dbau1500.c was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.7.30.1 22-Sep-2015  skrll Sync with HEAD
 1.7.12.1 03-Dec-2017  jdolecek update from HEAD
 1.5 25-Apr-2006  simonb branches: 1.5.6; 1.5.12;
Fix some comment tyops.
 1.4 16-Feb-2006  gdamore branches: 1.4.2; 1.4.4; 1.4.6; 1.4.8; 1.4.10;
Add board reset logic.
 1.3 12-Feb-2006  gdamore Consistency wrt phys physical and KSEG1 addresses.
 1.2 08-Feb-2006  gdamore Add Itronix copyright (3-clause BSD) that I forgot to include in original
versions.
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.4.10.3 01-Jun-2006  kardel Sync with head.
 1.4.10.2 22-Apr-2006  simonb Sync with head.
 1.4.10.1 16-Feb-2006  simonb file dbau1500reg.h was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.4.8.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.4.6.1 11-May-2006  elad sync with head
 1.4.4.1 24-May-2006  yamt sync with head.
 1.4.2.2 18-Feb-2006  yamt sync with head.
 1.4.2.1 16-Feb-2006  yamt file dbau1500reg.h was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.5.12.2 09-Sep-2006  rpaulo sync with head
 1.5.12.1 25-Apr-2006  rpaulo file dbau1500reg.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.5.6.2 21-Jun-2006  yamt sync with head.
 1.5.6.1 25-Apr-2006  yamt file dbau1500reg.h was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.13 12-Mar-2014  mrg remove some dead code, avoid set but unused variables.
 1.12 10-Jul-2011  matt branches: 1.12.2; 1.12.12; 1.12.16;
CLeanup machine includes
 1.11 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.10 04-Apr-2011  dyoung Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.9 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.8 24-Jan-2007  hubertf branches: 1.8.66; 1.8.70; 1.8.76; 1.8.78;
Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.
 1.7 02-Oct-2006  gdamore Add the final glue bits required to enable the SPI interface on the
DBAU1550. This is parameterized somewhat as machdep pluggable code, so
different boards can supply different implementations.

At the moment, the DBAU1550 is the only Au1550 board I know of with SPI
connected devices.

I have not enabled I2C on the DBAU1550, as we do not have drivers for either
of the I2C connected devices (a different temperature/voltage sensor and
a serial eeprom.)
 1.6 25-Mar-2006  gdamore branches: 1.6.2; 1.6.6; 1.6.8; 1.6.12; 1.6.14; 1.6.16;
Enable PCMCIA on DBAU1550.
Some devices work (an, wdc), while others do not (ne, wi).
However, the bus is useful enough that it makes sense to go ahead and
enable it. Maybe other folks can help me debug the rest of the problems.
 1.5 23-Feb-2006  gdamore branches: 1.5.2; 1.5.4; 1.5.6;
Add PCMCIA board-specific logic for DBAU1550. It isn't quite right yet, so
I'm not enabling it in the configuration file yet. (I have an uncommitted
version of the config file that I will happily share with anyone who wants to
help test or debug.)
 1.4 16-Feb-2006  gdamore branches: 1.4.2;
CPLD registers are 16-bits wide, not 32.
 1.3 13-Feb-2006  gdamore Added board support for hard-reset (reboot) and power off.
 1.2 12-Feb-2006  gdamore Consistency wrt phys physical and KSEG1 addresses.
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.4.2.3 01-Mar-2006  yamt sync with head.
 1.4.2.2 18-Feb-2006  yamt sync with head.
 1.4.2.1 16-Feb-2006  yamt file dbau1550.c was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.5.6.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.5.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.5.2.1 01-Apr-2006  yamt sync with head.
 1.6.16.1 22-Oct-2006  yamt sync with head
 1.6.14.2 09-Sep-2006  rpaulo sync with head
 1.6.14.1 25-Mar-2006  rpaulo file dbau1550.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.6.12.2 01-Feb-2007  ad Sync with head.
 1.6.12.1 18-Nov-2006  ad Sync with head.
 1.6.8.4 26-Feb-2007  yamt sync with head.
 1.6.8.3 30-Dec-2006  yamt sync with head.
 1.6.8.2 21-Jun-2006  yamt sync with head.
 1.6.8.1 25-Mar-2006  yamt file dbau1550.c was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.6.6.1 13-Jul-2006  gdamore Merge from HEAD.
 1.6.2.2 22-Apr-2006  simonb Sync with head.
 1.6.2.1 25-Mar-2006  simonb file dbau1550.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.8.78.1 05-Mar-2011  bouyer Sync with HEAD
 1.8.76.1 06-Jun-2011  jruoho Sync with HEAD.
 1.8.70.2 21-Apr-2011  rmind sync with head
 1.8.70.1 05-Mar-2011  rmind sync with head
 1.8.66.1 20-Jan-2010  matt Adjust things to the new world order.
 1.12.16.1 18-May-2014  rmind sync with head
 1.12.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5 02-Oct-2006  gdamore Add the final glue bits required to enable the SPI interface on the
DBAU1550. This is parameterized somewhat as machdep pluggable code, so
different boards can supply different implementations.

At the moment, the DBAU1550 is the only Au1550 board I know of with SPI
connected devices.

I have not enabled I2C on the DBAU1550, as we do not have drivers for either
of the I2C connected devices (a different temperature/voltage sensor and
a serial eeprom.)
 1.4 23-Feb-2006  gdamore branches: 1.4.8; 1.4.14; 1.4.18; 1.4.20; 1.4.22;
Add PCMCIA board-specific logic for DBAU1550. It isn't quite right yet, so
I'm not enabling it in the configuration file yet. (I have an uncommitted
version of the config file that I will happily share with anyone who wants to
help test or debug.)
 1.3 12-Feb-2006  gdamore branches: 1.3.2;
Consistency wrt phys physical and KSEG1 addresses.
 1.2 08-Feb-2006  gdamore Add Itronix copyright (3-clause BSD) that I forgot to include in original
versions.
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.3.2.3 01-Mar-2006  yamt sync with head.
 1.3.2.2 18-Feb-2006  yamt sync with head.
 1.3.2.1 12-Feb-2006  yamt file dbau1550reg.h was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.4.22.1 22-Oct-2006  yamt sync with head
 1.4.20.2 09-Sep-2006  rpaulo sync with head
 1.4.20.1 23-Feb-2006  rpaulo file dbau1550reg.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.4.18.1 18-Nov-2006  ad Sync with head.
 1.4.14.3 30-Dec-2006  yamt sync with head.
 1.4.14.2 21-Jun-2006  yamt sync with head.
 1.4.14.1 23-Feb-2006  yamt file dbau1550reg.h was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.4.8.2 22-Apr-2006  simonb Sync with head.
 1.4.8.1 23-Feb-2006  simonb file dbau1550reg.h was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.2 09-Sep-2002  simonb Share disksubr.c across all evbmips "ports" (it was identical).
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file disksubr.c was added on branch kqueue on 2002-09-06 08:34:15 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file disksubr.c was added on branch gehenna-devsw on 2002-08-30 00:29:28 +0000
 1.1.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.1 29-Jul-2002  nathanw file disksubr.c was added on branch nathanw_sa on 2002-09-17 21:14:18 +0000
 1.6 09-Jun-2015  matt #include <sys/cpu.h> and/or <mips/cpuregs.h> as needed.
 1.5 24-Mar-2014  christos branches: 1.5.6;
use cpu_{g,s}etmodel
 1.4 10-Jul-2011  matt branches: 1.4.2; 1.4.12; 1.4.16;
CLeanup machine includes
 1.3 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.2 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.1 08-Feb-2006  gdamore branches: 1.1.2; 1.1.10; 1.1.16; 1.1.22; 1.1.98; 1.1.102; 1.1.108; 1.1.110;
Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.1.110.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.108.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.102.1 05-Mar-2011  rmind sync with head
 1.1.98.1 20-Jan-2010  matt Adjust things to the new world order.
 1.1.22.2 09-Sep-2006  rpaulo sync with head
 1.1.22.1 08-Feb-2006  rpaulo file genericbd.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.1.16.2 21-Jun-2006  yamt sync with head.
 1.1.16.1 08-Feb-2006  yamt file genericbd.c was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.1.10.2 22-Apr-2006  simonb Sync with head.
 1.1.10.1 08-Feb-2006  simonb file genericbd.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.2.2 18-Feb-2006  yamt sync with head.
 1.1.2.1 08-Feb-2006  yamt file genericbd.c was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.4.16.1 18-May-2014  rmind sync with head
 1.4.12.2 03-Dec-2017  jdolecek update from HEAD
 1.4.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5.6.1 22-Sep-2015  skrll Sync with HEAD
 1.8 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.7 26-Aug-2016  skrll Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.6 10-Jul-2011  matt branches: 1.6.12; 1.6.30;
CLeanup machine includes
 1.5 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.4 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.3 28-Apr-2008  martin branches: 1.3.18; 1.3.22; 1.3.28; 1.3.30;
Remove clause 3 and 4 from TNF licenses
 1.2 09-Feb-2006  gdamore branches: 1.2.2; 1.2.10; 1.2.16; 1.2.22; 1.2.76; 1.2.78; 1.2.80;
au_icu.c is in mips/ and should not depend on evbmips intr handler struct.
convert various u_int32_t to preferred uint32_t.
 1.1 07-Feb-2006  gdamore renamed pb1000_intr to reflect that it isn't board-specific. Prune unused
pb1000_intr_establish/disestablish calls.

Change was reviewed by folks as part of PCI changes, and should be
non-controversial in any case.
 1.2.80.1 16-May-2008  yamt sync with head.
 1.2.78.1 18-May-2008  yamt sync with head.
 1.2.76.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.22.2 09-Sep-2006  rpaulo sync with head
 1.2.22.1 09-Feb-2006  rpaulo file mach_intr.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.2.16.2 21-Jun-2006  yamt sync with head.
 1.2.16.1 09-Feb-2006  yamt file mach_intr.c was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.2.10.2 22-Apr-2006  simonb Sync with head.
 1.2.10.1 09-Feb-2006  simonb file mach_intr.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.2.2.2 18-Feb-2006  yamt sync with head.
 1.2.2.1 09-Feb-2006  yamt file mach_intr.c was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.3.30.1 05-Mar-2011  bouyer Sync with HEAD
 1.3.28.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.22.1 05-Mar-2011  rmind sync with head
 1.3.18.1 15-Feb-2010  matt Adapt to the new interrupt framework for NetBSD/mips.
 1.6.30.1 05-Oct-2016  skrll Sync with HEAD
 1.6.12.1 03-Dec-2017  jdolecek update from HEAD
 1.58 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.57 22-Jul-2020  msaitoh s/reseting/resetting/
 1.56 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.55 26-Jun-2015  matt branches: 1.55.2;
Just cpu_startup_common()
 1.54 25-Mar-2014  martin branches: 1.54.6;
Typo
 1.53 24-Mar-2014  christos use cpu_{g,s}etmodel
 1.52 02-Mar-2012  matt branches: 1.52.2; 1.52.4;
Remove reduntant/conflicting common declarations.
 1.51 10-Jul-2011  matt branches: 1.51.2; 1.51.6;
CLeanup machine includes
 1.50 04-Apr-2011  dyoung Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.49 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.48 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.47 08-Feb-2010  joerg branches: 1.47.2; 1.47.4; 1.47.6;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.46 16-Dec-2009  matt branches: 1.46.2;
Fix printf format problems and latent bugs made visible by new bus_*_t types.
 1.45 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.44 27-Nov-2009  rmind - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.43 26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.42 11-Aug-2009  matt Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)
 1.41 13-Feb-2009  apb Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
 1.40 30-Nov-2008  martin branches: 1.40.4;
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
 1.39 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.38 11-Nov-2008  dyoung It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
 1.37 02-Jul-2008  ad branches: 1.37.2; 1.37.4; 1.37.10;
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
 1.36 17-Oct-2007  garbled branches: 1.36.16; 1.36.20; 1.36.22; 1.36.24;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.35 17-May-2007  yamt branches: 1.35.10;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.34 06-Mar-2007  simonb branches: 1.34.2; 1.34.4; 1.34.10;
Fix some caddr_t rototill fallout.
 1.33 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.32 22-Feb-2007  thorpej TRUE -> true, FALSE -> false
 1.31 02-Oct-2006  gdamore branches: 1.31.4;
Add the final glue bits required to enable the SPI interface on the
DBAU1550. This is parameterized somewhat as machdep pluggable code, so
different boards can supply different implementations.

At the moment, the DBAU1550 is the only Au1550 board I know of with SPI
connected devices.

I have not enabled I2C on the DBAU1550, as we do not have drivers for either
of the I2C connected devices (a different temperature/voltage sensor and
a serial eeprom.)
 1.30 09-Sep-2006  simonb branches: 1.30.2;
Move the "reseting board..." printf to before the first code that can
reset a board.
 1.29 13-Jul-2006  gdamore branches: 1.29.4;
Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@. Fixes PR port-evbmips/32362.
 1.28 09-Apr-2006  tsutsui branches: 1.28.4;
Remove declarations for cpu_model[] since it's in <sys/systm.h>.
 1.27 23-Feb-2006  gdamore branches: 1.27.2; 1.27.4; 1.27.6;
Add PCMCIA board-specific logic for DBAU1550. It isn't quite right yet, so
I'm not enabling it in the configuration file yet. (I have an uncommitted
version of the config file that I will happily share with anyone who wants to
help test or debug.)
 1.26 13-Feb-2006  gdamore Added board support for hard-reset (reboot) and power off.
 1.25 09-Feb-2006  gdamore Add Au1550 PCI support (Au1500 not yet, coming shortly).
Closes PR port-evbmips/32087.
Reviewed by simonb@ (Also, earlier, matt@, and tsutsui@.)
 1.24 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.23 27-Jan-2006  gdamore branches: 1.23.2; 1.23.4;
Fix improper USB clocking (makes USB work on DBAu1550).
Closes PR port-evbmips/32355.
 1.22 01-Jan-2006  he Add an obviously missing double-quote.
 1.21 24-Dec-2005  perry branches: 1.21.2;
bare asm -> __asm
 1.20 21-Dec-2005  christos PR/32086: Garrett D'Amore: Use the YAMON environment for console speed
selection, rather than a hard-coded speed.
 1.19 11-Dec-2005  christos merge ktrace-lwp.
 1.18 25-Apr-2005  lukem branches: 1.18.2;
Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.
 1.17 16-Mar-2004  nathanw branches: 1.17.8;
Do set up the auxpll to the right value (8, to generate 96MHz),
because the Au1500 and/or this board's firmware don't have it to the
right value at bootup, as was previously assumed. Makes USB-host work
on the Au1500, and should cause no change on other boards where it
previously "just worked".

Remove some #if 0'd out setting of FREQ0, since it's not currently
used.
 1.16 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.15 30-Dec-2003  pk Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes). It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms. Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.
 1.14 08-Nov-2003  simonb Add a "COM_AU1x00" option, similar to COM_PXA2X0, for enabling Au1x00
features in the "com" driver.
 1.13 27-Oct-2003  simonb Set the CPU frequency parameters from YAMON if available, and fall back
to the timer/RTC based calibration loops otherwise.
 1.12 26-Sep-2003  simonb Cast through (void *) to appease gcc3.
XXX1 - why does this "type-punned pointer" warning only affect little-
endian MIPS and not big-endian MIPS?!
XXX2 - too much duplicated code.
 1.11 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.10 04-Jul-2003  thorpej Nuke the "alchemy_info" stuff, and just use the dev_propdb to set
the mac-addr property for the Au1x00 on-chip MACs.
 1.9 27-Jun-2003  he branches: 1.9.2;
Conditionalize usage of the COM_HW_HAYESP constant on COM_HAYESP.
Add a dummy type argument to the local (au)comcnattach to match the change
in the prototype of the "real" comcnattach.

Reviewed and tested by simonb.
 1.8 26-Apr-2003  ragge Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
 1.7 02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.6 01-Apr-2003  hpeyerl route a clock to the USB Host peripheral. includes code to configure
auxpll but this seems to come up at the right speed out of reset so it's
#if 0'd out.
 1.5 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.4 25-Nov-2002  scw Fix a typo to make this compile with MEMSIZE is defined.
 1.3 25-Aug-2002  thorpej branches: 1.3.2; 1.3.4;
Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these
variables unsigned, and update places where their values are printed.
 1.2 05-Aug-2002  simonb branches: 1.2.2;
Convert to use merged mips cpu_sysctl().
 1.1 29-Jul-2002  simonb Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.2.2.4 11-Dec-2002  thorpej Sync with HEAD.
 1.2.2.3 27-Aug-2002  nathanw Catch up to -current.
 1.2.2.2 13-Aug-2002  simonb LWP'ify the evbmips port.
 1.2.2.1 05-Aug-2002  simonb file machdep.c was added on branch nathanw_sa on 2002-08-13 04:21:56 +0000
 1.3.4.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.4.1 25-Aug-2002  jdolecek file machdep.c was added on branch kqueue on 2002-09-06 08:34:16 +0000
 1.3.2.2 30-Aug-2002  gehenna catch up with -current.
 1.3.2.1 25-Aug-2002  gehenna file machdep.c was added on branch gehenna-devsw on 2002-08-30 00:29:28 +0000
 1.9.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.9.2.1 03-Aug-2004  skrll Sync with HEAD
 1.17.8.1 29-Apr-2005  kent sync with -current
 1.18.2.4 03-Sep-2007  yamt sync with head.
 1.18.2.3 26-Feb-2007  yamt sync with head.
 1.18.2.2 30-Dec-2006  yamt sync with head.
 1.18.2.1 21-Jun-2006  yamt sync with head.
 1.21.2.4 01-Mar-2006  yamt sync with head.
 1.21.2.3 18-Feb-2006  yamt sync with head.
 1.21.2.2 01-Feb-2006  yamt sync with head.
 1.21.2.1 15-Jan-2006  yamt sync with head.
 1.23.4.1 22-Apr-2006  simonb Sync with head.
 1.23.2.1 09-Sep-2006  rpaulo sync with head
 1.27.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.27.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.27.2.3 14-Sep-2006  yamt sync with head.
 1.27.2.2 11-Aug-2006  yamt sync with head
 1.27.2.1 11-Apr-2006  yamt sync with head
 1.28.4.1 15-Jun-2006  gdamore Use com_aubus.c attachment for console instead of (removed) aucom.
 1.29.4.1 18-Nov-2006  ad Sync with head.
 1.30.2.1 22-Oct-2006  yamt sync with head
 1.31.4.3 18-Apr-2007  ad - Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.
 1.31.4.2 12-Mar-2007  rmind Sync with HEAD.
 1.31.4.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.34.10.1 22-May-2007  matt Update to HEAD.
 1.34.4.1 11-Jul-2007  mjf Sync with head.
 1.34.2.1 27-May-2007  ad Sync with head.
 1.35.10.1 06-Nov-2007  matt sync with HEAD
 1.36.24.1 03-Jul-2008  simonb Sync with head.
 1.36.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.36.20.3 11-Mar-2010  yamt sync with head
 1.36.20.2 19-Aug-2009  yamt sync with head.
 1.36.20.1 04-May-2009  yamt sync with head.
 1.36.16.2 17-Jan-2009  mjf Sync with HEAD.
 1.36.16.1 02-Jul-2008  mjf Sync with HEAD.
 1.37.10.7 14-Feb-2012  matt mem_cluster_cnt on mips is now a u_int.
 1.37.10.6 13-May-2011  matt Update for new mips_vector_init and savectx definitions.
 1.37.10.5 21-Mar-2010  cliff mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'
 1.37.10.4 01-Feb-2010  matt fix fallout from frame/trapframe merger.
 1.37.10.3 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.37.10.2 31-Dec-2009  matt Use mips_page_physload and mips_init_lwp0_uarea.
 1.37.10.1 07-Sep-2009  matt Update to deal with pcb_context being a label_t (this should be a common
routine).
 1.37.4.2 03-Mar-2009  skrll Sync with HEAD.
 1.37.4.1 19-Jan-2009  skrll Sync with HEAD.
 1.37.2.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.40.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.46.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.47.6.2 05-Mar-2011  bouyer Sync with HEAD
 1.47.6.1 17-Feb-2011  bouyer Sync with HEAD
 1.47.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.47.2.2 21-Apr-2011  rmind sync with head
 1.47.2.1 05-Mar-2011  rmind sync with head
 1.51.6.3 06-Mar-2012  mrg sync to -current
 1.51.6.2 06-Mar-2012  mrg sync to -current
 1.51.6.1 04-Mar-2012  mrg sync to latest -current.
 1.51.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.51.2.1 17-Apr-2012  yamt sync with head
 1.52.4.1 18-May-2014  rmind sync with head
 1.52.2.2 03-Dec-2017  jdolecek update from HEAD
 1.52.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.54.6.2 05-Feb-2017  skrll Sync with HEAD
 1.54.6.1 22-Sep-2015  skrll Sync with HEAD
 1.55.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.12 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.11 24-Apr-2021  thorpej branches: 1.11.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.10 20-Feb-2011  matt branches: 1.10.70;
Merge forward from matt-nb5-mips64.
 1.9 14-Mar-2009  dsl branches: 1.9.4; 1.9.6; 1.9.8;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.8 11-Dec-2005  christos branches: 1.8.78; 1.8.86; 1.8.92; 1.8.96;
merge ktrace-lwp.
 1.7 28-Jun-2005  drochner convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 02-Oct-2002  thorpej branches: 1.5.6;
Use CFATTACH_DECL().
 1.4 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.2 28-Aug-2002  simonb branches: 1.2.2; 1.2.4;
Remove some commented-out include files.
 1.1 29-Jul-2002  simonb branches: 1.1.2;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.1 29-Jul-2002  nathanw file mainbus.c was added on branch nathanw_sa on 2002-09-17 21:14:18 +0000
 1.2.4.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.4.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.4.1 28-Aug-2002  jdolecek file mainbus.c was added on branch kqueue on 2002-09-06 08:34:16 +0000
 1.2.2.2 30-Aug-2002  gehenna catch up with -current.
 1.2.2.1 28-Aug-2002  gehenna file mainbus.c was added on branch gehenna-devsw on 2002-08-30 00:29:28 +0000
 1.5.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.8.96.1 14-Jan-2010  matt device_t, CFATTACH_DECL_NEW, ansify, ...
 1.8.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.8.78.1 04-May-2009  yamt sync with head.
 1.9.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.9.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.9.4.1 05-Mar-2011  rmind sync with head
 1.10.70.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.11.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.9 17-Aug-2020  simonb Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
 1.8 09-Jun-2015  matt #include <sys/cpu.h> and/or <mips/cpuregs.h> as needed.
 1.7 10-Jul-2011  matt branches: 1.7.12; 1.7.30;
CLeanup machine includes
 1.6 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.5 04-Apr-2011  dyoung Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.4 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.3 23-Feb-2006  gdamore branches: 1.3.2; 1.3.10; 1.3.16; 1.3.22; 1.3.98; 1.3.102; 1.3.108; 1.3.110;
Third time the charm? Okay, this time it at least compiles.
 1.2 23-Feb-2006  gdamore Doh! Correct typo/pasto error.
 1.1 23-Feb-2006  gdamore Initial configuration for MTX-1, aka Meshcube.
 1.3.110.1 05-Mar-2011  bouyer Sync with HEAD
 1.3.108.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.102.2 21-Apr-2011  rmind sync with head
 1.3.102.1 05-Mar-2011  rmind sync with head
 1.3.98.1 20-Jan-2010  matt Adjust things to the new world order.
 1.3.22.2 09-Sep-2006  rpaulo sync with head
 1.3.22.1 23-Feb-2006  rpaulo file mtx-1.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.3.16.2 21-Jun-2006  yamt sync with head.
 1.3.16.1 23-Feb-2006  yamt file mtx-1.c was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.3.10.2 22-Apr-2006  simonb Sync with head.
 1.3.10.1 23-Feb-2006  simonb file mtx-1.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.3.2.2 01-Mar-2006  yamt sync with head.
 1.3.2.1 23-Feb-2006  yamt file mtx-1.c was added on branch yamt-uio_vmspace on 2006-03-01 09:27:46 +0000
 1.7.30.1 22-Sep-2015  skrll Sync with HEAD
 1.7.12.1 03-Dec-2017  jdolecek update from HEAD
 1.6 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.5 24-Apr-2021  thorpej branches: 1.5.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.4 01-Jul-2011  dyoung branches: 1.4.68;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.3 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2 16-Dec-2009  matt branches: 1.2.4; 1.2.6; 1.2.8;
Fix printf format problems and latent bugs made visible by new bus_*_t types.
 1.1 08-Feb-2006  gdamore branches: 1.1.2; 1.1.10; 1.1.16; 1.1.22; 1.1.80; 1.1.98;
Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.1.98.2 14-Jan-2010  matt More fixes for the CFATTAL_DECL_NEW changes and rmixl cpucore/cpu changes.
 1.1.98.1 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.1.80.1 11-Mar-2010  yamt sync with head
 1.1.22.2 09-Sep-2006  rpaulo sync with head
 1.1.22.1 08-Feb-2006  rpaulo file obio.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.1.16.2 21-Jun-2006  yamt sync with head.
 1.1.16.1 08-Feb-2006  yamt file obio.c was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.1.10.2 22-Apr-2006  simonb Sync with head.
 1.1.10.1 08-Feb-2006  simonb file obio.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.2.2 18-Feb-2006  yamt sync with head.
 1.1.2.1 08-Feb-2006  yamt file obio.c was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.2.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.4.1 05-Mar-2011  rmind sync with head
 1.4.68.2 22-Mar-2021  thorpej Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.
 1.4.68.1 22-Mar-2021  thorpej Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.
 1.5.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 08-Feb-2006  gdamore branches: 1.1.2; 1.1.10; 1.1.16; 1.1.22;
Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.1.22.2 09-Sep-2006  rpaulo sync with head
 1.1.22.1 08-Feb-2006  rpaulo file obiovar.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.1.16.2 21-Jun-2006  yamt sync with head.
 1.1.16.1 08-Feb-2006  yamt file obiovar.h was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.1.10.2 22-Apr-2006  simonb Sync with head.
 1.1.10.1 08-Feb-2006  simonb file obiovar.h was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.2.2 18-Feb-2006  yamt sync with head.
 1.1.2.1 08-Feb-2006  yamt file obiovar.h was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.12 24-May-2024  andvar s/borad/board/ in comments.
 1.11 17-Aug-2020  simonb Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
 1.10 09-Jun-2015  matt #include <sys/cpu.h> and/or <mips/cpuregs.h> as needed.
 1.9 10-Jul-2011  matt branches: 1.9.12; 1.9.30;
CLeanup machine includes
 1.8 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.7 04-Apr-2011  dyoung Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.6 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.5 23-Feb-2007  kiyohara branches: 1.5.64; 1.5.68; 1.5.74; 1.5.76;
s/Sever/Server/
 1.4 02-Apr-2006  kiyohara branches: 1.4.2; 1.4.8; 1.4.14; 1.4.20;
Support aupcmcia on OMSAL400.
 1.3 01-Mar-2006  shige branches: 1.3.2; 1.3.4; 1.3.6;
Fix invalid array initialization.
 1.2 23-Feb-2006  shige branches: 1.2.2;
Modify copyright declaration.
 1.1 23-Feb-2006  shige Support Plathome OpenMicroServer (OMS-AL400).
http://www.plathome.co.jp/products/oms400/index.html (sorry japanese only).
 1.2.2.2 01-Mar-2006  yamt sync with head.
 1.2.2.1 23-Feb-2006  yamt file omsal400.c was added on branch yamt-uio_vmspace on 2006-03-01 09:27:46 +0000
 1.3.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.2.1 11-Apr-2006  yamt sync with head
 1.4.20.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.4.14.2 09-Sep-2006  rpaulo sync with head
 1.4.14.1 02-Apr-2006  rpaulo file omsal400.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.4.8.3 26-Feb-2007  yamt sync with head.
 1.4.8.2 21-Jun-2006  yamt sync with head.
 1.4.8.1 02-Apr-2006  yamt file omsal400.c was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.4.2.2 22-Apr-2006  simonb Sync with head.
 1.4.2.1 02-Apr-2006  simonb file omsal400.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.5.76.1 05-Mar-2011  bouyer Sync with HEAD
 1.5.74.1 06-Jun-2011  jruoho Sync with HEAD.
 1.5.68.2 21-Apr-2011  rmind sync with head
 1.5.68.1 05-Mar-2011  rmind sync with head
 1.5.64.1 20-Jan-2010  matt Adjust things to the new world order.
 1.9.30.1 22-Sep-2015  skrll Sync with HEAD
 1.9.12.1 03-Dec-2017  jdolecek update from HEAD
 1.1 23-Feb-2006  shige branches: 1.1.2; 1.1.10; 1.1.16; 1.1.22;
Support Plathome OpenMicroServer (OMS-AL400).
http://www.plathome.co.jp/products/oms400/index.html (sorry japanese only).
 1.1.22.2 09-Sep-2006  rpaulo sync with head
 1.1.22.1 23-Feb-2006  rpaulo file omsal400reg.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.1.16.2 21-Jun-2006  yamt sync with head.
 1.1.16.1 23-Feb-2006  yamt file omsal400reg.h was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.1.10.2 22-Apr-2006  simonb Sync with head.
 1.1.10.1 23-Feb-2006  simonb file omsal400reg.h was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.2.2 01-Mar-2006  yamt sync with head.
 1.1.2.1 23-Feb-2006  yamt file omsal400reg.h was added on branch yamt-uio_vmspace on 2006-03-01 09:27:46 +0000
 1.4 07-Feb-2006  gdamore renamed pb1000_intr to reflect that it isn't board-specific. Prune unused
pb1000_intr_establish/disestablish calls.

Change was reviewed by folks as part of PCI changes, and should be
non-controversial in any case.
 1.3 11-Dec-2005  christos branches: 1.3.2; 1.3.4; 1.3.6;
merge ktrace-lwp.
 1.2 15-Jul-2003  lukem branches: 1.2.16;
__KERNEL_RCSID()
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.12.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.12.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.12.1 03-Aug-2004  skrll Sync with HEAD
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file pb1000_intr.c was added on branch kqueue on 2002-09-06 08:34:16 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file pb1000_intr.c was added on branch gehenna-devsw on 2002-08-30 00:29:28 +0000
 1.1.2.2 29-Jul-2002  simonb Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.2.1 29-Jul-2002  simonb file pb1000_intr.c was added on branch nathanw_sa on 2002-07-29 16:22:59 +0000
 1.2.16.1 21-Jun-2006  yamt sync with head.
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.3.2.1 18-Feb-2006  yamt sync with head.
 1.10 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.9 11-Dec-2005  christos branches: 1.9.2; 1.9.4; 1.9.6;
merge ktrace-lwp.
 1.8 26-Aug-2005  drochner s/locdesc_t/int/g
 1.7 28-Jun-2005  drochner branches: 1.7.2;
convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 01-Jan-2003  thorpej branches: 1.5.2;
Use aprint_normal() for cfprint routines.
 1.4 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file pb1000_obio.c was added on branch kqueue on 2002-09-06 08:34:17 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file pb1000_obio.c was added on branch gehenna-devsw on 2002-08-30 00:29:28 +0000
 1.1.2.3 03-Jan-2003  thorpej Sync with HEAD.
 1.1.2.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.1 29-Jul-2002  nathanw file pb1000_obio.c was added on branch nathanw_sa on 2002-10-18 02:36:36 +0000
 1.5.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.7.2.1 21-Jun-2006  yamt sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.9.2.1 18-Feb-2006  yamt sync with head.
 1.2 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6; 1.1.28; 1.1.40; 1.1.42; 1.1.44;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.44.1 22-Apr-2006  simonb Sync with head.
 1.1.42.1 09-Sep-2006  rpaulo sync with head
 1.1.40.1 18-Feb-2006  yamt sync with head.
 1.1.28.1 21-Jun-2006  yamt sync with head.
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file pb1000_obiovar.h was added on branch kqueue on 2002-09-06 08:34:17 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file pb1000_obiovar.h was added on branch gehenna-devsw on 2002-08-30 00:29:28 +0000
 1.1.2.2 29-Jul-2002  simonb Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.2.1 29-Jul-2002  simonb file pb1000_obiovar.h was added on branch nathanw_sa on 2002-07-29 16:22:59 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 17-Jun-2006  simonb branches: 1.2.58; 1.2.60; 1.2.62;
LCD and PCMCIA address info is chip-specific and not board-specific.
Remove them from here.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6; 1.1.28; 1.1.42; 1.1.46; 1.1.52; 1.1.54;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.54.1 13-Jul-2006  gdamore Merge from HEAD.
 1.1.52.1 19-Jun-2006  chap Sync with head.
 1.1.46.1 26-Jun-2006  yamt sync with head.
 1.1.42.1 09-Sep-2006  rpaulo sync with head
 1.1.28.1 21-Jun-2006  yamt sync with head.
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file pb1000reg.h was added on branch kqueue on 2002-09-06 08:34:18 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file pb1000reg.h was added on branch gehenna-devsw on 2002-08-30 00:29:28 +0000
 1.1.2.2 29-Jul-2002  simonb Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.2.1 29-Jul-2002  simonb file pb1000reg.h was added on branch nathanw_sa on 2002-07-29 16:23:00 +0000
 1.2.62.1 16-May-2008  yamt sync with head.
 1.2.60.1 18-May-2008  yamt sync with head.
 1.2.58.1 02-Jun-2008  mjf Sync with HEAD.
 1.3 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.2 07-Feb-2006  gdamore renamed pb1000_intr to reflect that it isn't board-specific. Prune unused
pb1000_intr_establish/disestablish calls.

Change was reviewed by folks as part of PCI changes, and should be
non-controversial in any case.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6; 1.1.28; 1.1.40; 1.1.42; 1.1.44;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.44.1 22-Apr-2006  simonb Sync with head.
 1.1.42.1 09-Sep-2006  rpaulo sync with head
 1.1.40.1 18-Feb-2006  yamt sync with head.
 1.1.28.1 21-Jun-2006  yamt sync with head.
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file pb1000var.h was added on branch kqueue on 2002-09-06 08:34:18 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file pb1000var.h was added on branch gehenna-devsw on 2002-08-30 00:29:29 +0000
 1.1.2.2 29-Jul-2002  simonb Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.2.1 29-Jul-2002  simonb file pb1000var.h was added on branch nathanw_sa on 2002-07-29 16:23:00 +0000
 1.2 04-Apr-2011  dyoung Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.1 09-Feb-2006  gdamore branches: 1.1.2; 1.1.10; 1.1.16; 1.1.22; 1.1.102; 1.1.108;
Add Au1550 PCI support (Au1500 not yet, coming shortly).
Closes PR port-evbmips/32087.
Reviewed by simonb@ (Also, earlier, matt@, and tsutsui@.)
 1.1.108.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.102.1 21-Apr-2011  rmind sync with head
 1.1.22.2 09-Sep-2006  rpaulo sync with head
 1.1.22.1 09-Feb-2006  rpaulo file pciide_machdep.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.1.16.2 21-Jun-2006  yamt sync with head.
 1.1.16.1 09-Feb-2006  yamt file pciide_machdep.c was added on branch yamt-lazymbuf on 2006-06-21 14:50:55 +0000
 1.1.10.2 22-Apr-2006  simonb Sync with head.
 1.1.10.1 09-Feb-2006  simonb file pciide_machdep.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.2.2 18-Feb-2006  yamt sync with head.
 1.1.2.1 09-Feb-2006  yamt file pciide_machdep.c was added on branch yamt-uio_vmspace on 2006-02-18 15:38:32 +0000
 1.11 29-Jul-2012  mlelstv Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.10 07-Jul-2011  matt branches: 1.10.2; 1.10.8;
Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.9 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8 04-Jan-2008  ad branches: 1.8.6; 1.8.8; 1.8.10;
Fix headers.
 1.7 17-Nov-2006  tsutsui branches: 1.7.28; 1.7.34; 1.7.42;
Defer _spl0() or _splnone() calls (which enable hardware interrupts)
from cpu_configure(9) to cpu_initclocks(9) on mips ports which use
mips3_clockintr.c:mips3_clockintr() (i.e. CPU INT5 clock) to avoid
hardclock(9) before softclock interrupt is initialized in initclocks().
This should be harmless because initclocks() is a part of configure()
in these days and there is no MI function which expects hardware
interrupts between cpu_configure(9) and cpu_initclocks(9).

Disccussed on tech-kern and port-mips.
 1.6 04-Sep-2006  gdamore branches: 1.6.2; 1.6.4; 1.6.6;
This is a boat-load of changes designed to finish parameterizing the
stuff necessary to separate out AR5312 from AR5315. This includes:

1) rework of arbus IRQs, so that IRQs are now seperately specified
as either MISC or CPU irqs
2) move board/chip-specific addresses into chip-dependent file
3) unencumber argpio from ar5312 specifics, using properties to pass
details such as reset-pin and sysled-pin.
4) an option to select which WiSoC is to be configured is provided.

AR5315 support should be forthcoming shortly now.
 1.5 28-Aug-2006  gdamore First pass at cleanup AR5312 WiSoC support to enable better & cleaner
sharing of code with the AR5315, which has many similarities, but many
differences from the AR5312.

No functional change at this time, other than the cpu_model string
(and also sysctl.hw.model node) is changed to reflect the WiSoC cpu
name rather than the identification string in ROM (which tends to not
be very informative.)
 1.4 05-Jun-2006  gdamore branches: 1.4.4;
Import new HAL 0.9.17.2. Approved by sam@

New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices. MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.

Please report any new problems with this import to garrett@.
 1.3 14-May-2006  elad branches: 1.3.2;
integrate kauth.
 1.2 05-May-2006  thorpej Remove the devprop API and switch everthing over to the new proplib. Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.
 1.1 21-Mar-2006  gdamore branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.1.8.4 07-Jun-2006  kardel Sync with head.
 1.1.8.3 01-Jun-2006  kardel Sync with head.
 1.1.8.2 22-Apr-2006  simonb Sync with head.
 1.1.8.1 21-Mar-2006  simonb file autoconf.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.6.3 11-May-2006  elad sync with head
 1.1.6.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.6.1 21-Mar-2006  elad file autoconf.c was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.1.4.6 14-Sep-2006  yamt sync with head.
 1.1.4.5 03-Sep-2006  yamt sync with head.
 1.1.4.4 26-Jun-2006  yamt sync with head.
 1.1.4.3 24-May-2006  yamt sync with head.
 1.1.4.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.4.1 21-Mar-2006  yamt file autoconf.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.1.2.3 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.1.2.1 21-Mar-2006  tron file autoconf.c was added on branch peter-altq on 2006-03-28 09:47:15 +0000
 1.3.2.1 19-Jun-2006  chap Sync with head.
 1.4.4.4 21-Jan-2008  yamt sync with head
 1.4.4.3 30-Dec-2006  yamt sync with head.
 1.4.4.2 21-Jun-2006  yamt sync with head.
 1.4.4.1 05-Jun-2006  yamt file autoconf.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.6.6.1 10-Dec-2006  yamt sync with head.
 1.6.4.2 09-Sep-2006  rpaulo sync with head
 1.6.4.1 04-Sep-2006  rpaulo file autoconf.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.6.2.1 12-Jan-2007  ad Sync with head.
 1.7.42.1 08-Jan-2008  bouyer Sync with HEAD
 1.7.34.1 18-Feb-2008  mjf Sync with HEAD.
 1.7.28.1 09-Jan-2008  matt sync with HEAD
 1.8.10.1 16-May-2008  yamt sync with head.
 1.8.8.1 18-May-2008  yamt sync with head.
 1.8.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.10.8.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.10.2.1 30-Oct-2012  yamt sync with head
 1.4 02-Aug-2009  matt Use a common version of cpu.c (mmm removing identical code).
 1.3 17-Oct-2007  garbled branches: 1.3.20; 1.3.34; 1.3.38;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.2 17-May-2007  yamt branches: 1.2.10;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.1 21-Mar-2006  gdamore branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.14; 1.1.20; 1.1.26; 1.1.30; 1.1.32; 1.1.38;
Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.1.38.1 22-May-2007  matt Update to HEAD.
 1.1.32.1 11-Jul-2007  mjf Sync with head.
 1.1.30.1 27-May-2007  ad Sync with head.
 1.1.26.1 19-Apr-2007  ad Compile fixes.
 1.1.20.2 09-Sep-2006  rpaulo sync with head
 1.1.20.1 21-Mar-2006  rpaulo file cpu.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.1.14.3 03-Sep-2007  yamt sync with head.
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 21-Mar-2006  yamt file cpu.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.1.8.2 22-Apr-2006  simonb Sync with head.
 1.1.8.1 21-Mar-2006  simonb file cpu.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.6.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.6.1 21-Mar-2006  elad file cpu.c was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.1.4.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.4.1 21-Mar-2006  yamt file cpu.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.1.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.1.2.1 21-Mar-2006  tron file cpu.c was added on branch peter-altq on 2006-03-28 09:47:15 +0000
 1.2.10.1 06-Nov-2007  matt sync with HEAD
 1.3.38.1 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.3.34.1 24-Oct-2010  jym Sync with HEAD
 1.3.20.1 19-Aug-2009  yamt sync with head.
 1.7 26-Aug-2016  skrll Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.6 10-Jul-2011  matt branches: 1.6.12; 1.6.30;
CLeanup machine includes
 1.5 07-Jul-2011  matt Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.4 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.3 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2 28-Apr-2008  martin branches: 1.2.18; 1.2.22; 1.2.28; 1.2.30;
Remove clause 3 and 4 from TNF licenses
 1.1 21-Mar-2006  gdamore branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.14; 1.1.20; 1.1.74; 1.1.76; 1.1.78;
Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.1.78.1 16-May-2008  yamt sync with head.
 1.1.76.1 18-May-2008  yamt sync with head.
 1.1.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.20.2 09-Sep-2006  rpaulo sync with head
 1.1.20.1 21-Mar-2006  rpaulo file mach_intr.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:55 +0000
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 21-Mar-2006  yamt file mach_intr.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.1.8.2 22-Apr-2006  simonb Sync with head.
 1.1.8.1 21-Mar-2006  simonb file mach_intr.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.6.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.6.1 21-Mar-2006  elad file mach_intr.c was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.1.4.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.4.1 21-Mar-2006  yamt file mach_intr.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.1.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.1.2.1 21-Mar-2006  tron file mach_intr.c was added on branch peter-altq on 2006-03-28 09:47:15 +0000
 1.2.30.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.28.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.22.1 05-Mar-2011  rmind sync with head
 1.2.18.1 15-Feb-2010  matt Adapt to the new interrupt framework for NetBSD/mips.
 1.6.30.1 05-Oct-2016  skrll Sync with HEAD
 1.6.12.1 03-Dec-2017  jdolecek update from HEAD
 1.34 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.33 17-Aug-2020  simonb Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
 1.32 22-Jul-2020  msaitoh s/reseting/resetting/
 1.31 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.30 26-Jun-2015  matt branches: 1.30.2;
Just cpu_startup_common()
 1.29 24-Mar-2014  christos branches: 1.29.6;
use cpu_{g,s}etmodel
 1.28 02-Mar-2012  matt branches: 1.28.2; 1.28.4;
Remove reduntant/conflicting common declarations.
 1.27 10-Jul-2011  matt branches: 1.27.2; 1.27.6;
CLeanup machine includes
 1.26 07-Jul-2011  matt Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.25 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.24 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.23 15-Dec-2010  matt branches: 1.23.2; 1.23.4;
Make this compile again.
 1.22 08-Feb-2010  joerg branches: 1.22.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.21 14-Dec-2009  matt branches: 1.21.2;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.20 27-Nov-2009  rmind - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.19 26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.18 11-Aug-2009  matt Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)
 1.17 13-Feb-2009  apb Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
 1.16 30-Nov-2008  martin branches: 1.16.4;
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
 1.15 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.14 11-Nov-2008  dyoung It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
 1.13 02-Jul-2008  ad branches: 1.13.2; 1.13.4; 1.13.10;
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
 1.12 26-May-2008  tsutsui branches: 1.12.2;
Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).
 1.11 08-Mar-2008  imp branches: 1.11.2; 1.11.4; 1.11.6;
Fix a typo in a comment.
 1.10 09-Jan-2008  wiz branches: 1.10.2; 1.10.6;
Fix typo in macro name and comments.
 1.9 17-Oct-2007  garbled branches: 1.9.2; 1.9.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.8 17-May-2007  yamt branches: 1.8.10;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.7 06-Mar-2007  simonb branches: 1.7.2; 1.7.4; 1.7.10;
Fix some caddr_t rototill fallout.
 1.6 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.5 26-Sep-2006  gdamore branches: 1.5.4;
Initial import of AR2315 support, specifically the Meraki Mini (see
the Meraki web site at http://www.meraki.net/ ) This includes changes
to the AR5312 to make it more conducive to sharing code with the AR5315,
and also includes improved early console support.

All devices including ethernet and wlan interfaces on the Meraki Mini are
functional with this port, _except_ SPI flash, which will be introduced
later.

This port was funded by the Champaign-Urbana Communit Wireless Network
Project (CUWiN).
 1.4 28-Aug-2006  gdamore branches: 1.4.2; 1.4.4; 1.4.6;
First pass at cleanup AR5312 WiSoC support to enable better & cleaner
sharing of code with the AR5315, which has many similarities, but many
differences from the AR5312.

No functional change at this time, other than the cpu_model string
(and also sysctl.hw.model node) is changed to reflect the WiSoC cpu
name rather than the identification string in ROM (which tends to not
be very informative.)
 1.3 05-Jun-2006  gdamore branches: 1.3.4;
Import new HAL 0.9.17.2. Approved by sam@

New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices. MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.

Please report any new problems with this import to garrett@.
 1.2 09-Apr-2006  tsutsui branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Remove declarations for cpu_model[] since it's in <sys/systm.h>.
 1.1 21-Mar-2006  gdamore branches: 1.1.2;
Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.1.2.3 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.1.2.1 21-Mar-2006  tron file machdep.c was added on branch peter-altq on 2006-03-28 09:47:15 +0000
 1.2.8.1 19-Jun-2006  chap Sync with head.
 1.2.6.3 07-Jun-2006  kardel Sync with head.
 1.2.6.2 22-Apr-2006  simonb Sync with head.
 1.2.6.1 09-Apr-2006  simonb file machdep.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.2.4.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.4.1 09-Apr-2006  elad file machdep.c was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.2.2.5 15-Sep-2006  yamt fix merge botches.
 1.2.2.4 03-Sep-2006  yamt sync with head.
 1.2.2.3 26-Jun-2006  yamt sync with head.
 1.2.2.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.2.2.1 09-Apr-2006  yamt file machdep.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.3.4.6 17-Mar-2008  yamt sync with head.
 1.3.4.5 21-Jan-2008  yamt sync with head
 1.3.4.4 03-Sep-2007  yamt sync with head.
 1.3.4.3 30-Dec-2006  yamt sync with head.
 1.3.4.2 21-Jun-2006  yamt sync with head.
 1.3.4.1 05-Jun-2006  yamt file machdep.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.4.6.1 22-Oct-2006  yamt sync with head
 1.4.4.2 09-Sep-2006  rpaulo sync with head
 1.4.4.1 28-Aug-2006  rpaulo file machdep.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:56 +0000
 1.4.2.1 18-Nov-2006  ad Sync with head.
 1.5.4.3 19-Apr-2007  ad Compile fixes.
 1.5.4.2 18-Apr-2007  ad - Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.
 1.5.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.7.10.1 22-May-2007  matt Update to HEAD.
 1.7.4.1 11-Jul-2007  mjf Sync with head.
 1.7.2.1 27-May-2007  ad Sync with head.
 1.8.10.2 23-Mar-2008  matt sync with HEAD
 1.8.10.1 06-Nov-2007  matt sync with HEAD
 1.9.8.1 10-Jan-2008  bouyer Sync with HEAD
 1.9.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.10.6.4 17-Jan-2009  mjf Sync with HEAD.
 1.10.6.3 02-Jul-2008  mjf Sync with HEAD.
 1.10.6.2 02-Jun-2008  mjf Sync with HEAD.
 1.10.6.1 03-Apr-2008  mjf Sync with HEAD.
 1.10.2.1 24-Mar-2008  keiichi sync with head.
 1.11.6.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.11.6.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.11.4.3 11-Mar-2010  yamt sync with head
 1.11.4.2 19-Aug-2009  yamt sync with head.
 1.11.4.1 04-May-2009  yamt sync with head.
 1.11.2.1 04-Jun-2008  yamt sync with head
 1.12.2.1 03-Jul-2008  simonb Sync with head.
 1.13.10.8 14-Feb-2012  matt mem_cluster_cnt on mips is now a u_int.
 1.13.10.7 13-May-2011  matt Update for new mips_vector_init and savectx definitions.
 1.13.10.6 21-Mar-2010  cliff mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'
 1.13.10.5 01-Feb-2010  matt fix fallout from frame/trapframe merger.
 1.13.10.4 20-Jan-2010  matt Adjust things to the new world order.
 1.13.10.3 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.13.10.2 31-Dec-2009  matt Use mips_page_physload and mips_init_lwp0_uarea.
 1.13.10.1 07-Sep-2009  matt Update to deal with pcb_context being a label_t (this should be a common
routine).
 1.13.4.2 03-Mar-2009  skrll Sync with HEAD.
 1.13.4.1 19-Jan-2009  skrll Sync with HEAD.
 1.13.2.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.16.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.21.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.22.2.1 05-Mar-2011  rmind sync with head
 1.23.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.23.4.1 17-Feb-2011  bouyer Sync with HEAD
 1.23.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.27.6.3 06-Mar-2012  mrg sync to -current
 1.27.6.2 06-Mar-2012  mrg sync to -current
 1.27.6.1 04-Mar-2012  mrg sync to latest -current.
 1.27.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.27.2.1 17-Apr-2012  yamt sync with head
 1.28.4.1 18-May-2014  rmind sync with head
 1.28.2.2 03-Dec-2017  jdolecek update from HEAD
 1.28.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.29.6.2 05-Feb-2017  skrll Sync with HEAD
 1.29.6.1 22-Sep-2015  skrll Sync with HEAD
 1.30.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.7 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.6 24-Apr-2021  thorpej branches: 1.6.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.5 20-Feb-2011  matt branches: 1.5.70;
Merge forward from matt-nb5-mips64.
 1.4 08-Jun-2006  gdamore branches: 1.4.4; 1.4.10; 1.4.86; 1.4.90; 1.4.96; 1.4.98;
KNR->KNF. :-)
 1.3 08-Jun-2006  gdamore Add support for AR5312 on-chip watchdog.
While we're here, fix mainbus so that mainbus doesn't complain about
unconfigured devices, and use the *atheros* mainbus instead of alchemy (doh!)
 1.2 07-Apr-2006  gdamore branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Remove rtc, as we don't have one.
 1.1 21-Mar-2006  gdamore branches: 1.1.2;
Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.1.2.3 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.1.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.1.2.1 21-Mar-2006  tron file mainbus.c was added on branch peter-altq on 2006-03-28 09:47:15 +0000
 1.2.8.1 19-Jun-2006  chap Sync with head.
 1.2.6.2 22-Apr-2006  simonb Sync with head.
 1.2.6.1 07-Apr-2006  simonb file mainbus.c was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.2.4.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.4.1 07-Apr-2006  elad file mainbus.c was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.2.2.4 15-Sep-2006  yamt fix merge botches.
 1.2.2.3 26-Jun-2006  yamt sync with head.
 1.2.2.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.2.2.1 07-Apr-2006  yamt file mainbus.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.4.98.1 05-Mar-2011  bouyer Sync with HEAD
 1.4.96.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.90.1 05-Mar-2011  rmind sync with head
 1.4.86.1 14-Jan-2010  matt device_t, CFATTACH_DECL_NEW, ansify, ...
 1.4.10.2 09-Sep-2006  rpaulo sync with head
 1.4.10.1 08-Jun-2006  rpaulo file mainbus.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:56 +0000
 1.4.4.2 21-Jun-2006  yamt sync with head.
 1.4.4.1 08-Jun-2006  yamt file mainbus.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.5.70.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.6.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 28-Mar-2006  gdamore Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.1 21-Mar-2006  gdamore Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.7 10-Jul-2011  matt CLeanup machine includes
 1.6 07-Jul-2011  matt Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.5 11-Feb-2008  dyoung Use device_t and accessors. Use aprint_*().
 1.4 04-Sep-2006  gdamore branches: 1.4.4; 1.4.34; 1.4.40;
This is a boat-load of changes designed to finish parameterizing the
stuff necessary to separate out AR5312 from AR5315. This includes:

1) rework of arbus IRQs, so that IRQs are now seperately specified
as either MISC or CPU irqs
2) move board/chip-specific addresses into chip-dependent file
3) unencumber argpio from ar5312 specifics, using properties to pass
details such as reset-pin and sysled-pin.
4) an option to select which WiSoC is to be configured is provided.

AR5315 support should be forthcoming shortly now.
 1.3 29-Aug-2006  gdamore Trivial white-space and comment fixup.
 1.2 28-Aug-2006  gdamore First pass at cleanup AR5312 WiSoC support to enable better & cleaner
sharing of code with the AR5315, which has many similarities, but many
differences from the AR5312.

No functional change at this time, other than the cpu_model string
(and also sysctl.hw.model node) is changed to reflect the WiSoC cpu
name rather than the identification string in ROM (which tends to not
be very informative.)
 1.1 08-Jun-2006  gdamore branches: 1.1.4; 1.1.6; 1.1.8;
Add support for AR5312 on-chip watchdog.
While we're here, fix mainbus so that mainbus doesn't complain about
unconfigured devices, and use the *atheros* mainbus instead of alchemy (doh!)
 1.1.8.4 14-Sep-2006  yamt sync with head.
 1.1.8.3 03-Sep-2006  yamt sync with head.
 1.1.8.2 26-Jun-2006  yamt sync with head.
 1.1.8.1 08-Jun-2006  yamt file wdog.c was added on branch yamt-pdpolicy on 2006-06-26 12:44:23 +0000
 1.1.6.4 27-Feb-2008  yamt sync with head.
 1.1.6.3 30-Dec-2006  yamt sync with head.
 1.1.6.2 21-Jun-2006  yamt sync with head.
 1.1.6.1 08-Jun-2006  yamt file wdog.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.1.4.2 19-Jun-2006  chap Sync with head.
 1.1.4.1 08-Jun-2006  chap file wdog.c was added on branch chap-midi on 2006-06-19 03:44:02 +0000
 1.4.40.1 18-Feb-2008  mjf Sync with HEAD.
 1.4.34.1 23-Mar-2008  matt sync with HEAD
 1.4.4.2 09-Sep-2006  rpaulo sync with head
 1.4.4.1 04-Sep-2006  rpaulo file wdog.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:38:56 +0000
 1.11 03-Oct-2025  thorpej Use device_setprop_data() to set the "mac-address" property.
 1.10 12-Feb-2022  riastradh sys: Fix various abuse of struct device internals.

Will help to make struct device opaque later.
 1.9 17-Aug-2020  simonb Handle using "octeth" as root device by converting "octethN" to "cnmacN"
for any N < 100. This allows booting for u-boot to use root=$(ethact)
on the command line and the kernel can use the ethernet interface the
kernel was loaded on as the NFS root device.
 1.8 23-Jun-2020  simonb Support EdgeRouter 4.
Only set RGMII timing params on boards with RGMII.
 1.7 20-Jun-2020  simonb Add some rudimentary boot args parsing. Can handle "root=" as well
normal -1adsqvxz flags. "root=" is limited to cnmacN devices so far;
should be extended to allow arbitary SD devices (and other devices?).
 1.6 10-Jun-2020  simonb Update for proplib(3) API changes.
 1.5 31-May-2020  simonb Clean up Cavium Octeon device names. Rename devices from "octeon_foo"
to "octfoo" - this follows the naming conventions used by many other
MIPS CPUs.
 1.4 01-Apr-2019  msaitoh s/adddress/address/
 1.3 06-Jun-2015  matt branches: 1.3.16; 1.3.20;
Add an assert to verify interrupts are enabled.
 1.2 19-May-2015  matt branches: 1.2.2;
no wd devices on erlite, use sd instead for the USB mass storage.
 1.1 29-Apr-2015  hikaru Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
 1.2.2.3 22-Sep-2015  skrll Sync with HEAD
 1.2.2.2 06-Jun-2015  skrll Sync with HEAD
 1.2.2.1 19-May-2015  skrll file autoconf.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.3.20.1 10-Jun-2019  christos Sync with HEAD
 1.3.16.2 03-Dec-2017  jdolecek update from HEAD
 1.3.16.1 06-Jun-2015  jdolecek file autoconf.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000
 1.4 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.3 26-Aug-2016  skrll branches: 1.3.14;
Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.2 01-Jun-2015  matt branches: 1.2.2;
Rework cavium support in preparation for MULTIPROCESSOR support
 1.1 29-Apr-2015  hikaru Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
 1.2.2.3 05-Oct-2016  skrll Sync with HEAD
 1.2.2.2 06-Jun-2015  skrll Sync with HEAD
 1.2.2.1 01-Jun-2015  skrll file mach_intr.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.3.14.2 03-Dec-2017  jdolecek update from HEAD
 1.3.14.1 26-Aug-2016  jdolecek file mach_intr.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000
 1.25 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.24 05-May-2021  simonb The watchdog setup code isn't used (yet), so don't compile in the
octeon_nmi_stack that it uses either.
 1.23 17-Aug-2020  simonb branches: 1.23.6;
Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
 1.22 28-Jul-2020  simonb Change cpus_booted back to a simple variable instead of a kcpuset.
octeon_cpu_spinup() was trying to set CPU status immediately on kernel
startup _well_ before the kcpuset was initialised.
 1.21 22-Jul-2020  simonb Add option to use the early bitbang console. Enable this for now
while debugging MP.
Print out the core mask value passed in by Uboot.
 1.20 19-Jul-2020  simonb Reserve space for all CPU cores (incorrect logic).
Reserve a full page for each core, not incorrect 4096 (from skrll@).
 1.19 19-Jul-2020  simonb Call fdtbus_intr_init() during startup.
 1.18 16-Jul-2020  jmcneill FDT support for Cavium OCTEON MIPS SoCs. WIP.
 1.17 13-Jul-2020  simonb Copy "mach reset" logic from arm32 recently added by jmcneill@. The
previous MIPS "mach reset" DDB command was hard-coded for Octeon Cavium
CPUs only.
 1.16 20-Jun-2020  simonb Add some rudimentary boot args parsing. Can handle "root=" as well
normal -1adsqvxz flags. "root=" is limited to cnmacN devices so far;
should be extended to allow arbitary SD devices (and other devices?).
 1.15 19-Jun-2020  simonb Don't include now non-existant "opt_cavium.h".
 1.14 15-Jun-2020  simonb Finish CPU core support for Octeon Cavium CN70XX:
- decode actual CPU name
- per CPU core reset logic (partially adapted from OpenBSD)
- handle Octeon 3 ioclock rate differences to other cores (from OpenBSD)
 1.13 05-Jun-2020  simonb Now that we don't zero out the second link in the U-boot bootmem
descripter, use that to configure free memory.
 1.12 04-Jun-2020  simonb Only clear BSS up to "end" symbol, not all the way to mips_round_page(end).
U-Boot puts some data immediately after the BSS section cleared in the ELF
segments, and we don't want to overwrite that.

XXX: Stop using mips_round_page(end) on all MIPS?
 1.11 31-May-2020  simonb Finish rename of all Cavium Octeon device driver functions, structs etc from
"octeon_foo" to "octfoo" (missed octeon_uart + entries in iobus config).
 1.10 28-Dec-2016  mrg branches: 1.10.14;
add an OCTEON_MEMSIZE option to override the uboot provided memory
size. limiting this to 256 avoids an annoying uvm freelist problem on
the 512mb erlite, partly described here:

http://mail-index.netbsd.org/tech-kern/2016/12/20/msg021358.html
 1.9 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.8 20-Oct-2016  martin Rin Okuyama in PR port-evbmips/51563: wait for console input after halting
the machine.
 1.7 26-Aug-2016  skrll Trailing whitespace
 1.6 11-Jul-2016  matt branches: 1.6.2;
Use pmap_kenter flags to create cached/uncached entries.
#include <mips/locore.h> when appropriate
 1.5 10-Jun-2015  matt Transition from __cpuset_t to kcpuset_t *. This brings the local pmap one
step closer to uvm/pmap, its eventual replacement. Tested on ERLITE MP kernel.
 1.4 04-Jun-2015  matt branches: 1.4.2;
If booting a MULTIPROCESSOR kernel, use the llsc atomic primitives
 1.3 01-Jun-2015  matt Rework cavium support in preparation for MULTIPROCESSOR support
 1.2 18-May-2015  matt Set cpu model.
 1.1 29-Apr-2015  hikaru Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
 1.4.2.6 05-Feb-2017  skrll Sync with HEAD
 1.4.2.5 05-Dec-2016  skrll Sync with HEAD
 1.4.2.4 05-Oct-2016  skrll Sync with HEAD
 1.4.2.3 22-Sep-2015  skrll Sync with HEAD
 1.4.2.2 06-Jun-2015  skrll Sync with HEAD
 1.4.2.1 04-Jun-2015  skrll file machdep.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.6.2.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.6.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.10.14.2 03-Dec-2017  jdolecek update from HEAD
 1.10.14.1 28-Dec-2016  jdolecek file machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000
 1.23.6.1 13-May-2021  thorpej Sync with HEAD.
 1.2 04-Jun-2015  matt branches: 1.2.2; 1.2.18;
minor constification
 1.1 29-Apr-2015  hikaru Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
 1.2.18.2 03-Dec-2017  jdolecek update from HEAD
 1.2.18.1 04-Jun-2015  jdolecek file octeon_bootbus_machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000
 1.2.2.2 06-Jun-2015  skrll Sync with HEAD
 1.2.2.1 04-Jun-2015  skrll file octeon_bootbus_machdep.c was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.3 20-Jun-2020  simonb Add the structure of the CVMX boot descriptor.
Extend the U-boot bootinfo descriptor with latest members, add a few comments.
Add a few extra board type IDs.
 1.2 05-Jun-2020  simonb Now that we don't zero out the second link in the U-boot bootmem
descripter, use that to configure free memory.
 1.1 29-Apr-2015  hikaru branches: 1.1.2; 1.1.18;
Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 29-Apr-2015  jdolecek file octeon_uboot.h was added on branch tls-maxphys on 2017-12-03 11:36:08 +0000
 1.1.2.2 06-Jun-2015  skrll Sync with HEAD
 1.1.2.1 29-Apr-2015  skrll file octeon_uboot.h was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.2 06-Jan-2003  lukem Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Jan-2003  thorpej Sync with HEAD.
 1.1.12.1 07-Mar-2002  thorpej file .keep_me was added on branch nathanw_sa on 2003-01-07 21:06:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file .keep_me was added on branch kqueue on 2002-06-23 17:35:47 +0000
 1.1 06-Jan-2003  lukem branches: 1.1.2;
Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
 1.1.2.2 07-Jan-2003  thorpej Sync with HEAD.
 1.1.2.1 06-Jan-2003  thorpej file Makefile was added on branch nathanw_sa on 2003-01-07 21:06:00 +0000
 1.34 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.33 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.32 08-Feb-2021  simonb Comment out HZ=512. This was only intended to be enabled for profiling.
 1.31 08-Feb-2021  simonb Correct the comment at the top of these config files identifying what
they run on.
 1.30 19-May-2020  rin branches: 1.30.2;
Fix outdated or misleading comments for MEMORY_DISK_ROOT_SIZE.
No functional changes.
 1.29 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.28 26-Apr-2019  sevan branches: 1.28.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.27 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.26 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.25 14-Sep-2017  mrg branches: 1.25.2; 1.25.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.24 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.23 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.22 19-Feb-2017  rin branches: 1.22.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.21 07-Aug-2015  maxv branches: 1.21.2; 1.21.4;
Remove the KMEMSTATS option. It no longer exists.
 1.20 23-Aug-2014  dholland branches: 1.20.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.19 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.18 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.17 30-Jun-2013  rmind branches: 1.17.4;
G/C PFIL_HOOKS from the kernel configs.
 1.16 05-Jun-2013  christos branches: 1.16.2;
remove obsolete networking options
 1.15 27-Apr-2013  christos more bogus number removal
 1.14 27-Apr-2013  christos the bogus number police
 1.13 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.12 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.11 09-Feb-2012  matt branches: 1.11.6;
Bump SYMTAB_SPACE
Disable NOFPU on MALTA
 1.10 22-Nov-2011  tls branches: 1.10.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.9 30-Jun-2011  wiz branches: 1.9.2;
dependant -> dependent
 1.8 27-May-2011  ryo eliminate obsolete option SOSEND_LOAN
 1.7 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.6 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.5 05-Dec-2009  pooka branches: 1.5.4; 1.5.6; 1.5.8;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.4 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.3 30-May-2008  tsutsui branches: 1.3.4; 1.3.6; 1.3.12;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.2 03-Apr-2007  dyoung branches: 1.2.2; 1.2.8; 1.2.20; 1.2.40; 1.2.42; 1.2.44; 1.2.46;
Add extio and gpio at mainbus so that this builds.
 1.1 20-Mar-2007  dyoung branches: 1.1.2;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.2.3 15-Apr-2007  yamt sync with head.
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file ADM5120 was added on branch yamt-idlelwp on 2007-03-24 14:54:38 +0000
 1.2.46.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.2.44.2 11-Mar-2010  yamt sync with head
 1.2.44.1 04-May-2009  yamt sync with head.
 1.2.42.1 04-Jun-2008  yamt sync with head
 1.2.40.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.20.2 03-Sep-2007  yamt sync with head.
 1.2.20.1 03-Apr-2007  yamt file ADM5120 was added on branch yamt-lazymbuf on 2007-09-03 14:24:12 +0000
 1.2.8.2 11-Jul-2007  mjf Sync with head.
 1.2.8.1 03-Apr-2007  mjf file ADM5120 was added on branch mjf-ufs-trans on 2007-07-11 19:58:45 +0000
 1.2.2.2 10-Apr-2007  ad Sync with head.
 1.2.2.1 03-Apr-2007  ad file ADM5120 was added on branch vmlocking on 2007-04-10 13:39:26 +0000
 1.3.12.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.3.6.1 19-Jan-2009  skrll Sync with HEAD.
 1.3.4.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.5.8.2 05-Mar-2011  bouyer Sync with HEAD
 1.5.8.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.5.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.5.4.3 31-May-2011  rmind sync with head
 1.5.4.2 21-Apr-2011  rmind sync with head
 1.5.4.1 05-Mar-2011  rmind sync with head
 1.9.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.2.1 17-Apr-2012  yamt sync with head
 1.10.2.1 18-Feb-2012  mrg merge to -current.
 1.11.6.3 03-Dec-2017  jdolecek update from HEAD
 1.11.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.6.1 23-Jun-2013  tls resync from head
 1.16.2.1 28-Aug-2013  rmind sync with head
 1.17.4.1 10-Aug-2014  tls Rebase.
 1.20.2.2 28-Aug-2017  skrll Sync with HEAD
 1.20.2.1 22-Sep-2015  skrll Sync with HEAD
 1.21.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.21.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.22.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.25.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.25.4.1 10-Jun-2019  christos Sync with HEAD
 1.25.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.25.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.28.4.1 25-Jan-2020  ad Sync with head.
 1.30.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.34 26-Mar-2024  andvar Revert accidental change for root file system in previous commit.
 1.33 26-Mar-2024  andvar Remove netgraph options which are not supported and have no effect in NetBSD.

While here, reposition extio to reduce diff between ADM5120 and ADM5120-NB.
 1.32 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.31 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.30 08-Feb-2021  simonb Comment out HZ=512. This was only intended to be enabled for profiling.
 1.29 08-Feb-2021  simonb Correct the comment at the top of these config files identifying what
they run on.
 1.28 19-May-2020  rin branches: 1.28.2;
Fix outdated or misleading comments for MEMORY_DISK_ROOT_SIZE.
No functional changes.
 1.27 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.26 26-Apr-2019  sevan branches: 1.26.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.25 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.24 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.23 14-Sep-2017  mrg branches: 1.23.2; 1.23.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.22 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.21 19-Feb-2017  rin branches: 1.21.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.20 07-Aug-2015  maxv branches: 1.20.2; 1.20.4;
Remove the KMEMSTATS option. It no longer exists.
 1.19 23-Aug-2014  dholland branches: 1.19.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.18 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.17 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.16 30-Jun-2013  rmind branches: 1.16.4;
G/C PFIL_HOOKS from the kernel configs.
 1.15 05-Jun-2013  christos branches: 1.15.2;
remove obsolete networking options
 1.14 27-Apr-2013  christos more bogus number removal
 1.13 27-Apr-2013  christos the bogus number police
 1.12 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.11 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.10 22-Nov-2011  tls branches: 1.10.8;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.9 30-Jun-2011  wiz branches: 1.9.2;
dependant -> dependent
 1.8 27-May-2011  ryo eliminate obsolete option SOSEND_LOAN
 1.7 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.6 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.5 05-Dec-2009  pooka branches: 1.5.4; 1.5.6; 1.5.8;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.4 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.3 30-May-2008  tsutsui branches: 1.3.4; 1.3.6; 1.3.12;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.2 03-Apr-2007  dyoung branches: 1.2.2; 1.2.8; 1.2.20; 1.2.40; 1.2.42; 1.2.44; 1.2.46;
Add extio, gpio. Remove admflash. Makes the compile again.
 1.1 20-Mar-2007  dyoung branches: 1.1.2;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.2.3 15-Apr-2007  yamt sync with head.
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file ADM5120-NB was added on branch yamt-idlelwp on 2007-03-24 14:54:39 +0000
 1.2.46.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.2.44.2 11-Mar-2010  yamt sync with head
 1.2.44.1 04-May-2009  yamt sync with head.
 1.2.42.1 04-Jun-2008  yamt sync with head
 1.2.40.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.20.2 03-Sep-2007  yamt sync with head.
 1.2.20.1 03-Apr-2007  yamt file ADM5120-NB was added on branch yamt-lazymbuf on 2007-09-03 14:24:12 +0000
 1.2.8.2 11-Jul-2007  mjf Sync with head.
 1.2.8.1 03-Apr-2007  mjf file ADM5120-NB was added on branch mjf-ufs-trans on 2007-07-11 19:58:45 +0000
 1.2.2.2 10-Apr-2007  ad Sync with head.
 1.2.2.1 03-Apr-2007  ad file ADM5120-NB was added on branch vmlocking on 2007-04-10 13:39:26 +0000
 1.3.12.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.3.6.1 19-Jan-2009  skrll Sync with HEAD.
 1.3.4.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.5.8.2 05-Mar-2011  bouyer Sync with HEAD
 1.5.8.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.5.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.5.4.3 31-May-2011  rmind sync with head
 1.5.4.2 21-Apr-2011  rmind sync with head
 1.5.4.1 05-Mar-2011  rmind sync with head
 1.9.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.2.1 17-Apr-2012  yamt sync with head
 1.10.8.3 03-Dec-2017  jdolecek update from HEAD
 1.10.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.8.1 23-Jun-2013  tls resync from head
 1.15.2.1 28-Aug-2013  rmind sync with head
 1.16.4.1 10-Aug-2014  tls Rebase.
 1.19.2.2 28-Aug-2017  skrll Sync with HEAD
 1.19.2.1 22-Sep-2015  skrll Sync with HEAD
 1.20.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.20.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.21.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.23.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.23.4.1 10-Jun-2019  christos Sync with HEAD
 1.23.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.23.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.26.4.1 25-Jan-2020  ad Sync with head.
 1.28.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.34 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.33 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.32 08-Feb-2021  simonb Comment out HZ=512. This was only intended to be enabled for profiling.
 1.31 08-Feb-2021  simonb Correct the comment at the top of these config files identifying what
they run on.
 1.30 19-May-2020  rin branches: 1.30.2;
Fix outdated or misleading comments for MEMORY_DISK_ROOT_SIZE.
No functional changes.
 1.29 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.28 26-Apr-2019  sevan branches: 1.28.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.27 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.26 23-Oct-2018  jdolecek remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
 1.25 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.24 21-Jul-2018  maya Remove comment mentioning an i386 problem from non-x86 kernel configs.
(they all say BROKEN in the next comment too)
 1.23 14-Sep-2017  mrg branches: 1.23.2; 1.23.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.22 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.21 19-Feb-2017  rin branches: 1.21.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.20 07-Aug-2015  maxv branches: 1.20.2; 1.20.4;
Remove the KMEMSTATS option. It no longer exists.
 1.19 23-Aug-2014  dholland branches: 1.19.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.18 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.17 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.16 30-Jun-2013  rmind branches: 1.16.4;
G/C PFIL_HOOKS from the kernel configs.
 1.15 05-Jun-2013  christos branches: 1.15.2;
remove obsolete networking options
 1.14 27-Apr-2013  christos more bogus number removal
 1.13 27-Apr-2013  christos the bogus number police
 1.12 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.11 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.10 22-Nov-2011  tls branches: 1.10.8;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.9 30-Jun-2011  wiz branches: 1.9.2;
dependant -> dependent
 1.8 27-May-2011  ryo eliminate obsolete option SOSEND_LOAN
 1.7 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.6 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.5 23-Nov-2010  hannken branches: 1.5.2; 1.5.4;
Remove unused count from pseudo-device md.
 1.4 05-Dec-2009  pooka branches: 1.4.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.3 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.2 03-Apr-2007  dyoung branches: 1.2.2; 1.2.8; 1.2.20; 1.2.40; 1.2.44; 1.2.50; 1.2.52; 1.2.58;
Add extio and gpio so that this compiles again.
 1.1 20-Mar-2007  dyoung branches: 1.1.2;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.2.3 15-Apr-2007  yamt sync with head.
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file ADM5120-USB was added on branch yamt-idlelwp on 2007-03-24 14:54:39 +0000
 1.2.58.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.2.52.1 19-Jan-2009  skrll Sync with HEAD.
 1.2.50.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.44.2 11-Mar-2010  yamt sync with head
 1.2.44.1 04-May-2009  yamt sync with head.
 1.2.40.1 17-Jan-2009  mjf Sync with HEAD.
 1.2.20.2 03-Sep-2007  yamt sync with head.
 1.2.20.1 03-Apr-2007  yamt file ADM5120-USB was added on branch yamt-lazymbuf on 2007-09-03 14:24:12 +0000
 1.2.8.2 11-Jul-2007  mjf Sync with head.
 1.2.8.1 03-Apr-2007  mjf file ADM5120-USB was added on branch mjf-ufs-trans on 2007-07-11 19:58:46 +0000
 1.2.2.2 10-Apr-2007  ad Sync with head.
 1.2.2.1 03-Apr-2007  ad file ADM5120-USB was added on branch vmlocking on 2007-04-10 13:39:26 +0000
 1.4.4.3 31-May-2011  rmind sync with head
 1.4.4.2 21-Apr-2011  rmind sync with head
 1.4.4.1 05-Mar-2011  rmind sync with head
 1.5.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.5.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.5.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.9.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.2.1 17-Apr-2012  yamt sync with head
 1.10.8.3 03-Dec-2017  jdolecek update from HEAD
 1.10.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.8.1 23-Jun-2013  tls resync from head
 1.15.2.1 28-Aug-2013  rmind sync with head
 1.16.4.1 10-Aug-2014  tls Rebase.
 1.19.2.2 28-Aug-2017  skrll Sync with HEAD
 1.19.2.1 22-Sep-2015  skrll Sync with HEAD
 1.20.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.20.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.21.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.23.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.23.4.1 10-Jun-2019  christos Sync with HEAD
 1.23.2.4 18-Jan-2019  pgoyette Synch with HEAD
 1.23.2.3 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.23.2.2 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.23.2.1 28-Jul-2018  pgoyette Sync with HEAD
 1.28.4.1 25-Jan-2020  ad Sync with head.
 1.30.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.73 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.72 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.71 08-Feb-2021  simonb Comment out HZ=512. This was only intended to be enabled for profiling.
 1.70 27-Sep-2020  roy branches: 1.70.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.69 04-May-2020  simonb Enable PTYFS.
 1.68 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.67 26-Apr-2019  sevan branches: 1.67.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.66 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.65 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.64 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.63 14-Sep-2017  mrg branches: 1.63.2; 1.63.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.62 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.61 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.60 13-Dec-2016  christos branches: 1.60.8;
wildcard speaker attachments, now that we can handle many of them.
 1.59 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.58 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.57 07-Aug-2015  maxv branches: 1.57.2;
Remove KMEMSTATS.
 1.56 23-Aug-2014  dholland branches: 1.56.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.55 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.54 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.53 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.52 30-Jun-2013  rmind branches: 1.52.4;
G/C PFIL_HOOKS from the kernel configs.
 1.51 05-Jun-2013  christos branches: 1.51.2;
remove obsolete networking options
 1.50 27-Apr-2013  christos more bogus number removal
 1.49 27-Apr-2013  christos the bogus number police
 1.48 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.47 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.46 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.45 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.44 21-Aug-2012  riz branches: 1.44.2;
Bump SYMTAB_SPACE.
 1.43 30-Jul-2012  pgoyette Revert previous - ipf has been fixed to build without INET6
 1.42 30-Jul-2012  kiyohara Enable INET6. Avoid build failed when enable ipf and disable INET6.
 1.41 04-Feb-2012  christos branches: 1.41.2;
bump SYMTAB_SPACE
 1.40 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.39 15-Dec-2011  oki increase SYMTAB_SPACE.
 1.38 22-Nov-2011  tls branches: 1.38.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.37 17-Jul-2011  dyoung branches: 1.37.2;
Increase SYMTAB_SPACE.
 1.36 01-Jul-2011  dyoung Increase SYMTAB_SPACE.
 1.35 30-Jun-2011  wiz dependant -> dependent
 1.34 27-May-2011  ryo eliminate obsolete option SOSEND_LOAN
 1.33 07-Mar-2011  jakllsch Bump SYMTAB_SPACE.
 1.32 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.31 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.30 23-Nov-2010  hannken branches: 1.30.2; 1.30.4;
Remove unused count from pseudo-device md.
 1.29 08-May-2010  mrg enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.
 1.28 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.27 07-Mar-2010  plunky branches: 1.27.2;
add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels
 1.26 14-Dec-2009  matt branches: 1.26.2;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.25 05-Dec-2009  pooka Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.24 31-May-2009  martin For consistency add COMPAT_50
 1.23 06-Mar-2009  joerg Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.22 24-Nov-2008  ad branches: 1.22.4;
Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.21 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.20 31-Jul-2008  simonb branches: 1.20.2; 1.20.8;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.19 30-May-2008  tsutsui branches: 1.19.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.18 17-Oct-2007  garbled branches: 1.18.16; 1.18.18; 1.18.20; 1.18.22;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.17 11-Aug-2007  martin branches: 1.17.2;
Bump SYMTAB_SPACE significantly, so that the MTX-1 kernel builds with
symbols again.
 1.16 14-Mar-2007  drochner branches: 1.16.6; 1.16.10; 1.16.14;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.15 27-Sep-2006  manu branches: 1.15.4; 1.15.8; 1.15.10;
- Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
 1.14 26-Aug-2006  christos branches: 1.14.2; 1.14.4; 1.14.6;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.13 14-Aug-2006  skrll s/adpater/adapter/

Prompted by PR/34195
 1.12 13-Jul-2006  gdamore Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@. Fixes PR port-evbmips/32362.
 1.11 23-May-2006  gdamore branches: 1.11.2; 1.11.4;
Increase size of embedded symbol table.
 1.10 30-Apr-2006  simonb branches: 1.10.2;
Catch up and standardise pseudo-device lists - mostly add tap, bridge,
clockctl and ksyms.
 1.9 25-Feb-2006  simonb branches: 1.9.2; 1.9.4; 1.9.6; 1.9.8;
Sort PHYs alphabetically, add nsphyter.
Use "options<space><tab>".
 1.8 23-Feb-2006  gdamore Remove evbmips-specific aupcmcia... to be reimported shortly into
mips/alchemy.
 1.7 13-Feb-2006  gdamore branches: 1.7.2;
Add rgephy for RealTek GigE
 1.6 13-Feb-2006  gdamore GPIO support for all supported Alchemy parts.
 1.5 09-Feb-2006  gdamore Add Au1550 PCI support (Au1500 not yet, coming shortly).
Closes PR port-evbmips/32087.
Reviewed by simonb@ (Also, earlier, matt@, and tsutsui@.)
 1.4 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.3 06-Feb-2006  simonb Use "options<space><tab>".
 1.2 06-Feb-2006  gdamore Fix up incorrect ICU reporting, add processor specific switch tables for
IRQ routing and such.

Closes PR port-evbmips/31992.
Reviewed by simonb@, matt@, and izumi@
 1.1 06-Feb-2006  gdamore Renamed PB1000 to ALCHEMY (config supports all generic ALCHEMY dev boards).
Reviewed by simonb@
 1.7.2.3 01-Mar-2006  yamt sync with head.
 1.7.2.2 18-Feb-2006  yamt sync with head.
 1.7.2.1 13-Feb-2006  yamt file ALCHEMY was added on branch yamt-uio_vmspace on 2006-02-18 15:38:34 +0000
 1.9.8.3 01-Jun-2006  kardel Sync with head.
 1.9.8.2 22-Apr-2006  simonb Sync with head.
 1.9.8.1 25-Feb-2006  simonb file ALCHEMY was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.9.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.9.4.1 11-May-2006  elad sync with head
 1.9.2.3 03-Sep-2006  yamt sync with head.
 1.9.2.2 11-Aug-2006  yamt sync with head
 1.9.2.1 24-May-2006  yamt sync with head.
 1.10.2.1 19-Jun-2006  chap Sync with head.
 1.11.4.4 03-Sep-2007  yamt sync with head.
 1.11.4.3 30-Dec-2006  yamt sync with head.
 1.11.4.2 21-Jun-2006  yamt sync with head.
 1.11.4.1 23-May-2006  yamt file ALCHEMY was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.11.2.1 15-Jun-2006  gdamore Configure com instead of aucom.
 1.14.6.1 22-Oct-2006  yamt sync with head
 1.14.4.2 09-Sep-2006  rpaulo sync with head
 1.14.4.1 26-Aug-2006  rpaulo file ALCHEMY was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.14.2.1 18-Nov-2006  ad Sync with head.
 1.15.10.1 11-Jul-2007  mjf Sync with head.
 1.15.8.2 20-Aug-2007  ad Sync with HEAD.
 1.15.8.1 10-Apr-2007  ad Sync with head.
 1.15.4.1 24-Mar-2007  yamt sync with head.
 1.16.14.1 16-Aug-2007  jmcneill Sync with HEAD.
 1.16.10.1 15-Aug-2007  skrll Sync with HEAD.
 1.16.6.1 03-Oct-2007  garbled Sync with HEAD
 1.17.2.1 06-Nov-2007  matt sync with HEAD
 1.18.22.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.18.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.18.20.4 11-Aug-2010  yamt sync with head.
 1.18.20.3 11-Mar-2010  yamt sync with head
 1.18.20.2 20-Jun-2009  yamt sync with head
 1.18.20.1 04-May-2009  yamt sync with head.
 1.18.18.1 04-Jun-2008  yamt sync with head
 1.18.16.3 17-Jan-2009  mjf Sync with HEAD.
 1.18.16.2 28-Sep-2008  mjf Sync with HEAD.
 1.18.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.19.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.19.4.1 19-Oct-2008  haad Sync with HEAD.
 1.20.8.3 20-May-2011  matt bump SYMTAB_SPACE
 1.20.8.2 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.20.8.1 12-Sep-2009  matt Bump up SYMTAB_SPACE to 375000
 1.20.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.20.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.22.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.26.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.26.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.27.2.4 31-May-2011  rmind sync with head
 1.27.2.3 21-Apr-2011  rmind sync with head
 1.27.2.2 05-Mar-2011  rmind sync with head
 1.27.2.1 30-May-2010  rmind sync with head
 1.30.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.30.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.30.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.37.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.37.2.2 30-Oct-2012  yamt sync with head
 1.37.2.1 17-Apr-2012  yamt sync with head
 1.38.2.1 18-Feb-2012  mrg merge to -current.
 1.41.2.1 21-Aug-2012  riz Pull up following revision(s) (requested by riz in ticket #521):
sys/arch/evbmips/conf/ALCHEMY: revision 1.44
Bump SYMTAB_SPACE.
 1.44.2.4 03-Dec-2017  jdolecek update from HEAD
 1.44.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.44.2.2 23-Jun-2013  tls resync from head
 1.44.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.51.2.1 28-Aug-2013  rmind sync with head
 1.52.4.1 10-Aug-2014  tls Rebase.
 1.56.2.3 28-Aug-2017  skrll Sync with HEAD
 1.56.2.2 05-Feb-2017  skrll Sync with HEAD
 1.56.2.1 22-Sep-2015  skrll Sync with HEAD
 1.57.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.60.8.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.63.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.63.4.1 10-Jun-2019  christos Sync with HEAD
 1.63.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.63.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.67.4.1 25-Jan-2020  ad Sync with head.
 1.70.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.44 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.43 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.42 20-Aug-2021  andvar fix various typos in comments and log messages.
 1.41 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.40 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.39 26-Apr-2019  sevan branches: 1.39.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.38 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.37 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.36 14-Sep-2017  mrg branches: 1.36.2; 1.36.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.35 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.34 07-Aug-2015  maxv branches: 1.34.10;
Remove KMEMSTATS.
 1.33 23-Aug-2014  dholland branches: 1.33.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.32 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.31 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.30 30-Jun-2013  rmind branches: 1.30.4;
G/C PFIL_HOOKS from the kernel configs.
 1.29 05-Jun-2013  christos branches: 1.29.2;
remove obsolete networking options
 1.28 27-Apr-2013  christos the bogus number police
 1.27 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.26 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.25 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.24 09-Feb-2012  matt branches: 1.24.6;
Bump SYMTAB_SPACE
Disable NOFPU on MALTA
 1.23 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.22 22-Nov-2011  tls branches: 1.22.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.21 17-Jul-2011  dyoung branches: 1.21.2;
Increase SYMTAB_SPACE.
 1.20 30-Jun-2011  wiz dependant -> dependent
 1.19 17-May-2011  dyoung Increase SYMTAB_SPACE to fix compilation of these kernels.
 1.18 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.17 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.16 23-Nov-2010  hannken branches: 1.16.2; 1.16.4;
Remove unused count from pseudo-device md.
 1.15 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.14 05-Dec-2009  pooka branches: 1.14.2; 1.14.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.13 06-Mar-2009  joerg Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.12 24-Nov-2008  ad branches: 1.12.4;
Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.11 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.10 31-Jul-2008  simonb branches: 1.10.2; 1.10.8;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.9 30-May-2008  tsutsui branches: 1.9.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.8 02-Oct-2006  chs branches: 1.8.52; 1.8.54; 1.8.56; 1.8.58;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.7 27-Sep-2006  manu - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
 1.6 26-Sep-2006  gdamore Initial import of AR2315 support, specifically the Meraki Mini (see
the Meraki web site at http://www.meraki.net/ ) This includes changes
to the AR5312 to make it more conducive to sharing code with the AR5315,
and also includes improved early console support.

All devices including ethernet and wlan interfaces on the Meraki Mini are
functional with this port, _except_ SPI flash, which will be introduced
later.

This port was funded by the Champaign-Urbana Communit Wireless Network
Project (CUWiN).
 1.5 04-Sep-2006  gdamore branches: 1.5.2; 1.5.4; 1.5.6;
This is a boat-load of changes designed to finish parameterizing the
stuff necessary to separate out AR5312 from AR5315. This includes:

1) rework of arbus IRQs, so that IRQs are now seperately specified
as either MISC or CPU irqs
2) move board/chip-specific addresses into chip-dependent file
3) unencumber argpio from ar5312 specifics, using properties to pass
details such as reset-pin and sysled-pin.
4) an option to select which WiSoC is to be configured is provided.

AR5315 support should be forthcoming shortly now.
 1.4 26-Aug-2006  christos PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.3 07-Jul-2006  gdamore Add AR531X GPIO support. This also registers the reset button with sysmon,
so that when it is pressed the default reset button action (currently board
reset, no change to data in flash) is taken.

While here, remove the AR531X generic config, because it just doesn't make
sense.
 1.2 08-Jun-2006  gdamore branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Add support for AR5312 on-chip watchdog.
While we're here, fix mainbus so that mainbus doesn't complain about
unconfigured devices, and use the *atheros* mainbus instead of alchemy (doh!)
 1.1 06-Jun-2006  gdamore branches: 1.1.2;
Kernel config for the AP30, which includes the WLAN support for the AR5312.
I will probably delete the generic AR531X config later, because frankly its
pretty useless without the board-specific HALs.
 1.1.2.2 07-Jun-2006  kardel Sync with head.
 1.1.2.1 06-Jun-2006  kardel file AP30 was added on branch simonb-timecounters on 2006-06-07 15:49:37 +0000
 1.2.8.5 14-Sep-2006  yamt sync with head.
 1.2.8.4 03-Sep-2006  yamt sync with head.
 1.2.8.3 11-Aug-2006  yamt sync with head
 1.2.8.2 26-Jun-2006  yamt sync with head.
 1.2.8.1 08-Jun-2006  yamt file AP30 was added on branch yamt-pdpolicy on 2006-06-26 12:44:23 +0000
 1.2.6.3 30-Dec-2006  yamt sync with head.
 1.2.6.2 21-Jun-2006  yamt sync with head.
 1.2.6.1 08-Jun-2006  yamt file AP30 was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.2.4.2 19-Jun-2006  chap Sync with head.
 1.2.4.1 08-Jun-2006  chap file AP30 was added on branch chap-midi on 2006-06-19 03:44:02 +0000
 1.2.2.1 13-Jul-2006  gdamore Merge from HEAD.
 1.5.6.1 22-Oct-2006  yamt sync with head
 1.5.4.2 09-Sep-2006  rpaulo sync with head
 1.5.4.1 04-Sep-2006  rpaulo file AP30 was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.5.2.1 18-Nov-2006  ad Sync with head.
 1.8.58.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.8.58.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.56.3 11-Aug-2010  yamt sync with head.
 1.8.56.2 11-Mar-2010  yamt sync with head
 1.8.56.1 04-May-2009  yamt sync with head.
 1.8.54.1 04-Jun-2008  yamt sync with head
 1.8.52.3 17-Jan-2009  mjf Sync with HEAD.
 1.8.52.2 28-Sep-2008  mjf Sync with HEAD.
 1.8.52.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.9.4.1 19-Oct-2008  haad Sync with HEAD.
 1.10.8.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.10.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.10.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.12.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.14.4.4 31-May-2011  rmind sync with head
 1.14.4.3 21-Apr-2011  rmind sync with head
 1.14.4.2 05-Mar-2011  rmind sync with head
 1.14.4.1 30-May-2010  rmind sync with head
 1.14.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.16.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.16.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.16.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.21.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.21.2.1 17-Apr-2012  yamt sync with head
 1.22.2.1 18-Feb-2012  mrg merge to -current.
 1.24.6.3 03-Dec-2017  jdolecek update from HEAD
 1.24.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.6.1 23-Jun-2013  tls resync from head
 1.29.2.1 28-Aug-2013  rmind sync with head
 1.30.4.1 10-Aug-2014  tls Rebase.
 1.33.2.2 28-Aug-2017  skrll Sync with HEAD
 1.33.2.1 22-Sep-2015  skrll Sync with HEAD
 1.34.10.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.36.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.36.4.1 10-Jun-2019  christos Sync with HEAD
 1.36.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.36.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.39.4.1 25-Jan-2020  ad Sync with head.
 1.5 07-Jul-2006  gdamore Add AR531X GPIO support. This also registers the reset button with sysmon,
so that when it is pressed the default reset button action (currently board
reset, no change to data in flash) is taken.

While here, remove the AR531X generic config, because it just doesn't make
sense.
 1.4 25-May-2006  gdamore branches: 1.4.2; 1.4.4;
Rename flash to athflash to reflect MD nature. Approved by simon@ and dyoung@
 1.3 30-Apr-2006  simonb branches: 1.3.2;
Catch up and standardise pseudo-device lists - mostly add tap, bridge,
clockctl and ksyms.
 1.2 28-Mar-2006  gdamore branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.1 21-Mar-2006  gdamore Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.2.8.3 01-Jun-2006  kardel Sync with head.
 1.2.8.2 22-Apr-2006  simonb Sync with head.
 1.2.8.1 28-Mar-2006  simonb file AR531X was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.2.6.3 11-May-2006  elad sync with head
 1.2.6.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.6.1 28-Mar-2006  elad file AR531X was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.2.4.5 11-Aug-2006  yamt sync with head
 1.2.4.4 26-Jun-2006  yamt sync with head.
 1.2.4.3 24-May-2006  yamt sync with head.
 1.2.4.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.2.4.1 28-Mar-2006  yamt file AR531X was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.2.2.3 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.2.2.1 28-Mar-2006  tron file AR531X was added on branch peter-altq on 2006-03-28 09:47:15 +0000
 1.3.2.1 19-Jun-2006  chap Sync with head.
 1.4.4.3 30-Dec-2006  yamt sync with head.
 1.4.4.2 21-Jun-2006  yamt sync with head.
 1.4.4.1 25-May-2006  yamt file AR531X was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.4.2.1 13-Jul-2006  gdamore Merge from HEAD.
 1.34 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.33 09-Feb-2023  abs Adjust _all_ cinclude of *.local files

- Ensure always at end
- Use tab rather than spaces
- Add consistent comment
"Pull in optional local configuration - always at end"

The only functional change is that a local file which tried to
override an existing setting (eg with "no foo") would have failed
in some cases before, but now will work
 1.32 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.31 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.30 02-Apr-2020  nisimura add ukphy as the last resort. enable dmphy for dme
 1.29 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.28 26-Apr-2019  sevan branches: 1.28.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.27 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.26 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.25 14-Sep-2017  mrg branches: 1.25.2; 1.25.4; 1.25.6;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.24 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.23 25-Jul-2017  mrg don't set NEED_MDSETIMAGE when we don't enable the md_root. move the
option in with the commented md_root options.

part 2 of the CI20 kernel build fix. now evbmips builds completes
sanely for me.
 1.22 19-Feb-2017  rin branches: 1.22.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.21 29-Jan-2016  macallan branches: 1.21.2; 1.21.4;
first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
 1.20 03-Jan-2016  macallan comment out ukphy
 1.19 02-Jan-2016  macallan enable ehci, now that it works properly
 1.18 29-Oct-2015  mrg eliminate USBHIST as a define/option. it was entangled with USB_DEBUG
and only referenced a handful of times. rename any usage in configs.

fixes recent build problems i introduced with the previous files.usb
change.
 1.17 08-Oct-2015  macallan add efuse driver
 1.16 12-Aug-2015  maxv Remove KMEMSTATS.
 1.15 07-Aug-2015  macallan add jzrng
 1.14 11-Jul-2015  macallan - get rid of private bus space in ingenic_com.c
- move com to apbus
- attach the other UARTs
 1.13 06-Apr-2015  martin Allow local overrides in a CI20.local file
 1.12 04-Apr-2015  macallan add jziic and RTC drivers
 1.11 17-Mar-2015  macallan do as arm does and get rid of addresses in kernel config
 1.10 10-Mar-2015  macallan add dme at apbus ( onboard ethernet )
 1.9 08-Mar-2015  macallan add ohci and commented out ehci
 1.8 07-Mar-2015  macallan comment out debug spam, add more filesystems
 1.7 25-Dec-2014  macallan add some more USB devices
 1.6 23-Dec-2014  macallan more debug defflag-ing
 1.5 23-Dec-2014  macallan set debug options
uncomment USB ( not functional yet but some hardware setup is done )
 1.4 06-Dec-2014  macallan pull in intr.c, attach apbus
 1.3 25-Nov-2014  macallan branches: 1.3.2;
remove some cargoculted goop
 1.2 22-Nov-2014  martin Fix copy and pasto in #ident
 1.1 22-Nov-2014  macallan initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
 1.3.2.6 28-Aug-2017  skrll Sync with HEAD
 1.3.2.5 19-Mar-2016  skrll Sync with HEAD
 1.3.2.4 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.3.2.3 22-Sep-2015  skrll Sync with HEAD
 1.3.2.2 06-Jun-2015  skrll Sync with HEAD
 1.3.2.1 06-Apr-2015  skrll Sync with HEAD
 1.21.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.21.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.22.6.2 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.22.6.1 01-Aug-2017  snj Pull up following revision(s) (requested by mrg in ticket #174):
external/gpl3/binutils/usr.sbin/mdsetimage/bin_bfd.c: revision 1.2
sys/arch/evbmips/conf/CI20: revision 1.23
initialise some stack variables to zero so that later checking ensures
they are considered "unfound" instead of some random value.
part 1 in fixing the CI20 kernel build. this one actually will cause
the build to fail, but it's outputting broken objects right now anyway.
part 2 coming up in the CI20 configuration itself.
--
don't set NEED_MDSETIMAGE when we don't enable the md_root. move the
option in with the commented md_root options.
part 2 of the CI20 kernel build fix. now evbmips builds completes
sanely for me.
 1.25.6.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.25.6.1 10-Jun-2019  christos Sync with HEAD
 1.25.4.2 18-Jan-2019  pgoyette Synch with HEAD
 1.25.4.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.25.2.2 03-Dec-2017  jdolecek update from HEAD
 1.25.2.1 14-Sep-2017  jdolecek file CI20 was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.28.4.1 25-Jan-2020  ad Sync with head.
 1.37 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.36 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.35 26-Dec-2021  andvar fix various typos, mainly in comments.
 1.34 21-Jan-2021  nia add a commented out compat_ossaudio wherever there's compat_linux

requested by mrg
 1.33 27-Sep-2020  roy branches: 1.33.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.32 25-Mar-2020  jdolecek remove 'file-system SMBFS' and 'pseudo-device nsmb' from all kernel configs
to prepare for their eventual removal
 1.31 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.30 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.29 19-Dec-2018  maxv Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
 1.28 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.27 14-Sep-2017  mrg branches: 1.27.2; 1.27.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.26 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.25 01-Aug-2017  maya Wrong architecture for IBCS2 compat! it's stringly an x86 thing.
 1.24 01-Aug-2017  maxv Remove references to compat_freebsd when it is not supported.
 1.23 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.22 19-Feb-2017  rin branches: 1.22.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.21 07-Aug-2015  maxv branches: 1.21.2; 1.21.4;
Remove KMEMSTATS.
 1.20 23-Aug-2014  dholland branches: 1.20.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.19 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.18 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.17 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.16 30-Apr-2014  matt Localize the bsentry ubootimage kludge needed for the CPMBR1400
doesn't spread beyong the CPMBR1400.
 1.15 24-Mar-2014  szptvlfn branches: 1.15.2;
fix manual section numbering of sysctl.
thanks wiz@
 1.14 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.13 05-Jun-2013  christos branches: 1.13.2;
remove obsolete networking options
 1.12 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.11 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.10 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.9 25-May-2012  ryo branches: 1.9.2;
fix typo
 1.8 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.7 22-Nov-2011  tls branches: 1.7.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.6 03-Aug-2011  matt branches: 1.6.2;
No need to specify MEMSIZE since we read it from SYSCTL_CFG0.
 1.5 02-Aug-2011  cliff remove unused option RTNORFLASH
 1.4 02-Aug-2011  cliff configure NOR flash partitions
 1.3 02-Aug-2011  cliff configure CFI NOR flash
 1.2 28-Jul-2011  matt Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.1 01-Jul-2011  matt branches: 1.1.2;
file CPMBR1400 was initially added on branch matt-nb5-mips64.
 1.1.2.1 01-Jul-2011  matt Add basic support for the Ralink RT3883 SOC. No support for the wireless
interfaces is present but i2c, uart, ethernet, gpio, ehci, ohci are supported.
This support was contributed by Cradlepoint Technology.
 1.6.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.2.2 30-Oct-2012  yamt sync with head
 1.6.2.1 17-Apr-2012  yamt sync with head
 1.7.2.2 02-Jun-2012  mrg sync to latest -current.
 1.7.2.1 11-Mar-2012  mrg sync to latest -current
 1.9.2.4 03-Dec-2017  jdolecek update from HEAD
 1.9.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.2.2 23-Jun-2013  tls resync from head
 1.9.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.13.2.2 18-May-2014  rmind sync with head
 1.13.2.1 28-Aug-2013  rmind sync with head
 1.15.2.1 10-Aug-2014  tls Rebase.
 1.20.2.2 28-Aug-2017  skrll Sync with HEAD
 1.20.2.1 22-Sep-2015  skrll Sync with HEAD
 1.21.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.21.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.22.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.27.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.27.4.1 10-Jun-2019  christos Sync with HEAD
 1.27.2.3 18-Jan-2019  pgoyette Synch with HEAD
 1.27.2.2 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.27.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.33.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.27 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.26 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.25 20-Aug-2021  andvar fix various typos in comments and log messages.
 1.24 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.23 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.22 26-Apr-2019  sevan branches: 1.22.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.21 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.20 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.19 14-Sep-2017  mrg branches: 1.19.2; 1.19.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.18 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.17 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.16 07-Aug-2015  maxv branches: 1.16.10;
Remove KMEMSTATS.
 1.15 23-Aug-2014  dholland branches: 1.15.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.14 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.13 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.12 30-Jun-2013  rmind branches: 1.12.4;
G/C PFIL_HOOKS from the kernel configs.
 1.11 05-Jun-2013  christos branches: 1.11.2;
remove obsolete networking options
 1.10 27-Apr-2013  christos the bogus number police
 1.9 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.8 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.7 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.6 18-Dec-2011  dholland branches: 1.6.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.5 22-Nov-2011  tls branches: 1.5.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.4 10-Jul-2011  matt branches: 1.4.2;
Enable a few more devices (not all work).
 1.3 10-Jul-2011  matt Increase allowed COM_TOLERANCE to 5%
 1.2 09-Jul-2011  matt Add NEED_MDSETIMAGE, NEED_BINARY, NEED_UBOOTIMAGE
 1.1 07-Jul-2011  matt Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.4.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4.2.1 17-Apr-2012  yamt sync with head
 1.5.2.1 18-Feb-2012  mrg merge to -current.
 1.6.6.3 03-Dec-2017  jdolecek update from HEAD
 1.6.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.6.1 23-Jun-2013  tls resync from head
 1.11.2.1 28-Aug-2013  rmind sync with head
 1.12.4.1 10-Aug-2014  tls Rebase.
 1.15.2.2 28-Aug-2017  skrll Sync with HEAD
 1.15.2.1 22-Sep-2015  skrll Sync with HEAD
 1.16.10.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.19.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.19.4.1 10-Jun-2019  christos Sync with HEAD
 1.19.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.19.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.22.4.1 25-Jan-2020  ad Sync with head.
 1.4 25-Oct-2003  simonb This is now a duplicate of the PB1000 config file, remove it.
 1.3 25-Oct-2003  simonb Add COMPAT_16 where missing.
Remove the unused COMPAT_15.
Comment out/remove COMPAT_* from INSTALL kernels.
 1.2 10-Apr-2003  christos branches: 1.2.2;
Bye Bye UCONSOLE
 1.1 01-Apr-2003  hpeyerl Add wscons to files.pb1000 in case someone wants to plug a kbd/mouse
into the USB. Add config file for DB1500. We should really make a
files.db1500 but whatever.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8 04-Apr-2006  gdamore branches: 1.8.2; 1.8.8; 1.8.14;
Add support for using the MIPS Atheros HAL.
Atheros WLAN added to default evbmips DBAU1500, DBAU1550, and MTX-1 configs.
Note that AR5312 config will require unique HAL that we don't have yet.
 1.7 25-Feb-2006  simonb branches: 1.7.2; 1.7.4; 1.7.6;
Sort PCI devices alphabetically.
Add "sip" and "fxp" ethernet cards.
Split ethernet and IDE controller devices into separate sections.
Use "options<space><tab>".
 1.6 16-Feb-2006  gdamore branches: 1.6.2;
Reenable PCI on DBAU1500. May still be useful for PIO devices. Comments
in the config are left intact, though.
Add a PMAP-driven bus_space for access to upper memory, instead of using
wired entries.
Convert aupci to use said bus_space -- no measured performance impact.
 1.5 14-Feb-2006  gdamore Oops. Hadn't saved file, so missed request for feedback in comment for
last commit (PCI being commented out).
 1.4 14-Feb-2006  gdamore Comment out PCI for DBAU1500, as it seems incredibly busted. Explanatory
comments are included. Approved by simonb@
 1.3 09-Feb-2006  gdamore Added PCI support for DBAU1500 (verified).
 1.2 08-Feb-2006  gdamore Clean up DBAU1550 and DBAU1500 (include ALCHEMY) per suggestion from simonb@.
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.6.2.3 01-Mar-2006  yamt sync with head.
 1.6.2.2 18-Feb-2006  yamt sync with head.
 1.6.2.1 16-Feb-2006  yamt file DBAU1500 was added on branch yamt-uio_vmspace on 2006-02-18 15:38:34 +0000
 1.7.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.7.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.7.2.1 11-Apr-2006  yamt sync with head
 1.8.14.2 09-Sep-2006  rpaulo sync with head
 1.8.14.1 04-Apr-2006  rpaulo file DBAU1500 was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.8.8.2 21-Jun-2006  yamt sync with head.
 1.8.8.1 04-Apr-2006  yamt file DBAU1500 was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.8.2.2 22-Apr-2006  simonb Sync with head.
 1.8.2.1 04-Apr-2006  simonb file DBAU1500 was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.9 02-Oct-2006  gdamore Add the final glue bits required to enable the SPI interface on the
DBAU1550. This is parameterized somewhat as machdep pluggable code, so
different boards can supply different implementations.

At the moment, the DBAU1550 is the only Au1550 board I know of with SPI
connected devices.

I have not enabled I2C on the DBAU1550, as we do not have drivers for either
of the I2C connected devices (a different temperature/voltage sensor and
a serial eeprom.)
 1.8 04-Apr-2006  gdamore branches: 1.8.2; 1.8.8; 1.8.12; 1.8.14; 1.8.16;
Add support for using the MIPS Atheros HAL.
Atheros WLAN added to default evbmips DBAU1500, DBAU1550, and MTX-1 configs.
Note that AR5312 config will require unique HAL that we don't have yet.
 1.7 25-Mar-2006  gdamore Enable PCMCIA on DBAU1550.
Some devices work (an, wdc), while others do not (ne, wi).
However, the bus is useful enough that it makes sense to go ahead and
enable it. Maybe other folks can help me debug the rest of the problems.
 1.6 25-Feb-2006  simonb branches: 1.6.2; 1.6.4; 1.6.6;
Sort PCI devices alphabetically.
Add "sip" and "fxp" ethernet cards.
Split ethernet and IDE controller devices into separate sections.
Use "options<space><tab>".
 1.5 13-Feb-2006  gdamore branches: 1.5.2;
GPIO support for all supported Alchemy parts.
 1.4 12-Feb-2006  gdamore Add GPIO driver, and GPIO access functions for other subsystems.
 1.3 09-Feb-2006  gdamore Add Au1550 PCI support (Au1500 not yet, coming shortly).
Closes PR port-evbmips/32087.
Reviewed by simonb@ (Also, earlier, matt@, and tsutsui@.)
 1.2 08-Feb-2006  gdamore Clean up DBAU1550 and DBAU1500 (include ALCHEMY) per suggestion from simonb@.
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.5.2.3 01-Mar-2006  yamt sync with head.
 1.5.2.2 18-Feb-2006  yamt sync with head.
 1.5.2.1 13-Feb-2006  yamt file DBAU1550 was added on branch yamt-uio_vmspace on 2006-02-18 15:38:34 +0000
 1.6.6.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.6.6.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.6.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.6.2.2 11-Apr-2006  yamt sync with head
 1.6.2.1 01-Apr-2006  yamt sync with head.
 1.8.16.1 22-Oct-2006  yamt sync with head
 1.8.14.2 09-Sep-2006  rpaulo sync with head
 1.8.14.1 04-Apr-2006  rpaulo file DBAU1550 was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.8.12.1 18-Nov-2006  ad Sync with head.
 1.8.8.3 30-Dec-2006  yamt sync with head.
 1.8.8.2 21-Jun-2006  yamt sync with head.
 1.8.8.1 04-Apr-2006  yamt file DBAU1550 was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.8.2.2 22-Apr-2006  simonb Sync with head.
 1.8.2.1 04-Apr-2006  simonb file DBAU1550 was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.28 15-Jul-2020  simonb Rename the evbmips ERLITE kernel to OCTEON now that it supports more
than just the EdgeRouter Lite.
 1.27 23-Jun-2020  simonb Redo cnmac attachments - cnmacM @ gmxN @ pip0 @ iobus
 1.26 05-Jun-2020  simonb Now that we don't zero out the second link in the U-boot bootmem
descripter, use that to configure free memory.
 1.25 31-May-2020  simonb Clean up Cavium Octeon device names. Rename devices from "octeon_foo"
to "octfoo" - this follows the naming conventions used by many other
MIPS CPUs.
 1.24 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.23 26-Apr-2019  sevan branches: 1.23.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.22 10-Apr-2019  roy ELRITE is a router .... enable gif(4) by default.
 1.21 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.20 16-Sep-2018  mrg enable ext2fs, nullfs, cd9660, disable FFS_NO_SNAPSHOT, and remove
not relevant PCI IDE stuff.
 1.19 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.18 14-Sep-2017  mrg branches: 1.18.2; 1.18.4; 1.18.6;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.17 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.16 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.15 19-Feb-2017  rin branches: 1.15.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.14 28-Dec-2016  mrg branches: 1.14.2;
enable a few things that make sense for a router-style box:

BPFJIT, SJIT, bpf, ppp, pppoe, tun, tap, vlan, and bridge.

add a commented out OCTEON_MEMSIZE setting for users who see
that problem.
 1.13 22-Sep-2016  roy Add COMPAT_70 to ERLITE for ifa_msghdr changes.
 1.12 21-Aug-2015  jmcneill branches: 1.12.2;
enable NFSSERVER
 1.11 16-Jun-2015  martin Remove options NFS_V2_ONLY
 1.10 08-Jun-2015  matt Add wdog0
 1.9 01-Jun-2015  matt branches: 1.9.2;
Rework cavium support in preparation for MULTIPROCESSOR support
 1.8 21-May-2015  jmcneill add drvctl
 1.7 19-May-2015  matt Enable MSDOSFS since the kernel lives on a MSDOS fs.
 1.6 17-May-2015  martin Allow overriding/adding configuration in ERLITE.local
 1.5 15-May-2015  martin Enable ktrace by default
 1.4 08-May-2015  martin Add COPY_SYMTAB
 1.3 06-May-2015  martin Enable INET6 by default
 1.2 01-May-2015  hikaru Use dwc2 instead of octeon_usbc, and unify octeon_usbn to new octeon_dwctwo.
Internal USB memory stick of EdgeRouter Lite works now.
 1.1 29-Apr-2015  hikaru Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
 1.9.2.6 28-Aug-2017  skrll Sync with HEAD
 1.9.2.5 05-Feb-2017  skrll Sync with HEAD
 1.9.2.4 05-Oct-2016  skrll Sync with HEAD
 1.9.2.3 22-Sep-2015  skrll Sync with HEAD
 1.9.2.2 06-Jun-2015  skrll Sync with HEAD
 1.9.2.1 01-Jun-2015  skrll file ERLITE was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.12.2.3 20-Mar-2017  pgoyette Sync with HEAD
 1.12.2.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.12.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.14.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.15.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.18.6.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.18.6.1 10-Jun-2019  christos Sync with HEAD
 1.18.4.3 18-Jan-2019  pgoyette Synch with HEAD
 1.18.4.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.18.4.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.18.2.2 03-Dec-2017  jdolecek update from HEAD
 1.18.2.1 14-Sep-2017  jdolecek file ERLITE was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.23.4.1 25-Jan-2020  ad Sync with head.
 1.40 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.39 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.38 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.37 03-Jan-2020  thorpej Eliminate all of the #ifdefs for the "strtc" driver. Define model
properties (similar to what the "dsrtc" driver does), and provide
DT compat strings corresponding to those models. Allow config flags
to specify the model for non-FDT platforms (also like "dsrtc").
 1.36 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.35 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.34 30-Dec-2018  sevan Update description, nfc
 1.33 19-Sep-2018  rin Remove invalid option copy-paste from hpcmips.
 1.32 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.31 07-Jun-2018  thorpej branches: 1.31.2;
Revert changes that pinned-down i2c parent specs. The i2c subsystem
has been enhanced to make this unnecessary.
 1.30 14-May-2018  thorpej Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
 1.29 14-Sep-2017  mrg branches: 1.29.2;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.28 13-Sep-2017  sevan Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options.
These algorithms are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh
 1.27 19-Feb-2017  rin branches: 1.27.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.26 23-Aug-2014  dholland branches: 1.26.2; 1.26.4; 1.26.6;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.25 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.24 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.23 30-Jun-2013  rmind branches: 1.23.4;
G/C PFIL_HOOKS from the kernel configs.
 1.22 05-Jun-2013  christos branches: 1.22.2;
remove obsolete networking options
 1.21 27-Apr-2013  christos the bogus number police
 1.20 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.19 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.18 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.17 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.16 17-Aug-2012  abs branches: 1.16.2;
Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
 1.15 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.14 22-Nov-2011  tls branches: 1.14.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.13 02-Sep-2011  macallan branches: 1.13.2;
add new voyager driver, follow related changes from LOONGSON
now this builds again
thanks he for noticing
 1.12 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.11 23-Nov-2010  hannken branches: 1.11.2; 1.11.4;
Remove unused count from pseudo-device md.
 1.10 08-May-2010  mrg enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.
 1.9 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.8 07-Mar-2010  plunky branches: 1.8.2;
add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels
 1.7 05-Dec-2009  pooka branches: 1.7.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.6 12-Aug-2009  macallan branches: 1.6.2;
use voyagerfb
 1.5 11-Aug-2009  matt Enable DIAGNOSTIC
Add cpu0
 1.4 09-Aug-2009  matt Add makeoptions DEBUG="-g"
 1.3 08-Aug-2009  matt Add the RL2561 PCI 801.11b/g
 1.2 06-Aug-2009  matt Change MIPS64_LOONGSON2 to MIP3_LOONGSON2 since it's a MIPS3 and not MIPS64.
 1.1 06-Aug-2009  matt GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.6.2.4 11-Aug-2010  yamt sync with head.
 1.6.2.3 11-Mar-2010  yamt sync with head
 1.6.2.2 19-Aug-2009  yamt sync with head.
 1.6.2.1 12-Aug-2009  yamt file GDIUM was added on branch yamt-nfs-mp on 2009-08-19 18:46:11 +0000
 1.7.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.7.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.8.2.3 21-Apr-2011  rmind sync with head
 1.8.2.2 05-Mar-2011  rmind sync with head
 1.8.2.1 30-May-2010  rmind sync with head
 1.11.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.11.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.13.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.2.2 30-Oct-2012  yamt sync with head
 1.13.2.1 17-Apr-2012  yamt sync with head
 1.14.2.1 18-Feb-2012  mrg merge to -current.
 1.16.2.4 03-Dec-2017  jdolecek update from HEAD
 1.16.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.2.2 23-Jun-2013  tls resync from head
 1.16.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.22.2.1 28-Aug-2013  rmind sync with head
 1.23.4.1 10-Aug-2014  tls Rebase.
 1.26.6.1 21-Apr-2017  bouyer Sync with HEAD
 1.26.4.1 20-Mar-2017  pgoyette Sync with HEAD
 1.26.2.1 28-Aug-2017  skrll Sync with HEAD
 1.27.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.29.2.5 18-Jan-2019  pgoyette Synch with HEAD
 1.29.2.4 30-Sep-2018  pgoyette Ssync with HEAD
 1.29.2.3 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.29.2.2 25-Jun-2018  pgoyette Sync with HEAD
 1.29.2.1 21-May-2018  pgoyette Sync with HEAD
 1.31.2.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.31.2.1 10-Jun-2019  christos Sync with HEAD
 1.2 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.1 24-Aug-2011  matt branches: 1.1.12;
Add a 64-bit GDIUM configuration.
 1.1.12.1 03-Dec-2017  jdolecek update from HEAD
 1.3 10-Oct-2023  he INSTALL_CI20: bump ramdisk image size since contents grew a bit recently.
 1.2 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.1 06-Apr-2015  joerg branches: 1.1.2; 1.1.18; 1.1.26; 1.1.52;
Add CI20 install kernel and build that and the normal image as kernel set.
 1.1.52.1 10-Oct-2023  martin Additionally pull up following revision(s) (requested by he in ticket #397):

sys/arch/evbmips/conf/INSTALL_CI20: revision 1.3

INSTALL_CI20: bump ramdisk image size since contents grew a bit recently.
 1.1.26.1 10-Oct-2023  martin Additionally pull up following revision(s) (requested by he in ticket #1747):

sys/arch/evbmips/conf/INSTALL_CI20: revision 1.3

INSTALL_CI20: bump ramdisk image size since contents grew a bit recently.
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 06-Apr-2015  jdolecek file INSTALL_CI20 was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.1.2.2 06-Jun-2015  skrll Sync with HEAD
 1.1.2.1 06-Apr-2015  skrll file INSTALL_CI20 was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.3 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.2 28-Jul-2011  matt Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.1 01-Jul-2011  matt branches: 1.1.2;
file INSTALL_CPMBR1400 was initially added on branch matt-nb5-mips64.
 1.1.2.1 01-Jul-2011  matt Add basic support for the Ralink RT3883 SOC. No support for the wireless
interfaces is present but i2c, uart, ethernet, gpio, ehci, ohci are supported.
This support was contributed by Cradlepoint Technology.
 1.3 15-Jul-2020  simonb Rename the evbmips ERLITE kernel to OCTEON now that it supports more
than just the EdgeRouter Lite.
 1.2 18-May-2015  matt branches: 1.2.2; 1.2.18;
Allow automatic insertion of ramdisk image.
 1.1 01-May-2015  matt Add INSTALL kernel for ERLITE
 1.2.18.2 03-Dec-2017  jdolecek update from HEAD
 1.2.18.1 18-May-2015  jdolecek file INSTALL_ERLITE was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.2.2.2 06-Jun-2015  skrll Sync with HEAD
 1.2.2.1 18-May-2015  skrll file INSTALL_ERLITE was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.2 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.1 29-Aug-2011  bouyer Add a INSTALL_LOONGSON kernel with a ramdisk.
build LOONGSON and INSTALL_LOONGSON for evbmips-mip64el
 1.3 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.2 14-Dec-2009  matt branches: 1.2.4;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 24-Aug-2009  matt branches: 1.1.2;
file INSTALL_MALTA was initially added on branch matt-nb5-mips64.
 1.1.2.2 26-May-2011  matt Add makeoptions NEED_MDSETIMAGE="yes"
 1.1.2.1 24-Aug-2009  matt Build INSTALL_MALTA kernels for big and little endian for mips and mips64.
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file INSTALL_MALTA was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.4 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.3 11-Jul-2016  matt Add makeoptions NEED_MDSETIMAGE="yes"
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.24; 1.2.42;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 24-Aug-2009  matt branches: 1.1.2;
file INSTALL_MALTA32 was initially added on branch matt-nb5-mips64.
 1.1.2.2 26-May-2011  matt Add makeoptions NEED_MDSETIMAGE="yes"
 1.1.2.1 24-Aug-2009  matt Build INSTALL_MALTA kernels for big and little endian for mips and mips64.
 1.2.42.1 05-Oct-2016  skrll Sync with HEAD
 1.2.24.1 03-Dec-2017  jdolecek update from HEAD
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file INSTALL_MALTA32 was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.3 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.2 14-Dec-2009  matt branches: 1.2.4;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 24-Aug-2009  matt branches: 1.1.2;
file INSTALL_MALTA64 was initially added on branch matt-nb5-mips64.
 1.1.2.2 26-May-2011  matt Add makeoptions NEED_MDSETIMAGE="yes"
 1.1.2.1 24-Aug-2009  matt Build INSTALL_MALTA kernels for big and little endian for mips and mips64.
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file INSTALL_MALTA64 was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.3 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.2 17-Jul-2020  jmcneill ERLITE -> OCTEON
 1.1 15-Jul-2020  simonb Rename the evbmips ERLITE kernel to OCTEON now that it supports more
than just the EdgeRouter Lite.
 1.5 03-Nov-2023  simonb All other install kernels use a 6MB RAM disk. Stop with the teeny
frequent bumps and jump straight to the size everything is using.
 1.4 10-Oct-2023  martin Make more room for ramdisk image (which recently grew a bit)
 1.3 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.2 06-Feb-2009  jym branches: 1.2.70; 1.2.96;
Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
 1.1 30-Mar-2006  shige branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.14; 1.1.20; 1.1.78; 1.1.86;
Added INSTALL_OMSAL400: Install kernel for OMS-AL400.
 1.1.86.1 03-Mar-2009  skrll Sync with HEAD.
 1.1.78.1 04-May-2009  yamt sync with head.
 1.1.20.2 09-Sep-2006  rpaulo sync with head
 1.1.20.1 30-Mar-2006  rpaulo file INSTALL_OMSAL400 was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 30-Mar-2006  yamt file INSTALL_OMSAL400 was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.1.8.2 22-Apr-2006  simonb Sync with head.
 1.1.8.1 30-Mar-2006  simonb file INSTALL_OMSAL400 was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.6.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.6.1 30-Mar-2006  elad file INSTALL_OMSAL400 was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.1.4.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.4.1 30-Mar-2006  yamt file INSTALL_OMSAL400 was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.1.2.2 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.1.2.1 30-Mar-2006  tron file INSTALL_OMSAL400 was added on branch peter-altq on 2006-03-31 09:44:58 +0000
 1.2.96.1 10-Oct-2023  martin Additionally pull up the following revision for ticket #397 to fix
the build

sys/arch/evbmips/conf/INSTALL_OMSAL400 1.4

Make more room for ramdisk image (which recently grew a bit)
 1.2.70.1 10-Oct-2023  martin Additionally pull up the following revision for ticket #397 to fix
the build:

sys/arch/evbmips/conf/INSTALL_OMSAL400 1.4

Make more room for ramdisk image (which recently grew a bit)
 1.1 24-Dec-2011  matt branches: 1.1.2;
file INSTALL_XLPEVB32 was initially added on branch matt-nb5-mips64.
 1.1.2.2 27-Dec-2011  matt Fix some tpyos.
 1.1.2.1 24-Dec-2011  matt Add config files for the XLPEVB for the XLP8xx board. (should work on any
XLP eval board).
 1.1 27-Dec-2011  matt branches: 1.1.2;
file INSTALL_XLPEVB64 was initially added on branch matt-nb5-mips64.
 1.1.2.2 27-Dec-2011  matt Fix some tpyos.
 1.1.2.1 27-Dec-2011  matt Add LP64 versions of XLPEVB kernels
 1.4 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.3 17-May-2015  matt No need for other kernel configs
 1.2 20-Feb-2011  matt branches: 1.2.14; 1.2.32;
Merge forward from matt-nb5-mips64.
 1.1 14-Dec-2009  cliff branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file INSTALL_XLSATX32 was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.2 24-Dec-2011  matt Don't make uneeded kernels.
Try to mdsetimage if possible.
 1.1.2.1 14-Dec-2009  cliff - add standard kernel configs for XLSATX systems
 1.2.32.1 06-Jun-2015  skrll Sync with HEAD
 1.2.14.1 03-Dec-2017  jdolecek update from HEAD
 1.4 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.3 17-May-2015  matt No need for other kernel configs
 1.2 20-Feb-2011  matt branches: 1.2.14; 1.2.32;
Merge forward from matt-nb5-mips64.
 1.1 14-Dec-2009  cliff branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file INSTALL_XLSATX64 was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.2 27-Dec-2011  matt Don't build unneeded kernel. Try to mdsetimage
 1.1.2.1 14-Dec-2009  cliff - add standard kernel configs for XLSATX systems
 1.2.32.1 06-Jun-2015  skrll Sync with HEAD
 1.2.14.1 03-Dec-2017  jdolecek update from HEAD
 1.2 09-Jun-2023  gutteridge INSTALL_*: correct a path in a comment
 1.1 30-Apr-2014  matt branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10;
Add configs for the Zyxel Keenetic Extra.
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 30-Apr-2014  tls file INSTALL_ZYXELKX was added on branch tls-maxphys on 2014-08-20 00:02:58 +0000
 1.1.6.2 10-Aug-2014  tls Rebase.
 1.1.6.1 30-Apr-2014  tls file INSTALL_ZYXELKX was added on branch tls-earlyentropy on 2014-08-10 06:53:56 +0000
 1.1.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.1 30-Apr-2014  yamt file INSTALL_ZYXELKX was added on branch yamt-pagecache on 2014-05-22 11:39:44 +0000
 1.1.2.2 18-May-2014  rmind sync with head
 1.1.2.1 30-Apr-2014  rmind file INSTALL_ZYXELKX was added on branch rmind-smpnet on 2014-05-18 17:45:06 +0000
 1.19 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.18 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.17 26-Dec-2021  andvar fix various typos, mainly in comments.
 1.16 21-Jan-2021  nia add a commented out compat_ossaudio wherever there's compat_linux

requested by mrg
 1.15 27-Sep-2020  roy branches: 1.15.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.14 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.13 25-Mar-2020  jdolecek remove 'file-system SMBFS' and 'pseudo-device nsmb' from all kernel configs
to prepare for their eventual removal
 1.12 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.11 06-Feb-2019  rin branches: 1.11.6;
Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.10 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.9 19-Dec-2018  maxv Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
 1.8 14-Aug-2018  maxv Replace references to etherip by l2tp. Etherip was already not enabled
anyway.
 1.7 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.6 14-Sep-2017  mrg branches: 1.6.2; 1.6.4; 1.6.6;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.5 01-Aug-2017  maya Wrong architecture for IBCS2 compat! it's stringly an x86 thing.
 1.4 01-Aug-2017  maxv Remove references to compat_freebsd when it is not supported.
 1.3 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.2 19-Feb-2017  rin branches: 1.2.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.1 05-Oct-2016  ryo branches: 1.1.2; 1.1.4; 1.1.6;
add support MT7628/MediaTek LinkIt Smart 7688
by @hiroshi and me.
 1.1.6.1 21-Apr-2017  bouyer Sync with HEAD
 1.1.4.3 28-Aug-2017  skrll Sync with HEAD
 1.1.4.2 05-Dec-2016  skrll Sync with HEAD
 1.1.4.1 05-Oct-2016  skrll file LINKITSMART7688 was added on branch nick-nhusb on 2016-12-05 10:54:52 +0000
 1.1.2.3 20-Mar-2017  pgoyette Sync with HEAD
 1.1.2.2 04-Nov-2016  pgoyette Sync with HEAD
 1.1.2.1 05-Oct-2016  pgoyette file LINKITSMART7688 was added on branch pgoyette-localcount on 2016-11-04 14:49:00 +0000
 1.2.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.6.6.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.6.1 10-Jun-2019  christos Sync with HEAD
 1.6.4.3 18-Jan-2019  pgoyette Synch with HEAD
 1.6.4.2 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.6.4.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.6.2.2 03-Dec-2017  jdolecek update from HEAD
 1.6.2.1 14-Sep-2017  jdolecek file LINKITSMART7688 was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.11.6.1 25-Jan-2020  ad Sync with head.
 1.15.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.46 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.45 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.44 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.43 03-Jan-2020  thorpej Eliminate all of the #ifdefs for the "strtc" driver. Define model
properties (similar to what the "dsrtc" driver does), and provide
DT compat strings corresponding to those models. Allow config flags
to specify the model for non-FDT platforms (also like "dsrtc").
 1.42 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.41 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.40 19-Sep-2018  rin Remove invalid option copy-paste from hpcmips.
 1.39 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.38 07-Jun-2018  thorpej branches: 1.38.2;
Revert changes that pinned-down i2c parent specs. The i2c subsystem
has been enhanced to make this unnecessary.
 1.37 14-May-2018  thorpej Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
 1.36 18-Jan-2018  maya branches: 1.36.2;
Use usbdevices. add midi needed to build umidi.
Remove now redundant USB entries.

So we will stop missing random USB drivers.
 1.35 14-Sep-2017  mrg clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.34 13-Sep-2017  sevan Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options.
These algorithms are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh
 1.33 20-Aug-2017  maya Get rid of ATADEBUG on LOONGSON
 1.32 13-Aug-2017  christos Add ALPS pms support
 1.31 11-May-2017  maya branches: 1.31.2;
COPY_SYMTAB=1 so ddb commands ps, bt work
 1.30 19-Feb-2017  rin branches: 1.30.4;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.29 13-Dec-2016  christos branches: 1.29.2;
wildcard speaker attachments, now that we can handle many of them.
 1.28 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.27 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.26 13-Jul-2016  jmcneill branches: 1.26.2;
add drvctl(4)
 1.25 23-Aug-2014  dholland branches: 1.25.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.24 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.23 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.22 18-Jan-2014  bouyer branches: 1.22.2;
Add FONT_BOLD8x16, which will help to have a 80x25 tty on sisfb
(which is limited to 640x400 pixels at this time).
 1.21 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.20 05-Jun-2013  christos branches: 1.20.2;
remove obsolete networking options
 1.19 27-Apr-2013  christos the bogus number police
 1.18 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.17 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.16 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.15 28-Feb-2013  macallan add INSECURE so X can map PCI memory and registers
 1.14 28-Feb-2013  macallan add COMPAT_PCVT and pwmclock
 1.13 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.12 17-Aug-2012  abs branches: 1.12.2;
Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

Some of the INSTALL configs for larger memory machines are probably suitable
for adding WSDISPLAY_COMPAT_USL.

Now wsconscfg(8) should be able to switch VTs when expected.

Implemented after no objection from tech-kern to the following:

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
 1.11 29-May-2012  nonaka Add SYSV{MSG,SEM,SHM} options.
 1.10 29-May-2012  christos add the realtek usb driver from jmcneill
 1.9 02-Mar-2012  nonaka Added Lemote Yeeloong Notebook support.
 1.8 18-Dec-2011  dholland branches: 1.8.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.7 22-Nov-2011  tls branches: 1.7.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.6 03-Nov-2011  macallan add options GDIUM_KEYBOARD_HACK
 1.5 02-Sep-2011  macallan branches: 1.5.2;
add stvii driver for gdium's onboard microcontroller
while there add comments on new(ly added) drivers
 1.4 31-Aug-2011  macallan turn kernel output green
 1.3 31-Aug-2011  macallan add voyager, voyagerfb and drivers for Gdium's rtc and temperature sensor
 1.2 27-Aug-2011  bouyer The loongon2f+cs5526+jmicron PATA->SATA bridge cause an interresting issue:
1) because the CS5536 is not associated with a x86 CPU, interrupts are not
ack'ed as it expects so interrupts cannot configured as edge-triggered
(as is expected for a PCIIDE in compat mode)
2) the PATA->SATA bridge ignores the WDC_IDS (interrupt disable bit) so
the PATA IRQ line gets asserted when resetting or running some polled
commands. It also wrongly asserts IRQ when the (nonexistent) slave
device is selected
2) wouldn't be an issue with edge-triggered interrupt because we would
get a spurious interrupt and continue operation, a new interrupt only shows
up when the PATA IRQ line goes low and high again. But because of 1),
we get an unclearable interrupt instead, and the system loops on the
interrupt handler.

To workaround this, introduce a WDC_NO_IDS compile option which runs
all polled commands (including reset) at splbio() and without sleeps,
so that the controller's interrupt is effectively disabled and
won't be reenabled before the interrupt can be cleared.

The conditions triggering this problem are speficic enough to handle
this via a compile-time option; no need for a run-time (e.g. a
config(9), device property or callback to disable interrupts) solution.
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.5.2.4 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5.2.3 30-Oct-2012  yamt sync with head
 1.5.2.2 17-Apr-2012  yamt sync with head
 1.5.2.1 10-Nov-2011  yamt sync with head
 1.7.2.5 02-Jun-2012  mrg sync to latest -current.
 1.7.2.4 06-Mar-2012  mrg sync to -current
 1.7.2.3 06-Mar-2012  mrg sync to -current
 1.7.2.2 04-Mar-2012  mrg sync to latest -current.
 1.7.2.1 18-Feb-2012  mrg merge to -current.
 1.8.2.1 07-Feb-2014  sborrill Pull up the following revisions(s) (requested by bouyer in ticket #1019):
sys/dev/pci/sisfb.c: revision 1.3
sys/arch/evbmips/conf/LOONGSON: revision 1.22

Make sysinst much more useable when used with the VGA display on
LOONGSON.
 1.12.2.4 03-Dec-2017  jdolecek update from HEAD
 1.12.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.2.2 23-Jun-2013  tls resync from head
 1.12.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.20.2.2 18-May-2014  rmind sync with head
 1.20.2.1 28-Aug-2013  rmind sync with head
 1.22.2.1 10-Aug-2014  tls Rebase.
 1.25.2.3 28-Aug-2017  skrll Sync with HEAD
 1.25.2.2 05-Feb-2017  skrll Sync with HEAD
 1.25.2.1 05-Oct-2016  skrll Sync with HEAD
 1.26.2.2 20-Mar-2017  pgoyette Sync with HEAD
 1.26.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.29.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.30.4.1 19-May-2017  pgoyette Resolve conflicts from previous merge (all resulting from $NetBSD
keywork expansion)
 1.31.2.2 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.31.2.1 29-Aug-2017  martin Pull up following revision(s) (requested by maya in ticket #222):
sys/arch/evbmips/conf/LOONGSON: revision 1.33
Get rid of ATADEBUG on LOONGSON
 1.36.2.5 18-Jan-2019  pgoyette Synch with HEAD
 1.36.2.4 30-Sep-2018  pgoyette Ssync with HEAD
 1.36.2.3 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.36.2.2 25-Jun-2018  pgoyette Sync with HEAD
 1.36.2.1 21-May-2018  pgoyette Sync with HEAD
 1.38.2.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.38.2.1 10-Jun-2019  christos Sync with HEAD
 1.106 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.105 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.104 20-Aug-2021  andvar fix various typos in comments and log messages.
 1.103 21-Jan-2021  nia add a commented out compat_ossaudio wherever there's compat_linux

requested by mrg
 1.102 27-Sep-2020  roy branches: 1.102.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.101 04-May-2020  simonb Enable PTYFS.
 1.100 25-Jan-2020  thorpej Retire "le* at pci?" from the shipped kernel configs:
- If the config had both an le@pci and a pcn, simply remove le@pci
(pcn would match at a higher priority anyway).
- If the config had le@pci enabled, but no pcn, change le@pci to pcn.
- If the config had le@pci commented out, but no pcn, change le@pci
to pcn and leave it commented out.

The pcn driver supports more chips than le@pci and does DMA directly
to/from mbufs rather than memory copies.
 1.99 20-Jan-2020  thorpej Remove FDDI support.
 1.98 19-Jan-2020  thorpej Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.
 1.97 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.96 26-Apr-2019  sevan branches: 1.96.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.95 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.94 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.93 19-Dec-2018  maxv Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
 1.92 12-Dec-2018  maxv Remove references to "lmc" in the kernel configurations.
 1.91 06-Sep-2018  maxv Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.
 1.90 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.89 14-Sep-2017  mrg branches: 1.89.2; 1.89.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.88 24-Aug-2017  simonb Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.

Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
 1.87 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.86 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.85 13-Dec-2016  christos branches: 1.85.8;
wildcard speaker attachments, now that we can handle many of them.
 1.84 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.83 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.82 26-Sep-2015  maxv branches: 1.82.2;
Remove KMEMSTATS. Normally it's ok now.
 1.81 23-Aug-2014  dholland branches: 1.81.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.80 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.79 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.78 20-Jul-2014  alnsn branches: 1.78.2; 1.78.4; 1.78.8;
Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.77 17-Mar-2014  mrg branches: 1.77.2;
enable FFS_EI.
 1.76 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.75 05-Jun-2013  christos branches: 1.75.2;
remove obsolete networking options
 1.74 27-Apr-2013  christos more bogus number removal
 1.73 27-Apr-2013  christos the bogus number police
 1.72 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.71 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.70 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.69 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.68 17-Sep-2012  matt Bump SYMTAB_SPACE by 30K
 1.67 30-Jul-2012  pgoyette branches: 1.67.2;
Revert previous - ipf has been fixed to build without INET6
 1.66 30-Jul-2012  kiyohara Enable INET6. Avoid build failed when enable ipf and disable INET6.
 1.65 09-Feb-2012  matt branches: 1.65.2; 1.65.4;
Bump SYMTAB_SPACE
Disable NOFPU on MALTA
 1.64 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.63 16-Dec-2011  kiyohara Increase SYMTAB_SPACE.
 1.62 22-Nov-2011  tls branches: 1.62.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.61 30-Jun-2011  wiz branches: 1.61.2;
dependant -> dependent
 1.60 18-Mar-2011  jakllsch Bump symtab space.
 1.59 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.58 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.57 23-Nov-2010  hannken branches: 1.57.2; 1.57.4;
Remove unused count from pseudo-device md.
 1.56 08-May-2010  mrg enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.
 1.55 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.54 14-Dec-2009  matt branches: 1.54.2; 1.54.4;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.53 05-Dec-2009  pooka Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.52 14-Sep-2009  rmind Add COMPAT_50 for MALTA.
 1.51 06-Mar-2009  joerg Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.50 24-Nov-2008  ad branches: 1.50.4;
Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.49 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.48 31-Jul-2008  simonb branches: 1.48.2; 1.48.8;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.47 30-May-2008  tsutsui branches: 1.47.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.46 14-Mar-2007  drochner branches: 1.46.36; 1.46.38; 1.46.40; 1.46.42;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.45 27-Sep-2006  manu branches: 1.45.4; 1.45.8; 1.45.10;
- Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
 1.44 09-Sep-2006  simonb branches: 1.44.2;
Add ath@pci.
Bump SYMTAB_SPACE.
 1.43 31-Aug-2006  matt branches: 1.43.2;
Increase SYMTAB_SPACE
 1.42 26-Aug-2006  christos PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.41 30-Apr-2006  simonb Catch up and standardise pseudo-device lists - mostly add tap, bridge,
clockctl and ksyms.
 1.40 06-Feb-2006  simonb branches: 1.40.2; 1.40.4; 1.40.6;
Use "options<space><tab>".
 1.39 05-Feb-2006  cube Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.38 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.37 20-Dec-2005  thorpej branches: 1.37.2; 1.37.4; 1.37.6;
Remove the tablet line discipline.
 1.36 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.35 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.34 19-Aug-2005  christos 64 bit inode changes.
 1.33 31-Jul-2005  yamt revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
 1.32 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.31 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.30 15-Jun-2005  simonb branches: 1.30.2;
Bump SYMTAB_SPACE.
 1.29 31-May-2005  tron Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
 1.28 25-Feb-2005  simonb branches: 1.28.2;
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
 1.27 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.26 11-Feb-2005  dsl Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
 1.25 31-Jan-2005  hannken Add file system snapshots to kernel configs.

- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
 1.24 24-Nov-2004  bouyer branches: 1.24.4; 1.24.6;
pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).
 1.23 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.22 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.21 13-Aug-2004  simonb Fix a couple of niggles:
. Incorrect name in the kernel config ident lines.
. Call the commented out NetBSD 0.9 binary compat option "COMPAT_09" and
not "COMPAT_10"(!).
 1.20 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.19 14-Dec-2003  thorpej branches: 1.19.2;
Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
 1.18 13-Dec-2003  thorpej Collapse the atabus declaration into "atabus* at ata? channel ?".
 1.17 13-Dec-2003  thorpej Split out the Silicon Image SATALink support into its own driver,
"satalink".
 1.16 25-Oct-2003  simonb Add COMPAT_16 where missing.
Remove the unused COMPAT_15.
Comment out/remove COMPAT_* from INSTALL kernels.
 1.15 08-Oct-2003  bouyer Add new per-chip pciide drivers.
 1.14 08-Oct-2003  bouyer add atabus.
 1.13 10-Apr-2003  christos branches: 1.13.2;
Bye Bye UCONSOLE
 1.12 09-Dec-2002  simonb Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.11 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.10 17-Jun-2002  lukem branches: 1.10.2; 1.10.4;
Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
 1.9 25-Apr-2002  atatat branches: 1.9.2; 1.9.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.8 17-Apr-2002  mycroft Switch from de to tlp by default.
 1.7 16-Apr-2002  wiz Remove last(?) traces of pmsi.
 1.6 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.5 08-Apr-2002  simonb Add "options MIPS64". Evbmips/malta now works on 5Kc MIPS64 malta's.
 1.4 02-Apr-2002  lukem Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
 1.3 23-Mar-2002  simonb Allow selection of a big- or little-endian kernel by uncommenting the
std.malta.eb or std.malta.el config include file in the kernel config
file. From the sbmips and evbsh3 ports.
 1.2 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.9.4.1 01-Aug-2002  lukem Pull up revision 1.10 (requested by lukem in ticket #312):
Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
 1.9.2.1 14-Jul-2002  gehenna catch up with -current.
 1.10.4.3 11-Dec-2002  thorpej Sync with HEAD.
 1.10.4.2 18-Oct-2002  nathanw Catch up to -current.
 1.10.4.1 17-Jun-2002  nathanw file MALTA was added on branch nathanw_sa on 2002-10-18 02:36:37 +0000
 1.10.2.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.10.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.10.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.1 17-Jun-2002  jdolecek file MALTA was added on branch kqueue on 2002-06-23 17:35:47 +0000
 1.13.2.11 11-Dec-2005  christos Sync with head.
 1.13.2.10 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.13.2.9 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.13.2.8 15-Feb-2005  skrll Sync with HEAD.
 1.13.2.7 04-Feb-2005  skrll Sync with HEAD.
 1.13.2.6 29-Nov-2004  skrll Sync with HEAD.
 1.13.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.13.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.13.2.2 25-Aug-2004  skrll Sync with HEAD.
 1.13.2.1 03-Aug-2004  skrll Sync with HEAD
 1.19.2.1 15-Jul-2004  he branches: 1.19.2.1.2;
Pull up revision 1.20 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.19.2.1.2.1 02-Apr-2005  he Pull up revision 1.24 (requested by bouyer in ticket #1019):
Add pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) series of
controllers.
 1.24.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.24.6.1 12-Feb-2005  yamt sync with head.
 1.24.4.1 29-Apr-2005  kent sync with -current
 1.28.2.2 18-Jul-2005  riz Pull up revision 1.31 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.28.2.1 01-Jun-2005  riz Pull up revision 1.29 (requested by tron in ticket #362):
Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
 1.30.2.3 03-Sep-2007  yamt sync with head.
 1.30.2.2 30-Dec-2006  yamt sync with head.
 1.30.2.1 21-Jun-2006  yamt sync with head.
 1.37.6.2 01-Jun-2006  kardel Sync with head.
 1.37.6.1 22-Apr-2006  simonb Sync with head.
 1.37.4.1 09-Sep-2006  rpaulo sync with head
 1.37.2.1 18-Feb-2006  yamt sync with head.
 1.40.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.40.4.1 11-May-2006  elad sync with head
 1.40.2.3 14-Sep-2006  yamt sync with head.
 1.40.2.2 03-Sep-2006  yamt sync with head.
 1.40.2.1 24-May-2006  yamt sync with head.
 1.43.2.1 18-Nov-2006  ad Sync with head.
 1.44.2.1 22-Oct-2006  yamt sync with head
 1.45.10.1 11-Jul-2007  mjf Sync with head.
 1.45.8.1 10-Apr-2007  ad Sync with head.
 1.45.4.1 24-Mar-2007  yamt sync with head.
 1.46.42.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.46.42.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.46.40.4 11-Aug-2010  yamt sync with head.
 1.46.40.3 11-Mar-2010  yamt sync with head
 1.46.40.2 16-Sep-2009  yamt sync with head
 1.46.40.1 04-May-2009  yamt sync with head.
 1.46.38.1 04-Jun-2008  yamt sync with head
 1.46.36.3 17-Jan-2009  mjf Sync with HEAD.
 1.46.36.2 28-Sep-2008  mjf Sync with HEAD.
 1.46.36.1 02-Jun-2008  mjf Sync with HEAD.
 1.47.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.47.4.1 19-Oct-2008  haad Sync with HEAD.
 1.48.8.5 10-Feb-2012  matt O32 MALTA uses FPU, N32/N64 MALTA does not.
 1.48.8.4 20-May-2011  matt bump SYMTAB_SPACE
 1.48.8.3 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.48.8.2 12-Sep-2009  matt Add TMPFS
 1.48.8.1 12-Sep-2009  matt bump SYMTAB_SPACE
 1.48.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.48.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.50.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.54.4.3 21-Apr-2011  rmind sync with head
 1.54.4.2 05-Mar-2011  rmind sync with head
 1.54.4.1 30-May-2010  rmind sync with head
 1.54.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.54.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.57.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.57.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.57.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.61.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.61.2.2 30-Oct-2012  yamt sync with head
 1.61.2.1 17-Apr-2012  yamt sync with head
 1.62.2.1 18-Feb-2012  mrg merge to -current.
 1.65.4.1 01-Nov-2012  matt sync with netbsd-6-0-RELEASE.
 1.65.2.2 31-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #1499):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
Remove the NOFPU option. The main MALTA config file has this now.
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.65.2.1 17-Sep-2012  riz Pull up following revision(s) (requested by cyber in ticket #564):
sys/arch/evbmips/conf/MALTA: revision 1.68
Bump SYMTAB_SPACE by 30K
 1.67.2.4 03-Dec-2017  jdolecek update from HEAD
 1.67.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.67.2.2 23-Jun-2013  tls resync from head
 1.67.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.75.2.2 18-May-2014  rmind sync with head
 1.75.2.1 28-Aug-2013  rmind sync with head
 1.77.2.1 10-Aug-2014  tls Rebase.
 1.78.8.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.78.4.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.78.2.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.81.2.3 28-Aug-2017  skrll Sync with HEAD
 1.81.2.2 05-Feb-2017  skrll Sync with HEAD
 1.81.2.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.82.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.85.8.2 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.85.8.1 31-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #239):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
Remove the NOFPU option. The main MALTA config file has this now.
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.89.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.89.4.1 10-Jun-2019  christos Sync with HEAD
 1.89.2.4 18-Jan-2019  pgoyette Synch with HEAD
 1.89.2.3 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.89.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.89.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.96.4.1 25-Jan-2020  ad Sync with head.
 1.102.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.4 24-Aug-2017  simonb Remove the NOFPU option. The main MALTA config file has this now.
 1.3 09-Feb-2012  matt branches: 1.3.2; 1.3.6; 1.3.22; 1.3.24; 1.3.26; 1.3.34; 1.3.40;
Enable NOFPU option for N32/N64 MALTA kernels
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.14; 1.2.18;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 21-Aug-2009  matt branches: 1.1.2;
file MALTA32 was initially added on branch matt-nb5-mips64.
 1.1.2.4 10-Feb-2012  matt O32 MALTA uses FPU, N32/N64 MALTA does not.
 1.1.2.3 09-Feb-2012  matt Get rid of dead lines.
 1.1.2.2 26-Aug-2009  matt Add no ath* since we have no Atheros HAL for mips64
 1.1.2.1 21-Aug-2009  matt Make MALTA LP64 capable.
 1.2.18.1 18-Feb-2012  mrg merge to -current.
 1.2.14.1 17-Apr-2012  yamt sync with head
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file MALTA32 was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.3.40.1 31-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #239):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
Remove the NOFPU option. The main MALTA config file has this now.
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.3.34.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.3.26.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.3.24.1 28-Aug-2017  skrll Sync with HEAD
 1.3.22.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.3.6.1 03-Dec-2017  jdolecek update from HEAD
 1.3.2.1 31-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #1499):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
Remove the NOFPU option. The main MALTA config file has this now.
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.2 20-Feb-2011  matt branches: 1.2.2;
Merge forward from matt-nb5-mips64.
 1.1 29-Dec-2010  matt branches: 1.1.2; 1.1.4; 1.1.6;
file MALTA32.MP was initially added on branch matt-nb5-mips64.
 1.1.6.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.1 29-Dec-2010  matt Add a N32 MP config for MALTA.
 1.2.2.2 05-Mar-2011  rmind sync with head
 1.2.2.1 20-Feb-2011  rmind file MALTA32.MP was added on branch rmind-uvmplock on 2011-03-05 20:50:11 +0000
 1.8 24-Aug-2017  simonb Remove the NOFPU option. The main MALTA config file has this now.
 1.7 17-Aug-2014  joerg branches: 1.7.2; 1.7.12;
Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.6 13-Oct-2012  riz branches: 1.6.12; 1.6.14; 1.6.18;
Bump SYMTAB_SPACE 480000->490000
 1.5 09-Feb-2012  matt branches: 1.5.2; 1.5.4; 1.5.6;
Enable NOFPU option for N32/N64 MALTA kernels
 1.4 30-May-2011  oster branches: 1.4.4; 1.4.8;
Bump SYMTAB_SPACE from 460000 to 470000 to let evbmips64-el and
evbmips64-eb build again.
 1.3 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 21-Aug-2009  matt branches: 1.1.2;
file MALTA64 was initially added on branch matt-nb5-mips64.
 1.1.2.5 10-Feb-2012  matt O32 MALTA uses FPU, N32/N64 MALTA does not.
 1.1.2.4 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.1.2.3 12-Sep-2009  matt Add COMPAT_NETBSD32 and increase SYMTAB_SPACE
 1.1.2.2 26-Aug-2009  matt Add no ath* since we have no Atheros HAL for mips64
 1.1.2.1 21-Aug-2009  matt Make MALTA LP64 capable.
 1.2.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.6.2 31-May-2011  rmind sync with head
 1.2.6.1 05-Mar-2011  rmind sync with head
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file MALTA64 was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.4.8.1 18-Feb-2012  mrg merge to -current.
 1.4.4.2 30-Oct-2012  yamt sync with head
 1.4.4.1 17-Apr-2012  yamt sync with head
 1.5.6.2 03-Dec-2017  jdolecek update from HEAD
 1.5.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5.4.1 01-Nov-2012  matt sync with netbsd-6-0-RELEASE.
 1.5.2.2 31-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #1499):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
Remove the NOFPU option. The main MALTA config file has this now.
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.5.2.1 13-Oct-2012  riz Pull up following revision(s) (requested by riz in ticket #607):
sys/arch/evbmips/conf/MALTA64: revision 1.6
sys/arch/algor/conf/P5064: revision 1.74
Bump SYMTAB_SPACE 475000->485000.
Bump SYMTAB_SPACE 480000->490000
 1.6.18.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.6.14.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.6.12.1 24-Sep-2017  snj Pull up following revision(s) (requested by mrg in ticket #1500):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
--
Remove the NOFPU option. The main MALTA config file has this now.
--
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.7.12.1 31-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #239):
sys/arch/evbmips/conf/MALTA64: revision 1.8
sys/arch/evbmips/conf/MALTA32: revision 1.4
sys/arch/mips/mips/bds_emul.S: revision 1.9
sys/arch/evbmips/conf/MALTA: revision 1.88
Re-enable the NOFPU and (renamed) FPEMUL options. None of the Malta
CPU daughter cards currently supported by NetBSD have an FPU.
Detected on real hardware. gxemul wrongly supports an FPU on the
4Kc and 5Kc CPUs.
Remove the NOFPU option. The main MALTA config file has this now.
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
 1.7.2.1 28-Aug-2017  skrll Sync with HEAD
 1.2 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.1 20-Jan-2010  matt branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file MALTA64.MP was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.1 20-Jan-2010  matt Test kernel for MIPS kernel preemption work.
 1.38 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.37 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.36 20-Aug-2021  andvar fix various typos in comments and log messages.
 1.35 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.34 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.33 26-Apr-2019  sevan branches: 1.33.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.32 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.31 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.30 14-Sep-2017  mrg branches: 1.30.2; 1.30.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.29 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.28 07-Aug-2015  maxv branches: 1.28.10;
Remove KMEMSTATS.
 1.27 23-Aug-2014  dholland branches: 1.27.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.26 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.25 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.24 30-Jun-2013  rmind branches: 1.24.4;
G/C PFIL_HOOKS from the kernel configs.
 1.23 05-Jun-2013  christos branches: 1.23.2;
remove obsolete networking options
 1.22 27-Apr-2013  christos the bogus number police
 1.21 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.20 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.19 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.18 18-Dec-2011  dholland branches: 1.18.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.17 22-Nov-2011  tls branches: 1.17.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.16 30-Jun-2011  wiz branches: 1.16.2;
dependant -> dependent
 1.15 17-May-2011  dyoung Increase SYMTAB_SPACE to fix compilation of these kernels.
 1.14 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.13 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.12 23-Nov-2010  hannken branches: 1.12.2; 1.12.4;
Remove unused count from pseudo-device md.
 1.11 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.10 05-Dec-2009  pooka branches: 1.10.2; 1.10.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.9 06-Mar-2009  joerg Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.8 24-Nov-2008  ad branches: 1.8.4;
Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.7 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.6 31-Jul-2008  simonb branches: 1.6.2; 1.6.8;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.5 30-May-2008  tsutsui branches: 1.5.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.4 27-May-2008  dyoung Enlarge embedded symbol table.
 1.3 07-Oct-2006  gdamore branches: 1.3.2; 1.3.4; 1.3.8; 1.3.58; 1.3.60; 1.3.62; 1.3.64;
Active SPI connected STMicro serial flash. Note that this driver is still
a bit rudimentary, but it works well enough to read flash at least.
 1.2 02-Oct-2006  chs remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.1 26-Sep-2006  gdamore Initial import of AR2315 support, specifically the Meraki Mini (see
the Meraki web site at http://www.meraki.net/ ) This includes changes
to the AR5312 to make it more conducive to sharing code with the AR5315,
and also includes improved early console support.

All devices including ethernet and wlan interfaces on the Meraki Mini are
functional with this port, _except_ SPI flash, which will be introduced
later.

This port was funded by the Champaign-Urbana Communit Wireless Network
Project (CUWiN).
 1.3.64.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.3.64.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.3.62.3 11-Aug-2010  yamt sync with head.
 1.3.62.2 11-Mar-2010  yamt sync with head
 1.3.62.1 04-May-2009  yamt sync with head.
 1.3.60.1 04-Jun-2008  yamt sync with head
 1.3.58.3 17-Jan-2009  mjf Sync with HEAD.
 1.3.58.2 28-Sep-2008  mjf Sync with HEAD.
 1.3.58.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.8.2 30-Dec-2006  yamt sync with head.
 1.3.8.1 07-Oct-2006  yamt file MERAKI was added on branch yamt-lazymbuf on 2006-12-30 20:45:51 +0000
 1.3.4.2 18-Nov-2006  ad Sync with head.
 1.3.4.1 07-Oct-2006  ad file MERAKI was added on branch newlock2 on 2006-11-18 21:29:11 +0000
 1.3.2.2 22-Oct-2006  yamt sync with head
 1.3.2.1 07-Oct-2006  yamt file MERAKI was added on branch yamt-splraiseipl on 2006-10-22 06:04:39 +0000
 1.5.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.5.4.1 19-Oct-2008  haad Sync with HEAD.
 1.6.8.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.6.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.6.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.8.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.10.4.4 31-May-2011  rmind sync with head
 1.10.4.3 21-Apr-2011  rmind sync with head
 1.10.4.2 05-Mar-2011  rmind sync with head
 1.10.4.1 30-May-2010  rmind sync with head
 1.10.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.12.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.12.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.12.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.16.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.16.2.1 17-Apr-2012  yamt sync with head
 1.17.2.1 18-Feb-2012  mrg merge to -current.
 1.18.6.3 03-Dec-2017  jdolecek update from HEAD
 1.18.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.6.1 23-Jun-2013  tls resync from head
 1.23.2.1 28-Aug-2013  rmind sync with head
 1.24.4.1 10-Aug-2014  tls Rebase.
 1.27.2.2 28-Aug-2017  skrll Sync with HEAD
 1.27.2.1 22-Sep-2015  skrll Sync with HEAD
 1.28.10.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.30.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.30.4.1 10-Jun-2019  christos Sync with HEAD
 1.30.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.30.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.33.4.1 25-Jan-2020  ad Sync with head.
 1.13 27-Jul-2025  martin Now that we could have a viogpu, add wsdisplay at wsemuldisplaydev.
 1.12 27-Mar-2025  riastradh virtio(4): Consolidate kernel configs.

No functional change intended.

Leave `# XXX ?' comments where I don't know why the driver in
question is excluded. (Typical reason is that PAGE_SIZE is not 4096
but I didn't investigate -- if you do investigate, please either
update the comment if you determine a reason, or enable the driver if
you don't.)

PR kern/59211: vio9p(4): missing from various GENERICs and MAKEDEVs
 1.11 16-Jul-2024  riastradh viocon(4): Add to various kernel configs.
 1.10 13-Jul-2024  rin MIPSSIM{,64}: Add some features required by full ATF run
 1.9 29-Jan-2024  christos branches: 1.9.2;
PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.8 27-Nov-2022  he Bump MSGBUFSIZE to 32k; 4k just about overflows "by default" with qemu
and mipssim-virtio machine type.
 1.7 15-Nov-2022  simonb Enable CD9660; noticed by he@.
 1.6 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.5 16-Nov-2021  simonb Use 50Hz ticks so that time works accurately on hosts with 100Hz ticks.

Note: The 20Kc CPU isn't handled correctly by QEMU, use the 5Kc CPU for
a 64-bit guest for accurate time.
 1.4 15-Jun-2021  nia Add some more useful options to MIPSSIM

In particular, MAKEDEV fails if tmpfs isn't available, and having
compat_netbsd32 but no SysV shared memory causes some dmesg spam.
 1.3 16-Feb-2021  reinoud branches: 1.3.4; 1.3.6;
I forgot to add the needed conf files for the mipssim virtio addition
 1.2 08-Feb-2021  simonb Comment out HZ=512. This was only intended to be enabled for profiling.
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.3.6.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.3.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.3.4.1 16-Feb-2021  thorpej file MIPSSIM was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.9.2.1 02-Aug-2025  perseant Sync with HEAD
 1.1 27-Jan-2021  simonb branches: 1.1.4;
Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 27-Jan-2021  thorpej file MIPSSIM64 was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.3 04-Apr-2006  gdamore branches: 1.3.2; 1.3.8; 1.3.14;
Add support for using the MIPS Atheros HAL.
Atheros WLAN added to default evbmips DBAU1500, DBAU1550, and MTX-1 configs.
Note that AR5312 config will require unique HAL that we don't have yet.
 1.2 25-Feb-2006  simonb branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Sort PCI devices alphabetically.
Remove IDE controller and related devices - the MeshCube doesn't have
one of these.
Use "options<space><tab>".
 1.1 23-Feb-2006  gdamore Initial configuration for MTX-1, aka Meshcube.
 1.2.8.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.6.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.4.1 11-Apr-2006  yamt sync with head
 1.2.2.2 01-Mar-2006  yamt sync with head.
 1.2.2.1 25-Feb-2006  yamt file MTX-1 was added on branch yamt-uio_vmspace on 2006-03-01 09:27:46 +0000
 1.3.14.2 09-Sep-2006  rpaulo sync with head
 1.3.14.1 04-Apr-2006  rpaulo file MTX-1 was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.3.8.2 21-Jun-2006  yamt sync with head.
 1.3.8.1 04-Apr-2006  yamt file MTX-1 was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.3.2.2 22-Apr-2006  simonb Sync with head.
 1.3.2.1 04-Apr-2006  simonb file MTX-1 was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.9 11-Feb-2024  christos put quotes back
 1.8 11-Feb-2024  christos PR/57923: Jan-Benedict Glaw: Use $MKREPRO_TIMESTAMP for mkubootimage
 1.7 26-Jun-2015  matt if NEED_MDSETIMAGE != no and the ramdisk.fs exists
add ramdisk.fs to SYSTEM_DEP
if DEBUG is defined, mdsetimage the ramdisk image into the .gdb copy
 1.6 05-Aug-2014  apb branches: 1.6.4;
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
 1.5 16-Aug-2011  matt branches: 1.5.12; 1.5.26;
Deal the brokenness of some u-boot (bsentry [byte swapped entry]) and add
some support for varying compressions schemes.
 1.4 10-Jul-2011  matt Enhance NEED_UBOOTIMAGE so that NEED_UBOOTIMAGE=gz inserts a gzipp'ed image.
 1.3 09-Jul-2011  matt Pull in matt-nb5-mips64.
Add common clauses to make SREC, BINARY, UBOOT images.
 1.2 24-Nov-2005  dbj branches: 1.2.96;
. Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
. Make this error a fatal build time error
. Move the support for dbsym into the MI Makefile.kern.inc,
conditional upon the SYMTAB_SPACE option being defined in
the kernel config file.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.18; 1.1.24; 1.1.34; 1.1.40;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.40.1 29-Nov-2005  yamt sync with head.
 1.1.34.1 21-Jun-2006  yamt sync with head.
 1.1.24.1 06-Feb-2005  jmc Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
 1.1.18.1 11-Dec-2005  christos Sync with head.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file Makefile.evbmips.inc was added on branch nathanw_sa on 2002-03-07 14:43:58 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file Makefile.evbmips.inc was added on branch kqueue on 2002-06-23 17:35:47 +0000
 1.2.96.5 01-Jun-2011  matt NetBSD/ makes the uboot id string too long.
 1.2.96.4 24-May-2011  matt It's NEED_, not NEEDS_
 1.2.96.3 24-May-2011  matt Add a NEED_MDSETIMAGE block.
 1.2.96.2 24-May-2011  matt Add a NEED_UBOOTIMAGE block (inside NEED_BINARY)
 1.2.96.1 20-May-2011  matt Add NEED_SREC and NEED_BINARY blocks so these don't need to be copied
repeated.
 1.5.26.1 10-Aug-2014  tls Rebase.
 1.5.12.2 03-Dec-2017  jdolecek update from HEAD
 1.5.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.4.1 22-Sep-2015  skrll Sync with HEAD
 1.14 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.13 09-Feb-2023  abs Adjust _all_ cinclude of *.local files

- Ensure always at end
- Use tab rather than spaces
- Add consistent comment
"Pull in optional local configuration - always at end"

The only functional change is that a local file which tried to
override an existing setting (eg with "no foo") would have failed
in some cases before, but now will work
 1.12 29-Sep-2022  riastradh swwdog(4): Add to GENERIC kernels.

Plus a handful of others that I'm familiar with. Lots of special-
purpose kernels should probably have this too but I'm not going
through all the arm, mips, and ppc evaluation board kernels to see
which ones are relevant.

Omitted from systems I know to be very small:
- sun2/GENERIC
- dreamcast/GENERIC
Feel free to remove it from others that need to be kept smaller.

Compile-tested a few of these just in case:
- alpha/GENERIC
- amd64/GENERIC
- evbmips/OCTEON
- i386/GENERIC
- riscv/GENERIC

PR kern/29702
 1.11 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.10 18-Apr-2021  mrg enable a few more "generic" items in this configuration, mostly
from what pmax GENERIC enables, but not nearly all of it:

- enable OVERLAY, UMAPFS, FDESC, LFS, UNION, PUFFS (and putter),
and add some more commented out entries
- enable DISKLABEL_EI and FFS_EI
- turn on GATEWAY and ppp(4) options
- add commented ALTQ section
 1.9 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.8 24-Jul-2020  jmcneill evbmips: add ofctl(8) and /dev/openfirm support
 1.7 17-Jul-2020  jmcneill ERLITE -> OCTEON
 1.6 17-Jul-2020  jmcneill Add wedge support
 1.5 16-Jul-2020  jmcneill Add USB3 support.
 1.4 16-Jul-2020  jmcneill Add driver for Cavium Interrupt Bus.
 1.3 16-Jul-2020  jmcneill Use uart0 for stdout-path
 1.2 16-Jul-2020  jmcneill FDT support for Cavium OCTEON MIPS SoCs. WIP.
 1.1 15-Jul-2020  simonb Rename the evbmips ERLITE kernel to OCTEON now that it supports more
than just the EdgeRouter Lite.
 1.8 28-Jun-2018  thorpej Use the "flags" config directive modifier to specify seeprom size
(a pre-existing capability in seeprom driver) now that "size" is no
longer a valid locator for i2c.
 1.7 29-Jul-2006  kiyohara branches: 1.7.6; 1.7.150;
Alphabetical order.
 1.6 26-Jun-2006  kiyohara Add lmtemp(4).
 1.5 02-Apr-2006  kiyohara branches: 1.5.2; 1.5.6; 1.5.8;
Support aupcmcia on OMSAL400.
 1.4 28-Mar-2006  shige Don't configure the aurtc device.
 1.3 28-Mar-2006  shige Add the following devices:
- Au1550 Programmable Serial Controller
- SMBus protocol (on Au1550 PSC)
- RICOH R2025S RTC (on SMBus)
- ATMEL AT24C04 EEPROM (on SMbus)
 1.2 27-Feb-2006  shige branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Remove hptide, and ata related devices.
OMS-AL400 has no hptide device.
 1.1 23-Feb-2006  shige Support Plathome OpenMicroServer (OMS-AL400).
http://www.plathome.co.jp/products/oms400/index.html (sorry japanese only).
 1.2.8.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.8.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.2.6.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.4.3 11-Aug-2006  yamt sync with head
 1.2.4.2 11-Apr-2006  yamt sync with head
 1.2.4.1 01-Apr-2006  yamt sync with head.
 1.2.2.2 01-Mar-2006  yamt sync with head.
 1.2.2.1 27-Feb-2006  yamt file OMSAL400 was added on branch yamt-uio_vmspace on 2006-03-01 09:27:46 +0000
 1.5.8.3 30-Dec-2006  yamt sync with head.
 1.5.8.2 21-Jun-2006  yamt sync with head.
 1.5.8.1 02-Apr-2006  yamt file OMSAL400 was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.5.6.1 13-Jul-2006  gdamore Merge from HEAD.
 1.5.2.2 22-Apr-2006  simonb Sync with head.
 1.5.2.1 02-Apr-2006  simonb file OMSAL400 was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.7.150.1 28-Jul-2018  pgoyette Sync with HEAD
 1.7.6.2 09-Sep-2006  rpaulo sync with head
 1.7.6.1 29-Jul-2006  rpaulo file OMSAL400 was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.1 09-Jul-2011  matt Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.1 09-Jul-2011  matt Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.1 09-Jul-2011  matt Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.1 09-Jul-2011  matt Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.32 06-Feb-2006  gdamore Renamed PB1000 to ALCHEMY (config supports all generic ALCHEMY dev boards).
Reviewed by simonb@
 1.31 05-Feb-2006  cube Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.30 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.29 21-Dec-2005  christos branches: 1.29.2; 1.29.4; 1.29.6;
PR/32086: Garrett D'Amore: Use the YAMON environment for console speed
selection, rather than a hard-coded speed.
 1.28 20-Dec-2005  tron Add basic support for Alchemy Au1550 processor (CPU and devices).
Patch contributed by Garrett D'Amore in PR port-evbmips/32030.
 1.27 20-Dec-2005  thorpej Remove the tablet line discipline.
 1.26 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.25 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.24 19-Aug-2005  christos 64 bit inode changes.
 1.23 05-Aug-2005  skrll Add (commented out) ucycom to various kernel configs.
 1.22 31-Jul-2005  yamt revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
 1.21 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.20 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.19 15-Apr-2005  itohy branches: 1.19.2;
Add ukyopon(4).
 1.18 25-Feb-2005  simonb branches: 1.18.2;
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
 1.17 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.16 11-Feb-2005  dsl Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
 1.15 31-Jan-2005  hannken Add file system snapshots to kernel configs.

- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
 1.14 17-Jan-2005  cube branches: 1.14.2;
Add tap(4) support to a random^Wcarefully chosen set of kernel configs.
All those kernels have a line for both tun and bridge, and if either is
commented out, tap is commented out also. With the exception of i386's
GENERIC_TINY.

XXX: we _need_ some way of making this more simple.
 1.13 10-Nov-2004  christos branches: 1.13.4;
Add COMPAT_BSDPTY to the rest of the config files.
 1.12 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.11 13-Aug-2004  simonb Fix a couple of niggles:
. Incorrect name in the kernel config ident lines.
. Call the commented out NetBSD 0.9 binary compat option "COMPAT_09" and
not "COMPAT_10"(!).
 1.10 13-Dec-2003  sekiya branches: 1.10.4;
Remove MIPS3_L2CACHE_ABSENT.
 1.9 25-Oct-2003  simonb Update comment that this kernel config file is for the DBAu1x00 boards too.
Add USBVERBOSE, uncomment MIIVERBOSE, sort *VERBOSE.
Add "netbsd-aumac0" config line for root-on-aumac0.
Remove commented out "usb@uhci" device.
Add USB devices from the DB1500 config file.
Add umass/sd.
 1.8 25-Oct-2003  simonb Fix comment for COMPAT_16.
 1.7 25-Oct-2003  simonb Add COMPAT_16 where missing.
Remove the unused COMPAT_15.
Comment out/remove COMPAT_* from INSTALL kernels.
 1.6 10-Apr-2003  christos branches: 1.6.2;
Bye Bye UCONSOLE
 1.5 03-Apr-2003  he To get this kernel to link as well, enable ``usb* at ohci?'' line.
 1.4 09-Dec-2002  simonb Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.3 09-Dec-2002  simonb Add "sqphy" for the PHYs on the PB1500.
Add a note that this kernel is for the PB1000 and PB1500 boards.
 1.2 09-Sep-2002  simonb Remove commented-out NFS_BOOT_RWSIZE option.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file PB1000 was added on branch kqueue on 2002-09-06 08:34:20 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file PB1000 was added on branch gehenna-devsw on 2002-08-30 00:29:30 +0000
 1.1.2.3 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.1 29-Jul-2002  nathanw file PB1000 was added on branch nathanw_sa on 2002-09-17 21:14:19 +0000
 1.6.2.11 11-Dec-2005  christos Sync with head.
 1.6.2.10 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.2.9 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.6.2.8 15-Feb-2005  skrll Sync with HEAD.
 1.6.2.7 04-Feb-2005  skrll Sync with HEAD.
 1.6.2.6 24-Jan-2005  skrll Sync with HEAD.
 1.6.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.6.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.6.2.2 25-Aug-2004  skrll Sync with HEAD.
 1.6.2.1 03-Aug-2004  skrll Sync with HEAD
 1.10.4.1 21-Jul-2005  riz Pull up revision 1.19 (requested by itohy in ticket #1430):
Add ukyopon(4).
 1.13.4.1 29-Apr-2005  kent sync with -current
 1.14.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.14.2.1 12-Feb-2005  yamt sync with head.
 1.18.2.2 18-Jul-2005  riz Pull up revision 1.20 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.18.2.1 17-Apr-2005  tron Pull up revision 1.19 (requested by itohy in ticket #160):
Add ukyopon(4).
 1.19.2.1 21-Jun-2006  yamt sync with head.
 1.29.6.1 22-Apr-2006  simonb Sync with head.
 1.29.4.1 09-Sep-2006  rpaulo sync with head
 1.29.2.1 18-Feb-2006  yamt sync with head.
 1.27 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.26 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.25 19-May-2020  rin Fix outdated or misleading comments for MEMORY_DISK_ROOT_SIZE.
No functional changes.
 1.24 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.23 26-Apr-2019  sevan branches: 1.23.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.22 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.21 23-Oct-2018  jdolecek remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
 1.20 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.19 19-Aug-2017  maya branches: 1.19.2; 1.19.4;
Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.18 19-Feb-2017  rin branches: 1.18.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.17 07-Aug-2015  maxv branches: 1.17.2; 1.17.4;
Remove the KMEMSTATS option. It no longer exists.
 1.16 17-Aug-2014  joerg branches: 1.16.2;
Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.15 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.14 30-Jun-2013  rmind branches: 1.14.4;
G/C PFIL_HOOKS from the kernel configs.
 1.13 05-Jun-2013  christos branches: 1.13.2;
remove obsolete networking options
 1.12 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.11 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.10 22-Nov-2011  tls branches: 1.10.8;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.9 30-Jun-2011  wiz branches: 1.9.2;
dependant -> dependent
 1.8 27-May-2011  ryo eliminate obsolete option SOSEND_LOAN
 1.7 17-May-2011  dyoung Increase SYMTAB_SPACE to fix compilation of these kernels.
 1.6 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.5 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.4 05-Dec-2009  pooka branches: 1.4.4; 1.4.6; 1.4.8;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.3 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.2 03-Apr-2007  dyoung branches: 1.2.2; 1.2.8; 1.2.20; 1.2.40; 1.2.44; 1.2.50; 1.2.52; 1.2.58;
Auto-detect RAM size.
 1.1 20-Mar-2007  dyoung branches: 1.1.2;
Add an example kernel configuration for the RouterBOARD 153.

XXX This is a fairly specialized configuration that I use for a
XXX wireless router.
 1.1.2.3 15-Apr-2007  yamt sync with head.
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file RB153 was added on branch yamt-idlelwp on 2007-03-24 14:54:39 +0000
 1.2.58.2 20-May-2011  matt bump SYMTAB_SPACE
 1.2.58.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.2.52.1 19-Jan-2009  skrll Sync with HEAD.
 1.2.50.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.44.2 11-Mar-2010  yamt sync with head
 1.2.44.1 04-May-2009  yamt sync with head.
 1.2.40.1 17-Jan-2009  mjf Sync with HEAD.
 1.2.20.2 03-Sep-2007  yamt sync with head.
 1.2.20.1 03-Apr-2007  yamt file RB153 was added on branch yamt-lazymbuf on 2007-09-03 14:24:13 +0000
 1.2.8.2 11-Jul-2007  mjf Sync with head.
 1.2.8.1 03-Apr-2007  mjf file RB153 was added on branch mjf-ufs-trans on 2007-07-11 19:58:47 +0000
 1.2.2.2 10-Apr-2007  ad Sync with head.
 1.2.2.1 03-Apr-2007  ad file RB153 was added on branch vmlocking on 2007-04-10 13:39:27 +0000
 1.4.8.2 05-Mar-2011  bouyer Sync with HEAD
 1.4.8.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.4.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.4.3 31-May-2011  rmind sync with head
 1.4.4.2 21-Apr-2011  rmind sync with head
 1.4.4.1 05-Mar-2011  rmind sync with head
 1.9.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.2.1 17-Apr-2012  yamt sync with head
 1.10.8.3 03-Dec-2017  jdolecek update from HEAD
 1.10.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.8.1 23-Jun-2013  tls resync from head
 1.13.2.1 28-Aug-2013  rmind sync with head
 1.14.4.1 10-Aug-2014  tls Rebase.
 1.16.2.2 28-Aug-2017  skrll Sync with HEAD
 1.16.2.1 22-Sep-2015  skrll Sync with HEAD
 1.17.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.17.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.18.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.19.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.19.4.1 10-Jun-2019  christos Sync with HEAD
 1.19.2.3 18-Jan-2019  pgoyette Synch with HEAD
 1.19.2.2 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.19.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.23.4.1 25-Jan-2020  ad Sync with head.
 1.24 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.23 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.22 20-Aug-2021  andvar fix various typos in comments and log messages.
 1.21 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.20 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.19 26-Apr-2019  sevan branches: 1.19.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.18 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.17 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.16 14-Sep-2017  mrg branches: 1.16.2; 1.16.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.15 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.14 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.13 07-Aug-2015  maxv branches: 1.13.10;
Remove KMEMSTATS.
 1.12 23-Aug-2014  dholland branches: 1.12.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.11 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.10 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.9 30-Jun-2013  rmind branches: 1.9.4;
G/C PFIL_HOOKS from the kernel configs.
 1.8 05-Jun-2013  christos branches: 1.8.2;
remove obsolete networking options
 1.7 27-Apr-2013  christos the bogus number police
 1.6 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.5 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.4 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.3 18-Dec-2011  dholland branches: 1.3.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.2 22-Nov-2011  tls branches: 1.2.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.1 07-Jul-2011  matt branches: 1.1.2;
Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.1.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.2.2.1 18-Feb-2012  mrg merge to -current.
 1.3.6.3 03-Dec-2017  jdolecek update from HEAD
 1.3.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.6.1 23-Jun-2013  tls resync from head
 1.8.2.1 28-Aug-2013  rmind sync with head
 1.9.4.1 10-Aug-2014  tls Rebase.
 1.12.2.2 28-Aug-2017  skrll Sync with HEAD
 1.12.2.1 22-Sep-2015  skrll Sync with HEAD
 1.13.10.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.16.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.16.4.1 10-Jun-2019  christos Sync with HEAD
 1.16.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.16.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.19.4.1 25-Jan-2020  ad Sync with head.
 1.2 07-Apr-2024  andvar Remove extra whitespace after P-4032.
 1.1 07-Apr-2024  andvar Initial version of evbmips kernel configuration files documentation.
The goal is to give a better understanding which hardware they represent
and how to build them. Also not to lose this information over the years.

Loosely based on a README.evbarm, however has additional notes on building
targets. The file is not final, some discussion came up about the need of
*32 kernel configs. simon is planning to review.
 1.14 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.13 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.12 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.11 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.10 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.9 26-Apr-2019  sevan branches: 1.9.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.8 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.7 23-Oct-2018  jdolecek remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
 1.6 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.5 14-Sep-2017  mrg branches: 1.5.2; 1.5.4; 1.5.6;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.4 13-Sep-2017  sevan Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options.
These algorithms are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh
 1.3 29-Jul-2017  maxv branches: 1.3.2; 1.3.4;
Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.2 24-Jul-2017  mrg mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.3.4.3 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.3.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.3.4.1 29-Jul-2017  martin file SBMIPS was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.3.2.2 28-Aug-2017  skrll Sync with HEAD
 1.3.2.1 29-Jul-2017  skrll file SBMIPS was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.5.6.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.5.6.1 10-Jun-2019  christos Sync with HEAD
 1.5.4.3 18-Jan-2019  pgoyette Synch with HEAD
 1.5.4.2 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.5.4.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.5.2.2 03-Dec-2017  jdolecek update from HEAD
 1.5.2.1 14-Sep-2017  jdolecek file SBMIPS was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.9.4.1 25-Jan-2020  ad Sync with head.
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file SBMIPS.MP was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file SBMIPS.MP was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file SBMIPS.MP was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file SBMIPS64 was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file SBMIPS64 was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file SBMIPS64 was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file SBMIPS64.MP was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file SBMIPS64.MP was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file SBMIPS64.MP was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.34 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.33 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.32 20-Aug-2021  andvar fix various typos in comments and log messages.
 1.31 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.30 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.29 30-Dec-2018  sevan branches: 1.29.6;
Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.28 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.27 14-Sep-2017  mrg branches: 1.27.2; 1.27.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.26 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.25 07-Aug-2015  maxv branches: 1.25.10;
Remove the KMEMSTATS option. It no longer exists.
 1.24 23-Aug-2014  dholland branches: 1.24.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.23 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.22 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.21 30-Jun-2013  rmind branches: 1.21.4;
G/C PFIL_HOOKS from the kernel configs.
 1.20 05-Jun-2013  christos branches: 1.20.2;
remove obsolete networking options
 1.19 27-Apr-2013  christos the bogus number police
 1.18 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.17 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.16 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.15 18-Dec-2011  dholland branches: 1.15.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.14 22-Nov-2011  tls branches: 1.14.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.13 30-Jun-2011  wiz branches: 1.13.2;
dependant -> dependent
 1.12 17-May-2011  dyoung Increase SYMTAB_SPACE to fix compilation of these kernels.
 1.11 06-Mar-2011  bouyer merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.10 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.9 23-Nov-2010  hannken branches: 1.9.2; 1.9.4;
Remove unused count from pseudo-device md.
 1.8 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.7 05-Dec-2009  pooka branches: 1.7.2; 1.7.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.6 06-Mar-2009  joerg Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.5 24-Nov-2008  ad branches: 1.5.4;
Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.4 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.3 31-Jul-2008  simonb branches: 1.3.2; 1.3.8;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.2 30-May-2008  tsutsui branches: 1.2.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.1 17-Feb-2007  jmcneill branches: 1.1.2; 1.1.6; 1.1.46; 1.1.48; 1.1.50; 1.1.52;
Add example config file for Netgear WGT624 v3 wireless router.
 1.1.52.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.52.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.1.50.3 11-Aug-2010  yamt sync with head.
 1.1.50.2 11-Mar-2010  yamt sync with head
 1.1.50.1 04-May-2009  yamt sync with head.
 1.1.48.1 04-Jun-2008  yamt sync with head
 1.1.46.3 17-Jan-2009  mjf Sync with HEAD.
 1.1.46.2 28-Sep-2008  mjf Sync with HEAD.
 1.1.46.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.6.2 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.1.6.1 17-Feb-2007  yamt file WGT624V3 was added on branch yamt-idlelwp on 2007-02-27 16:50:12 +0000
 1.1.2.2 26-Feb-2007  yamt sync with head.
 1.1.2.1 17-Feb-2007  yamt file WGT624V3 was added on branch yamt-lazymbuf on 2007-02-26 09:06:21 +0000
 1.2.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.4.1 19-Oct-2008  haad Sync with HEAD.
 1.3.8.2 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.3.8.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.3.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.3.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.5.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.4.4 31-May-2011  rmind sync with head
 1.7.4.3 21-Apr-2011  rmind sync with head
 1.7.4.2 05-Mar-2011  rmind sync with head
 1.7.4.1 30-May-2010  rmind sync with head
 1.7.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.9.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.9.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.9.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.13.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.2.1 17-Apr-2012  yamt sync with head
 1.14.2.1 18-Feb-2012  mrg merge to -current.
 1.15.6.3 03-Dec-2017  jdolecek update from HEAD
 1.15.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.6.1 23-Jun-2013  tls resync from head
 1.20.2.1 28-Aug-2013  rmind sync with head
 1.21.4.1 10-Aug-2014  tls Rebase.
 1.24.2.2 28-Aug-2017  skrll Sync with HEAD
 1.24.2.1 22-Sep-2015  skrll Sync with HEAD
 1.25.10.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.27.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.27.4.1 10-Jun-2019  christos Sync with HEAD
 1.27.2.2 18-Jan-2019  pgoyette Synch with HEAD
 1.27.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.29.6.1 25-Jan-2020  ad Sync with head.
 1.1 24-Dec-2011  matt branches: 1.1.2;
file XLPEVB was initially added on branch matt-nb5-mips64.
 1.1.2.8 05-Nov-2013  matt Add xhci
 1.1.2.7 10-Feb-2012  matt Bump SYMTAB_SPACE.
 1.1.2.6 19-Jan-2012  matt Add more XLP devices.
 1.1.2.5 04-Jan-2012  matt Rework Fast Messaging Network support (it's now lockless).
Workaround a problem with bus 0 BAR sizing causing the registers behind
the BAR to become inaccessible.
Move much/most of the startup code from evbmips/rmixl/machdep to
mips/rmi/rmixl_machdep.c
Move the code to find the XLP variant to the early boot so it can be used
early.
8bit and 16bit accessed to PCI bus 0 cause cache errors so chagne the access
of pci mem to 32bits.
 1.1.2.4 30-Dec-2011  matt Use new xl* device names.
Add GPIO.
 1.1.2.3 28-Dec-2011  matt Only connect to nor on cs 0 for now.
 1.1.2.2 27-Dec-2011  matt Add NOR/NAND/SPI devices (NAND only for XLSATX).
 1.1.2.1 24-Dec-2011  matt Add config files for the XLPEVB for the XLP8xx board. (should work on any
XLP eval board).
 1.1 24-Dec-2011  matt branches: 1.1.2;
file XLPEVB32 was initially added on branch matt-nb5-mips64.
 1.1.2.2 28-Dec-2011  matt Add commented out options for CFI_DEBUG_QRY, CFI_DEBUG_JEDEC
 1.1.2.1 24-Dec-2011  matt Add config files for the XLPEVB for the XLP8xx board. (should work on any
XLP eval board).
 1.1 27-Dec-2011  matt branches: 1.1.2;
file XLPEVB64 was initially added on branch matt-nb5-mips64.
 1.1.2.1 27-Dec-2011  matt Add LP64 versions of XLPEVB kernels
 1.6 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.5 23-Nov-2010  hannken branches: 1.5.2; 1.5.4;
Remove unused count from pseudo-device md.
 1.4 08-May-2010  mrg enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.
 1.3 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.2 14-Dec-2009  matt branches: 1.2.2; 1.2.4; 1.2.6;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 13-Sep-2009  cliff branches: 1.1.2;
file XLS6ATX_7A was initially added on branch matt-nb5-mips64.
 1.1.2.5 14-Dec-2009  cliff - deleted; replaced by *XLSATX*
 1.1.2.4 13-Nov-2009  cliff - (re-) configure ksyms
- SYMTAB_SPACE can now shrink by almost 10x now that local symbols
are properly stripped (!)
 1.1.2.3 09-Nov-2009  cliff - deconfigure DDB_COMMANDONENTER
- add config's for msk0 and wm0 kernels
- configure PCI
- configure msk0 and wm0 & PHYs
- deconfigure ksyms for now to keep kernel image size small
 1.1.2.2 25-Sep-2009  cliff specify interrupt# for com0
 1.1.2.1 13-Sep-2009  cliff add netbsd support for RMI XLS6ATX_7A board and XL SoC family
 1.2.6.2 05-Mar-2011  rmind sync with head
 1.2.6.1 30-May-2010  rmind sync with head
 1.2.4.3 11-Aug-2010  yamt sync with head.
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file XLS6ATX_7A was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.2.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.2.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.5.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.5.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.5.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 13-Sep-2009  cliff branches: 1.1.2;
file XLS6ATX_7A64 was initially added on branch matt-nb5-mips64.
 1.1.2.4 14-Dec-2009  cliff - deleted; replaced by *XLSATX*
 1.1.2.3 15-Nov-2009  cliff - delete un-needed makeoptions CPUFLAGS, AFLAGS ("-mips64")
- delete un-needed no options MIPS32
 1.1.2.2 09-Nov-2009  cliff - add options COMPAT_NETBSD32 to enable 32 bit binary exec support
 1.1.2.1 13-Sep-2009  cliff add netbsd support for RMI XLS6ATX_7A board and XL SoC family
 1.2.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.6.1 05-Mar-2011  rmind sync with head
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file XLS6ATX_7A64 was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.35 19-Mar-2025  jakllsch Remove last traces of 'options LKM' from kernel config files.
 1.34 29-Jan-2024  christos branches: 1.34.2;
PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.33 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.32 20-Aug-2021  andvar fix various typos in comments and log messages.
 1.31 27-Sep-2020  roy vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.30 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.29 26-Apr-2019  sevan branches: 1.29.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.28 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.27 23-Oct-2018  jdolecek remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
 1.26 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.25 14-Sep-2017  mrg branches: 1.25.2; 1.25.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.24 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.23 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.22 07-Aug-2015  maxv branches: 1.22.10;
Remove KMEMSTATS.
 1.21 23-Aug-2014  dholland branches: 1.21.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.20 17-Aug-2014  joerg Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.19 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.18 30-Jun-2013  rmind branches: 1.18.4;
G/C PFIL_HOOKS from the kernel configs.
 1.17 05-Jun-2013  christos branches: 1.17.2;
remove obsolete networking options
 1.16 27-Apr-2013  christos more bogus number removal
 1.15 27-Apr-2013  christos the bogus number police
 1.14 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.13 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.12 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.11 28-Jan-2013  matt Enable INET6
 1.10 09-Feb-2012  matt branches: 1.10.6;
Bump SYMTAB_SPACE
Disable NOFPU on MALTA
 1.9 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.8 22-Nov-2011  tls branches: 1.8.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.7 15-Jul-2011  cliff branches: 1.7.2;
bump SYMTAB_SPACE
 1.6 01-Jul-2011  dyoung Increase SYMTAB_SPACE.
 1.5 30-Jun-2011  wiz dependant -> dependent
 1.4 14-Apr-2011  cliff - remove options LOCKDEBUG; is set in XLSATX64.MP
- option MIPS_DDB_WATCH is deprecated, removed
 1.3 18-Mar-2011  cliff - add config for gpio, iobus, nand, flash
- config for pcic, pcmcia stubbed for now (drivers TBD)
- ensure space-tab is used to maintain format when commented
 1.2 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.1 14-Dec-2009  cliff branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file XLSATX was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.2 21-Apr-2011  rmind sync with head
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.16 30-Dec-2011  matt Use the new xl* device names.
 1.1.2.15 27-Dec-2011  matt Add NOR/NAND/SPI devices (NAND only for XLSATX).
 1.1.2.14 29-Apr-2011  matt White space cleanup.
 1.1.2.13 08-Feb-2011  cliff - improve formatting: a space char followed by tab char follows "options"
 1.1.2.12 05-Feb-2011  cliff - add options MIPS_DDB_WATCH, to enable COP0 watchpoint support in ddb
- add config netbsd-sd0a for disk-rooted kernel
 1.1.2.11 16-Aug-2010  matt Increase MSGBUFSIZE and add kttcp.
 1.1.2.10 18-May-2010  cliff configure com1 and make it attach correctly
note that config loc 'mult' is assumed to be 4, and so no need to specify
 1.1.2.9 11-May-2010  matt Add siisata/wd for LannerInc MR-460
 1.1.2.8 12-Apr-2010  cliff - wildcard pci at pcie0
 1.1.2.7 07-Apr-2010  cliff - configure XLR PCI-X interface
- this config can be used on XLS or XLR chip systems
 1.1.2.6 29-Jan-2010  cliff - add option MEMLIMIT, can be used to limit max memory address used
 1.1.2.5 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.1.2.4 16-Jan-2010  cliff - cpunode attaches to mainbus
- cpucore and obio now attache to cpunode
 1.1.2.3 13-Jan-2010  cliff - attach cpucore at mainbus
- attach cpu at cpucore
 1.1.2.2 12-Jan-2010  cliff comment out options MEMSIZE; just use the mem we get from firmware map.
 1.1.2.1 14-Dec-2009  cliff - add standard kernel configs for XLSATX systems
 1.7.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.2.1 17-Apr-2012  yamt sync with head
 1.8.2.1 18-Feb-2012  mrg merge to -current.
 1.10.6.4 03-Dec-2017  jdolecek update from HEAD
 1.10.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.6.2 23-Jun-2013  tls resync from head
 1.10.6.1 25-Feb-2013  tls resync with head
 1.17.2.1 28-Aug-2013  rmind sync with head
 1.18.4.1 10-Aug-2014  tls Rebase.
 1.21.2.2 28-Aug-2017  skrll Sync with HEAD
 1.21.2.1 22-Sep-2015  skrll Sync with HEAD
 1.22.10.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.25.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.25.4.1 10-Jun-2019  christos Sync with HEAD
 1.25.2.3 18-Jan-2019  pgoyette Synch with HEAD
 1.25.2.2 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.25.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.29.4.1 25-Jan-2020  ad Sync with head.
 1.34.2.1 02-Aug-2025  perseant Sync with HEAD
 1.3 14-Apr-2011  cliff - 32 bit kernel must MEMLIMIT to 512MB
 1.2 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.1 14-Dec-2009  cliff branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file XLSATX32 was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.2 21-Apr-2011  rmind sync with head
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.5 24-Dec-2011  matt Remove option that moved to std.rmixl
 1.1.2.4 02-Dec-2011  matt Enable 8KB page support.
 1.1.2.3 29-Nov-2011  matt Take part of the KSEG2 space and use it to "almost" direct another 256MB
of memory so that N32 kernels can make use of ram outside of KSEG0. This
allows N32 kernels to be useful on systems with 4GB of RAM or more.
 1.1.2.2 29-Apr-2011  matt sync with current
 1.1.2.1 14-Dec-2009  cliff - add standard kernel configs for XLSATX systems
 1.1 15-Feb-2012  matt branches: 1.1.2;
file XLSATX32.MP was initially added on branch matt-nb5-mips64.
 1.1.2.1 15-Feb-2012  matt Add a N32 MP config.
 1.2 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.1 14-Dec-2009  cliff branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file XLSATX64 was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.1 14-Dec-2009  cliff - add standard kernel configs for XLSATX systems
 1.3 14-Apr-2011  cliff - remove cpucore and cpu reconfiguration stuff
cares and threads can be specified here,
but it's easier to do at boot time from firmmware
e.g. using 'userapp_mask_cpus <mask>' command
 1.2 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.1 24-Jan-2010  cliff branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file XLSATX64.MP was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.2 21-Apr-2011  rmind sync with head
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.1 24-Jan-2010  cliff add MP config wrapper for XLSATX64
 1.22 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.21 07-Aug-2022  simonb UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
 1.20 26-Dec-2021  andvar fix various typos, mainly in comments.
 1.19 21-Jan-2021  nia add a commented out compat_ossaudio wherever there's compat_linux

requested by mrg
 1.18 27-Sep-2020  roy branches: 1.18.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.17 25-Mar-2020  jdolecek remove 'file-system SMBFS' and 'pseudo-device nsmb' from all kernel configs
to prepare for their eventual removal
 1.16 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.15 30-Dec-2018  sevan Enable the per-priority cyclical scan buffer queue strategy on evbmips kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.14 19-Dec-2018  maxv Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
 1.13 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.12 14-Sep-2017  mrg branches: 1.12.2; 1.12.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.11 19-Aug-2017  maya Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.
 1.10 01-Aug-2017  maya Wrong architecture for IBCS2 compat! it's stringly an x86 thing.
 1.9 01-Aug-2017  maxv Remove references to compat_freebsd when it is not supported.
 1.8 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.7 19-Feb-2017  rin branches: 1.7.6;
PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.6 07-Aug-2015  maxv branches: 1.6.2; 1.6.4;
Remove KMEMSTATS.
 1.5 23-Aug-2014  dholland branches: 1.5.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.4 17-Aug-2014  joerg branches: 1.4.2;
Reorganize symbol table embedding. The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
 1.3 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.2 20-Jul-2014  alnsn branches: 1.2.2;
Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.1 30-Apr-2014  matt branches: 1.1.2; 1.1.4;
Add configs for the Zyxel Keenetic Extra.
 1.1.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.1 30-Apr-2014  yamt file ZYXELKX was added on branch yamt-pagecache on 2014-05-22 11:39:44 +0000
 1.1.2.2 18-May-2014  rmind sync with head
 1.1.2.1 30-Apr-2014  rmind file ZYXELKX was added on branch rmind-smpnet on 2014-05-18 17:45:06 +0000
 1.2.2.2 10-Aug-2014  tls Rebase.
 1.2.2.1 20-Jul-2014  tls file ZYXELKX was added on branch tls-earlyentropy on 2014-08-10 06:53:56 +0000
 1.4.2.3 03-Dec-2017  jdolecek update from HEAD
 1.4.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.1 17-Aug-2014  tls file ZYXELKX was added on branch tls-maxphys on 2014-08-20 00:02:58 +0000
 1.5.2.2 28-Aug-2017  skrll Sync with HEAD
 1.5.2.1 22-Sep-2015  skrll Sync with HEAD
 1.6.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.6.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.7.6.1 07-Jan-2019  martin Pull up following revision(s) (requested by sevan in ticket #1156):

sys/arch/evbmips/conf/ERLITE: revision 1.21
sys/arch/evbmips/conf/LOONGSON: revision 1.41
sys/arch/evbmips/conf/SBMIPS: revision 1.8
sys/arch/evbmips/conf/MALTA: revision 1.94
sys/arch/evbmips/conf/WGT624V3: revision 1.29
sys/arch/evbmips/conf/ZYXELKX: revision 1.15
sys/arch/evbmips/conf/XLSATX: revision 1.28
sys/arch/evbmips/conf/ADM5120-NB: revision 1.25
sys/arch/evbmips/conf/ADM5120: revision 1.27
sys/arch/evbmips/conf/MERAKI: revision 1.32
sys/arch/evbmips/conf/LINKITSMART7688: revision 1.10
sys/arch/evbmips/conf/DB120: revision 1.21
sys/arch/evbmips/conf/ADM5120-USB: revision 1.27
sys/arch/evbmips/conf/AP30: revision 1.38
sys/arch/evbmips/conf/ALCHEMY: revision 1.65
sys/arch/evbmips/conf/RB153: revision 1.22
sys/arch/evbmips/conf/RB433UAH: revision 1.18
sys/arch/evbmips/conf/CI20: revision 1.27
sys/arch/evbmips/conf/GDIUM: revision 1.35
sys/arch/evbmips/conf/CPMBR1400: revision 1.30

Enable the per-priority cyclical scan buffer queue strategy on evbmips
kernels.

time results of a Lemote Fuloong 2F extracting the pkgsrc tree
brick$ time tar -jxf pkgsrc.tar.bz2
priocscan + log
612.90 real 103.45 user 194.98 sys
priocscan nolog
1345.48 real 103.57 user 274.32 sys
fcfs + log
736.02 real 101.71 user 192.95 sys
fcfs nolog
1475.16 real 103.06 user 271.14 sys
 1.12.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.12.4.1 10-Jun-2019  christos Sync with HEAD
 1.12.2.3 18-Jan-2019  pgoyette Synch with HEAD
 1.12.2.2 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.12.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.18.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.8 20-Jul-2014  alnsn Include sljit files.
 1.7 20-Feb-2011  matt branches: 1.7.14; 1.7.28;
Merge forward from matt-nb5-mips64.
 1.6 02-Aug-2009  matt branches: 1.6.4; 1.6.6; 1.6.8;
Use a common version of cpu.c (mmm removing identical code).
 1.5 20-Feb-2008  drochner branches: 1.5.10; 1.5.28;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.4 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.3 05-Jun-2007  dyoung branches: 1.3.2; 1.3.12; 1.3.14;
Make ADM5120 boards use the "common" disk subroutines, such as
readdisklabel(9), which are better than the evbmips disk subroutines
at finding a BSD disklabel at a different location than the evbmips
default of sector 0, offset 64. Helps me boot a RouterBOARD 153
from a CompactFlash containing both a Master Boot Record at sector
0, and a BSD disklabel at sector 1, offset 0.
 1.2 10-Apr-2007  macallan branches: 1.2.2; 1.2.6;
include files.wsfb
 1.1 20-Mar-2007  dyoung branches: 1.1.2;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.2.3 15-Apr-2007  yamt sync with head.
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file files.adm5120 was added on branch yamt-idlelwp on 2007-03-24 14:54:39 +0000
 1.2.6.1 26-Jun-2007  garbled Sync with HEAD.
 1.2.2.3 09-Jun-2007  ad Sync with head.
 1.2.2.2 10-Apr-2007  ad Sync with head.
 1.2.2.1 10-Apr-2007  ad file files.adm5120 was added on branch vmlocking on 2007-04-10 13:39:27 +0000
 1.3.14.3 27-Feb-2008  yamt sync with head.
 1.3.14.2 03-Sep-2007  yamt sync with head.
 1.3.14.1 05-Jun-2007  yamt file files.adm5120 was added on branch yamt-lazymbuf on 2007-09-03 14:24:13 +0000
 1.3.12.2 23-Mar-2008  matt sync with HEAD
 1.3.12.1 06-Nov-2007  matt sync with HEAD
 1.3.2.2 11-Jul-2007  mjf Sync with head.
 1.3.2.1 05-Jun-2007  mjf file files.adm5120 was added on branch mjf-ufs-trans on 2007-07-11 19:58:48 +0000
 1.5.28.2 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.5.28.1 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.5.10.1 19-Aug-2009  yamt sync with head.
 1.6.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.6.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6.4.1 05-Mar-2011  rmind sync with head
 1.7.28.1 10-Aug-2014  tls Rebase.
 1.7.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12 20-Jul-2014  alnsn Include sljit files.
 1.11 20-Feb-2011  matt branches: 1.11.14; 1.11.28;
Merge forward from matt-nb5-mips64.
 1.10 02-Aug-2009  matt branches: 1.10.4; 1.10.6; 1.10.8;
Use a common version of cpu.c (mmm removing identical code).
 1.9 20-Feb-2008  drochner branches: 1.9.10; 1.9.28;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.8 10-Apr-2007  macallan branches: 1.8.14;
include files.wsfb
 1.7 08-Sep-2006  gdamore branches: 1.7.2; 1.7.8; 1.7.12; 1.7.14;
Various improvements to make the common mips3 clock handling more generally
useful. The functions delay, cpu_initclocks, and setstatclcokrate have been
renamed to mips3_delay, mips3_initclocks, and mips3_setstatclockrate.

We provide weak aliases for the original names, so machdep code doesn't have
to provide wrapper routines. (Giving good performance.)

I've moved mips3_clockintr, mips3_initclocks, and mips3_setstatclockrate to
their own mips3_clockintr file, because some ports may not be able to use
these, and its senseless to carry that baggage.
 1.6 02-Sep-2006  gdamore branches: 1.6.2;
Use new common, MIPS3 clock handling. This eliminates some port-specific
code in favor of common MIPS3 code.
 1.5 23-Feb-2006  shige branches: 1.5.2; 1.5.8; 1.5.14;
Support Plathome OpenMicroServer (OMS-AL400).
http://www.plathome.co.jp/products/oms400/index.html (sorry japanese only).
 1.4 23-Feb-2006  gdamore Initial configuration for MTX-1, aka Meshcube.
 1.3 23-Feb-2006  gdamore Remove evbmips-specific aupcmcia... to be reimported shortly into
mips/alchemy.
 1.2 09-Feb-2006  gdamore branches: 1.2.2;
Add Au1550 PCI support (Au1500 not yet, coming shortly).
Closes PR port-evbmips/32087.
Reviewed by simonb@ (Also, earlier, matt@, and tsutsui@.)
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.2.2.3 01-Mar-2006  yamt sync with head.
 1.2.2.2 18-Feb-2006  yamt sync with head.
 1.2.2.1 09-Feb-2006  yamt file files.alchemy was added on branch yamt-uio_vmspace on 2006-02-18 15:38:34 +0000
 1.5.14.5 27-Feb-2008  yamt sync with head.
 1.5.14.4 03-Sep-2007  yamt sync with head.
 1.5.14.3 30-Dec-2006  yamt sync with head.
 1.5.14.2 21-Jun-2006  yamt sync with head.
 1.5.14.1 23-Feb-2006  yamt file files.alchemy was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.5.8.2 22-Apr-2006  simonb Sync with head.
 1.5.8.1 23-Feb-2006  simonb file files.alchemy was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.5.2.2 14-Sep-2006  yamt sync with head.
 1.5.2.1 03-Sep-2006  yamt sync with head.
 1.6.2.1 18-Nov-2006  ad Sync with head.
 1.7.14.1 11-Jul-2007  mjf Sync with head.
 1.7.12.1 10-Apr-2007  ad Sync with head.
 1.7.8.1 15-Apr-2007  yamt sync with head.
 1.7.2.2 09-Sep-2006  rpaulo sync with head
 1.7.2.1 08-Sep-2006  rpaulo file files.alchemy was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.8.14.1 23-Mar-2008  matt sync with HEAD
 1.9.28.2 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.9.28.1 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.9.10.1 19-Aug-2009  yamt sync with head.
 1.10.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.10.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.10.4.1 05-Mar-2011  rmind sync with head
 1.11.28.1 10-Aug-2014  tls Rebase.
 1.11.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 09-Jul-2011  matt Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.8 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.7 02-Aug-2009  matt branches: 1.7.4; 1.7.6; 1.7.8;
Use a common version of cpu.c (mmm removing identical code).
 1.6 20-Feb-2008  drochner branches: 1.6.10; 1.6.28;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.5 08-Sep-2006  gdamore branches: 1.5.2; 1.5.32;
Various improvements to make the common mips3 clock handling more generally
useful. The functions delay, cpu_initclocks, and setstatclcokrate have been
renamed to mips3_delay, mips3_initclocks, and mips3_setstatclockrate.

We provide weak aliases for the original names, so machdep code doesn't have
to provide wrapper routines. (Giving good performance.)

I've moved mips3_clockintr, mips3_initclocks, and mips3_setstatclockrate to
their own mips3_clockintr file, because some ports may not be able to use
these, and its senseless to carry that baggage.
 1.4 02-Sep-2006  gdamore branches: 1.4.2;
Use new common, MIPS3 clock handling. This eliminates some port-specific
code in favor of common MIPS3 code.
 1.3 08-Jun-2006  gdamore branches: 1.3.4;
Add support for AR5312 on-chip watchdog.
While we're here, fix mainbus so that mainbus doesn't complain about
unconfigured devices, and use the *atheros* mainbus instead of alchemy (doh!)
 1.2 28-Mar-2006  gdamore branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8; 1.2.10;
Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.1 21-Mar-2006  gdamore Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.2.10.1 19-Jun-2006  chap Sync with head.
 1.2.8.2 22-Apr-2006  simonb Sync with head.
 1.2.8.1 28-Mar-2006  simonb file files.atheros was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.2.6.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.6.1 28-Mar-2006  elad file files.atheros was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.2.4.5 14-Sep-2006  yamt sync with head.
 1.2.4.4 03-Sep-2006  yamt sync with head.
 1.2.4.3 26-Jun-2006  yamt sync with head.
 1.2.4.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.2.4.1 28-Mar-2006  yamt file files.atheros was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.2.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.2.2.1 28-Mar-2006  tron file files.atheros was added on branch peter-altq on 2006-03-28 09:47:15 +0000
 1.3.4.4 27-Feb-2008  yamt sync with head.
 1.3.4.3 30-Dec-2006  yamt sync with head.
 1.3.4.2 21-Jun-2006  yamt sync with head.
 1.3.4.1 08-Jun-2006  yamt file files.atheros was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.4.2.1 18-Nov-2006  ad Sync with head.
 1.5.32.1 23-Mar-2008  matt sync with HEAD
 1.5.2.2 09-Sep-2006  rpaulo sync with head
 1.5.2.1 08-Sep-2006  rpaulo file files.atheros was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.6.28.2 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.6.28.1 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.6.10.1 19-Aug-2009  yamt sync with head.
 1.7.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.7.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.4.1 05-Mar-2011  rmind sync with head
 1.8 27-Dec-2019  msaitoh s/suport/support/
 1.7 27-Aug-2011  bouyer branches: 1.7.54;
Add pmon (firmware used by loongson2-based systems and maybe others) support,
from OpenBSD.
This includes code to call back pmon routines from a 64bit kernel,
as well code to read pmon arguments and variables.
 1.6 20-Mar-2007  dyoung Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.5 11-Dec-2005  christos branches: 1.5.26; 1.5.30; 1.5.32; 1.5.34;
merge ktrace-lwp.
 1.4 27-Jul-2003  thorpej branches: 1.4.16;
Since everyone uses clock_subr.c (or should, if they don't currently),
list it in conf/files instead of in every port's files.*.
 1.3 06-Sep-2002  gehenna branches: 1.3.6;
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.2 13-Mar-2002  simonb branches: 1.2.4; 1.2.8; 1.2.10;
All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.10.2 17-Sep-2002  nathanw Catch up to -current.
 1.2.10.1 13-Mar-2002  nathanw file files.evbmips was added on branch nathanw_sa on 2002-09-17 21:14:20 +0000
 1.2.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 13-Mar-2002  jdolecek file files.evbmips was added on branch kqueue on 2002-06-23 17:35:47 +0000
 1.2.4.1 30-Aug-2002  gehenna Add generic major list for evbmips. It's shared with alchemy and malta.
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 03-Sep-2007  yamt sync with head.
 1.5.34.1 29-Mar-2007  reinoud Pullup to -current
 1.5.32.1 11-Jul-2007  mjf Sync with head.
 1.5.30.1 10-Apr-2007  ad Sync with head.
 1.5.26.1 24-Mar-2007  yamt sync with head.
 1.7.54.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.4 20-Jul-2014  alnsn Include sljit files.
 1.3 24-Jul-2011  macallan branches: 1.3.12; 1.3.26;
Gdium needs MBR support since the firmware only knows how to boot from e2fs
partition in an MBR
 1.2 08-Jun-2011  bouyer Make GDIUM build again after matt-nb5-mips64 merge. untested as I don't have
this hardware, but I'll use this as a base for Lemote Fulong support.
 1.1 06-Aug-2009  matt branches: 1.1.2; 1.1.6; 1.1.12;
GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.1.12.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.6.1 12-Jun-2011  rmind sync with head
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 06-Aug-2009  yamt file files.gdium was added on branch yamt-nfs-mp on 2009-08-19 18:46:11 +0000
 1.3.26.1 10-Aug-2014  tls Rebase.
 1.3.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7 19-May-2017  skrll branches: 1.7.8;
Move arch/mips/mips/bus_dma.c to correct location
 1.6 29-Jan-2016  macallan first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
 1.5 26-Dec-2014  macallan use generic subr_disk_mbr.c
 1.4 23-Dec-2014  macallan more debug defflag-ing
 1.3 23-Dec-2014  macallan defflag debug options
 1.2 06-Dec-2014  macallan pull in intr.c, attach apbus
 1.1 22-Nov-2014  macallan branches: 1.1.2;
initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
 1.1.2.3 28-Aug-2017  skrll Sync with HEAD
 1.1.2.2 19-Mar-2016  skrll Sync with HEAD
 1.1.2.1 06-Apr-2015  skrll Sync with HEAD
 1.7.8.2 03-Dec-2017  jdolecek update from HEAD
 1.7.8.1 19-May-2017  jdolecek file files.ingenic was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.5 20-Jul-2014  alnsn Include sljit files.
 1.4 28-Feb-2013  macallan branches: 1.4.10;
add poweroff support, make sure we actually charge the battery
 1.3 02-Mar-2012  nonaka branches: 1.3.2;
Added Lemote Yeeloong Notebook support.
 1.2 01-Sep-2011  macallan branches: 1.2.2; 1.2.6;
a driver for the gdium's ST7 microcontroller
so far it only reports AC and lid switch events to sysmon
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.2.6.3 06-Mar-2012  mrg sync to -current
 1.2.6.2 06-Mar-2012  mrg sync to -current
 1.2.6.1 04-Mar-2012  mrg sync to latest -current.
 1.2.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.2.1 23-Jun-2013  tls resync from head
 1.4.10.1 10-Aug-2014  tls Rebase.
 1.20 07-Jun-2015  matt Add bluetooth
 1.19 20-Jul-2014  alnsn branches: 1.19.4;
Include sljit files.
 1.18 09-Jul-2011  matt branches: 1.18.12; 1.18.26;
Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.17 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.16 02-Aug-2009  matt branches: 1.16.4; 1.16.6; 1.16.8;
Use a common version of cpu.c (mmm removing identical code).
 1.15 20-Feb-2008  drochner branches: 1.15.10; 1.15.28;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.14 10-Apr-2007  macallan branches: 1.14.14;
include files.wsfb
 1.13 08-Sep-2006  gdamore branches: 1.13.6; 1.13.10; 1.13.12;
Various improvements to make the common mips3 clock handling more generally
useful. The functions delay, cpu_initclocks, and setstatclcokrate have been
renamed to mips3_delay, mips3_initclocks, and mips3_setstatclockrate.

We provide weak aliases for the original names, so machdep code doesn't have
to provide wrapper routines. (Giving good performance.)

I've moved mips3_clockintr, mips3_initclocks, and mips3_setstatclockrate to
their own mips3_clockintr file, because some ports may not be able to use
these, and its senseless to carry that baggage.
 1.12 02-Sep-2006  gdamore branches: 1.12.2;
Use new common, MIPS3 clock handling. This eliminates some port-specific
code in favor of common MIPS3 code.
 1.11 28-Mar-2006  gdamore Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.10 11-Dec-2005  christos branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10; 1.10.12;
merge ktrace-lwp.
 1.9 13-Mar-2004  bjh21 branches: 1.9.16;
Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
 1.8 08-Oct-2003  bouyer pciide_machdep.c depends on pciide_common, not pciide.
Pointed out and fix tested by Marc Recht.
 1.7 25-May-2003  tsutsui branches: 1.7.2;
Use common mips/softintr.c for softintr(9) on evbmips.
Ok'ed by simonb.
 1.6 28-Oct-2002  jdolecek now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
 1.5 09-Sep-2002  simonb Share disksubr.c across all evbmips "ports" (it was identical).
 1.4 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.3 16-Apr-2002  thorpej branches: 1.3.2; 1.3.6; 1.3.8;
* Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.
 1.2 18-Mar-2002  simonb Use mips/mips/bus_dma.c.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.3.8.3 11-Nov-2002  nathanw Catch up to -current
 1.3.8.2 17-Sep-2002  nathanw Catch up to -current.
 1.3.8.1 16-Apr-2002  nathanw file files.malta was added on branch nathanw_sa on 2002-09-17 21:14:20 +0000
 1.3.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.6.1 16-Apr-2002  jdolecek file files.malta was added on branch kqueue on 2002-06-23 17:35:48 +0000
 1.3.2.5 01-Sep-2002  gehenna compile common conf.c
 1.3.2.4 01-Sep-2002  gehenna remove unused machine dependent conf.c
 1.3.2.3 30-Aug-2002  gehenna Add generic major list for evbmips. It's shared with alchemy and malta.
 1.3.2.2 17-May-2002  gehenna Remove old block majors list.
 1.3.2.1 16-May-2002  gehenna Include the list of block/character major numbers.
 1.7.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.4 27-Feb-2008  yamt sync with head.
 1.9.16.3 03-Sep-2007  yamt sync with head.
 1.9.16.2 30-Dec-2006  yamt sync with head.
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.10.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.10.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.10.8.3 14-Sep-2006  yamt sync with head.
 1.10.8.2 03-Sep-2006  yamt sync with head.
 1.10.8.1 01-Apr-2006  yamt sync with head.
 1.10.6.1 22-Apr-2006  simonb Sync with head.
 1.10.4.1 09-Sep-2006  rpaulo sync with head
 1.12.2.1 18-Nov-2006  ad Sync with head.
 1.13.12.1 11-Jul-2007  mjf Sync with head.
 1.13.10.1 10-Apr-2007  ad Sync with head.
 1.13.6.1 15-Apr-2007  yamt sync with head.
 1.14.14.1 23-Mar-2008  matt sync with HEAD
 1.15.28.3 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.15.28.2 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.15.28.1 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.15.10.1 19-Aug-2009  yamt sync with head.
 1.16.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.16.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.16.4.1 05-Mar-2011  rmind sync with head
 1.18.26.1 10-Aug-2014  tls Rebase.
 1.18.12.2 03-Dec-2017  jdolecek update from HEAD
 1.18.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.4.1 22-Sep-2015  skrll Sync with HEAD
 1.2 16-Feb-2021  reinoud branches: 1.2.4;
I forgot to add the needed conf files for the mipssim virtio addition
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 16-Feb-2021  thorpej file files.mipssim was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.7 19-Jun-2020  simonb OCTEON_MEMSIZE isn't used now, remove declaration.
 1.6 28-Dec-2016  mrg branches: 1.6.14;
add an OCTEON_MEMSIZE option to override the uboot provided memory
size. limiting this to 256 avoids an annoying uvm freelist problem on
the 512mb erlite, partly described here:

http://mail-index.netbsd.org/tech-kern/2016/12/20/msg021358.html
 1.5 09-Dec-2016  roy Include sljit on octeon so we can use OPTIONS BPFJIT to speed up NPF on ERLITE.
 1.4 01-Jun-2015  matt branches: 1.4.2; 1.4.4;
Rework cavium support in preparation for MULTIPROCESSOR support
 1.3 18-May-2015  matt Use kern/disk_subr_mbr.c instead of evbmips/disksubr.c
 1.2 01-May-2015  matt Add md_root.c
 1.1 29-Apr-2015  hikaru Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
 1.4.4.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.4.2.3 05-Feb-2017  skrll Sync with HEAD
 1.4.2.2 06-Jun-2015  skrll Sync with HEAD
 1.4.2.1 01-Jun-2015  skrll file files.octeon was added on branch nick-nhusb on 2015-06-06 14:39:59 +0000
 1.6.14.2 03-Dec-2017  jdolecek update from HEAD
 1.6.14.1 28-Dec-2016  jdolecek file files.octeon was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.11 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.10 07-Feb-2006  gdamore renamed pb1000_intr to reflect that it isn't board-specific. Prune unused
pb1000_intr_establish/disestablish calls.

Change was reviewed by folks as part of PCI changes, and should be
non-controversial in any case.
 1.9 11-Dec-2005  christos branches: 1.9.2; 1.9.4; 1.9.6;
merge ktrace-lwp.
 1.8 25-Oct-2003  simonb branches: 1.8.16;
Oops, need "dev/ata/files.ata" too now for umass.
Add "dev/wsfont/files.wsfont" while we're here.
 1.7 25-Oct-2003  simonb Include "dev/scsipi/files.scsipi".
 1.6 25-May-2003  tsutsui branches: 1.6.2;
Use common mips/softintr.c for softintr(9) on evbmips.
Ok'ed by simonb.
 1.5 01-Apr-2003  hpeyerl Add wscons to files.pb1000 in case someone wants to plug a kbd/mouse
into the USB. Add config file for DB1500. We should really make a
files.db1500 but whatever.
 1.4 28-Oct-2002  jdolecek now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
 1.3 09-Sep-2002  simonb Share disksubr.c across all evbmips "ports" (it was identical).
 1.2 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file files.pb1000 was added on branch kqueue on 2002-09-06 08:34:21 +0000
 1.1.4.5 01-Sep-2002  gehenna compile common conf.c
 1.1.4.4 01-Sep-2002  gehenna remove unnecessary ``major''
 1.1.4.3 01-Sep-2002  gehenna remove unused machine dependent conf.c
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file files.pb1000 was added on branch gehenna-devsw on 2002-08-30 00:29:30 +0000
 1.1.2.3 11-Nov-2002  nathanw Catch up to -current
 1.1.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.1 29-Jul-2002  nathanw file files.pb1000 was added on branch nathanw_sa on 2002-09-17 21:14:20 +0000
 1.6.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.16.1 21-Jun-2006  yamt sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.9.2.1 18-Feb-2006  yamt sync with head.
 1.5 05-Oct-2016  ryo add support MT7628/MediaTek LinkIt Smart 7688
by @hiroshi and me.
 1.4 20-Jul-2014  alnsn branches: 1.4.4; 1.4.8;
Include sljit files.
 1.3 29-Apr-2014  matt Add opt_rasoc.h
 1.2 28-Jul-2011  matt branches: 1.2.2; 1.2.12; 1.2.16; 1.2.26;
Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.1 01-Jul-2011  matt branches: 1.1.2;
file files.rasoc was initially added on branch matt-nb5-mips64.
 1.1.2.1 01-Jul-2011  matt Add basic support for the Ralink RT3883 SOC. No support for the wireless
interfaces is present but i2c, uart, ethernet, gpio, ehci, ohci are supported.
This support was contributed by Cradlepoint Technology.
 1.2.26.1 10-Aug-2014  tls Rebase.
 1.2.16.1 18-May-2014  rmind sync with head
 1.2.12.2 03-Dec-2017  jdolecek update from HEAD
 1.2.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4.8.1 04-Nov-2016  pgoyette Sync with HEAD
 1.4.4.1 05-Dec-2016  skrll Sync with HEAD
 1.5 20-Jul-2014  alnsn Include sljit files.
 1.4 18-Mar-2011  cliff branches: 1.4.14; 1.4.28;
- remove obsolete "TBD" comment
 1.3 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 13-Sep-2009  cliff branches: 1.1.2;
file files.rmixl was initially added on branch matt-nb5-mips64.
 1.1.2.6 23-Dec-2011  matt Include sdmmc files.
 1.1.2.5 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.1.2.4 16-Jan-2010  cliff - remove mainbus locator 'core', add mainbus locator 'node'
- cpucore and cpu config info moved to arch/mips/conf/files.rmixl
 1.1.2.3 13-Jan-2010  cliff - mainbus gets 'core' locator, loses (unused) 'addr' locator
- attach cpucore at mainbus
- attach cpu at cpucore
 1.1.2.2 09-Nov-2009  cliff - remove pci_machdep.c, pciide_machdep.c entries, those never existed here
 1.1.2.1 13-Sep-2009  cliff add netbsd support for RMI XLS6ATX_7A board and XL SoC family
 1.2.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.6.2 21-Apr-2011  rmind sync with head
 1.2.6.1 05-Mar-2011  rmind sync with head
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file files.rmixl was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.4.28.1 10-Aug-2014  tls Rebase.
 1.4.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5 04-Mar-2022  andvar fix few typos in comments for word "because".
 1.4 21-Aug-2019  msaitoh Fix typo (s/contoller/controller/).
 1.3 11-Apr-2019  simonb Be consistent with file^I and include^I.
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6; 1.2.10;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.10.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.10.1 10-Jun-2019  christos Sync with HEAD
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file files.sbmips was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file files.sbmips was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file files.sbmips was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.38 29-Jun-2021  nia Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
 1.37 24-Jul-2020  jmcneill branches: 1.37.6;
evbmips: add ofctl(8) and /dev/openfirm support
 1.36 04-Apr-2020  jdolecek mark nsmb major obsolete
 1.35 29-Jan-2020  maya remove urio(4), a driver for the Rio500 MP3 player.

At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.
 1.34 28-Jan-2019  dholland branches: 1.34.6;
Systematize handling of removed drivers.

- Every driver that was removed and whose number hasn't already been
reused is now listed with a commented-out "obsolete" line.
- The format of these has been systematized. Future format changes can
probably be safely done with a script.
- This does not include a few cases of assignments that only lasted a
couple days, or stuff from before major reorgs. Some of these may
be included nonetheless, because there was a lot of ground to cover
and therefore not a lot of time to dig into history in detail.

Note that the obsolete listings do not mean the major numbers can
never be reused; that's up to portmasters and/or core. It does mean
that they won't be reused by accident, however, which in some cases
(depending on the driver, how widely used it was, its family of device
nodes, their default permissions, etc.) can be quite dangerous.

Note that some of the things now explicitly listed as obsolete are
really ancient history. My scan went back as far as when the majors
files were added. (But not before that.)
 1.33 27-Jan-2019  dholland Restore satlink's majors entries commented out and marked obsolete.
Otherwise they might accidentally get reused later and cause a
security problem.
 1.32 27-Jan-2019  maxv Remove the satlink driver. It was disabled everywhere, had no man page and
no use either. Spotted by thorpej in PR/21345, ok christos.
 1.31 23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.30 08-Dec-2016  nat branches: 1.30.14; 1.30.16;
Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.29 23-Apr-2015  pgoyette branches: 1.29.2;
Update device dependency information - the sysmon major device now depends on the sysmon module itself, not on the individual components.
 1.28 26-Apr-2013  christos branches: 1.28.12;
spiflash is mi now
 1.27 30-Jun-2011  wiz branches: 1.27.2; 1.27.12;
dependant -> dependent
 1.26 06-Mar-2010  plunky use a MI major number for uhso(4) driver
(requested by mrg)
 1.25 06-Mar-2010  plunky add major device for usho(4) driver
 1.24 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.23 31-Dec-2007  ad branches: 1.23.6; 1.23.10; 1.23.16; 1.23.18;
Remove systrace. Ok core@.
 1.22 20-Mar-2007  dyoung branches: 1.22.14; 1.22.20; 1.22.26;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.21 24-Nov-2006  wiz branches: 1.21.4; 1.21.8; 1.21.10; 1.21.12;
s/independant/independent/, from Zafer.
 1.20 07-Oct-2006  gdamore Add major for spiflash. Note that this major should probably be moved out
to device-independent space, but we might well choose to wait to do that
until _after_ we have a full MI flash framework.
 1.19 14-Jul-2006  gdamore branches: 1.19.4; 1.19.6;
Cleanup old aucom entries. Left marked obsolete in majors, and removed from
dev/DEVNAMES.
 1.18 25-May-2006  gdamore Rename MD flash to athflash to avoid confusion. This only renames the major
number. The driver itself still needs to be done as well. :-)
 1.17 25-May-2006  gdamore Add major number for flash device.
 1.16 11-Dec-2005  christos branches: 1.16.4; 1.16.6; 1.16.8; 1.16.14;
merge ktrace-lwp.
 1.15 17-Sep-2005  yamt make VMSWAP optional again.
 1.14 31-Jul-2005  yamt revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
 1.13 30-Jul-2005  yamt defflag VMSWAP.
 1.12 10-May-2005  jdolecek branches: 1.12.2;
assign major for nsmb(4)
 1.11 10-Dec-2003  jmc Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
 1.10 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major
range
 1.9 10-Oct-2003  jdolecek update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
 1.8 05-Oct-2003  jdolecek Add some framework for MI assignment of device majors - add sys/dev/majors
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.

Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.

Follows recent discussion on tech-kern@
 1.7 22-Aug-2003  itojun create /dev/crypto
 1.6 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.5 25-Apr-2003  ragge branches: 1.5.2;
Add ksyms device major.
 1.4 31-Dec-2002  thorpej Fix sysmon entry.
 1.3 04-Oct-2002  elric branches: 1.3.2;
assign majors for raw and cooked cgd's.
 1.2 06-Sep-2002  gehenna branches: 1.2.2;
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 30-Aug-2002  gehenna branches: 1.1.2;
file majors.evbmips was initially added on branch gehenna-devsw.
 1.1.2.1 30-Aug-2002  gehenna Add generic major list for evbmips. It's shared with alchemy and malta.
 1.2.2.4 03-Jan-2003  thorpej Sync with HEAD.
 1.2.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.2.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.2.2.1 06-Sep-2002  nathanw file majors.evbmips was added on branch nathanw_sa on 2002-09-17 21:14:20 +0000
 1.3.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.2.1 04-Oct-2002  jdolecek file majors.evbmips was added on branch kqueue on 2002-10-10 18:32:29 +0000
 1.5.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.12.2.4 21-Jan-2008  yamt sync with head
 1.12.2.3 03-Sep-2007  yamt sync with head.
 1.12.2.2 30-Dec-2006  yamt sync with head.
 1.12.2.1 21-Jun-2006  yamt sync with head.
 1.16.14.1 19-Jun-2006  chap Sync with head.
 1.16.8.2 11-Aug-2006  yamt sync with head
 1.16.8.1 26-Jun-2006  yamt sync with head.
 1.16.6.1 01-Jun-2006  kardel Sync with head.
 1.16.4.1 09-Sep-2006  rpaulo sync with head
 1.19.6.2 10-Dec-2006  yamt sync with head.
 1.19.6.1 22-Oct-2006  yamt sync with head
 1.19.4.2 12-Jan-2007  ad Sync with head.
 1.19.4.1 18-Nov-2006  ad Sync with head.
 1.21.12.1 29-Mar-2007  reinoud Pullup to -current
 1.21.10.1 11-Jul-2007  mjf Sync with head.
 1.21.8.1 10-Apr-2007  ad Sync with head.
 1.21.4.1 24-Mar-2007  yamt sync with head.
 1.22.26.1 02-Jan-2008  bouyer Sync with HEAD
 1.22.20.1 18-Feb-2008  mjf Sync with HEAD.
 1.22.14.1 09-Jan-2008  matt sync with HEAD
 1.23.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.23.16.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.23.10.1 04-May-2009  yamt sync with head.
 1.23.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.27.12.2 03-Dec-2017  jdolecek update from HEAD
 1.27.12.1 23-Jun-2013  tls resync from head
 1.27.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.28.12.2 05-Feb-2017  skrll Sync with HEAD
 1.28.12.1 06-Jun-2015  skrll Sync with HEAD
 1.29.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.30.16.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.30.16.1 10-Jun-2019  christos Sync with HEAD
 1.30.14.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.34.6.1 29-Feb-2020  ad Sync with head.
 1.37.6.1 01-Aug-2021  thorpej Sync with HEAD.
 1.1 16-May-2002  gehenna branches: 1.1.2;
file majors.malta was initially added on branch gehenna-devsw.
 1.1.2.4 30-Aug-2002  gehenna Add generic major list for evbmips. It's shared with alchemy and malta.
 1.1.2.3 14-Jul-2002  gehenna catch up with -current.
 1.1.2.2 30-May-2002  gehenna Add $NetBSD$
 1.1.2.1 16-May-2002  gehenna Add the list of block/character majors.
 1.2 11-Dec-2008  alc Import config(9) file and register HAL's files in the build machinery.
 1.1 20-Mar-2007  dyoung branches: 1.1.2; 1.1.4; 1.1.10; 1.1.22; 1.1.42; 1.1.46; 1.1.52; 1.1.54; 1.1.56; 1.1.62;
Add a port to the Infineon ADM5120.

Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a
6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller,
USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a
multiport memory controller with both NOR and NAND flash support.
This code supports most of the devices on the ADM5120, including
the 6-port switch (each port attaches as an ethernet, admsw0 through
admsw5), the PCI controller, USB controller, GPIO, watchdog, and
UART.

Remaining work: the port includes no NOR/NAND flash drivers. No
bootloader is included. I have only tested the PCI bus driver with
the use of one PCI slot on the RouterBOARD 153. It is not possible
to exploit the capabilities of the ethernet switch using bridge(4).
I have only netbooted the ADM5120 on the RB153. Booting other
boards, and booting from flash memory, remains to be done.

Hardware availability: many low-cost routers, including the
RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120
processor.

Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120,
and they wrote device drivers for the UART, USB controller, and
10/100 switch. Matt Isaacs brought the port up-to-date with
NetBSD-current, made it compile, and ran it first on the RB153.
I added drivers for the PCI controller, GPIO, and watchdog timer.
I produced the bus attachment for the CompactFlash slot with advice
from Mikrotik technical support and from Matt Thomas.
 1.1.62.1 21-Apr-2010  matt sync to netbsd-5
 1.1.56.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.54.1 19-Jan-2009  skrll Sync with HEAD.
 1.1.52.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.46.1 04-May-2009  yamt sync with head.
 1.1.42.1 17-Jan-2009  mjf Sync with HEAD.
 1.1.22.2 03-Sep-2007  yamt sync with head.
 1.1.22.1 20-Mar-2007  yamt file std.adm5120 was added on branch yamt-lazymbuf on 2007-09-03 14:24:14 +0000
 1.1.10.2 11-Jul-2007  mjf Sync with head.
 1.1.10.1 20-Mar-2007  mjf file std.adm5120 was added on branch mjf-ufs-trans on 2007-07-11 19:58:49 +0000
 1.1.4.2 10-Apr-2007  ad Sync with head.
 1.1.4.1 20-Mar-2007  ad file std.adm5120 was added on branch vmlocking on 2007-04-10 13:39:27 +0000
 1.1.2.2 24-Mar-2007  yamt sync with head.
 1.1.2.1 20-Mar-2007  yamt file std.adm5120 was added on branch yamt-idlelwp on 2007-03-24 14:54:40 +0000
 1.4 11-Dec-2008  alc Import config(9) file and register HAL's files in the build machinery.
 1.3 28-Mar-2006  gdamore branches: 1.3.2; 1.3.8; 1.3.14; 1.3.68; 1.3.72; 1.3.78; 1.3.80; 1.3.82; 1.3.88;
Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.2 09-Feb-2006  gdamore branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Add Au1550 PCI support (Au1500 not yet, coming shortly).
Closes PR port-evbmips/32087.
Reviewed by simonb@ (Also, earlier, matt@, and tsutsui@.)
 1.1 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.2.8.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.2.6.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.4.1 01-Apr-2006  yamt sync with head.
 1.2.2.2 18-Feb-2006  yamt sync with head.
 1.2.2.1 09-Feb-2006  yamt file std.alchemy was added on branch yamt-uio_vmspace on 2006-02-18 15:38:34 +0000
 1.3.88.1 21-Apr-2010  matt sync to netbsd-5
 1.3.82.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.3.80.1 19-Jan-2009  skrll Sync with HEAD.
 1.3.78.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.3.72.1 04-May-2009  yamt sync with head.
 1.3.68.1 17-Jan-2009  mjf Sync with HEAD.
 1.3.14.2 09-Sep-2006  rpaulo sync with head
 1.3.14.1 28-Mar-2006  rpaulo file std.alchemy was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.3.8.2 21-Jun-2006  yamt sync with head.
 1.3.8.1 28-Mar-2006  yamt file std.alchemy was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.3.2.2 22-Apr-2006  simonb Sync with head.
 1.3.2.1 28-Mar-2006  simonb file std.alchemy was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1 09-Jul-2011  matt Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.5 07-Jul-2011  matt Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.4 11-Dec-2008  alc Import config(9) file and register HAL's files in the build machinery.
 1.3 26-Sep-2006  gdamore branches: 1.3.52; 1.3.56; 1.3.62; 1.3.64; 1.3.66; 1.3.72;
Initial import of AR2315 support, specifically the Meraki Mini (see
the Meraki web site at http://www.meraki.net/ ) This includes changes
to the AR5312 to make it more conducive to sharing code with the AR5315,
and also includes improved early console support.

All devices including ethernet and wlan interfaces on the Meraki Mini are
functional with this port, _except_ SPI flash, which will be introduced
later.

This port was funded by the Champaign-Urbana Communit Wireless Network
Project (CUWiN).
 1.2 04-Sep-2006  gdamore branches: 1.2.2; 1.2.4; 1.2.6;
This is a boat-load of changes designed to finish parameterizing the
stuff necessary to separate out AR5312 from AR5315. This includes:

1) rework of arbus IRQs, so that IRQs are now seperately specified
as either MISC or CPU irqs
2) move board/chip-specific addresses into chip-dependent file
3) unencumber argpio from ar5312 specifics, using properties to pass
details such as reset-pin and sysled-pin.
4) an option to select which WiSoC is to be configured is provided.

AR5315 support should be forthcoming shortly now.
 1.1 21-Mar-2006  gdamore branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.14;
Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.1.14.2 21-Jun-2006  yamt sync with head.
 1.1.14.1 21-Mar-2006  yamt file std.atheros was added on branch yamt-lazymbuf on 2006-06-21 14:51:02 +0000
 1.1.8.2 22-Apr-2006  simonb Sync with head.
 1.1.8.1 21-Mar-2006  simonb file std.atheros was added on branch simonb-timecounters on 2006-04-22 11:37:24 +0000
 1.1.6.2 19-Apr-2006  elad sync with head - hopefully this will work
 1.1.6.1 21-Mar-2006  elad file std.atheros was added on branch elad-kernelauth on 2006-04-19 02:32:32 +0000
 1.1.4.3 14-Sep-2006  yamt sync with head.
 1.1.4.2 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.4.1 21-Mar-2006  yamt file std.atheros was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.1.2.2 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.1.2.1 21-Mar-2006  tron file std.atheros was added on branch peter-altq on 2006-03-28 09:47:15 +0000
 1.2.6.1 22-Oct-2006  yamt sync with head
 1.2.4.2 09-Sep-2006  rpaulo sync with head
 1.2.4.1 04-Sep-2006  rpaulo file std.atheros was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:04 +0000
 1.2.2.1 18-Nov-2006  ad Sync with head.
 1.3.72.1 21-Apr-2010  matt sync to netbsd-5
 1.3.66.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.3.64.1 19-Jan-2009  skrll Sync with HEAD.
 1.3.62.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.3.56.1 04-May-2009  yamt sync with head.
 1.3.52.1 17-Jan-2009  mjf Sync with HEAD.
 1.5 02-Aug-2011  matt Pass -mfix-loongson2f-jump -mfix-loongson2f-nop to assembler to workaround
loongson2f j[la]r issues.
 1.4 21-Oct-2009  rmind Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.
 1.3 09-Aug-2009  matt branches: 1.3.2;
Add no options VMSWAP_UAREA and options ENABLE_MIPS_16KB_PAGE.
Gdium now gets as far as the root prompt.
 1.2 06-Aug-2009  matt Change MIPS64_LOONGSON2 to MIP3_LOONGSON2 since it's a MIPS3 and not MIPS64.
 1.1 06-Aug-2009  matt GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.3.2.3 11-Mar-2010  yamt sync with head
 1.3.2.2 19-Aug-2009  yamt sync with head.
 1.3.2.1 09-Aug-2009  yamt file std.gdium was added on branch yamt-nfs-mp on 2009-08-19 18:46:11 +0000
 1.2 11-Jul-2015  macallan branches: 1.2.16;
include files.sdmmc
 1.1 22-Nov-2014  macallan branches: 1.1.2;
initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
 1.1.2.1 22-Sep-2015  skrll Sync with HEAD
 1.2.16.2 03-Dec-2017  jdolecek update from HEAD
 1.2.16.1 11-Jul-2015  jdolecek file std.ingenic was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.2 08-Aug-2017  maya Build the loongson kernels with all the binutils loongson2f errata workarounds

From Zhang Fuxin via https://sourceware.org/ml/binutils/2009-11/msg00387.html

- The NOP issue

"The nature of the erratum is deeply related to the microarchitecture of
Loongson-2. It uses roughly a 4-way superscalar dynamically scheduled core,
instructions are excuted as much as possible in parallel with technics like
branch prediction etc. We use a 8-entry internal branch prediction queue to
keep track of each predicted branches, if some branches are proved to be
wrongly predicted, all the instructions following it will be cancelled,together
with the resources used by them, including the registers used for renaming, and
the queue entry will be freeed. There is a bug that might cause a hang when the
queue is full(some resources might been leaked due to conflict branch entries),
the workaround is to reduce the possiblity of branch queue full by using
renaming registers(they are also limited, can prevent too many simutaneos
branches). In theory this is still not enough to fully eliminate possible
hangs, but the possiblity is extremely low now and hard to be hit in real
code."

- The JUMP instructions issue

"The Loongson-2 series processors have quite complex micro-architecture, it will
try to execute instructions from the predicated branch of coming instruction
stream before they are confirmed to be run, if the predication of branch
direction is proved wrong later, the instructions will be cancelled, but if the
instructions is a read from memory, the read action might not be cancelled(but
the changes to register will) to enable some prefetch. This will lead to some
problems when compining with some chipsets. E.g. the AMD CS5536 used in
Yeeloong/Fuloong will hang if it gets an address in the physical address range
of 0x100000-0x200000(might be more other ranges). Speculative reads can perform
read at any address in theory(due to wrong prediction of branch directions and
the use of branch target buffer), thus in very few occasions they might cause a
hard lock of the machine.

To prevent this, we need to prevent some addresses from entering branch
target buffers. A way to do this is that to modify all jump targets, e.g.,
calulations of t9
...
jalr t9 =>
calculations of t9
or t9, t9, 0x80000000; // to make sure t9 is in kseg0
jalr t9
Of course, we have to consider 64/32bit, and modules addresses etc.

This only need to be performed on kernel code, because only there we can have
accesses not translated/limited by TLB. For user code, it is impossible to
generate accesses to unwanted physical address. So it is safe.

Also, to prevent addresses generated by user mode code to be used by the
kernel, we add a few empty jumps to flush the BTB upon entrance to kernel."
 1.1 27-Aug-2011  bouyer branches: 1.1.12; 1.1.30; 1.1.46;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.46.1 29-Aug-2017  martin Pull up following revision(s) (requested by maya in ticket #246):
sys/arch/evbmips/conf/std.loongson: revision 1.2
usr.sbin/sysinst/arch/evbmips/md.h: revision 1.2
sys/arch/mips/mips/mipsX_subr.S: revision 1.101
sys/arch/mips/mips/mipsX_subr.S: revision 1.102
sys/arch/mips/mips/mipsX_subr.S: revision 1.103
sys/arch/mips/mips/mipsX_subr.S: revision 1.104
In working around loongson errata clear BTB and RAS, same as
other operating systems.
15 Errata: Issue of Out-of-order in loongson (translated)
In loongson 2F, because of the branch prediction, sometimes the CPU
may fetch the instructions from some unexpected area (for example I/O
space). It is an invalid operation. There are two ways for the CPU to
choose the branch target. The first one is predicting the branch
target according to the branch target history. The second one is
calculating the branch target by the ALU. There are most 8
instructions in the instruction window at the same time in loongson2f
(Remember the loongson 2f is superscalar, right?). Hence, the
branch target of an indirect branch(such as jr) could be got(may be
predicted by the branch target history) earlier and the instrctions of
the branch target could be prefetched even if there are branch
instructions before it. As a result, it is possible to fetch the
instructions from I/O region( say out-of the physical address range of
[0- 0x100000]) in kernel model because of the instruction prefetch of
the branch target.
There are some suggestions to prevent prefetching instructions from
the I/O region in kernel mode.
(1) When switching from user model to kernel model, you should flush
the branch target history such as BTB and RAS.
(2) Doing some tricks to the indirect branch target to make sure that
the indirect branch target can not be in the I/O region.
Remove whitespace I just introduced
Build the loongson kernels with all the binutils loongson2f errata workarounds
From Zhang Fuxin via <a rel="nofollow" href="https://sourceware.org/ml/binutils/2009-11/msg00387.html">https://sourceware.org/ml/binutils/2009-11/msg00387.html</a>
- The NOP issue
"The nature of the erratum is deeply related to the microarchitecture of
Loongson-2. It uses roughly a 4-way superscalar dynamically scheduled core,
instructions are excuted as much as possible in parallel with technics like
branch prediction etc. We use a 8-entry internal branch prediction queue to
keep track of each predicted branches, if some branches are proved to be
wrongly predicted, all the instructions following it will be cancelled,together
with the resources used by them, including the registers used for renaming, and
the queue entry will be freeed. There is a bug that might cause a hang when the
queue is full(some resources might been leaked due to conflict branch entries),
the workaround is to reduce the possiblity of branch queue full by using
renaming registers(they are also limited, can prevent too many simutaneos
branches). In theory this is still not enough to fully eliminate possible
hangs, but the possiblity is extremely low now and hard to be hit in real
code."
- The JUMP instructions issue
"The Loongson-2 series processors have quite complex micro-architecture, it will
try to execute instructions from the predicated branch of coming instruction
stream before they are confirmed to be run, if the predication of branch
direction is proved wrong later, the instructions will be cancelled, but if the
instructions is a read from memory, the read action might not be cancelled(but
the changes to register will) to enable some prefetch. This will lead to some
problems when compining with some chipsets. E.g. the AMD CS5536 used in
Yeeloong/Fuloong will hang if it gets an address in the physical address range
of 0x100000-0x200000(might be more other ranges). Speculative reads can perform
read at any address in theory(due to wrong prediction of branch directions and
the use of branch target buffer), thus in very few occasions they might cause a
hard lock of the machine.
To prevent this, we need to prevent some addresses from entering branch
target buffers. A way to do this is that to modify all jump targets, e.g.,
calulations of t9
...
jalr t9 =>
calculations of t9
or t9, t9, 0x80000000; // to make sure t9 is in kseg0
jalr t9
Of course, we have to consider 64/32bit, and modules addresses etc.
This only need to be performed on kernel code, because only there we can have
accesses not translated/limited by TLB. For user code, it is impossible to
generate accesses to unwanted physical address. So it is safe.
Also, to prevent addresses generated by user mode code to be used by the
kernel, we add a few empty jumps to flush the BTB upon entrance to kernel."
evbmips can "boot root FFSv2"
It typically uses a non-NetBSD bootloader (PMON, u-boot...) and those
don't differentiate from v1 from v2 - both are unsupported and it requires
a separate boot partition.
Don't need the errata workaround on user return
It's reported that the MMU will block such invalid reads in userland,
and it's only needed on entry.
use meaningful name for errata hack, dedup
 1.1.30.1 28-Aug-2017  skrll Sync with HEAD
 1.1.12.1 03-Dec-2017  jdolecek update from HEAD
 1.10 29-Apr-2021  simonb Don't force all MALTA kernels to be compiled with -mips64 when they
also support MIPS32-only CPU configs.
 1.9 11-Apr-2019  simonb branches: 1.9.16;
Generate SREC kernels that YAMON can load.
 1.8 20-Feb-2011  matt branches: 1.8.56;
Merge forward from matt-nb5-mips64.
 1.7 14-Dec-2009  matt branches: 1.7.4; 1.7.6; 1.7.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.6 11-Dec-2008  alc Import config(9) file and register HAL's files in the build machinery.
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.78; 1.5.84; 1.5.86; 1.5.88; 1.5.94;
merge ktrace-lwp.
 1.4 17-Sep-2005  yamt include "conf/std".
 1.3 09-Dec-2002  simonb branches: 1.3.2; 1.3.8; 1.3.24;
Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.2 23-Mar-2002  simonb Allow selection of a big- or little-endian kernel by uncommenting the
std.malta.eb or std.malta.el config include file in the kernel config
file. From the sbmips and evbsh3 ports.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.3.24.1 21-Jun-2006  yamt sync with head.
 1.3.8.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.3.2.1 09-Dec-2002  thorpej file std.malta was added on branch nathanw_sa on 2002-12-11 05:58:34 +0000
 1.5.94.2 21-Apr-2010  matt sync to netbsd-5
 1.5.94.1 23-Aug-2009  matt Compile MALTA with -mmips64
 1.5.88.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.5.86.1 19-Jan-2009  skrll Sync with HEAD.
 1.5.84.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.5.78.2 11-Mar-2010  yamt sync with head
 1.5.78.1 04-May-2009  yamt sync with head.
 1.5.74.1 17-Jan-2009  mjf Sync with HEAD.
 1.7.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.7.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.4.1 05-Mar-2011  rmind sync with head
 1.8.56.1 10-Jun-2019  christos Sync with HEAD
 1.9.16.1 13-May-2021  thorpej Sync with HEAD.
 1.2 09-Dec-2002  simonb Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.1 23-Mar-2002  simonb branches: 1.1.6; 1.1.8;
Allow selection of a big- or little-endian kernel by uncommenting the
std.malta.eb or std.malta.el config include file in the kernel config
file. From the sbmips and evbsh3 ports.
 1.1.8.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.8.1 23-Mar-2002  thorpej file std.malta.common was added on branch nathanw_sa on 2002-12-11 05:58:35 +0000
 1.1.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.1 23-Mar-2002  jdolecek file std.malta.common was added on branch kqueue on 2002-06-23 17:35:49 +0000
 1.2 09-Dec-2002  simonb Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.1 23-Mar-2002  simonb branches: 1.1.6; 1.1.8;
Allow selection of a big- or little-endian kernel by uncommenting the
std.malta.eb or std.malta.el config include file in the kernel config
file. From the sbmips and evbsh3 ports.
 1.1.8.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.8.1 23-Mar-2002  thorpej file std.malta.eb was added on branch nathanw_sa on 2002-12-11 05:58:35 +0000
 1.1.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.1 23-Mar-2002  jdolecek file std.malta.eb was added on branch kqueue on 2002-06-23 17:35:49 +0000
 1.2 09-Dec-2002  simonb Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.1 23-Mar-2002  simonb branches: 1.1.6; 1.1.8;
Allow selection of a big- or little-endian kernel by uncommenting the
std.malta.eb or std.malta.el config include file in the kernel config
file. From the sbmips and evbsh3 ports.
 1.1.8.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.8.1 23-Mar-2002  thorpej file std.malta.el was added on branch nathanw_sa on 2002-12-11 05:58:35 +0000
 1.1.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.1 23-Mar-2002  jdolecek file std.malta.el was added on branch kqueue on 2002-06-23 17:35:49 +0000
 1.3 07-Jul-2011  matt Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.2 11-Dec-2008  alc Import config(9) file and register HAL's files in the build machinery.
 1.1 26-Sep-2006  gdamore branches: 1.1.2; 1.1.4; 1.1.8; 1.1.58; 1.1.62; 1.1.68; 1.1.70; 1.1.72; 1.1.78;
Initial import of AR2315 support, specifically the Meraki Mini (see
the Meraki web site at http://www.meraki.net/ ) This includes changes
to the AR5312 to make it more conducive to sharing code with the AR5315,
and also includes improved early console support.

All devices including ethernet and wlan interfaces on the Meraki Mini are
functional with this port, _except_ SPI flash, which will be introduced
later.

This port was funded by the Champaign-Urbana Communit Wireless Network
Project (CUWiN).
 1.1.78.1 21-Apr-2010  matt sync to netbsd-5
 1.1.72.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.70.1 19-Jan-2009  skrll Sync with HEAD.
 1.1.68.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.62.1 04-May-2009  yamt sync with head.
 1.1.58.1 17-Jan-2009  mjf Sync with HEAD.
 1.1.8.2 30-Dec-2006  yamt sync with head.
 1.1.8.1 26-Sep-2006  yamt file std.meraki was added on branch yamt-lazymbuf on 2006-12-30 20:45:51 +0000
 1.1.4.2 18-Nov-2006  ad Sync with head.
 1.1.4.1 26-Sep-2006  ad file std.meraki was added on branch newlock2 on 2006-11-18 21:29:11 +0000
 1.1.2.2 22-Oct-2006  yamt sync with head
 1.1.2.1 26-Sep-2006  yamt file std.meraki was added on branch yamt-splraiseipl on 2006-10-22 06:04:39 +0000
 1.1 27-Jan-2021  simonb branches: 1.1.4;
Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 27-Jan-2021  thorpej file std.mipssim was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.4 08-Feb-2006  gdamore Improved alchemy board support, including board differentiation required for
PCI idsel and irq routing (later).
Various cleanup/rototilling to remove hardcoded pb1000 references.
Reviewed by simonb@, and derived from changes reviewed by matt@ and tsutsui@
 1.3 11-Dec-2005  christos branches: 1.3.2; 1.3.4; 1.3.6;
merge ktrace-lwp.
 1.2 17-Sep-2005  yamt include "conf/std".
 1.1 09-Dec-2002  simonb branches: 1.1.2; 1.1.8; 1.1.24;
Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.1.24.1 21-Jun-2006  yamt sync with head.
 1.1.8.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file std.pb1000 was added on branch nathanw_sa on 2002-12-11 05:58:35 +0000
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.3.2.1 18-Feb-2006  yamt sync with head.
 1.2 09-Dec-2002  simonb Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file std.pb1000.common was added on branch kqueue on 2002-09-06 08:34:21 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file std.pb1000.common was added on branch gehenna-devsw on 2002-08-30 00:29:30 +0000
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 29-Jul-2002  thorpej file std.pb1000.common was added on branch nathanw_sa on 2002-12-11 05:58:35 +0000
 1.2 09-Dec-2002  simonb Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file std.pb1000.eb was added on branch kqueue on 2002-09-06 08:34:22 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file std.pb1000.eb was added on branch gehenna-devsw on 2002-08-30 00:29:30 +0000
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 29-Jul-2002  thorpej file std.pb1000.eb was added on branch nathanw_sa on 2002-12-11 05:58:35 +0000
 1.2 09-Dec-2002  simonb Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.1 29-Jul-2002  simonb branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 29-Jul-2002  jdolecek file std.pb1000.el was added on branch kqueue on 2002-09-06 08:34:22 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 29-Jul-2002  gehenna file std.pb1000.el was added on branch gehenna-devsw on 2002-08-30 00:29:30 +0000
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 29-Jul-2002  thorpej file std.pb1000.el was added on branch nathanw_sa on 2002-12-11 05:58:35 +0000
 1.4 30-Apr-2014  matt Localize the bsentry ubootimage kludge needed for the CPMBR1400
doesn't spread beyong the CPMBR1400.
 1.3 16-Aug-2011  matt branches: 1.3.2; 1.3.12; 1.3.16; 1.3.26;
Deal the brokenness of some u-boot (bsentry [byte swapped entry]) and add
some support for varying compressions schemes.
 1.2 28-Jul-2011  matt Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.1 01-Jul-2011  matt branches: 1.1.2;
file std.rasoc was initially added on branch matt-nb5-mips64.
 1.1.2.1 01-Jul-2011  matt Add basic support for the Ralink RT3883 SOC. No support for the wireless
interfaces is present but i2c, uart, ethernet, gpio, ehci, ohci are supported.
This support was contributed by Cradlepoint Technology.
 1.3.26.1 10-Aug-2014  tls Rebase.
 1.3.16.1 18-May-2014  rmind sync with head
 1.3.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 13-Sep-2009  cliff branches: 1.1.2;
file std.rmixl was initially added on branch matt-nb5-mips64.
 1.1.2.6 24-Dec-2011  matt Update options for rmixl and a new std.rmixlp
 1.1.2.5 26-May-2011  matt Use new MIPS64*_RMIXL options
If MP, store address of &pmap_tlb0_info.ti_lock->mtx_lock to OSSCRATCH 2
 1.1.2.4 29-Mar-2010  cliff - turn on options MIPS64_XLR
 1.1.2.3 11-Dec-2009  cliff remove option ENABLE_MIPS_16KB_PAGE
 1.1.2.2 15-Nov-2009  cliff - delete un-needed options MIPS32
 1.1.2.1 13-Sep-2009  cliff add netbsd support for RMI XLS6ATX_7A board and XL SoC family
 1.2.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.6.1 05-Mar-2011  rmind sync with head
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file std.rmixl was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.1 24-Dec-2011  matt branches: 1.1.2;
file std.rmixlp was initially added on branch matt-nb5-mips64.
 1.1.2.1 24-Dec-2011  matt Update options for rmixl and a new std.rmixlp
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file std.sbmips was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file std.sbmips was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file std.sbmips was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.3 18-Mar-2002  simonb Use mips/mips/bus_dma.c.
 1.2 18-Mar-2002  simonb Convert to use <mips/bus_*.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.14 02-Sep-2006  gdamore Use new common, MIPS3 clock handling. This eliminates some port-specific
code in favor of common MIPS3 code.
 1.13 02-Sep-2006  gdamore Convert evbmis to __HAVE_GENERIC_TODR.
 1.12 02-Sep-2006  gdamore Remove ifdef 0'd code from before timecounters.
 1.11 02-Sep-2006  gdamore Convert evbmips to timecounters, using the MIPS3 cp0 clock.
This has been tested on AR5312, and I expect it to "just work" on
all evbmips systems. (On AR5312, the counter is 110MHz. :-)
 1.10 31-Mar-2006  gdamore Fix incorrect panic when no RTC present.
 1.9 28-Mar-2006  gdamore Duplicate RTC registration should be a warning, not a panic.
 1.8 28-Mar-2006  shige Add a missing todr_attach() function.
 1.7 28-Mar-2006  gdamore Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.6 11-Dec-2005  christos branches: 1.6.4; 1.6.6; 1.6.8; 1.6.10; 1.6.12;
merge ktrace-lwp.
 1.5 07-Aug-2003  agc branches: 1.5.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.4 04-Jun-2002  simonb branches: 1.4.2; 1.4.4; 1.4.10;
3 ports are now using the reciprocal count divisor code now, move it
to <mips/cpu.h>, and add MIPS_SET_CI_RECIPRICAL and MIPS_COUNT_TO_MHZ
macros to use it.
 1.3 19-Apr-2002  simonb branches: 1.3.2;
Add a newline to a debug printf.
 1.2 08-Apr-2002  simonb Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
sbmips) and delay (based on an evbmips delay function) functions.
- Schedule the next hardclock interrupt more accurately (from
an sgimips patch by Rafal Boni). Clock drift on one board is
now ~7ppm instead of ~330ppm.
- Purge old pmax-based mcclock code.
- Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.3.2.1 14-Jul-2002  gehenna catch up with -current.
 1.4.10.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.10.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.10.1 03-Aug-2004  skrll Sync with HEAD
 1.4.4.2 04-Jun-2002  simonb 3 ports are now using the reciprocal count divisor code now, move it
to <mips/cpu.h>, and add MIPS_SET_CI_RECIPRICAL and MIPS_COUNT_TO_MHZ
macros to use it.
 1.4.4.1 04-Jun-2002  simonb file clock.c was added on branch nathanw_sa on 2002-06-04 05:42:43 +0000
 1.4.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.2.1 04-Jun-2002  jdolecek file clock.c was added on branch kqueue on 2002-06-23 17:35:50 +0000
 1.5.16.2 30-Dec-2006  yamt sync with head.
 1.5.16.1 21-Jun-2006  yamt sync with head.
 1.6.12.2 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.6.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.6.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.6.8.2 03-Sep-2006  yamt sync with head.
 1.6.8.1 01-Apr-2006  yamt sync with head.
 1.6.6.1 22-Apr-2006  simonb Sync with head.
 1.6.4.1 09-Sep-2006  rpaulo sync with head
 1.6 02-Sep-2006  gdamore Use new common, MIPS3 clock handling. This eliminates some port-specific
code in favor of common MIPS3 code.
 1.5 28-Mar-2006  gdamore Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.4 11-Dec-2005  christos branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; 1.4.12;
merge ktrace-lwp.
 1.3 13-Feb-2004  wiz branches: 1.3.16;
Uppercase CPU, plural is CPUs.
 1.2 08-Apr-2002  simonb branches: 1.2.6; 1.2.8; 1.2.14;
Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
sbmips) and delay (based on an evbmips delay function) functions.
- Schedule the next hardclock interrupt more accurately (from
an sgimips patch by Rafal Boni). Clock drift on one board is
now ~7ppm instead of ~330ppm.
- Purge old pmax-based mcclock code.
- Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.14.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.14.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.14.1 03-Aug-2004  skrll Sync with HEAD
 1.2.8.2 08-Apr-2002  simonb Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
sbmips) and delay (based on an evbmips delay function) functions.
- Schedule the next hardclock interrupt more accurately (from
an sgimips patch by Rafal Boni). Clock drift on one board is
now ~7ppm instead of ~330ppm.
- Purge old pmax-based mcclock code.
- Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
 1.2.8.1 08-Apr-2002  simonb file clockvar.h was added on branch nathanw_sa on 2002-04-08 14:08:26 +0000
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 08-Apr-2002  jdolecek file clockvar.h was added on branch kqueue on 2002-06-23 17:35:50 +0000
 1.3.16.2 30-Dec-2006  yamt sync with head.
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.4.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.4.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.4.8.2 03-Sep-2006  yamt sync with head.
 1.4.8.1 01-Apr-2006  yamt sync with head.
 1.4.6.1 22-Apr-2006  simonb Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.5 28-Oct-2002  jdolecek now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
 1.4 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.3 04-Aug-2002  simonb branches: 1.3.2; 1.3.4; 1.3.6;
Make this compile for the non-sbmips case.
 1.2 31-Jul-2002  simonb Add kttcp, sysmon and broadcom/sibyte devices.
 1.1 26-Jul-2002  simonb Split out the {b,c}dev to a separate file, which many devices declared
conditionally so that other eval boards (say without PCI support) can
share the basic "conf.c".
 1.3.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.6.1 04-Aug-2002  jdolecek file conf_common.c was added on branch kqueue on 2002-09-06 08:34:23 +0000
 1.3.4.4 01-Sep-2002  gehenna make this compile
 1.3.4.3 30-Aug-2002  gehenna Add generic major list for evbmips. It's shared with alchemy and malta.
 1.3.4.2 30-Aug-2002  gehenna catch up with -current.
 1.3.4.1 04-Aug-2002  gehenna file conf_common.c was added on branch gehenna-devsw on 2002-08-30 00:29:31 +0000
 1.3.2.3 11-Nov-2002  nathanw Catch up to -current
 1.3.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.3.2.1 04-Aug-2002  nathanw file conf_common.c was added on branch nathanw_sa on 2002-09-17 21:14:21 +0000
 1.6 03-Mar-2022  riastradh mips: Carefully use device_set_private for cpuN.

But don't do it in cpu_attach_common because the callers aren't set
up right -- instead leave a comment about what's wrong, to be dealt
with later.
 1.5 26-Jun-2015  matt Add #include <mips/locore.h>
 1.4 26-May-2015  matt Call cpu_attach_common to attach the per-cpu counters.
 1.3 20-Feb-2011  matt branches: 1.3.14; 1.3.32;
Merge forward from matt-nb5-mips64.
 1.2 11-Aug-2009  matt branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.12;
Use aprint_normal
 1.1 02-Aug-2009  matt Use a common version of cpu.c (mmm removing identical code).
 1.2.12.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.10.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.8.1 05-Mar-2011  rmind sync with head
 1.2.4.4 23-Dec-2011  matt Change usage to cpu_identify(self, NULL);
 1.2.4.3 11-Mar-2010  matt Use cpu_attach_common()
 1.2.4.2 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.2.4.1 11-Aug-2009  matt file cpu.c was added on branch matt-nb5-mips64 on 2010-01-13 01:53:18 +0000
 1.2.2.2 19-Aug-2009  yamt sync with head.
 1.2.2.1 11-Aug-2009  yamt file cpu.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:12 +0000
 1.3.32.2 22-Sep-2015  skrll Sync with HEAD
 1.3.32.1 06-Jun-2015  skrll Sync with HEAD
 1.3.14.1 03-Dec-2017  jdolecek update from HEAD
 1.18 03-Apr-2019  christos centralize setdisklabel(9)
 1.17 02-Jan-2008  ad branches: 1.17.98;
Merge vmlocking2 to head.
 1.16 17-Oct-2007  garbled branches: 1.16.2; 1.16.4; 1.16.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.15 08-Oct-2007  ad Merge brelse() changes from the vmlocking branch.
 1.14 29-Jul-2007  ad branches: 1.14.4; 1.14.6; 1.14.8;
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
 1.13 24-Jun-2007  dyoung branches: 1.13.2; 1.13.4;
Extract common code from i386, xen, and sparc64, creating
config_handle_wedges() and read_disk_sectors(). On x86, handle_wedges()
is a thin wrapper for config_handle_wedges(). Share opendisk()
across architectures.

Add kernel code in support of specifying a root partition by wedge
name. E.g., root specifications "wedge:wd0a", "wedge:David's Root
Volume" are possible. (Patches for config(1) coming soon.)

In support of moving disks between architectures (esp. i386 <->
evbmips), I've written a routine convertdisklabel() that ensures
that the raw partition is at RAW_DISK by following these steps:

0 If we have read a disklabel that has a RAW_PART with
p_offset == 0 and p_size != 0, then use that raw partition.

1 If we have read a disklabel that has both partitions 'c'
and 'd', and RAW_PART has p_offset != 0 or p_size == 0,
but the other partition is suitable for a raw partition
(p_offset == 0, p_size != 0), then swap the two partitions
and use the new raw partition.

2 If the architecture's raw partition is 'd', and if there
is no partition 'd', but there is a partition 'c' that
is suitable for a raw partition, then copy partition 'c'
to partition 'd'.

3 Determine the drive's last sector, using either the
d_secperunit the drive reported, or by guessing (0x1fffffff).
If we cannot read the drive's last sector, then fail.

4 If we have read a disklabel that has no partition slot
RAW_PART, then create a partition RAW_PART. Make it span
the whole drive.

5 If there are fewer than MAXPARTITIONS partitions,
then "slide" the unsuitable raw partition RAW_PART, and
subsequent partitions, into partition slots RAW_PART+1
and subsequent slots. Create a raw partition at RAW_PART.
Make it span the whole drive.

The convertdisklabel() procedure can probably stand to be simplified,
but it ought to deal with all but an extraordinarily broken disklabel,
now.

i386: compiled and tested, sparc64: compiled, evbmips: compiled.
 1.12 06-Mar-2007  simonb branches: 1.12.2; 1.12.4; 1.12.10;
Fix some caddr_t rototill fallout.
 1.11 25-Nov-2006  scw branches: 1.11.4;
Partition sizes are specified in terms of the physical sector size of the disk.
 1.10 25-Nov-2006  scw Replace the myriad copies of bounds_check_with_label() with a single MI
version.

Add disk_blocksize(9) so that disk drivers can record the physical
block size of a disk if it is different to DEV_BSIZE. Right now this
simply initialises dk_blkshift and dk_byteshift according to the
supplied block size. This information is used in the MI version of
bounds_check_with_label().
 1.9 11-Dec-2005  christos branches: 1.9.20; 1.9.22;
merge ktrace-lwp.
 1.8 09-Jun-2005  he branches: 1.8.2;
Adapt to compiling with -Wcast-qual by adding consts where appropriate.
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 10-May-2003  thorpej branches: 1.5.2;
Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself. This paves the way for some future changes.
 1.4 02-May-2003  dsl Change return type of readdisklabel() to const char *
I hope I've found all the correct places!
 1.3 16-Apr-2003  bouyer Nake return values from bounds_check_with_label() conform to the man
page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit
message, pointed out by Miod Vallat in private mail.
vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how
other places handle return values from bounds_check_with_label().
 1.2 19-Mar-2003  simonb Spell 'strategy' correctly.
 1.1 09-Sep-2002  simonb branches: 1.1.2; 1.1.4;
Share disksubr.c across all evbmips "ports" (it was identical).
 1.1.4.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.4.1 09-Sep-2002  jdolecek file disksubr.c was added on branch kqueue on 2002-10-10 18:32:29 +0000
 1.1.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.1 09-Sep-2002  nathanw file disksubr.c was added on branch nathanw_sa on 2002-09-17 21:14:22 +0000
 1.5.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.2.4 21-Jan-2008  yamt sync with head
 1.8.2.3 27-Oct-2007  yamt sync with head.
 1.8.2.2 03-Sep-2007  yamt sync with head.
 1.8.2.1 30-Dec-2006  yamt sync with head.
 1.9.22.1 10-Dec-2006  yamt sync with head.
 1.9.20.1 12-Jan-2007  ad Sync with head.
 1.11.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.12.10.3 16-Oct-2007  garbled Sync with HEAD
 1.12.10.2 03-Oct-2007  garbled Sync with HEAD
 1.12.10.1 26-Jun-2007  garbled Sync with HEAD.
 1.12.4.1 11-Jul-2007  mjf Sync with head.
 1.12.2.3 09-Oct-2007  ad Sync with head.
 1.12.2.2 19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.12.2.1 15-Jul-2007  ad Sync with head.
 1.13.4.1 15-Aug-2007  skrll Sync with HEAD.
 1.13.2.1 07-Aug-2007  matt Sync with HEAD.
 1.14.8.1 14-Oct-2007  yamt sync with head.
 1.14.6.2 09-Jan-2008  matt sync with HEAD
 1.14.6.1 06-Nov-2007  matt sync with HEAD
 1.14.4.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.16.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.16.4.1 31-Dec-2007  ad Make compile with new buffer cache locking scheme.

XXX This should be largely MI, please do not make another clone of disksubr.c.
 1.16.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.17.98.1 10-Jun-2019  christos Sync with HEAD
 1.28 13-Mar-2024  riastradh evbmips/interrupt.c: No need for __diagused with KASSERT.

KASSERT already references all the variables even in !DIAGNOSTIC
builds (but evaluates nothing at run-time in that case).

That said: Is the curlwp->l_blcnt assertion correct? Can't curlwp be
changed in this interrupt handler by preemption?
 1.27 13-Mar-2024  skrll Remove #ifdef DIAGNOSTIC by using __diagused. NFCI.
 1.26 12-Mar-2024  andvar Fix non-DIAGNOSTIC build for evbmips.

mtx_count, biglock_count and blcnt are defined inside DIAGNOSTIC block, thus
KASSERTs using them should be guarded as well.

Seemingly introduced with matt-nb5-mips64 merge in 2011.
 1.25 10-Jun-2023  skrll Trailing whitespace.
 1.24 26-Aug-2016  skrll Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.23 26-Aug-2016  skrll Make this reentrant / MP safe
 1.22 06-Jun-2015  matt Add a few KDASSERT for interrupts being enabled.
 1.21 26-Dec-2014  macallan put #ifdef MIPS3_ENABLE_CLOCK_INTR around special handling of INT5
 1.20 22-Nov-2014  macallan branches: 1.20.2;
initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
 1.19 14-May-2013  macallan always set up a clockframe and make it available to other drivers, so clocks
other than the MIPS cycle counter can be used ( for example pwmclock )
 1.18 27-Sep-2011  jym branches: 1.18.2; 1.18.12;
Modify *ASSERTMSG() so they are now used as variadic macros. The main goal
is to provide routines that do as KASSERT(9) says: append a message
to the panic format string when the assertion triggers, with optional
arguments.

Fix call sites to reflect the new definition.

Discussed on tech-kern@. See
http://mail-index.netbsd.org/tech-kern/2011/09/07/msg011427.html
 1.17 10-Jul-2011  matt CLeanup machine includes
 1.16 07-Jul-2011  matt Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.15 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.14 20-Dec-2010  matt branches: 1.14.2; 1.14.4;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.13 15-Dec-2009  mrg branches: 1.13.4;
convert all mips cpu_intr() to have the standard
(uint32_t, uint32_t, vaddr_t, uint32_t) signature.
 1.12 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.11 28-Apr-2008  martin branches: 1.11.18;
Remove clause 3 and 4 from TNF licenses
 1.10 03-Dec-2007  ad branches: 1.10.14; 1.10.16; 1.10.18;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.9 10-Sep-2006  tsutsui branches: 1.9.10; 1.9.28; 1.9.30; 1.9.36;
Change mips3_clockintr() to take (struct clockframe *) rather than
pc and status since it calls hardclock(9) anyway.
OK'ed by gdamore on port-mips.
 1.8 02-Sep-2006  gdamore branches: 1.8.2;
Use new common, MIPS3 clock handling. This eliminates some port-specific
code in favor of common MIPS3 code.
 1.7 11-Dec-2005  christos branches: 1.7.4; 1.7.8;
merge ktrace-lwp.
 1.6 15-Jul-2003  lukem branches: 1.6.16;
__KERNEL_RCSID()
 1.5 25-May-2003  tsutsui branches: 1.5.2;
Use common mips/softintr.c for softintr(9) on evbmips.
Ok'ed by simonb.
 1.4 10-Nov-2002  simonb Keep the knowledge of the H/W interrupt 5 event counter local to
interrupt.c. This change also unmasked the fact that the Alchemy
boards did not initialise this counter.
 1.3 29-Jul-2002  simonb branches: 1.3.2;
Move the soft interrupts IPL masks from port-specific code to
board-specific code.
Change a u_long to a uint32_t in the timer calibration routines.
 1.2 08-Apr-2002  simonb branches: 1.2.2; 1.2.6;
Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
sbmips) and delay (based on an evbmips delay function) functions.
- Schedule the next hardclock interrupt more accurately (from
an sgimips patch by Rafal Boni). Clock drift on one board is
now ~7ppm instead of ~330ppm.
- Purge old pmax-based mcclock code.
- Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.6.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 08-Apr-2002  jdolecek file interrupt.c was added on branch kqueue on 2002-06-23 17:35:50 +0000
 1.2.2.1 30-Aug-2002  gehenna catch up with -current.
 1.3.2.2 11-Nov-2002  nathanw Catch up to -current
 1.3.2.1 29-Jul-2002  nathanw file interrupt.c was added on branch nathanw_sa on 2002-11-11 21:57:58 +0000
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.2 07-Dec-2007  yamt sync with head
 1.6.16.1 30-Dec-2006  yamt sync with head.
 1.7.8.2 14-Sep-2006  yamt sync with head.
 1.7.8.1 03-Sep-2006  yamt sync with head.
 1.7.4.1 09-Sep-2006  rpaulo sync with head
 1.8.2.1 18-Nov-2006  ad Sync with head.
 1.9.36.1 08-Dec-2007  mjf Sync with HEAD.
 1.9.30.1 09-Jan-2008  matt sync with HEAD
 1.9.28.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.9.10.1 03-Dec-2007  ad Sync with HEAD.
 1.10.18.2 11-Mar-2010  yamt sync with head
 1.10.18.1 16-May-2008  yamt sync with head.
 1.10.16.1 18-May-2008  yamt sync with head.
 1.10.14.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.18.4 11-Mar-2010  matt don't pass MIPS_INT_MASK_5 to evbmips_iointr
 1.11.18.3 15-Feb-2010  matt Adapt to the new interrupt framework for NetBSD/mips.
 1.11.18.2 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.11.18.1 23-Nov-2009  cliff fix types in struct clockframe and args to cpu_intr
to be corect for 32 or 64 bit kernel
 1.13.4.1 05-Mar-2011  rmind sync with head
 1.14.4.1 05-Mar-2011  bouyer Sync with HEAD
 1.14.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.18.12.2 03-Dec-2017  jdolecek update from HEAD
 1.18.12.1 23-Jun-2013  tls resync from head
 1.18.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.20.2.3 05-Oct-2016  skrll Sync with HEAD
 1.20.2.2 22-Sep-2015  skrll Sync with HEAD
 1.20.2.1 06-Apr-2015  skrll Sync with HEAD
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 31-May-2005  chs remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.18;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.18.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file locore_machdep.S was added on branch nathanw_sa on 2002-03-07 14:43:59 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file locore_machdep.S was added on branch kqueue on 2002-06-23 17:35:50 +0000
 1.2 13-Mar-2002  simonb All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.14 26-Jun-2015  matt Add #include <mips/locore.h>
 1.13 20-Feb-2011  matt branches: 1.13.14; 1.13.32;
Merge forward from matt-nb5-mips64.
 1.12 14-Mar-2009  dsl branches: 1.12.4; 1.12.6; 1.12.8;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.11 26-May-2008  tsutsui branches: 1.11.6; 1.11.12; 1.11.16;
Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).
 1.10 09-Jan-2008  wiz branches: 1.10.6; 1.10.8; 1.10.10; 1.10.12;
Fix typo in macro name and comments.
 1.9 17-Oct-2007  garbled branches: 1.9.2; 1.9.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.8 17-May-2007  yamt branches: 1.8.10;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.7 13-Jul-2006  gdamore branches: 1.7.10; 1.7.14; 1.7.16; 1.7.22;
Revert yamon_getenv() so it returns char *. While this is suboptimal, it is
the only convenient way to use the returned value with numerous library
routines which have not been altered to properly use constified char *.

This was found to be necessary when I extended yamon to hold a string
describing a video mode for use with my experimental radeonfb.
 1.6 21-Mar-2006  gdamore branches: 1.6.4;
Use const char * in yamon_print().
 1.5 11-Dec-2005  christos branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.12;
merge ktrace-lwp.
 1.4 09-Jun-2005  he branches: 1.4.2;
Adapt to compiling with -Wcast-qual by adding consts where appropriate.
 1.3 27-Oct-2003  simonb Add a function to query YAMON for the CPU frequency, and set up the
parameters for delay() from this.
 1.2 15-Jul-2003  lukem __KERNEL_RCSID()
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.18;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.18.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.18.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.18.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.18.1 03-Aug-2004  skrll Sync with HEAD
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file yamon.c was added on branch nathanw_sa on 2002-03-07 14:44:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file yamon.c was added on branch kqueue on 2002-06-23 17:35:50 +0000
 1.4.2.4 21-Jan-2008  yamt sync with head
 1.4.2.3 03-Sep-2007  yamt sync with head.
 1.4.2.2 30-Dec-2006  yamt sync with head.
 1.4.2.1 21-Jun-2006  yamt sync with head.
 1.5.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.5.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.5.8.2 11-Aug-2006  yamt sync with head
 1.5.8.1 01-Apr-2006  yamt sync with head.
 1.5.6.1 22-Apr-2006  simonb Sync with head.
 1.5.4.1 09-Sep-2006  rpaulo sync with head
 1.6.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.7.22.1 22-May-2007  matt Update to HEAD.
 1.7.16.1 11-Jul-2007  mjf Sync with head.
 1.7.14.1 27-May-2007  ad Sync with head.
 1.7.10.1 18-Apr-2007  ad Pull in sys/cpu.h.
 1.8.10.2 23-Mar-2008  matt sync with HEAD
 1.8.10.1 06-Nov-2007  matt sync with HEAD
 1.9.8.1 10-Jan-2008  bouyer Sync with HEAD
 1.9.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.10.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.10.10.1 04-May-2009  yamt sync with head.
 1.10.8.1 04-Jun-2008  yamt sync with head
 1.10.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.16.1 20-Jan-2010  matt Adjust things to the new world order.
 1.11.12.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.11.6.1 28-Apr-2009  skrll Sync with HEAD.
 1.12.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.12.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.12.4.1 05-Mar-2011  rmind sync with head
 1.13.32.1 22-Sep-2015  skrll Sync with HEAD
 1.13.14.1 03-Dec-2017  jdolecek update from HEAD
 1.6 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.5 29-Jul-2012  mlelstv branches: 1.5.2;
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.4 22-Jul-2011  macallan branches: 1.4.2; 1.4.8;
voyagerfb wants properties too
 1.3 05-Nov-2009  dyoung Use deviter(9) instead of accessing alldevs directly. Test-compiled,
only.
 1.2 07-Aug-2009  macallan branches: 1.2.2;
set device properties for genfb, now wsdisplay attaches successfully
TODO: replace hardcoded values with reality
 1.1 06-Aug-2009  matt GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.2.2.3 11-Mar-2010  yamt sync with head
 1.2.2.2 19-Aug-2009  yamt sync with head.
 1.2.2.1 07-Aug-2009  yamt file autoconf.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:12 +0000
 1.4.8.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.4.2.1 30-Oct-2012  yamt sync with head
 1.5.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6 03-Mar-2022  riastradh mips: Use device_set_private in a few drivers.
 1.5 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.4 24-Apr-2021  thorpej branches: 1.4.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.3 01-Jul-2011  dyoung branches: 1.3.68;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.2 17-May-2011  dyoung PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional
role in NetBSD (drivers are no longer supposed to write these to
pa_flags) without changing name. Correct that.

Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and
PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names
consistent with the other PCI flags and poisoning 3rd-party driver
sources that use the flags in the old bad way.

This patch produces no binary changes in this set of PCI kernels when
they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:

algor P4032 P5064 P6032
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321
evbarm-el IXDP425 IXM1200 KUROBOX_PRO
evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR
evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
iyonix GENERIC
landisk GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sbmips-el GENERIC
sgimips GENERIC32_IP2x GENERIC32_IP3x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC
 1.1 06-Aug-2009  matt branches: 1.1.2; 1.1.6; 1.1.8;
GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.1 31-May-2011  rmind sync with head
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 06-Aug-2009  yamt file bonito_mainbus.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:12 +0000
 1.3.68.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.4.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 10-Jul-2011  matt CLeanup machine includes
 1.1 06-Aug-2009  matt branches: 1.1.2;
GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 06-Aug-2009  yamt file gdium_bus_io.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:12 +0000
 1.3 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.2 10-Jul-2011  matt CLeanup machine includes
 1.1 06-Aug-2009  matt branches: 1.1.2;
GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 06-Aug-2009  yamt file gdium_bus_mem.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:12 +0000
 1.5 10-Jul-2011  matt CLeanup machine includes
 1.4 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.3 08-Jun-2011  bouyer Make GDIUM build again after matt-nb5-mips64 merge. untested as I don't have
this hardware, but I'll use this as a base for Lemote Fulong support.
 1.2 06-Aug-2009  matt branches: 1.2.2; 1.2.6; 1.2.12;
Cleanup a bit and remove some debugging cruft that's no longer needed now
that the early console is working.
 1.1 06-Aug-2009  matt GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.2.12.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2.6.1 12-Jun-2011  rmind sync with head
 1.2.2.2 19-Aug-2009  yamt sync with head.
 1.2.2.1 06-Aug-2009  yamt file gdium_dma.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:12 +0000
 1.7 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.6 10-Jul-2011  matt CLeanup machine includes
 1.5 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.4 11-May-2010  macallan use RI_NO_AUTO for the gdium's early rasops console so we don't try to
allocate memory before kmem is ready
 1.3 08-Aug-2009  matt branches: 1.3.2; 1.3.4; 1.3.6;
Don't hardcode the FB address. Read it from the PCI device.
Don't tell wasops to the clear the screen since we do it ourselves.
 1.2 06-Aug-2009  matt Cleanup a bit and remove some debugging cruft that's no longer needed now
that the early console is working.
 1.1 06-Aug-2009  matt GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.3.6.1 30-May-2010  rmind sync with head
 1.3.4.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.3.2.3 11-Aug-2010  yamt sync with head.
 1.3.2.2 19-Aug-2009  yamt sync with head.
 1.3.2.1 08-Aug-2009  yamt file gdium_genfb.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:12 +0000
 1.10 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.9 10-Nov-2019  chs branches: 1.9.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.8 26-Aug-2016  skrll branches: 1.8.16;
Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.7 29-Mar-2014  christos branches: 1.7.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.6 11-Mar-2014  mrg avoid set but unused variables.
move variables under their usage #ifdef.
 1.5 10-Jul-2011  matt branches: 1.5.2; 1.5.12; 1.5.16;
CLeanup machine includes
 1.4 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.3 08-Jun-2011  bouyer Make GDIUM build again after matt-nb5-mips64 merge. untested as I don't have
this hardware, but I'll use this as a base for Lemote Fulong support.
 1.2 07-Aug-2009  matt branches: 1.2.2; 1.2.6; 1.2.12;
Interrupts now work. Fix old bug with softints.
 1.1 06-Aug-2009  matt GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.2.12.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2.6.1 12-Jun-2011  rmind sync with head
 1.2.2.2 19-Aug-2009  yamt sync with head.
 1.2.2.1 07-Aug-2009  yamt file gdium_intr.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:12 +0000
 1.5.16.1 18-May-2014  rmind sync with head
 1.5.12.2 03-Dec-2017  jdolecek update from HEAD
 1.5.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.6.1 05-Oct-2016  skrll Sync with HEAD
 1.8.16.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.9.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.2 22-Jul-2011  macallan RAM shows up in PCI space at 0x80000000, not 0x00000000
Now my Gdium finds USB devices and manages to get an IP via DHCP
 1.1 06-Aug-2009  matt branches: 1.1.2;
GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 06-Aug-2009  yamt file gdiumreg.h was added on branch yamt-nfs-mp on 2009-08-19 18:46:13 +0000
 1.2 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.1 06-Aug-2009  matt branches: 1.1.2;
GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 06-Aug-2009  yamt file gdiumvar.h was added on branch yamt-nfs-mp on 2009-08-19 18:46:13 +0000
 1.22 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.21 17-Aug-2020  simonb Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
 1.20 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.19 11-Jul-2016  matt branches: 1.19.2;
Use pmap_kenter flags to create cached/uncached entries.
#include <mips/locore.h> when appropriate
 1.18 01-Feb-2016  christos PR/50735: David Binderman: Check bounds before dereferencing.
 1.17 24-Mar-2014  christos branches: 1.17.6;
use cpu_{g,s}etmodel
 1.16 24-Aug-2011  macallan branches: 1.16.2; 1.16.12; 1.16.16;
fix up the environment pointers to be usable in LP64
 1.15 10-Jul-2011  matt CLeanup machine includes
 1.14 08-Jun-2011  bouyer Make GDIUM build again after matt-nb5-mips64 merge. untested as I don't have
this hardware, but I'll use this as a base for Lemote Fulong support.
 1.13 20-Feb-2011  matt branches: 1.13.2;
Merge forward from matt-nb5-mips64.
 1.12 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.11 08-Feb-2010  joerg branches: 1.11.2; 1.11.4; 1.11.6;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.10 27-Nov-2009  rmind branches: 1.10.2;
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.9 26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.8 17-Aug-2009  matt branches: 1.8.2;
Use mips3_sd instead of two 32bit stores.
 1.7 11-Aug-2009  matt Remove declaration of physmem since uvm_page.c declares it.
 1.6 11-Aug-2009  cliff #ifdef around boot args parsing for now, so won't kill autobooting the gdium
 1.5 11-Aug-2009  matt Disable 2nd PCI Windows @ 8MB
 1.4 08-Aug-2009  matt Add pci_attach_hook to configure the ralink device since PMON didn't. This
avoids the over kill of PCI_NETBSD_CONFIGURE. And given the bounded nature
of the Gdium, it's not as if someone is going to add more devices.
 1.3 07-Aug-2009  matt Get the CPU frequency from the PMON environment (which it provided to us).
 1.2 06-Aug-2009  matt Cleanup a bit and remove some debugging cruft that's no longer needed now
that the early console is working.
 1.1 06-Aug-2009  matt GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.8.2.3 11-Mar-2010  yamt sync with head
 1.8.2.2 19-Aug-2009  yamt sync with head.
 1.8.2.1 17-Aug-2009  yamt file machdep.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:13 +0000
 1.10.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.11.6.2 05-Mar-2011  bouyer Sync with HEAD
 1.11.6.1 17-Feb-2011  bouyer Sync with HEAD
 1.11.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.11.2.2 12-Jun-2011  rmind sync with head
 1.11.2.1 05-Mar-2011  rmind sync with head
 1.13.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.16.16.1 18-May-2014  rmind sync with head
 1.16.12.2 03-Dec-2017  jdolecek update from HEAD
 1.16.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.17.6.3 05-Feb-2017  skrll Sync with HEAD
 1.17.6.2 05-Oct-2016  skrll Sync with HEAD
 1.17.6.1 19-Mar-2016  skrll Sync with HEAD
 1.19.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.10 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.9 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.8 24-Apr-2021  thorpej branches: 1.8.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.7 07-Jul-2020  thorpej branches: 1.7.4;
Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.6 14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.5 26-Aug-2016  skrll Fix compile for PCI_NETBSD_CONFIGURE
 1.4 27-Jan-2012  para branches: 1.4.6; 1.4.24;
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.3 11-Aug-2009  matt branches: 1.3.2; 1.3.14; 1.3.18;
Fix mainbus_print and don't pass a NULL name.
 1.2 06-Aug-2009  matt Cleanup a bit and remove some debugging cruft that's no longer needed now
that the early console is working.
 1.1 06-Aug-2009  matt GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
 1.3.18.1 18-Feb-2012  mrg merge to -current.
 1.3.14.1 17-Apr-2012  yamt sync with head
 1.3.2.2 19-Aug-2009  yamt sync with head.
 1.3.2.1 11-Aug-2009  yamt file mainbus.c was added on branch yamt-nfs-mp on 2009-08-19 18:46:13 +0000
 1.4.24.1 05-Oct-2016  skrll Sync with HEAD
 1.4.6.1 03-Dec-2017  jdolecek update from HEAD
 1.7.4.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.8.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.19 30-Nov-2024  christos Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.18 12-Jul-2018  maxv branches: 1.18.36;
Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.17 21-Dec-2015  christos branches: 1.17.16; 1.17.18;
Add mips fenv.h (From FreeBSD)
 1.16 23-Jul-2014  alnsn branches: 1.16.4;
Rename sljitarch.h to sljit_machdep.h.
 1.15 24-Nov-2012  alnsn branches: 1.15.10;
Add sljit and bpfjit to evbmips. Not enabled by default.
 1.14 17-Jul-2011  joerg branches: 1.14.2; 1.14.12;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.13 17-Jul-2011  dyoung Switch MIPS and MIPS-ish architectures to new-style <sys/bus.h>. This
involves moving some inline bus_space(9) implementation into .c files.
 1.12 12-Aug-2009  matt Nuke a.out support for MIPS.
 1.11 09-Feb-2007  ad branches: 1.11.48;
Merge newlock2 to head.
 1.10 26-Jul-2006  drochner branches: 1.10.4;
don't install <machine/db_machdep.h>, this is kernel only
 1.9 11-Dec-2005  christos branches: 1.9.4; 1.9.8;
merge ktrace-lwp.
 1.8 08-May-2004  kleink branches: 1.8.12;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.7 17-Jan-2003  thorpej branches: 1.7.2;
Merge the nathanw_sa branch.
 1.6 26-Nov-2002  lukem Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.5 07-Aug-2002  briggs Implement pmc(9) -- An interface to hardware performance monitoring
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.4 29-Jul-2002  simonb branches: 1.4.2;
Don't install intr.h isa_machdep.h pci_machdep.h rnd.h for userland.
 1.3 06-Jun-2002  simonb branches: 1.3.2;
Don't install <machine/rnd.h>.
 1.2 13-Mar-2002  simonb branches: 1.2.4;
Add ecoff_machdep.h for userland usage.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.4.2 30-Aug-2002  gehenna catch up with -current.
 1.2.4.1 14-Jul-2002  gehenna catch up with -current.
 1.3.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.2.1 06-Jun-2002  jdolecek file Makefile was added on branch kqueue on 2002-06-23 17:35:51 +0000
 1.4.2.4 11-Dec-2002  thorpej Sync with HEAD.
 1.4.2.3 13-Aug-2002  simonb LWP'ify the evbmips port.
 1.4.2.2 13-Aug-2002  nathanw Catch up to -current.
 1.4.2.1 29-Jul-2002  nathanw file Makefile was added on branch nathanw_sa on 2002-08-13 02:18:09 +0000
 1.7.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.12.2 26-Feb-2007  yamt sync with head.
 1.8.12.1 30-Dec-2006  yamt sync with head.
 1.9.8.1 11-Aug-2006  yamt sync with head
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.10.4.1 01-Feb-2007  ad Header file cleanup.
 1.11.48.1 19-Aug-2009  yamt sync with head.
 1.14.12.3 03-Dec-2017  jdolecek update from HEAD
 1.14.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.12.1 25-Feb-2013  tls resync with head
 1.14.2.1 16-Jan-2013  yamt sync with (a bit old) head
 1.15.10.1 10-Aug-2014  tls Rebase.
 1.16.4.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.17.18.1 10-Jun-2019  christos Sync with HEAD
 1.17.16.1 28-Jul-2018  pgoyette Sync with HEAD
 1.18.36.1 02-Aug-2025  perseant Sync with HEAD
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file ansi.h was added on branch nathanw_sa on 2002-03-07 14:44:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file ansi.h was added on branch kqueue on 2002-06-23 17:35:51 +0000
 1.2 12-Aug-2009  matt Nuke a.out support for MIPS.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.124; 1.1.138;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.138.1 24-Oct-2010  jym Sync with HEAD
 1.1.124.1 19-Aug-2009  yamt sync with head.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file aout_machdep.h was added on branch nathanw_sa on 2002-03-07 14:44:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file aout_machdep.h was added on branch kqueue on 2002-06-23 17:35:51 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file asm.h was added on branch nathanw_sa on 2002-03-07 14:44:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file asm.h was added on branch kqueue on 2002-06-23 17:35:51 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file bswap.h was added on branch nathanw_sa on 2002-03-07 14:44:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file bswap.h was added on branch kqueue on 2002-06-23 17:35:51 +0000
 1.5 17-Jul-2011  dyoung Switch MIPS and MIPS-ish architectures to new-style <sys/bus.h>. This
involves moving some inline bus_space(9) implementation into .c files.
 1.4 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.3 18-Mar-2002  simonb branches: 1.3.8; 1.3.10; 1.3.140; 1.3.144; 1.3.150; 1.3.152;
Convert to use <mips/bus_*.h>.
 1.2 17-Mar-2002  simonb Make sure that private DMA flags don't overlap with standard DMA flags;
start these at 0x10000 to leave room for an increase in the latter.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.3.152.1 05-Mar-2011  bouyer Sync with HEAD
 1.3.150.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.144.1 05-Mar-2011  rmind sync with head
 1.3.140.1 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.3.10.2 18-Mar-2002  simonb Convert to use <mips/bus_*.h>.
 1.3.10.1 18-Mar-2002  simonb file bus.h was added on branch nathanw_sa on 2002-03-18 01:21:13 +0000
 1.3.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.8.1 18-Mar-2002  jdolecek file bus.h was added on branch kqueue on 2002-06-23 17:35:51 +0000
 1.2 27-Jun-2015  matt add whitespace
 1.1 01-Jul-2011  dyoung branches: 1.1.12; 1.1.30;
Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet. Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
 1.1.30.1 22-Sep-2015  skrll Sync with HEAD
 1.1.12.1 03-Dec-2017  jdolecek update from HEAD
 1.1 01-Jul-2011  dyoung Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet. Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file cdefs.h was added on branch nathanw_sa on 2002-03-07 14:44:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file cdefs.h was added on branch kqueue on 2002-06-23 17:35:52 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file cpu.h was added on branch nathanw_sa on 2002-03-07 14:44:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file cpu.h was added on branch kqueue on 2002-06-23 17:35:52 +0000
 1.1 05-Feb-2003  nakayama Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
 1.2 09-Jul-2011  matt Default to DB_ELF_SYMBOLS and DB_ELFSIZE 32
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file db_machdep.h was added on branch nathanw_sa on 2002-03-07 14:44:00 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file db_machdep.h was added on branch kqueue on 2002-06-23 17:35:52 +0000
 1.6 24-Jul-2017  mrg ugly hack -- for SB1, use the contents of sbmips/include/disklabel.h.
with this, i can build the 32 bit little endian SBMIPS kernel in the
evbmips directory.
 1.5 30-Aug-2011  bouyer branches: 1.5.12; 1.5.30; 1.5.46;
Add getlabelusesmbr(), as proposed in
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html
This is used by disk tools such as disklabel(8) to dynamically decide is
the undelyling platform uses a disklabel-in-mbr-partition or not
(instead of using a compile-time list of ports).
getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the
machdep #define LABELUSESMBR.
For evbmips, make LABELUSESMBR 1 if the platform uses pmon
as bootloader, and 0 (the previous value) otherwise.
 1.4 23-Nov-2009  pooka If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.
This allows use of subr_disk_mbr on all archs. Default to it for
the rump disk component. No functional change for regular kernels.
(The other option would've been to include dkbad in disklabels
everywhere, but arguably this approach has less possible side-effects,
especially given that wedges and related magic will take over the
world any second now).
 1.3 11-Dec-2005  christos branches: 1.3.78;
merge ktrace-lwp.
 1.2 12-Jun-2005  dyoung Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/. That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such. I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.18;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.18.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file disklabel.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file disklabel.h was added on branch kqueue on 2002-06-23 17:35:52 +0000
 1.3.78.1 11-Mar-2010  yamt sync with head
 1.5.46.1 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.5.30.1 28-Aug-2017  skrll Sync with HEAD
 1.5.12.1 03-Dec-2017  jdolecek update from HEAD
 1.1 13-Mar-2002  simonb branches: 1.1.8; 1.1.10;
Add ecoff_machdep.h for userland usage.
 1.1.10.2 13-Mar-2002  simonb Add ecoff_machdep.h for userland usage.
 1.1.10.1 13-Mar-2002  simonb file ecoff_machdep.h was added on branch nathanw_sa on 2002-03-13 05:03:19 +0000
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 13-Mar-2002  jdolecek file ecoff_machdep.h was added on branch kqueue on 2002-06-23 17:35:52 +0000
 1.3 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.2 25-Nov-2006  riz branches: 1.2.56; 1.2.74;
Don't worry about the ELF32_MACHDEP_ENDIANNESS macro when compiling
a host tool - it's never used there.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.34; 1.1.64; 1.1.66;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.66.1 10-Dec-2006  yamt sync with head.
 1.1.64.1 12-Jan-2007  ad Sync with head.
 1.1.34.1 30-Dec-2006  yamt sync with head.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file elf_machdep.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file elf_machdep.h was added on branch kqueue on 2002-06-23 17:35:52 +0000
 1.2.74.2 22-Aug-2009  matt Move ELF{32,64}_MACHDEP_ENDIANNESS to <mips/elf_machdep.h>
 1.2.74.1 21-Aug-2009  matt Make MALTA LP64 capable.
 1.2.56.1 11-Mar-2010  yamt sync with head
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file endian.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file endian.h was added on branch kqueue on 2002-06-23 17:35:52 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file endian_machdep.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file endian_machdep.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.1 21-Dec-2015  christos branches: 1.1.2; 1.1.18;
Add mips fenv.h (From FreeBSD)
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 21-Dec-2015  jdolecek file fenv.h was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.1.2.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1.2.1 21-Dec-2015  skrll file fenv.h was added on branch nick-nhusb on 2015-12-27 12:09:35 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file float.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file float.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file ieee.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file ieee.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file ieeefp.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file ieeefp.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file int_const.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file int_const.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file int_fmtio.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file int_fmtio.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file int_limits.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file int_limits.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file int_mwgwtypes.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file int_mwgwtypes.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file int_types.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file int_types.h was added on branch kqueue on 2002-06-23 17:35:53 +0000
 1.20 26-Aug-2016  skrll Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.19 09-Jul-2011  matt branches: 1.19.12; 1.19.30;
Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.18 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.17 14-Dec-2009  matt branches: 1.17.4; 1.17.6; 1.17.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.16 28-Apr-2008  martin branches: 1.16.18;
Remove clause 3 and 4 from TNF licenses
 1.15 04-Jan-2008  ad branches: 1.15.6; 1.15.8; 1.15.10;
Don't pull in unrelated gunk.
 1.14 03-Dec-2007  ad branches: 1.14.6;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.13 17-Oct-2007  garbled branches: 1.13.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.12 17-Jun-2007  tsutsui branches: 1.12.8; 1.12.10;
Move declaretions of _spl*() and _{clr,set}softintr() functions
(which are in mips/locore.S) into <mips/locore.h>
from various MD files.
 1.11 16-Feb-2007  ad branches: 1.11.6; 1.11.8; 1.11.14;
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
 1.10 21-Dec-2006  yamt merge yamt-splraiseipl branch.

- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
 1.9 18-Nov-2006  tsutsui Fix wrong prototype declarations of _spl*() functions.
Pointed out by Havard Eidnes.
XXX: should these decls be in <mips/intr.h> or <mips/locore.h>?

While here, remove "extern" keyword from function declarations.
 1.8 06-Apr-2006  simonb branches: 1.8.8; 1.8.10;
Use "#define<TAB>".
 1.7 09-Feb-2006  gdamore branches: 1.7.2; 1.7.4; 1.7.6;
au_icu.c is in mips/ and should not depend on evbmips intr handler struct.
convert various u_int32_t to preferred uint32_t.
 1.6 27-Nov-2005  yamt branches: 1.6.2; 1.6.4; 1.6.6;
implement splraiseipl() for the following ports.
evbppc, evbmips, evbsh3, hp700, mac68k, vax, x68k.
 1.5 25-May-2003  tsutsui branches: 1.5.2; 1.5.18; 1.5.26;
Use common mips/softintr.c for softintr(9) on evbmips.
Ok'ed by simonb.
 1.4 01-Apr-2003  hpeyerl add defines for high/low level triggered interrupts (need this in au_icu.c)
 1.3 10-Nov-2002  simonb Keep the knowledge of the H/W interrupt 5 event counter local to
interrupt.c. This change also unmasked the fact that the Alchemy
boards did not initialise this counter.
 1.2 29-Jul-2002  simonb branches: 1.2.2;
Remove prototype for non-existant softintr_dispatch().
Add/modify a few comments.
 1.1 07-Mar-2002  simonb branches: 1.1.6; 1.1.10;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.10.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file intr.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.1.6.1 30-Aug-2002  gehenna catch up with -current.
 1.2.2.2 11-Nov-2002  nathanw Catch up to -current
 1.2.2.1 29-Jul-2002  nathanw file intr.h was added on branch nathanw_sa on 2002-11-11 21:57:59 +0000
 1.5.26.1 29-Nov-2005  yamt sync with head.
 1.5.18.6 21-Jan-2008  yamt sync with head
 1.5.18.5 07-Dec-2007  yamt sync with head
 1.5.18.4 03-Sep-2007  yamt sync with head.
 1.5.18.3 26-Feb-2007  yamt sync with head.
 1.5.18.2 30-Dec-2006  yamt sync with head.
 1.5.18.1 21-Jun-2006  yamt sync with head.
 1.5.2.1 11-Dec-2005  christos Sync with head.
 1.6.6.1 22-Apr-2006  simonb Sync with head.
 1.6.4.1 09-Sep-2006  rpaulo sync with head
 1.6.2.1 18-Feb-2006  yamt sync with head.
 1.7.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.7.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.7.2.1 11-Apr-2006  yamt sync with head
 1.8.10.4 10-Dec-2006  yamt sync with head.
 1.8.10.3 22-Sep-2006  yamt fix softintr for following ports. (hopefully)
hpcmips
evbmips
algor
arc
ews4800mips
newsmips
 1.8.10.2 21-Sep-2006  yamt - implement splraiseipl for algor, arc, ews4800mips, hpcmips, and newsmips.
- tweak evbmips version to match with others.
XXX i think these ought to be merged.
 1.8.10.1 19-Sep-2006  yamt implement new api for evbmips.
 1.8.8.1 12-Jan-2007  ad Sync with head.
 1.11.14.1 26-Jun-2007  garbled Sync with HEAD.
 1.11.8.1 11-Jul-2007  mjf Sync with head.
 1.11.6.2 03-Dec-2007  ad Sync with HEAD.
 1.11.6.1 15-Jul-2007  ad Sync with head.
 1.12.10.2 09-Jan-2008  matt sync with HEAD
 1.12.10.1 06-Nov-2007  matt sync with HEAD
 1.12.8.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.13.2.2 18-Feb-2008  mjf Sync with HEAD.
 1.13.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.14.6.1 08-Jan-2008  bouyer Sync with HEAD
 1.15.10.2 11-Mar-2010  yamt sync with head
 1.15.10.1 16-May-2008  yamt sync with head.
 1.15.8.1 18-May-2008  yamt sync with head.
 1.15.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.16.18.3 15-Feb-2010  matt Adapt to the new interrupt framework for NetBSD/mips.
 1.16.18.2 06-Feb-2010  matt <mips/softintr.h> is no longer needed.
 1.16.18.1 25-Sep-2009  cliff struct evbmips_intrhand gets field 'ih_ipl' to associate
this interrupt with an IPL
 1.17.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.17.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.17.4.1 05-Mar-2011  rmind sync with head
 1.19.30.1 05-Oct-2016  skrll Sync with HEAD
 1.19.12.1 03-Dec-2017  jdolecek update from HEAD
 1.3 18-Mar-2002  simonb branches: 1.3.8; 1.3.10;
Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.2 18-Mar-2002  simonb Convert to use <mips/bus_*.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.3.10.2 18-Mar-2002  simonb Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.3.10.1 18-Mar-2002  simonb file isa_machdep.h was added on branch nathanw_sa on 2002-03-18 10:10:15 +0000
 1.3.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.8.1 18-Mar-2002  jdolecek file isa_machdep.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file kcore.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file kcore.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file kdbparam.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file kdbparam.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file limits.h was added on branch nathanw_sa on 2002-03-07 14:44:01 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file limits.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
sbmips->evbmips merge: import all the all the header files except
intr.h and disklabel.h that are needed. both of these will need
some special attention.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file loadfile_machdep.h was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file loadfile_machdep.h was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file loadfile_machdep.h was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file lock.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file lock.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.2 05-Jun-2002  simonb branches: 1.2.2; 1.2.4;
Simplify include files that just include <mips/locore.h>.
 1.1 07-Mar-2002  simonb branches: 1.1.6;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.6.1 14-Jul-2002  gehenna catch up with -current.
 1.2.4.2 05-Jun-2002  simonb Simplify include files that just include <mips/locore.h>.
 1.2.4.1 05-Jun-2002  simonb file locore.h was added on branch nathanw_sa on 2002-06-05 06:18:37 +0000
 1.2.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.1 05-Jun-2002  jdolecek file locore.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.1 30-Nov-2024  christos branches: 1.1.4;
Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 30-Nov-2024  perseant file lwp_private.h was added on branch perseant-exfatfs on 2025-08-02 05:55:34 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file math.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file math.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.2 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 13-Aug-2002  simonb branches: 1.1.2;
file mcontext.h was initially added on branch nathanw_sa.
 1.1.2.1 13-Aug-2002  simonb LWP'ify the evbmips port.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file mips_opcode.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file mips_opcode.h was added on branch kqueue on 2002-06-23 17:35:54 +0000
 1.2 09-Feb-2007  ad branches: 1.2.4;
Merge newlock2 to head.
 1.1 22-Dec-2006  ad branches: 1.1.2;
file mutex.h was initially added on branch newlock2.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file mutex.h was added on branch yamt-lazymbuf on 2007-02-26 09:06:22 +0000
 1.2 14-Dec-2009  matt branches: 1.2.4;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 12-Sep-2009  matt branches: 1.1.2;
file netbsd32_machdep.h was initially added on branch matt-nb5-mips64.
 1.1.2.1 12-Sep-2009  matt Add include stub for <mips/netbsd32_machdep.h>
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file netbsd32_machdep.h was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.12 16-Mar-2022  simonb Add the increasingly spreading __HIDE_DELAY kludge to evbmips.
 1.11 07-Jan-2019  jdolecek move DEV_BSIZE, DEV_BSHIFT out of MD param.h, they are same on all ports

also move BLKDEV_IOSIZE, MAXPHYS, but allow override since some ports
have different value (powerpc uses NBPG for BLKDEV_IOSIZE, sun2/sun3
have lower MAXPHYS)
 1.10 24-Jul-2017  mrg branches: 1.10.2; 1.10.4;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.9 18-Mar-2011  tsutsui branches: 1.9.14; 1.9.32; 1.9.48;
- include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment
 1.8 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.7 14-Dec-2009  matt branches: 1.7.4; 1.7.6; 1.7.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.6 13-Aug-2009  matt Move MID_MACHINE to <mips/mips_param.h> and use local values so we don't
need to include exec_aout.h
 1.5 11-Dec-2005  christos branches: 1.5.78; 1.5.96;
merge ktrace-lwp.
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.3 11-Jul-2002  simonb branches: 1.3.2; 1.3.8;
Remove unused MCLOFSET define.
 1.2 08-Apr-2002  simonb branches: 1.2.2; 1.2.6;
Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
sbmips) and delay (based on an evbmips delay function) functions.
- Schedule the next hardclock interrupt more accurately (from
an sgimips patch by Rafal Boni). Clock drift on one board is
now ~7ppm instead of ~330ppm.
- Purge old pmax-based mcclock code.
- Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.6.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 08-Apr-2002  jdolecek file param.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.2.2.1 16-Jul-2002  gehenna catch up with -current.
 1.3.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.8.1 03-Aug-2004  skrll Sync with HEAD
 1.3.2.2 11-Jul-2002  simonb Remove unused MCLOFSET define.
 1.3.2.1 11-Jul-2002  simonb file param.h was added on branch nathanw_sa on 2002-07-11 13:36:46 +0000
 1.5.96.2 22-Aug-2009  matt Move MACHINE_ARCH definition to <mips/mips_param.h>
Move mbuf related defines to <mips/mips_param.h>
 1.5.96.1 21-Aug-2009  matt Make MALTA LP64 capable.
 1.5.78.2 11-Mar-2010  yamt sync with head
 1.5.78.1 19-Aug-2009  yamt sync with head.
 1.7.8.1 17-Feb-2011  bouyer Sync with HEAD
 1.7.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.4.2 21-Apr-2011  rmind sync with head
 1.7.4.1 05-Mar-2011  rmind sync with head
 1.9.48.1 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.9.32.1 28-Aug-2017  skrll Sync with HEAD
 1.9.14.1 03-Dec-2017  jdolecek update from HEAD
 1.10.4.1 10-Jun-2019  christos Sync with HEAD
 1.10.2.1 18-Jan-2019  pgoyette Synch with HEAD
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file pcb.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file pcb.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.3 24-Jul-2017  mrg mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.2 18-Mar-2002  simonb branches: 1.2.8; 1.2.10; 1.2.166; 1.2.186; 1.2.202;
Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.202.1 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.186.1 28-Aug-2017  skrll Sync with HEAD
 1.2.166.1 03-Dec-2017  jdolecek update from HEAD
 1.2.10.2 18-Mar-2002  simonb Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.2.10.1 18-Mar-2002  simonb file pci_machdep.h was added on branch nathanw_sa on 2002-03-18 10:10:16 +0000
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 18-Mar-2002  jdolecek file pci_machdep.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file pmap.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file pmap.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.2 12-Jul-2018  maxv Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.1 07-Aug-2002  briggs branches: 1.1.2; 1.1.4; 1.1.6; 1.1.202; 1.1.204;
Implement pmc(9) -- An interface to hardware performance monitoring
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.1.204.1 10-Jun-2019  christos Sync with HEAD
 1.1.202.1 28-Jul-2018  pgoyette Sync with HEAD
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 07-Aug-2002  jdolecek file pmc.h was added on branch kqueue on 2002-09-06 08:34:25 +0000
 1.1.4.2 30-Aug-2002  gehenna catch up with -current.
 1.1.4.1 07-Aug-2002  gehenna file pmc.h was added on branch gehenna-devsw on 2002-08-30 00:29:32 +0000
 1.1.2.2 13-Aug-2002  nathanw Catch up to -current.
 1.1.2.1 07-Aug-2002  nathanw file pmc.h was added on branch nathanw_sa on 2002-08-13 02:18:10 +0000
 1.1 09-Jul-2011  matt Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file proc.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file proc.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file profile.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file profile.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file psl.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file psl.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file pte.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file pte.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file ptrace.h was added on branch nathanw_sa on 2002-03-07 14:44:02 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file ptrace.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file reg.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file reg.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file regdef.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file regdef.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file regnum.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file regnum.h was added on branch kqueue on 2002-06-23 17:35:55 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file reloc.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file reloc.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.2 05-Feb-2003  nakayama Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file rnd.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file rnd.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.2 09-Feb-2007  ad branches: 1.2.4;
Merge newlock2 to head.
 1.1 22-Dec-2006  ad branches: 1.1.2;
file rwlock.h was initially added on branch newlock2.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file rwlock.h was added on branch yamt-lazymbuf on 2007-02-26 09:06:22 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file setjmp.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file setjmp.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file signal.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file signal.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.1 23-Jul-2014  alnsn branches: 1.1.2; 1.1.6;
Rename sljitarch.h to sljit_machdep.h.
 1.1.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.1 23-Jul-2014  tls file sljit_machdep.h was added on branch tls-maxphys on 2014-08-20 00:02:58 +0000
 1.1.2.2 10-Aug-2014  tls Rebase.
 1.1.2.1 23-Jul-2014  tls file sljit_machdep.h was added on branch tls-earlyentropy on 2014-08-10 06:53:56 +0000
 1.3 23-Jul-2014  alnsn Rename sljitarch.h to sljit_machdep.h.
 1.2 25-Nov-2012  alnsn branches: 1.2.2; 1.2.6; 1.2.14;
Add sljitarch.h to all mips machines.
 1.1 24-Nov-2012  alnsn Add sljit and bpfjit to evbmips. Not enabled by default.
 1.2.14.1 10-Aug-2014  tls Rebase.
 1.2.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.2 25-Feb-2013  tls resync with head
 1.2.6.1 25-Nov-2012  tls file sljitarch.h was added on branch tls-maxphys on 2013-02-25 00:28:40 +0000
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 25-Nov-2012  yamt file sljitarch.h was added on branch yamt-pagecache on 2013-01-16 05:32:57 +0000
 1.2 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file stdarg.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file stdarg.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file trap.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file trap.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.10 26-Jan-2017  christos provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.
 1.9 17-Jul-2011  dyoung branches: 1.9.12; 1.9.30; 1.9.34; 1.9.38;
Switch MIPS and MIPS-ish architectures to new-style <sys/bus.h>. This
involves moving some inline bus_space(9) implementation into .c files.
 1.8 20-Jan-2008  joerg Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
 1.7 17-Oct-2007  garbled branches: 1.7.2; 1.7.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.6 14-Jul-2007  ad branches: 1.6.10;
Generic soft interrupts are mandatory.
 1.5 02-Sep-2006  gdamore branches: 1.5.12; 1.5.20;
Convert evbmis to __HAVE_GENERIC_TODR.
 1.4 02-Sep-2006  gdamore Convert evbmips to timecounters, using the MIPS3 cp0 clock.
This has been tested on AR5312, and I expect it to "just work" on
all evbmips systems. (On AR5312, the counter is 110MHz. :-)
 1.3 30-Jan-2006  gdamore branches: 1.3.2; 1.3.6;
paddr_t should be 64-bits wide to accomodate full R4K 36-bit phys address.
(Alchemy needs it for various system peripherials located above 4GB.)
 1.2 22-Sep-2002  simonb branches: 1.2.22; 1.2.34;
Use "#define\t" instead of "#define ".
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.12.1 07-Mar-2002  nathanw file types.h was added on branch nathanw_sa on 2002-10-18 02:36:37 +0000
 1.1.10.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file types.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.2.34.1 01-Feb-2006  yamt sync with head.
 1.2.22.4 21-Jan-2008  yamt sync with head
 1.2.22.3 03-Sep-2007  yamt sync with head.
 1.2.22.2 30-Dec-2006  yamt sync with head.
 1.2.22.1 21-Jun-2006  yamt sync with head.
 1.3.6.1 03-Sep-2006  yamt sync with head.
 1.3.2.1 09-Sep-2006  rpaulo sync with head
 1.5.20.1 03-Oct-2007  garbled Sync with HEAD
 1.5.12.1 15-Jul-2007  ad Sync with head.
 1.6.10.2 23-Mar-2008  matt sync with HEAD
 1.6.10.1 06-Nov-2007  matt sync with HEAD
 1.7.8.1 23-Jan-2008  bouyer Sync with HEAD.
 1.7.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.9.38.1 21-Apr-2017  bouyer Sync with HEAD
 1.9.34.1 20-Mar-2017  pgoyette Sync with HEAD
 1.9.30.1 05-Feb-2017  skrll Sync with HEAD
 1.9.12.1 03-Dec-2017  jdolecek update from HEAD
 1.1 10-Jul-2011  matt Add uboot.h which contains global_data and board_data structures.
 1.2 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file varargs.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file varargs.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.5 19-Apr-2014  matt Normal memory is not poolpage memory unless poolpage memory is default memory.
 1.4 09-Jul-2011  matt branches: 1.4.2; 1.4.12; 1.4.16; 1.4.26;
Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.3 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.6; 1.2.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.124; 1.1.142;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.142.6 09-Feb-2012  matt VM_FREELIST_MAX is not used by anything. Should be VM_NFREELIST
Add macros to test a PA to see if it belonds to a VM_FREELIST_*
 1.1.142.5 29-Nov-2011  matt Take part of the KSEG2 space and use it to "almost" direct another 256MB
of memory so that N32 kernels can make use of ram outside of KSEG0. This
allows N32 kernels to be useful on systems with 4GB of RAM or more.
 1.1.142.4 06-Jan-2010  matt Fix typo: VMFREE* -> VM_FREE*
 1.1.142.3 31-Dec-2009  matt Use mips_page_physload and mips_init_lwp0_uarea.
 1.1.142.2 11-Dec-2009  matt Use the default set of VM_FREELISTs in <mips/vmparam.h> but allow them to
be overridden (for pmax).
 1.1.142.1 13-Sep-2009  cliff bump VM_PHYSSEG_MAX to 32 (was 1) for sake of systems with
multiple noncontiguous regions of physical memory
 1.1.124.1 11-Mar-2010  yamt sync with head
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file vmparam.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file vmparam.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.2.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.4.1 05-Mar-2011  rmind sync with head
 1.4.26.1 10-Aug-2014  tls Rebase.
 1.4.16.1 18-May-2014  rmind sync with head
 1.4.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 08-May-2004  kleink branches: 1.1.2;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.1.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.2 03-Aug-2004  skrll Sync with HEAD
 1.1.2.1 08-May-2004  skrll file wchar_limits.h was added on branch ktrace-lwp on 2004-08-03 10:34:09 +0000
 1.2 11-Dec-2005  christos branches: 1.2.18;
merge ktrace-lwp.
 1.1 05-Nov-2005  tsutsui branches: 1.1.2;
Add empty <machine/wired_map.h> for the MI mips/wired_map.c.
 1.1.2.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.2.1 05-Nov-2005  skrll file wired_map.h was added on branch ktrace-lwp on 2005-11-10 13:55:54 +0000
 1.2.18.2 21-Jun-2006  yamt sync with head.
 1.2.18.1 11-Dec-2005  yamt file wired_map.h was added on branch yamt-lazymbuf on 2006-06-21 14:51:03 +0000
 1.7 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.6 13-Jul-2006  gdamore branches: 1.6.62; 1.6.80;
Revert yamon_getenv() so it returns char *. While this is suboptimal, it is
the only convenient way to use the returned value with numerous library
routines which have not been altered to properly use constified char *.

This was found to be necessary when I extended yamon to hold a string
describing a video mode for use with my experimental radeonfb.
 1.5 21-Mar-2006  gdamore branches: 1.5.4;
Use const char * in yamon_print().
 1.4 11-Dec-2005  christos branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; 1.4.12;
merge ktrace-lwp.
 1.3 09-Jun-2005  he branches: 1.3.2;
Adapt to compiling with -Wcast-qual by adding consts where appropriate.
 1.2 27-Oct-2003  simonb Add a function to query YAMON for the CPU frequency, and set up the
parameters for delay() from this.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.18;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.18.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.18.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.18.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.18.1 03-Aug-2004  skrll Sync with HEAD
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file yamon.h was added on branch nathanw_sa on 2002-03-07 14:44:03 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file yamon.h was added on branch kqueue on 2002-06-23 17:35:56 +0000
 1.3.2.2 30-Dec-2006  yamt sync with head.
 1.3.2.1 21-Jun-2006  yamt sync with head.
 1.4.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.4.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.4.8.2 11-Aug-2006  yamt sync with head
 1.4.8.1 01-Apr-2006  yamt sync with head.
 1.4.6.1 22-Apr-2006  simonb Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.5.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.6.80.1 21-Aug-2009  matt Make MALTA LP64 capable.
 1.6.62.1 11-Mar-2010  yamt sync with head
 1.4 03-Oct-2025  thorpej Use device_setprop_data() to set the "mac-address" property.
 1.3 19-May-2017  skrll branches: 1.3.8;
Trailing whitespace
 1.2 08-Oct-2015  macallan add mechanism to pass a MAC address to dme
 1.1 22-Nov-2014  macallan branches: 1.1.2;
initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
 1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.2.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.3.8.2 03-Dec-2017  jdolecek update from HEAD
 1.3.8.1 19-May-2017  jdolecek file autoconf.c was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.11 29-May-2020  rin For struct timecounter, use C99 initializers.
Compile tested. No functional changes intended.
 1.10 21-May-2017  skrll branches: 1.10.8;
Provide and use some CP0 accessor functions instead of M[TF]C0 macros
for readability.

While here convert some other M[TF]C0 uses to already exising accessor
functions, e.g. mipsNN_cp0_ebase_read
 1.9 19-May-2017  skrll Trailing whitespace
 1.8 26-Aug-2016  skrll Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.7 29-Jan-2016  macallan first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
 1.6 30-Jun-2015  macallan don't mess with the cycle counter event counter, out timer interrupt comes
from elsewhere and is counted there
 1.5 31-Dec-2014  martin Move struct clockframe cf as extern declaration into ingenic_clockintr(),
to avoid a duplicate common.
 1.4 26-Dec-2014  macallan use #ifdef USE_OST to switch between OS Timer and timer 5
always enable interrupts, not just with INGENIC_CLOCK_DEBUG
 1.3 23-Dec-2014  macallan use defflag-ed debug options
 1.2 06-Dec-2014  macallan add timecounter, timer interrupt and plenty of debugging goop
very much work in progress
 1.1 22-Nov-2014  macallan branches: 1.1.2;
initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
 1.1.2.5 28-Aug-2017  skrll Sync with HEAD
 1.1.2.4 05-Oct-2016  skrll Sync with HEAD
 1.1.2.3 19-Mar-2016  skrll Sync with HEAD
 1.1.2.2 22-Sep-2015  skrll Sync with HEAD
 1.1.2.1 06-Apr-2015  skrll Sync with HEAD
 1.10.8.2 03-Dec-2017  jdolecek update from HEAD
 1.10.8.1 21-May-2017  jdolecek file clock.c was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.5 03-Mar-2022  riastradh mips: Carefully use device_set_private for cpuN.

But don't do it in cpu_attach_common because the callers aren't set
up right -- instead leave a comment about what's wrong, to be dealt
with later.
 1.4 21-May-2017  skrll branches: 1.4.8;
Provide and use some CP0 accessor functions instead of M[TF]C0 macros
for readability.

While here convert some other M[TF]C0 uses to already exising accessor
functions, e.g. mipsNN_cp0_ebase_read
 1.3 19-May-2017  skrll Trailing whitespace
 1.2 26-Aug-2016  skrll #include "opt_multiprocessor.h"
 1.1 29-Jan-2016  macallan branches: 1.1.2;
first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
 1.1.2.4 28-Aug-2017  skrll Sync with HEAD
 1.1.2.3 05-Oct-2016  skrll Sync with HEAD
 1.1.2.2 19-Mar-2016  skrll Sync with HEAD
 1.1.2.1 29-Jan-2016  skrll file cpu.c was added on branch nick-nhusb on 2016-03-19 11:29:59 +0000
 1.4.8.2 03-Dec-2017  jdolecek update from HEAD
 1.4.8.1 21-May-2017  jdolecek file cpu.c was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.2 23-Feb-2023  riastradh mips: Add missing barriers in cpu_switchto.

Details in comments.

PR kern/57240

XXX pullup-8
XXX pullup-9
XXX pullup-10
 1.1 29-Jan-2016  macallan branches: 1.1.2; 1.1.12; 1.1.18; 1.1.26; 1.1.52;
first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
 1.1.52.1 31-Jul-2023  martin Pull up following revision(s) (requested by riastradh in ticket #264):

sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
sys/arch/aarch64/aarch64/locore.S: revision 1.91
sys/arch/mips/include/asm.h: revision 1.74
sys/arch/hppa/include/cpu.h: revision 1.13
sys/arch/arm/arm/armv6_start.S: revision 1.38
sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
sys/arch/mips/mips/locore.S: revision 1.229
sys/arch/aarch64/aarch64/cpuswitch.S: revision 1.40
sys/arch/alpha/include/asm.h: revision 1.45
sys/arch/sparc64/sparc64/locore.s: revision 1.432
sys/arch/vax/vax/subr.S: revision 1.42
sys/arch/mips/mips/locore_mips3.S: revision 1.116
sys/arch/riscv/riscv/cpu_switch.S: revision 1.3
sys/arch/ia64/ia64/machdep.c: revision 1.44
sys/arch/arm/arm32/cpuswitch.S: revision 1.106
sys/arch/sparc/sparc/locore.s: revision 1.284

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

riscv: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.
 1.1.26.1 31-Jul-2023  martin Pull up following revision(s) (requested by riastradh in ticket #1676):

sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
sys/arch/aarch64/aarch64/locore.S: revision 1.91
sys/arch/mips/include/asm.h: revision 1.74
sys/arch/hppa/include/cpu.h: revision 1.13
sys/arch/arm/arm/armv6_start.S: revision 1.38
sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
sys/arch/mips/mips/locore.S: revision 1.229
sys/arch/aarch64/aarch64/cpuswitch.S: revision 1.40
sys/arch/alpha/include/asm.h: revision 1.45
sys/arch/sparc64/sparc64/locore.s: revision 1.432
sys/arch/vax/vax/subr.S: revision 1.42
sys/arch/mips/mips/locore_mips3.S: revision 1.116
sys/arch/ia64/ia64/machdep.c: revision 1.44
sys/arch/arm/arm32/cpuswitch.S: revision 1.106
sys/arch/sparc/sparc/locore.s: revision 1.284
(all via patch)

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 29-Jan-2016  jdolecek file cpu_startup.S was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.1.12.1 31-Jul-2023  martin Pull up following revision(s) (requested by riastradh in ticket #1859):

sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
sys/arch/aarch64/aarch64/locore.S: revision 1.91
sys/arch/mips/include/asm.h: revision 1.74
sys/arch/hppa/include/cpu.h: revision 1.13
sys/arch/arm/arm/armv6_start.S: revision 1.38
(applied also to sys/arch/arm/cortex/a9_mpsubr.S,
sys/arch/arm/cortex/a9_mpsubr.S,
sys/arch/arm/cortex/cortex_init.S)
sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
sys/arch/mips/mips/locore.S: revision 1.229
sys/arch/alpha/include/asm.h: revision 1.45
(applied to sys/arch/alpha/alpha/multiproc.s)
sys/arch/sparc64/sparc64/locore.s: revision 1.432
sys/arch/vax/vax/subr.S: revision 1.42
sys/arch/mips/mips/locore_mips3.S: revision 1.116
sys/arch/ia64/ia64/machdep.c: revision 1.44
sys/arch/arm/arm32/cpuswitch.S: revision 1.106
sys/arch/sparc/sparc/locore.s: revision 1.284
(all via patch)

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.
 1.1.2.2 19-Mar-2016  skrll Sync with HEAD
 1.1.2.1 29-Jan-2016  skrll file cpu_startup.S was added on branch nick-nhusb on 2016-03-19 11:29:59 +0000
 1.13 21-May-2017  skrll branches: 1.13.8;
Provide and use some CP0 accessor functions instead of M[TF]C0 macros
for readability.

While here convert some other M[TF]C0 uses to already exising accessor
functions, e.g. mipsNN_cp0_ebase_read
 1.12 27-Aug-2016  skrll Trailing whitespace
 1.11 26-Aug-2016  skrll Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.10 29-Jan-2016  macallan first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
 1.9 04-Apr-2015  macallan branches: 1.9.2;
add IPI support
compile-tested only since we don't actually spin up the 2nd core yet
 1.8 28-Mar-2015  macallan PIC -> INTC to match documentation
no functional change
 1.7 11-Mar-2015  macallan add an event counter for clock interrupts
 1.6 07-Mar-2015  macallan count all interrupts, not just the ones we have handlers for
 1.5 05-Mar-2015  macallan disable interrupts while processing them, reenable when we're done
 1.4 26-Dec-2014  macallan make interrupt names part of the handler struct so event counters will show
up correctly
also reshuffle debug code a bit
 1.3 23-Dec-2014  macallan use separate debugging flag for interrupts
 1.2 23-Dec-2014  macallan preliminary support for the interrupt controller
didn't get much testing yet
 1.1 06-Dec-2014  macallan timer interrupt and IPIs
 1.9.2.5 28-Aug-2017  skrll Sync with HEAD
 1.9.2.4 05-Oct-2016  skrll Sync with HEAD
 1.9.2.3 19-Mar-2016  skrll Sync with HEAD
 1.9.2.2 06-Apr-2015  skrll Sync with HEAD
 1.9.2.1 04-Apr-2015  skrll file intr.c was added on branch nick-nhusb on 2015-04-06 15:17:56 +0000
 1.13.8.2 03-Dec-2017  jdolecek update from HEAD
 1.13.8.1 21-May-2017  jdolecek file intr.c was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.17 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.16 17-Aug-2020  simonb Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
 1.15 22-Jul-2020  msaitoh s/reseting/resetting/
 1.14 21-May-2017  skrll branches: 1.14.8;
Provide and use some CP0 accessor functions instead of M[TF]C0 macros
for readability.

While here convert some other M[TF]C0 uses to already exising accessor
functions, e.g. mipsNN_cp0_ebase_read
 1.13 19-May-2017  skrll Trailing whitespace
 1.12 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.11 26-Aug-2016  skrll #include "opt_multiprocessor.h"
 1.10 29-Jan-2016  macallan branches: 1.10.2;
first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
 1.9 11-Jul-2015  macallan - get rid of private bus space in ingenic_com.c
- move com to apbus
- attach the other UARTs
 1.8 30-Jun-2015  matt Use cpu_startup_common()
 1.7 11-Jun-2015  macallan use kcpuset_isset()
 1.6 04-Apr-2015  macallan add IPI support
compile-tested only since we don't actually spin up the 2nd core yet
 1.5 10-Mar-2015  macallan enable the full 1GB of RAM
TODO: actually probe for it
 1.4 07-Mar-2015  macallan only use the first 256MB for now until I figure out how to properly access
the rest
 1.3 23-Dec-2014  macallan use defflag-ed debug options
 1.2 06-Dec-2014  macallan apbus attachment goop, move interrupt stuff to intr.c
 1.1 22-Nov-2014  macallan branches: 1.1.2;
initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
 1.1.2.6 28-Aug-2017  skrll Sync with HEAD
 1.1.2.5 05-Feb-2017  skrll Sync with HEAD
 1.1.2.4 05-Oct-2016  skrll Sync with HEAD
 1.1.2.3 19-Mar-2016  skrll Sync with HEAD
 1.1.2.2 22-Sep-2015  skrll Sync with HEAD
 1.1.2.1 06-Apr-2015  skrll Sync with HEAD
 1.10.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.14.8.2 03-Dec-2017  jdolecek update from HEAD
 1.14.8.1 21-May-2017  jdolecek file machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.9 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.8 24-Apr-2021  thorpej branches: 1.8.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.7 21-May-2017  skrll branches: 1.7.8; 1.7.26;
Provide and use some CP0 accessor functions instead of M[TF]C0 macros
for readability.

While here convert some other M[TF]C0 uses to already exising accessor
functions, e.g. mipsNN_cp0_ebase_read
 1.6 19-May-2017  skrll Trailing whitespace
 1.5 29-Jan-2016  macallan first shot at SMP support, very much broken and experimental
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
 1.4 04-Apr-2015  macallan add IPI support
compile-tested only since we don't actually spin up the 2nd core yet
 1.3 23-Dec-2014  macallan use defflag-ed debug options
 1.2 06-Dec-2014  macallan apbus attachment goop, move interrupt stuff to intr.c
 1.1 22-Nov-2014  macallan branches: 1.1.2;
initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
 1.1.2.3 28-Aug-2017  skrll Sync with HEAD
 1.1.2.2 19-Mar-2016  skrll Sync with HEAD
 1.1.2.1 06-Apr-2015  skrll Sync with HEAD
 1.7.26.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.7.8.2 03-Dec-2017  jdolecek update from HEAD
 1.7.8.1 21-May-2017  jdolecek file mainbus.c was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.8.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.15 22-Jan-2022  skrll Ensure bus_dmatag_subregion is called with an inclusive max_addr
everywhere.
 1.14 17-Dec-2021  skrll Correct copypaste comment grammar.
 1.13 17-Dec-2021  skrll Trailing whitespace
 1.12 26-Feb-2016  christos PR/50856: David Binderman: Remove redundant code.
 1.11 10-Jul-2011  matt branches: 1.11.12; 1.11.30;
CLeanup machine includes
 1.10 08-Jul-2011  matt Use mips_bus_dma_cookie.
 1.9 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.8 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.7 06-Mar-2007  simonb branches: 1.7.40; 1.7.42; 1.7.44;
Fix some caddr_t rototill fallout.
 1.6 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.5 11-Dec-2005  christos branches: 1.5.26;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem branches: 1.4.16;
__KERNEL_RCSID()
 1.3 05-May-2003  fvdl branches: 1.3.2;
Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h.
 1.2 18-Mar-2002  simonb branches: 1.2.8; 1.2.10;
Convert to use <mips/bus_*.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.10.2 18-Mar-2002  simonb Convert to use <mips/bus_*.h>.
 1.2.10.1 18-Mar-2002  simonb file isadma_bounce.c was added on branch nathanw_sa on 2002-03-18 01:21:13 +0000
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 18-Mar-2002  jdolecek file isadma_bounce.c was added on branch kqueue on 2002-06-23 17:35:57 +0000
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 03-Sep-2007  yamt sync with head.
 1.5.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.7.44.1 16-May-2008  yamt sync with head.
 1.7.42.1 18-May-2008  yamt sync with head.
 1.7.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.30.1 19-Mar-2016  skrll Sync with HEAD
 1.11.12.1 03-Dec-2017  jdolecek update from HEAD
 1.14 08-Jul-2011  matt white space cleanup.
 1.13 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.12 29-Mar-2008  tsutsui Don't forget to initialize sc_dev.
 1.11 28-Mar-2008  tsutsui Split device_t and softc for MI mc146818 clock,
and other related misc cosmetics.
 1.10 10-Jan-2008  tsutsui branches: 1.10.6;
Move todr_attach(9) calls from each MD attachment to MI mc146818_attach().
 1.9 07-Sep-2006  simonb branches: 1.9.32; 1.9.38; 1.9.46;
Print out a "\n" after calling mc146818_attach().
Pointed out by Izumi Tsutsui.
 1.8 28-Mar-2006  gdamore Use todr_attach.
 1.7 28-Mar-2006  gdamore Rework evbmips clock architecture to use common clock_subr.h routines.

Additionally, do not fail if no RTC is present, as not all boards have one.

Malta now uses the common dev/ic/mc146818.c code as much as possible, reducing
local "custom" code. These malta changes are *untested*, as I do not have
a Malta board to test with. If someone would please test them and get back to
me, I'd appreciate it!
 1.6 11-Dec-2005  christos branches: 1.6.4; 1.6.6; 1.6.8; 1.6.10; 1.6.12;
merge ktrace-lwp.
 1.5 14-Sep-2004  drochner branches: 1.5.12;
adapt to ISA "unknown address" namespace separation (purely mechanical,
as far as "grep" reaches)
 1.4 02-Oct-2002  thorpej branches: 1.4.6;
Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 09-Apr-2002  simonb branches: 1.2.6; 1.2.8;
Remove a few more magic numbers.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.8.2 18-Oct-2002  nathanw Catch up to -current.
 1.2.8.1 09-Apr-2002  nathanw file mcclock_isa.c was added on branch nathanw_sa on 2002-10-18 02:36:38 +0000
 1.2.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 09-Apr-2002  jdolecek file mcclock_isa.c was added on branch kqueue on 2002-06-23 17:35:57 +0000
 1.4.6.2 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.6.1 18-Sep-2004  skrll Sync with HEAD.
 1.5.12.3 21-Jan-2008  yamt sync with head
 1.5.12.2 30-Dec-2006  yamt sync with head.
 1.5.12.1 21-Jun-2006  yamt sync with head.
 1.6.12.2 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.6.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.6.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.6.8.2 14-Sep-2006  yamt sync with head.
 1.6.8.1 01-Apr-2006  yamt sync with head.
 1.6.6.1 22-Apr-2006  simonb Sync with head.
 1.6.4.1 09-Sep-2006  rpaulo sync with head
 1.9.46.1 10-Jan-2008  bouyer Sync with HEAD
 1.9.38.1 18-Feb-2008  mjf Sync with HEAD.
 1.9.32.1 23-Mar-2008  matt sync with HEAD
 1.10.6.1 03-Apr-2008  mjf Sync with HEAD.
 1.6 10-Jan-2015  jmcneill if MEMORY_DISK_IS_ROOT is defined, dont try to guess the root device
 1.5 13-Mar-2013  macallan branches: 1.5.12; 1.5.14;
remove half-assed gdium-specific code in device_register and actually call
sys_platform->device_register()
how in Cthulhu's name did this ever work?
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 29-Jul-2012  mlelstv branches: 1.3.2;
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.2 02-Mar-2012  nonaka Added Lemote Yeeloong Notebook support.
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.6; 1.1.8;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.8.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.1.6.3 06-Mar-2012  mrg sync to -current
 1.1.6.2 06-Mar-2012  mrg sync to -current
 1.1.6.1 04-Mar-2012  mrg sync to latest -current.
 1.1.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.2.2 30-Oct-2012  yamt sync with head
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.3.2.3 03-Dec-2017  jdolecek update from HEAD
 1.3.2.2 23-Jun-2013  tls resync from head
 1.3.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5.14.1 06-Apr-2015  skrll Sync with HEAD
 1.5.12.1 10-Jan-2015  martin Pull up following revision(s) (requested by jmcneill in ticket #399):
sys/arch/evbmips/loongson/autoconf.c: revision 1.6
if MEMORY_DISK_IS_ROOT is defined, dont try to guess the root device
 1.3 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 20-Sep-2011  macallan branches: 1.2.2; 1.2.12;
call gdium_cnattach()
Now this actually boots on Gdium.
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.2.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.2.1 30-Oct-2012  yamt sync with head
 1.6 03-Mar-2022  riastradh mips: Use device_set_private in a few drivers.
 1.5 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.4 24-Apr-2021  thorpej branches: 1.4.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.3 09-Jun-2015  macallan branches: 1.3.32;
include cpuregs.h
 1.2 02-Mar-2012  nonaka branches: 1.2.2; 1.2.16;
Added Lemote Yeeloong Notebook support.
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.6;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.6.3 06-Mar-2012  mrg sync to -current
 1.1.6.2 06-Mar-2012  mrg sync to -current
 1.1.6.1 04-Mar-2012  mrg sync to latest -current.
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.2.16.1 22-Sep-2015  skrll Sync with HEAD
 1.2.2.1 03-Dec-2017  jdolecek update from HEAD
 1.3.32.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.4.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.8 23-Apr-2016  skrll Merge nick-nhusb

- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
- kern/48308
- uhub status notification improvements
- umass(4) probe fix (applied to HEAD already)
- ohci(4) short transfer fix
 1.7 09-Jun-2015  macallan more cpuregs.h
 1.6 13-Mar-2013  macallan branches: 1.6.12; 1.6.14;
make sure device properties for genfb or voyagerfb actually get set
 1.5 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.4 14-Feb-2012  christos branches: 1.4.6;
add prototypes.
 1.3 20-Sep-2011  macallan branches: 1.3.2; 1.3.6;
wait after twiddling the gpio to power down, it takes a few seconds for it to
take effect. Without this we would run into gdium_reset() and reboot instead
of powering down.
 1.2 20-Sep-2011  macallan move the early console code over from ../gdium
This is kinda hackish but it works and it's not like there will be new Gdium
revisions anyway.
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.3.6.1 18-Feb-2012  mrg merge to -current.
 1.3.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.2.2 30-Oct-2012  yamt sync with head
 1.3.2.1 17-Apr-2012  yamt sync with head
 1.4.6.3 03-Dec-2017  jdolecek update from HEAD
 1.4.6.2 23-Jun-2013  tls resync from head
 1.4.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.14.2 22-Sep-2015  skrll Sync with HEAD
 1.6.14.1 21-Mar-2015  skrll Add prefixes to attach_arg structure member names. No functional change.
 1.6.12.1 08-Apr-2017  snj Pull up following revision(s) (requested by skrll in ticket #1399):
sys/arch/evbmips/loongson/gdium_machdep.c: 1.8
Adapt to netbsd-7-nhusb.
 1.5 09-Jun-2015  macallan more cpuregs.h
 1.4 29-Mar-2014  christos branches: 1.4.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.3 27-Oct-2012  chs branches: 1.3.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 14-Feb-2012  christos branches: 1.2.6;
fix proto
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.6;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.6.1 18-Feb-2012  mrg merge to -current.
 1.1.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.2.2 30-Oct-2012  yamt sync with head
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.2.6.3 03-Dec-2017  jdolecek update from HEAD
 1.2.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.2.1 18-May-2014  rmind sync with head
 1.4.6.1 22-Sep-2015  skrll Sync with HEAD
 1.2 09-Jun-2015  macallan more cpuregs.h
 1.1 27-Aug-2011  bouyer branches: 1.1.12; 1.1.30;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.30.1 22-Sep-2015  skrll Sync with HEAD
 1.1.12.1 03-Dec-2017  jdolecek update from HEAD
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.2 02-Mar-2012  nonaka Added Lemote Yeeloong Notebook support.
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.6;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.6.3 06-Mar-2012  mrg sync to -current
 1.1.6.2 06-Mar-2012  mrg sync to -current
 1.1.6.1 04-Mar-2012  mrg sync to latest -current.
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.2 02-Mar-2012  nonaka Added Lemote Yeeloong Notebook support.
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.6;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.6.3 06-Mar-2012  mrg sync to -current
 1.1.6.2 06-Mar-2012  mrg sync to -current
 1.1.6.1 04-Mar-2012  mrg sync to latest -current.
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.3 25-Oct-2020  nia Normalize some machine dependent CPU frequenct sysctl variables.

This moves machdep.*.frequency.* to machdep.cpu.frequency.*.

This was proposed on tech-kern some time ago. The intention is to allow
third-party tools such as estd and conky to more easily and reliably
fetch or modify the current CPU frequency without iterating through
various machine-dependent variables to check their presence.
 1.2 29-May-2020  rin For struct timecounter, use C99 initializers.
Compile tested. No functional changes intended.
 1.1 24-Jun-2016  macallan branches: 1.1.2; 1.1.18;
alternate clock.c implementation for loongson2f which supports
CPU clock scaling. Based on pwmclock but uses the cycle counter interrupt
instead, so it is no longer gdium-specific.
This will likely need changes to support other loongson models.
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 24-Jun-2016  jdolecek file loongson_clock.c was added on branch tls-maxphys on 2017-12-03 11:36:09 +0000
 1.1.2.2 09-Jul-2016  skrll Sync with HEAD
 1.1.2.1 24-Jun-2016  skrll file loongson_clock.c was added on branch nick-nhusb on 2016-07-09 20:24:51 +0000
 1.8 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.7 10-Nov-2019  chs branches: 1.7.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.6 27-Aug-2016  skrll branches: 1.6.16;
Trailing whitespace
 1.5 26-Aug-2016  skrll Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.4 29-Mar-2014  christos branches: 1.4.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.3 26-Mar-2014  christos kill sprintf
 1.2 27-Oct-2012  chs branches: 1.2.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.12;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.12.3 03-Dec-2017  jdolecek update from HEAD
 1.1.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.1.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.2.1 30-Oct-2012  yamt sync with head
 1.2.2.1 18-May-2014  rmind sync with head
 1.4.6.1 05-Oct-2016  skrll Sync with HEAD
 1.6.16.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.7.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.2 29-Mar-2014  christos make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.12; 1.1.16;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.16.1 18-May-2014  rmind sync with head
 1.1.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.9 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.8 17-Aug-2020  simonb Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
 1.7 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.6 24-Mar-2014  christos branches: 1.6.6; 1.6.10;
use cpu_{g,s}etmodel
 1.5 13-Oct-2012  jdc branches: 1.5.2;
Adapt to the changed signature of pckbc_cnattach().
 1.4 02-Mar-2012  nonaka branches: 1.4.2;
Added Lemote Yeeloong Notebook support.
 1.3 20-Sep-2011  macallan branches: 1.3.2; 1.3.6;
call gdium_cnattach()
Now this actually boots on Gdium.
 1.2 20-Sep-2011  macallan make this work with NCOM == 0
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.3.6.3 06-Mar-2012  mrg sync to -current
 1.3.6.2 06-Mar-2012  mrg sync to -current
 1.3.6.1 04-Mar-2012  mrg sync to latest -current.
 1.3.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.2.2 30-Oct-2012  yamt sync with head
 1.3.2.1 17-Apr-2012  yamt sync with head
 1.4.2.3 03-Dec-2017  jdolecek update from HEAD
 1.4.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5.2.1 18-May-2014  rmind sync with head
 1.6.10.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.6.6.1 05-Feb-2017  skrll Sync with HEAD
 1.7 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.6 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.5 24-Apr-2021  thorpej branches: 1.5.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.4 07-Jul-2020  thorpej branches: 1.4.4;
Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.3 14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.2 26-Aug-2016  skrll Make PCI_NETBSD_CONFIGURE compile
 1.1 27-Aug-2011  bouyer branches: 1.1.12; 1.1.30;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.30.1 05-Oct-2016  skrll Sync with HEAD
 1.1.12.1 03-Dec-2017  jdolecek update from HEAD
 1.4.4.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.5.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.8 10-Jul-2016  jmcneill The version of PMON on my 8089B (LM8089-1.4.9a) configures OHCI but doesn't
enable memory space access. Enable it before the ohci driver attaches to
allow low- and full-speed devices to work.
 1.7 09-Jun-2015  macallan another cpuregs.h
 1.6 29-Mar-2014  christos branches: 1.6.4; 1.6.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.5 28-Feb-2013  macallan branches: 1.5.6;
make this compile without ISA support in the kernel
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 02-Mar-2012  nonaka branches: 1.3.2;
Added Lemote Yeeloong Notebook support.
 1.2 14-Feb-2012  christos prototypes
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.6;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.6.4 06-Mar-2012  mrg sync to -current
 1.1.6.3 06-Mar-2012  mrg sync to -current
 1.1.6.2 04-Mar-2012  mrg sync to latest -current.
 1.1.6.1 18-Feb-2012  mrg merge to -current.
 1.1.2.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.2.2 30-Oct-2012  yamt sync with head
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.3.2.4 03-Dec-2017  jdolecek update from HEAD
 1.3.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.2.2 23-Jun-2013  tls resync from head
 1.3.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5.6.1 18-May-2014  rmind sync with head
 1.6.6.2 05-Oct-2016  skrll Sync with HEAD
 1.6.6.1 22-Sep-2015  skrll Sync with HEAD
 1.6.4.1 11-Jul-2016  martin Pull up following revision(s) (requested by jmcneill in ticket #1202):
sys/arch/evbmips/loongson/yeeloong_machdep.c: revision 1.8
The version of PMON on my 8089B (LM8089-1.4.9a) configures OHCI but doesn't
enable memory space access. Enable it before the ohci driver attaches to
allow low- and full-speed devices to work.
 1.3 02-Feb-2024  andvar s/attachement/attachment/ and s/detachement/detachment/.
 1.2 29-Aug-2011  bouyer Add a flags argument to gcscpcib_attach().
Add a flag argument which cause the waychdog to not be attached.
Use it to disable the watchdog on loongson-based platforms, where
the CS5536's reset output is not wired to the CPU reset line :(
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.8 17-Feb-2021  skrll Trailing whitespace
 1.7 17-Feb-2021  skrll Use the PCI_MAPREG_TYPE macro. Same binary after change.
 1.6 08-Feb-2018  dholland branches: 1.6.16;
Typos.
 1.5 02-Oct-2015  msaitoh PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.4 11-Mar-2012  mrg branches: 1.4.2; 1.4.16;
normalise RCSID handling some.
 1.3 02-Mar-2012  nonaka Added Lemote Yeeloong Notebook support.
 1.2 14-Feb-2012  macallan fix 'old style function definition' warning:
blah() -> blah(void)
ok riz
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.6;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.6.4 06-Mar-2012  mrg sync to -current
 1.1.6.3 06-Mar-2012  mrg sync to -current
 1.1.6.2 04-Mar-2012  mrg sync to latest -current.
 1.1.6.1 18-Feb-2012  mrg merge to -current.
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.4.16.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.4.2.1 03-Dec-2017  jdolecek update from HEAD
 1.6.16.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.3 25-May-2020  riastradh Switch to CFATTACH_DECL_NEW.

This driver doesn't compile -- never has since it was imported from
OpenBSD -- but in case anyone wants to make it work, let's leave fewer
landmines to step on.
 1.2 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.1 27-Aug-2011  bouyer branches: 1.1.2; 1.1.12;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.1.2.1 30-Oct-2012  yamt sync with head
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.5 19-Oct-2025  thorpej Use {,e}isabus_attach().
 1.4 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.3 24-Apr-2021  thorpej branches: 1.3.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.2 08-Mar-2018  martin branches: 1.2.16;
The PCI_PRODUCT_VIATECH_VT82C686A_SMB has been renamed, adjust.
 1.1 27-Aug-2011  bouyer branches: 1.1.52;
Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.1.52.1 15-Mar-2018  pgoyette Synch with HEAD
 1.2.16.1 26-Mar-2021  thorpej pcibrescan(): config_found_ia() -> config_found(). Add a comment why we
are explicit about the interface attribute even though "pcib" itself only
carries one.
 1.3.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 27-Aug-2011  bouyer Add loongson support to evbmips, based on the OpenBSD loongson port
and the existing evbmips/gdium support.
This has been tested on a lemote fuloong device (boots multiuser),
should also support other lemote devices (maybe with minor adjustments,
or adding missing drivers). There is some gdium support here too, but it
may not be yet complete (someone with a gdium would need to have a look,
hi macallan@ :)
loongson kernels are 64bits only: the loongson2f has ressources located
above the 2Gb physical address, and it's much easier to access it
using XKPHYS than trying to make it fit in the limited 32bit kernel
virtual space.
 1.7 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.6 16-Jun-2018  thorpej More cleanup to i2c autoconfiguration:

- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
 1.5 29-Feb-2016  christos branches: 1.5.16;
PR/50869: David Binderman: Use logical and instead of arithmetic
 1.4 28-Feb-2013  macallan branches: 1.4.14;
add poweroff support, make sure we actually charge the battery
 1.3 15-Sep-2011  macallan branches: 1.3.2; 1.3.12;
add envsys support
 1.2 07-Sep-2011  macallan report power button events to sysmon
 1.1 01-Sep-2011  macallan a driver for the gdium's ST7 microcontroller
so far it only reports AC and lid switch events to sysmon
 1.3.12.2 03-Dec-2017  jdolecek update from HEAD
 1.3.12.1 23-Jun-2013  tls resync from head
 1.3.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4.14.1 19-Mar-2016  skrll Sync with HEAD
 1.5.16.1 25-Jun-2018  pgoyette Sync with HEAD
 1.17 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.16 29-Jul-2012  mlelstv branches: 1.16.2;
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.15 05-Nov-2009  dyoung branches: 1.15.12; 1.15.18;
Use deviter(9) instead of accessing alldevs directly. Test-compiled,
only.
 1.14 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.13 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.12 04-Jan-2008  ad branches: 1.12.10; 1.12.18; 1.12.24;
Fix headers.
 1.11 05-Dec-2007  tsutsui branches: 1.11.4;
Use TAILQ_FIRST(3) and TAILQ_NEXT(3) macro.
 1.10 17-Nov-2006  tsutsui branches: 1.10.26; 1.10.28; 1.10.34; 1.10.38;
Defer _spl0() or _splnone() calls (which enable hardware interrupts)
from cpu_configure(9) to cpu_initclocks(9) on mips ports which use
mips3_clockintr.c:mips3_clockintr() (i.e. CPU INT5 clock) to avoid
hardclock(9) before softclock interrupt is initialized in initclocks().
This should be harmless because initclocks() is a part of configure()
in these days and there is no MI function which expects hardware
interrupts between cpu_configure(9) and cpu_initclocks(9).

Disccussed on tech-kern and port-mips.
 1.9 26-Feb-2006  thorpej branches: 1.9.14; 1.9.16;
Use device_is_a()
 1.8 21-Feb-2006  thorpej Use device_class() instead of accessing dv_class directly.
 1.7 11-Dec-2005  christos branches: 1.7.2; 1.7.4; 1.7.6;
merge ktrace-lwp.
 1.6 09-Jun-2005  he branches: 1.6.2;
Change the second argument of config_rootfound() from a string to NULL,
so that we compile with -Wcast-qual.
 1.5 23-Oct-2004  thorpej Centralize the declaration of booted_device and booted_partition.
 1.4 15-Jul-2003  lukem __KERNEL_RCSID()
 1.3 27-Sep-2002  thorpej branches: 1.3.6;
Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.2 08-Apr-2002  simonb branches: 1.2.6; 1.2.8;
Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
sbmips) and delay (based on an evbmips delay function) functions.
- Schedule the next hardclock interrupt more accurately (from
an sgimips patch by Rafal Boni). Clock drift on one board is
now ~7ppm instead of ~330ppm.
- Purge old pmax-based mcclock code.
- Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.8.2 18-Oct-2002  nathanw Catch up to -current.
 1.2.8.1 08-Apr-2002  nathanw file autoconf.c was added on branch nathanw_sa on 2002-10-18 02:36:38 +0000
 1.2.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 08-Apr-2002  jdolecek file autoconf.c was added on branch kqueue on 2002-06-23 17:35:57 +0000
 1.3.6.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.6.4 02-Nov-2004  skrll Sync with HEAD.
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.6.2.4 21-Jan-2008  yamt sync with head
 1.6.2.3 07-Dec-2007  yamt sync with head
 1.6.2.2 30-Dec-2006  yamt sync with head.
 1.6.2.1 21-Jun-2006  yamt sync with head.
 1.7.6.1 22-Apr-2006  simonb Sync with head.
 1.7.4.1 09-Sep-2006  rpaulo sync with head
 1.7.2.1 01-Mar-2006  yamt sync with head.
 1.9.16.1 10-Dec-2006  yamt sync with head.
 1.9.14.1 12-Jan-2007  ad Sync with head.
 1.10.38.1 08-Dec-2007  ad Sync with head.
 1.10.34.2 18-Feb-2008  mjf Sync with HEAD.
 1.10.34.1 08-Dec-2007  mjf Sync with HEAD.
 1.10.28.1 09-Jan-2008  matt sync with HEAD
 1.10.26.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.11.4.1 08-Jan-2008  bouyer Sync with HEAD
 1.12.24.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.12.18.1 28-Apr-2009  skrll Sync with HEAD.
 1.12.10.2 11-Mar-2010  yamt sync with head
 1.12.10.1 04-May-2009  yamt sync with head.
 1.15.18.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.15.12.1 30-Oct-2012  yamt sync with head
 1.16.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file autoconf.h was added on branch nathanw_sa on 2002-03-07 14:44:04 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file autoconf.h was added on branch kqueue on 2002-06-23 17:35:57 +0000
 1.7 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.6 31-Jul-2002  simonb branches: 1.6.2;
Add kttcp, sysmon and broadcom/sibyte devices.
 1.5 26-Jul-2002  simonb Split out the {b,c}dev to a separate file, which many devices declared
conditionally so that other eval boards (say without PCI support) can
share the basic "conf.c".
 1.4 19-Jul-2002  thorpej Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
be properly used by any misc. cloning device. While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
 1.3 17-Jun-2002  christos branches: 1.3.2;
MD systrace gluons.
 1.2 16-Mar-2002  martin branches: 1.2.4;
Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.4.5 30-Aug-2002  gehenna Add generic major list for evbmips. It's shared with alchemy and malta.
 1.2.4.4 30-Aug-2002  gehenna catch up with -current.
 1.2.4.3 21-Jul-2002  gehenna catch up with -current.
 1.2.4.2 14-Jul-2002  gehenna catch up with -current.
 1.2.4.1 16-May-2002  gehenna Bye block/character device swicth tables.
 1.3.2.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.2.1 17-Jun-2002  jdolecek file conf.c was added on branch kqueue on 2002-06-23 17:35:57 +0000
 1.6.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.6.2.1 31-Jul-2002  nathanw file conf.c was added on branch nathanw_sa on 2002-09-17 21:14:22 +0000
 1.8 02-Aug-2009  matt Use a common version of cpu.c (mmm removing identical code).
 1.7 17-Oct-2007  garbled branches: 1.7.20; 1.7.34; 1.7.38;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.6 17-May-2007  yamt branches: 1.6.10;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.5 11-Dec-2005  christos branches: 1.5.26; 1.5.30; 1.5.32; 1.5.38;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem branches: 1.4.16;
__KERNEL_RCSID()
 1.3 02-Oct-2002  thorpej branches: 1.3.6;
Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.12.1 07-Mar-2002  nathanw file cpu.c was added on branch nathanw_sa on 2002-10-18 02:36:38 +0000
 1.1.10.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file cpu.c was added on branch kqueue on 2002-06-23 17:35:57 +0000
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 03-Sep-2007  yamt sync with head.
 1.5.38.1 22-May-2007  matt Update to HEAD.
 1.5.32.1 11-Jul-2007  mjf Sync with head.
 1.5.30.1 27-May-2007  ad Sync with head.
 1.5.26.1 18-Apr-2007  ad Pull in sys/cpu.h.
 1.6.10.1 06-Nov-2007  matt sync with HEAD
 1.7.38.1 13-Jan-2010  matt Use a common cpu.c for evbmips single cpu machines
 1.7.34.1 24-Oct-2010  jym Sync with HEAD
 1.7.20.1 19-Aug-2009  yamt sync with head.
 1.3 09-Sep-2002  simonb Share disksubr.c across all evbmips "ports" (it was identical).
 1.2 09-Sep-2002  simonb Remove some unused code.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 17-Sep-2002  nathanw Catch up to -current.
 1.1.12.1 07-Mar-2002  nathanw file disksubr.c was added on branch nathanw_sa on 2002-09-17 21:14:22 +0000
 1.1.10.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file disksubr.c was added on branch kqueue on 2002-06-23 17:35:58 +0000
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 15-Jul-2003  lukem __KERNEL_RCSID()
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.18;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.18.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.18.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.18.1 03-Aug-2004  skrll Sync with HEAD
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file leds.c was added on branch nathanw_sa on 2002-03-07 14:44:04 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file leds.c was added on branch kqueue on 2002-06-23 17:35:58 +0000
 1.47 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.46 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.45 11-Jul-2016  matt branches: 1.45.2;
Use pmap_kenter flags to create cached/uncached entries.
#include <mips/locore.h> when appropriate
 1.44 01-Jun-2015  matt Rework cavium support in preparation for MULTIPROCESSOR support
 1.43 24-Mar-2014  christos branches: 1.43.6;
use cpu_{g,s}etmodel
 1.42 02-Mar-2012  matt branches: 1.42.2; 1.42.4;
Remove reduntant/conflicting common declarations.
 1.41 10-Jul-2011  matt branches: 1.41.2; 1.41.6;
CLeanup machine includes
 1.40 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.39 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.38 08-Feb-2010  joerg branches: 1.38.2; 1.38.4; 1.38.6;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.37 14-Dec-2009  matt branches: 1.37.2;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.36 27-Nov-2009  rmind - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.35 26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.34 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.33 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.32 13-Feb-2009  apb Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
 1.31 30-Nov-2008  martin branches: 1.31.4;
As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
 1.30 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.29 11-Nov-2008  dyoung It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
 1.28 02-Jul-2008  ad branches: 1.28.2; 1.28.4; 1.28.10;
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
 1.27 17-Oct-2007  garbled branches: 1.27.16; 1.27.20; 1.27.22; 1.27.24;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.26 17-May-2007  yamt branches: 1.26.10;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.25 06-Mar-2007  simonb branches: 1.25.2; 1.25.4; 1.25.10;
Fix some caddr_t rototill fallout.
 1.24 05-Mar-2007  dogcow semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.
 1.23 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.22 24-Dec-2005  perry branches: 1.22.26;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.21 11-Dec-2005  christos merge ktrace-lwp.
 1.20 25-Apr-2005  lukem branches: 1.20.2;
Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.
 1.19 03-Apr-2004  simonb branches: 1.19.4;
Copy Izumi Tsutsui's total/avail memory message tidy up.
sgimips is a little different, that is left as is.
 1.18 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.17 30-Dec-2003  pk Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes). It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms. Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.
 1.16 27-Oct-2003  simonb Set the CPU frequency parameters from YAMON if available, and fall back
to the timer/RTC based calibration loops otherwise.
 1.15 27-Oct-2003  simonb Remove useless call to consinit().
 1.14 26-Sep-2003  simonb Cast through (void *) to appease gcc3.
XXX1 - why does this "type-punned pointer" warning only affect little-
endian MIPS and not big-endian MIPS?!
XXX2 - too much duplicated code.
 1.13 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.12 15-Jul-2003  lukem __KERNEL_RCSID()
 1.11 14-Jun-2003  thorpej branches: 1.11.2;
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
 1.10 26-Apr-2003  ragge Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
 1.9 02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.8 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.7 25-Aug-2002  thorpej Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these
variables unsigned, and update places where their values are printed.
 1.6 05-Aug-2002  simonb branches: 1.6.2;
Fix tyop.
 1.5 04-Aug-2002  gmcgarry Merge cpu_sysctl() for all mips ports, based on powerpc and m68k precedent.

For now, only pmax implements CPU_BOOTED_KERNEL. Need to revisit.
 1.4 12-Jul-2002  simonb Add a comment; fix white-space niggle.
 1.3 09-Apr-2002  simonb branches: 1.3.2; 1.3.6;
- Calibrate the timer before the first call to delay.
- Don't use a magic number for the com port address.
 1.2 08-Apr-2002  simonb - Call mips_vector_init() before setting up the serial console, but
after setting up the prom-based console. If more than one cpu class
is enabled, the wbflush() handler (needed indirectly by com.c) won't
be set up.
- Purge some old pmax mcclock-based code.
- Remove a '#if 1/#endif' pair.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.3.6.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.6.1 09-Apr-2002  jdolecek file machdep.c was added on branch kqueue on 2002-06-23 17:35:58 +0000
 1.3.2.2 30-Aug-2002  gehenna catch up with -current.
 1.3.2.1 16-Jul-2002  gehenna catch up with -current.
 1.6.2.3 27-Aug-2002  nathanw Catch up to -current.
 1.6.2.2 13-Aug-2002  simonb LWP'ify the evbmips port.
 1.6.2.1 05-Aug-2002  simonb file machdep.c was added on branch nathanw_sa on 2002-08-13 04:21:57 +0000
 1.11.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.11.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.11.2.1 03-Aug-2004  skrll Sync with HEAD
 1.19.4.1 29-Apr-2005  kent sync with -current
 1.20.2.2 03-Sep-2007  yamt sync with head.
 1.20.2.1 21-Jun-2006  yamt sync with head.
 1.22.26.2 18-Apr-2007  ad - Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.
 1.22.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.25.10.1 22-May-2007  matt Update to HEAD.
 1.25.4.1 11-Jul-2007  mjf Sync with head.
 1.25.2.1 27-May-2007  ad Sync with head.
 1.26.10.1 06-Nov-2007  matt sync with HEAD
 1.27.24.1 03-Jul-2008  simonb Sync with head.
 1.27.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.27.20.2 11-Mar-2010  yamt sync with head
 1.27.20.1 04-May-2009  yamt sync with head.
 1.27.16.2 17-Jan-2009  mjf Sync with HEAD.
 1.27.16.1 02-Jul-2008  mjf Sync with HEAD.
 1.28.10.10 14-Feb-2012  matt mem_cluster_cnt on mips is now a u_int.
 1.28.10.9 29-Apr-2011  matt Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code. (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.
 1.28.10.8 21-Mar-2010  cliff mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'
 1.28.10.7 28-Feb-2010  matt Use cpu_startup_common.
 1.28.10.6 27-Feb-2010  snj Fix gimplish.
 1.28.10.5 27-Feb-2010  matt For MULTIPROCESSOR kernels, enable exception fixups.
 1.28.10.4 01-Feb-2010  matt fix fallout from frame/trapframe merger.
 1.28.10.3 31-Dec-2009  matt Use mips_page_physload and mips_init_lwp0_uarea.
 1.28.10.2 07-Sep-2009  matt Update to deal with pcb_context being a label_t (this should be a common
routine).
 1.28.10.1 21-Aug-2009  matt Make MALTA LP64 capable.
 1.28.4.3 28-Apr-2009  skrll Sync with HEAD.
 1.28.4.2 03-Mar-2009  skrll Sync with HEAD.
 1.28.4.1 19-Jan-2009  skrll Sync with HEAD.
 1.28.2.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.31.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.37.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.38.6.2 05-Mar-2011  bouyer Sync with HEAD
 1.38.6.1 17-Feb-2011  bouyer Sync with HEAD
 1.38.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.38.2.1 05-Mar-2011  rmind sync with head
 1.41.6.3 06-Mar-2012  mrg sync to -current
 1.41.6.2 06-Mar-2012  mrg sync to -current
 1.41.6.1 04-Mar-2012  mrg sync to latest -current.
 1.41.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.41.2.1 17-Apr-2012  yamt sync with head
 1.42.4.1 18-May-2014  rmind sync with head
 1.42.2.2 03-Dec-2017  jdolecek update from HEAD
 1.42.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.43.6.3 05-Feb-2017  skrll Sync with HEAD
 1.43.6.2 05-Oct-2016  skrll Sync with HEAD
 1.43.6.1 06-Jun-2015  skrll Sync with HEAD
 1.45.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem __KERNEL_RCSID()
 1.3 12-Jul-2002  simonb branches: 1.3.2; 1.3.8;
Don't need to include <sys/malloc.h>, <machine/locore.h> or
<uvm/uvm_extern.h> here.
 1.2 23-Mar-2002  simonb branches: 1.2.2; 1.2.6;
Convert evbmips to use mips/mips/bus_space_alignstride_chipdep.c.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.6.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 23-Mar-2002  jdolecek file malta_bus_io.c was added on branch kqueue on 2002-06-23 17:35:58 +0000
 1.2.2.1 16-Jul-2002  gehenna catch up with -current.
 1.3.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.8.1 03-Aug-2004  skrll Sync with HEAD
 1.3.2.2 12-Jul-2002  simonb Don't need to include <sys/malloc.h>, <machine/locore.h> or
<uvm/uvm_extern.h> here.
 1.3.2.1 12-Jul-2002  simonb file malta_bus_io.c was added on branch nathanw_sa on 2002-07-12 00:27:19 +0000
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.7 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.6 11-Dec-2005  christos branches: 1.6.74; 1.6.76; 1.6.78;
merge ktrace-lwp.
 1.5 15-Jul-2003  lukem __KERNEL_RCSID()
 1.4 12-Jul-2002  simonb branches: 1.4.2; 1.4.8;
Don't need to include <sys/malloc.h>, <machine/locore.h> or
<uvm/uvm_extern.h> here.
 1.3 09-Apr-2002  simonb branches: 1.3.2; 1.3.6;
Remove a few more magic numbers.
 1.2 23-Mar-2002  simonb Convert evbmips to use mips/mips/bus_space_alignstride_chipdep.c.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.3.6.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.6.1 09-Apr-2002  jdolecek file malta_bus_mem.c was added on branch kqueue on 2002-06-23 17:35:58 +0000
 1.3.2.1 16-Jul-2002  gehenna catch up with -current.
 1.4.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.8.1 03-Aug-2004  skrll Sync with HEAD
 1.4.2.2 12-Jul-2002  simonb Don't need to include <sys/malloc.h>, <machine/locore.h> or
<uvm/uvm_extern.h> here.
 1.4.2.1 12-Jul-2002  simonb file malta_bus_mem.c was added on branch nathanw_sa on 2002-07-12 00:27:20 +0000
 1.6.78.1 16-May-2008  yamt sync with head.
 1.6.76.1 18-May-2008  yamt sync with head.
 1.6.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.9 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.8 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.7 28-Apr-2008  martin branches: 1.7.18; 1.7.22; 1.7.28; 1.7.30;
Remove clause 3 and 4 from TNF licenses
 1.6 08-Jan-2008  dogcow branches: 1.6.6; 1.6.8; 1.6.10;
explicitly include <sys/device.h>
 1.5 11-Dec-2005  christos branches: 1.5.50; 1.5.56; 1.5.64;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem branches: 1.4.16;
__KERNEL_RCSID()
 1.3 12-Jul-2002  simonb branches: 1.3.2; 1.3.8;
Fix a typo in a comment.
 1.2 18-Mar-2002  simonb branches: 1.2.4; 1.2.8;
Convert to use <mips/bus_*.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.8.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 18-Mar-2002  jdolecek file malta_dma.c was added on branch kqueue on 2002-06-23 17:35:58 +0000
 1.2.4.1 16-Jul-2002  gehenna catch up with -current.
 1.3.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.8.1 03-Aug-2004  skrll Sync with HEAD
 1.3.2.2 12-Jul-2002  simonb Fix a typo in a comment.
 1.3.2.1 12-Jul-2002  simonb file malta_dma.c was added on branch nathanw_sa on 2002-07-12 00:23:05 +0000
 1.4.16.1 21-Jan-2008  yamt sync with head
 1.5.64.1 08-Jan-2008  bouyer Sync with HEAD
 1.5.56.1 18-Feb-2008  mjf Sync with HEAD.
 1.5.50.1 09-Jan-2008  matt sync with HEAD
 1.6.10.1 16-May-2008  yamt sync with head.
 1.6.8.1 18-May-2008  yamt sync with head.
 1.6.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.30.1 05-Mar-2011  bouyer Sync with HEAD
 1.7.28.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.22.1 05-Mar-2011  rmind sync with head
 1.7.18.1 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.27 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.26 10-Nov-2019  chs branches: 1.26.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.25 26-Aug-2016  skrll branches: 1.25.16;
Adjust evbmips_iointr to pass a clockframe pointer and use it for
pwmclock @ voyager.

Suggested by matt@

Hi macallan!
 1.24 31-Mar-2014  christos branches: 1.24.6;
fix typo
 1.23 29-Mar-2014  christos make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.22 27-Oct-2012  chs branches: 1.22.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.21 04-Apr-2011  dyoung branches: 1.21.4; 1.21.14;
Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.20 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.19 26-May-2008  tsutsui branches: 1.19.16; 1.19.20; 1.19.26; 1.19.28;
Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).
 1.18 09-Jan-2008  wiz branches: 1.18.6; 1.18.8; 1.18.10; 1.18.12;
Fix typo in macro name and comments.
 1.17 08-Jan-2008  tsutsui Set proper mask values for ipl_sr_bits[] and
use C99 initializer to avoid confusion.
Tested on gxemul.
 1.16 08-Jan-2008  dogcow I'm not positive that the mips_ipl_si_to_sr assignments are correct - but
at least the thing compiles now.
 1.15 17-Oct-2007  garbled branches: 1.15.2; 1.15.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.14 17-May-2007  yamt branches: 1.14.10;
merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.13 21-Dec-2006  yamt branches: 1.13.2; 1.13.6; 1.13.8; 1.13.14;
merge yamt-splraiseipl branch.

- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
 1.12 02-Sep-2006  gdamore branches: 1.12.2; 1.12.4;
Remove pointless reference to evbmips/clockvar.h.
 1.11 09-Feb-2006  gdamore branches: 1.11.2;
au_icu.c is in mips/ and should not depend on evbmips intr handler struct.
convert various u_int32_t to preferred uint32_t.
 1.10 25-Nov-2005  simonb branches: 1.10.2; 1.10.4; 1.10.6;
Include <sys/systm.h> if we use printf(), instead of relying on some
other random header pulling <sys/systm.h> in for us.
 1.9 15-Jul-2003  lukem branches: 1.9.16; 1.9.24;
__KERNEL_RCSID()
 1.8 25-May-2003  tsutsui branches: 1.8.2;
Use common mips/softintr.c for softintr(9) on evbmips.
Ok'ed by simonb.
 1.7 06-Dec-2002  simonb Fix a typo in the PCI map array (no functionality changes in practice).
 1.6 10-Nov-2002  simonb Keep the knowledge of the H/W interrupt 5 event counter local to
interrupt.c. This change also unmasked the fact that the Alchemy
boards did not initialise this counter.
 1.5 29-Aug-2002  simonb It's the gt64120, not the gt62140.
 1.4 29-Jul-2002  simonb branches: 1.4.2;
Move the soft interrupts IPL masks from port-specific code to
board-specific code.
Change a u_long to a uint32_t in the timer calibration routines.
 1.3 04-Jun-2002  simonb branches: 1.3.2;
3 ports are now using the reciprocal count divisor code now, move it
to <mips/cpu.h>, and add MIPS_SET_CI_RECIPRICAL and MIPS_COUNT_TO_MHZ
macros to use it.
 1.2 08-Apr-2002  simonb branches: 1.2.2;
Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
sbmips) and delay (based on an evbmips delay function) functions.
- Schedule the next hardclock interrupt more accurately (from
an sgimips patch by Rafal Boni). Clock drift on one board is
now ~7ppm instead of ~330ppm.
- Purge old pmax-based mcclock code.
- Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.2.3 31-Aug-2002  gehenna catch up with -current.
 1.2.2.2 30-Aug-2002  gehenna catch up with -current.
 1.2.2.1 14-Jul-2002  gehenna catch up with -current.
 1.3.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.3.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.2.1 04-Jun-2002  jdolecek file malta_intr.c was added on branch kqueue on 2002-06-23 17:35:59 +0000
 1.4.2.4 11-Dec-2002  thorpej Sync with HEAD.
 1.4.2.3 11-Nov-2002  nathanw Catch up to -current
 1.4.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.4.2.1 29-Jul-2002  nathanw file malta_intr.c was added on branch nathanw_sa on 2002-09-17 21:14:23 +0000
 1.8.2.4 11-Dec-2005  christos Sync with head.
 1.8.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.2.1 03-Aug-2004  skrll Sync with HEAD
 1.9.24.1 29-Nov-2005  yamt sync with head.
 1.9.16.4 21-Jan-2008  yamt sync with head
 1.9.16.3 03-Sep-2007  yamt sync with head.
 1.9.16.2 30-Dec-2006  yamt sync with head.
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.10.6.1 22-Apr-2006  simonb Sync with head.
 1.10.4.1 09-Sep-2006  rpaulo sync with head
 1.10.2.1 18-Feb-2006  yamt sync with head.
 1.11.2.1 03-Sep-2006  yamt sync with head.
 1.12.4.1 22-Sep-2006  yamt fix softintr for following ports. (hopefully)
hpcmips
evbmips
algor
arc
ews4800mips
newsmips
 1.12.2.1 12-Jan-2007  ad Sync with head.
 1.13.14.1 22-May-2007  matt Update to HEAD.
 1.13.8.1 11-Jul-2007  mjf Sync with head.
 1.13.6.1 27-May-2007  ad Sync with head.
 1.13.2.1 18-Apr-2007  ad Pull in sys/cpu.h.
 1.14.10.3 23-Mar-2008  matt sync with HEAD
 1.14.10.2 09-Jan-2008  matt sync with HEAD
 1.14.10.1 06-Nov-2007  matt sync with HEAD
 1.15.8.2 10-Jan-2008  bouyer Sync with HEAD
 1.15.8.1 08-Jan-2008  bouyer Sync with HEAD
 1.15.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.18.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.18.10.1 04-May-2009  yamt sync with head.
 1.18.8.1 04-Jun-2008  yamt sync with head
 1.18.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.19.28.1 05-Mar-2011  bouyer Sync with HEAD
 1.19.26.1 06-Jun-2011  jruoho Sync with HEAD.
 1.19.20.2 21-Apr-2011  rmind sync with head
 1.19.20.1 05-Mar-2011  rmind sync with head
 1.19.16.7 16-May-2010  matt Add IPL_DDB. This is needed for watchdog on sbmips and for IPIs used by DDB.
It's above IPL_SCHED but below IPL_HIGH.
 1.19.16.6 28-Feb-2010  matt #define __INTR_PRIVATE
 1.19.16.5 23-Feb-2010  matt Instead of a read-only ipl_sr_bits, define a ipl_sr_map struct and fill that
in the interrupt init routine. There's a default ipl_sr_map will operate
correctly, but isn't performant.
 1.19.16.4 16-Feb-2010  matt Add __HAVE_PREEMPTION support for NetBSD/mips. Kill IPL_PREEMPT since it
isn't needed.
 1.19.16.3 15-Feb-2010  matt Adapt to the new interrupt framework for NetBSD/mips.
 1.19.16.2 06-Feb-2010  matt A little constification and remove some old softintr cruft.
 1.19.16.1 20-Jan-2010  matt Adjust things to the new world order.
 1.21.14.3 03-Dec-2017  jdolecek update from HEAD
 1.21.14.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.21.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.21.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.21.4.1 30-Oct-2012  yamt sync with head
 1.22.2.1 18-May-2014  rmind sync with head
 1.24.6.1 05-Oct-2016  skrll Sync with HEAD
 1.25.16.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.26.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file maltareg.h was added on branch nathanw_sa on 2002-03-07 14:44:05 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file maltareg.h was added on branch kqueue on 2002-06-23 17:35:59 +0000
 1.6 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.5 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.4 28-Apr-2008  martin branches: 1.4.18; 1.4.22; 1.4.28; 1.4.30;
Remove clause 3 and 4 from TNF licenses
 1.3 18-Mar-2002  simonb branches: 1.3.8; 1.3.10; 1.3.118; 1.3.120; 1.3.122;
Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.2 18-Mar-2002  simonb Convert to use <mips/bus_*.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.3.122.1 16-May-2008  yamt sync with head.
 1.3.120.1 18-May-2008  yamt sync with head.
 1.3.118.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.10.2 18-Mar-2002  simonb Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.3.10.1 18-Mar-2002  simonb file maltavar.h was added on branch nathanw_sa on 2002-03-18 10:10:17 +0000
 1.3.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.8.1 18-Mar-2002  jdolecek file maltavar.h was added on branch kqueue on 2002-06-23 17:35:59 +0000
 1.4.30.1 05-Mar-2011  bouyer Sync with HEAD
 1.4.28.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.22.1 05-Mar-2011  rmind sync with head
 1.4.18.1 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.2 13-Mar-2002  simonb Remove bogus file that shouldn't have been added in the first place.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.17 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.16 24-Apr-2021  thorpej branches: 1.16.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.15 02-Oct-2015  msaitoh branches: 1.15.32;
PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.14 07-Jun-2015  matt #include <mips/cpuregs.h>
 1.13 06-Jun-2011  matt branches: 1.13.12; 1.13.30;
CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
use bool when appropriate
some constification
 1.12 17-May-2011  dyoung branches: 1.12.2;
PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional
role in NetBSD (drivers are no longer supposed to write these to
pa_flags) without changing name. Correct that.

Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and
PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names
consistent with the other PCI flags and poisoning 3rd-party driver
sources that use the flags in the old bad way.

This patch produces no binary changes in this set of PCI kernels when
they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:

algor P4032 P5064 P6032
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321
evbarm-el IXDP425 IXM1200 KUROBOX_PRO
evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR
evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
iyonix GENERIC
landisk GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sbmips-el GENERIC
sgimips GENERIC32_IP2x GENERIC32_IP3x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC
 1.11 14-Mar-2009  dsl branches: 1.11.4; 1.11.6;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.10 06-Apr-2006  simonb branches: 1.10.66; 1.10.74; 1.10.80;
Remove "return" at the end of a void function.
 1.9 11-Dec-2005  christos branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12;
merge ktrace-lwp.
 1.8 30-Aug-2004  drochner branches: 1.8.12;
Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
 1.7 15-Jul-2003  lukem __KERNEL_RCSID()
 1.6 15-Jun-2003  fvdl branches: 1.6.2;
Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
 1.5 02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL
 1.4 01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 16-May-2002  thorpej branches: 1.2.2; 1.2.6; 1.2.8;
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.8.2 18-Oct-2002  nathanw Catch up to -current.
 1.2.8.1 16-May-2002  nathanw file gt.c was added on branch nathanw_sa on 2002-10-18 02:36:39 +0000
 1.2.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 16-May-2002  jdolecek file gt.c was added on branch kqueue on 2002-06-23 17:35:59 +0000
 1.2.2.2 16-May-2002  thorpej * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
 1.2.2.1 16-May-2002  thorpej file gt.c was added on branch gehenna-devsw on 2002-05-16 01:01:37 +0000
 1.6.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.6.2.2 03-Sep-2004  skrll Sync with HEAD
 1.6.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.12.1 21-Jun-2006  yamt sync with head.
 1.9.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.9.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.9.8.1 11-Apr-2006  yamt sync with head
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.10.80.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.10.74.1 28-Apr-2009  skrll Sync with HEAD.
 1.10.66.1 04-May-2009  yamt sync with head.
 1.11.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.11.4.2 12-Jun-2011  rmind sync with head
 1.11.4.1 31-May-2011  rmind sync with head
 1.12.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.13.30.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.13.30.1 22-Sep-2015  skrll Sync with HEAD
 1.13.12.1 03-Dec-2017  jdolecek update from HEAD
 1.15.32.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.16.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12; 1.1.34;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.34.1 21-Jun-2006  yamt sync with head.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file gtreg.h was added on branch nathanw_sa on 2002-03-07 14:44:06 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file gtreg.h was added on branch kqueue on 2002-06-23 17:35:59 +0000
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.1 07-Mar-2002  simonb file gtvar.h was added on branch nathanw_sa on 2002-03-07 14:44:06 +0000
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file gtvar.h was added on branch kqueue on 2002-06-23 17:36:00 +0000
 1.18 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.17 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.16 24-Apr-2021  thorpej branches: 1.16.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.15 07-Jul-2020  thorpej branches: 1.15.4;
Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.14 14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.13 07-Aug-2016  skrll Fix compile for PCI_NETBSD_CONFIGURE
 1.12 06-Jun-2011  matt branches: 1.12.12; 1.12.30;
CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
use bool when appropriate
some constification
 1.11 14-Mar-2009  dsl branches: 1.11.4; 1.11.10;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.10 11-Dec-2005  christos branches: 1.10.78; 1.10.86; 1.10.92;
merge ktrace-lwp.
 1.9 26-Aug-2005  drochner s/locdesc_t/int/g
 1.8 28-Jun-2005  drochner branches: 1.8.2;
convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
 1.7 15-Jul-2003  lukem __KERNEL_RCSID()
 1.6 01-Jan-2003  thorpej branches: 1.6.2;
Use aprint_normal() for cfprint routines.
 1.5 02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL
 1.4 01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.3 03-Jan-2003  thorpej Sync with HEAD.
 1.1.12.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.12.1 07-Mar-2002  nathanw file mainbus.c was added on branch nathanw_sa on 2002-10-18 02:36:39 +0000
 1.1.10.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file mainbus.c was added on branch kqueue on 2002-06-23 17:36:00 +0000
 1.6.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.2.1 21-Jun-2006  yamt sync with head.
 1.10.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.10.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.10.78.1 04-May-2009  yamt sync with head.
 1.11.10.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.11.4.1 12-Jun-2011  rmind sync with head
 1.12.30.1 05-Oct-2016  skrll Sync with HEAD
 1.12.12.1 03-Dec-2017  jdolecek update from HEAD
 1.15.4.2 22-Mar-2021  thorpej Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.
 1.15.4.1 22-Mar-2021  thorpej Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.
 1.16.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.11 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.10 06-Jun-2011  matt branches: 1.10.2; 1.10.12;
CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
use bool when appropriate
some constification
 1.9 22-Aug-2006  riz branches: 1.9.82; 1.9.92;
Vendor GALILEO is now MARVELL.
 1.8 25-Nov-2005  simonb branches: 1.8.4; 1.8.8; 1.8.18;
Include <sys/systm.h> if we use printf(), instead of relying on some
other random header pulling <sys/systm.h> in for us.
 1.7 24-Apr-2004  kleink branches: 1.7.12; 1.7.18;
Update for new pci_devinfo(9) signature.
 1.6 15-Jul-2003  lukem branches: 1.6.4;
__KERNEL_RCSID()
 1.5 03-Oct-2002  thorpej branches: 1.5.6;
Include <sys/param.h> so that we get the defn of NULL.
 1.4 02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL
 1.3 01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 07-Mar-2002  simonb branches: 1.1.10; 1.1.12;
A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.1.12.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.12.1 07-Mar-2002  nathanw file pchb.c was added on branch nathanw_sa on 2002-10-18 02:36:39 +0000
 1.1.10.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.10.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1 07-Mar-2002  jdolecek file pchb.c was added on branch kqueue on 2002-06-23 17:36:00 +0000
 1.5.6.4 11-Dec-2005  christos Sync with head.
 1.5.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.6.4.1 11-Sep-2006  tron Pull up following revision(s) (requested by riz in ticket #10693):
sys/arch/cobalt/pci/pchb.c: revision 1.9 via patch
sys/dev/pci/if_sk.c: revision 1.30 via patch
sys/arch/evbmips/malta/pci/pchb.c: revision 1.9 via patch
Vendor GALILEO is now MARVELL.
 1.7.18.1 29-Nov-2005  yamt sync with head.
 1.7.12.2 30-Dec-2006  yamt sync with head.
 1.7.12.1 21-Jun-2006  yamt sync with head.
 1.8.18.1 08-Sep-2006  rpaulo Pull up following revision(s) (requested by riz in ticket #139):
sys/arch/cobalt/pci/pchb.c: revision 1.9
sys/dev/pci/if_sk.c: revision 1.30
sys/arch/cobalt/pci/pci_machdep.c: revision 1.24
sys/dev/pci/pcidevs: revision 1.820
sys/arch/evbmips/malta/pci/pchb.c: revision 1.9
Rename vendor GALILEO -> vendor MARVELL . Marvell bought Galileo years
ago, we have little existing stuff in the tree, and this will make it
easier to keep certain network drivers in sync with other OSes.
OK matt@, uwe@
Vendor GALILEO is now MARVELL.
 1.8.8.1 03-Sep-2006  yamt sync with head.
 1.8.4.1 09-Sep-2006  rpaulo sync with head
 1.9.92.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.9.82.1 12-Jun-2011  rmind sync with head
 1.10.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.10.2.1 30-Oct-2012  yamt sync with head
 1.6 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.5 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.4 11-Dec-2005  christos branches: 1.4.96; 1.4.100; 1.4.106; 1.4.108;
merge ktrace-lwp.
 1.3 15-Jul-2003  lukem __KERNEL_RCSID()
 1.2 18-Mar-2002  simonb branches: 1.2.8; 1.2.10; 1.2.16;
Convert to use <mips/bus_*.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.16.1 03-Aug-2004  skrll Sync with HEAD
 1.2.10.2 18-Mar-2002  simonb Convert to use <mips/bus_*.h>.
 1.2.10.1 18-Mar-2002  simonb file pci_machdep.c was added on branch nathanw_sa on 2002-03-18 01:21:14 +0000
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 18-Mar-2002  jdolecek file pci_machdep.c was added on branch kqueue on 2002-06-23 17:36:00 +0000
 1.4.108.1 05-Mar-2011  bouyer Sync with HEAD
 1.4.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.100.1 05-Mar-2011  rmind sync with head
 1.4.96.1 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.26 19-Oct-2025  thorpej Use {,e}isabus_attach().
 1.25 08-Feb-2024  andvar s/sharable/shareable in comments and documentation.
 1.24 22-Jan-2022  skrll Ensure bus_dmatag_subregion is called with an inclusive max_addr
everywhere.
 1.23 22-Jan-2022  skrll Trailing whitespace
 1.22 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.21 24-Apr-2021  thorpej branches: 1.21.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.20 21-Nov-2020  thorpej branches: 1.20.2;
malloc(9) -> kmem(9)
 1.19 10-Nov-2019  chs branches: 1.19.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.18 29-Mar-2014  christos branches: 1.18.30;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.17 26-Mar-2014  christos kill sprintf
 1.16 27-Oct-2012  chs branches: 1.16.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.15 01-Jul-2011  dyoung branches: 1.15.2; 1.15.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.14 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.13 19-Aug-2009  dyoung branches: 1.13.4; 1.13.6; 1.13.8;
Define, and hook into the isa_chipset_tag_t, pcib_isa_detach_hook().
 1.12 12-May-2006  tsutsui branches: 1.12.66; 1.12.84;
According to the i8259 manual, EOI, R, and SL bits belong to OCW2 register
so rename them OCW3_* -> OCW2_*.
 1.11 11-Dec-2005  christos branches: 1.11.4; 1.11.6; 1.11.8; 1.11.12;
merge ktrace-lwp.
 1.10 30-Aug-2004  drochner branches: 1.10.12;
Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
 1.9 24-Apr-2004  kleink Update for new pci_devinfo(9) signature.
 1.8 15-Jul-2003  lukem __KERNEL_RCSID()
 1.7 01-Jan-2003  thorpej branches: 1.7.2;
Use aprint_normal() for cfprint routines.
 1.6 02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL
 1.5 01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.4 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.2 18-Mar-2002  simonb branches: 1.2.8; 1.2.10;
Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.10.3 03-Jan-2003  thorpej Sync with HEAD.
 1.2.10.2 18-Oct-2002  nathanw Catch up to -current.
 1.2.10.1 18-Mar-2002  nathanw file pcib.c was added on branch nathanw_sa on 2002-10-18 02:36:39 +0000
 1.2.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 18-Mar-2002  jdolecek file pcib.c was added on branch kqueue on 2002-06-23 17:36:01 +0000
 1.7.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.7.2.2 03-Sep-2004  skrll Sync with HEAD
 1.7.2.1 03-Aug-2004  skrll Sync with HEAD
 1.10.12.1 21-Jun-2006  yamt sync with head.
 1.11.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.11.8.1 24-May-2006  yamt sync with head.
 1.11.6.1 01-Jun-2006  kardel Sync with head.
 1.11.4.1 09-Sep-2006  rpaulo sync with head
 1.12.84.1 10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.12.66.1 19-Aug-2009  yamt sync with head.
 1.13.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.13.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.13.4.1 05-Mar-2011  rmind sync with head
 1.15.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.15.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.2.1 30-Oct-2012  yamt sync with head
 1.16.2.1 18-May-2014  rmind sync with head
 1.18.30.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.19.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.20.2.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.21.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 18-Mar-2002  simonb branches: 1.2.8; 1.2.10;
Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.10.2 18-Mar-2002  simonb Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.2.10.1 18-Mar-2002  simonb file pcibvar.h was added on branch nathanw_sa on 2002-03-18 10:10:18 +0000
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 18-Mar-2002  jdolecek file pcibvar.h was added on branch kqueue on 2002-06-23 17:36:01 +0000
 1.6 09-Jul-2011  matt Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.5 04-Apr-2011  dyoung Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args. Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
pci_intr_map() was a leftover from Xen 2. Probably a bug. I
stopped writing it. I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
Probably a bug. I use a temporary variable. I have not tested this
change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
Probably a bug. Use a local pci_attach_args. I have not tested
this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
caller's pci_attach_args. Probably a bug. Make a local copy of the
caller's pci_attach_args and modify the copy. I have not tested
this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
 1.4 11-Dec-2005  christos branches: 1.4.100; 1.4.106;
merge ktrace-lwp.
 1.3 15-Jul-2003  lukem __KERNEL_RCSID()
 1.2 18-Mar-2002  simonb branches: 1.2.8; 1.2.10; 1.2.16;
Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.1 07-Mar-2002  simonb A port to the MIPS Malta evaluation board. Currently supports the
MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261
CPU boards to follow.

The cs4281 audio hasn't been tested, there are some interrupt problems
with onboard the pciide, but all other on-board peripherals work.

The evbmips port will support more MIPS evaluation boards in the future.
 1.2.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.16.1 03-Aug-2004  skrll Sync with HEAD
 1.2.10.2 18-Mar-2002  simonb Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
 1.2.10.1 18-Mar-2002  simonb file pciide_machdep.c was added on branch nathanw_sa on 2002-03-18 10:10:18 +0000
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 18-Mar-2002  jdolecek file pciide_machdep.c was added on branch kqueue on 2002-06-23 17:36:01 +0000
 1.4.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.100.1 21-Apr-2011  rmind sync with head
 1.1 27-Jan-2021  simonb branches: 1.1.4;
Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 27-Jan-2021  thorpej file autoconf.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file autoconf.h was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.1 27-Jan-2021  simonb branches: 1.1.4;
Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 27-Jan-2021  thorpej file com_mainbus.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.1 27-Jan-2021  simonb branches: 1.1.4;
Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 27-Jan-2021  thorpej file if_mipsnetreg.h was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.5 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.4 28-Dec-2022  he evbmips/mipssim: on mips64, probe for additional memory.

Probe for memory from above the ISA I/O hole and up to 16GB,
which acording to simonb@ is a somewhat arbitrary limit.

This makes it possible to specify e.g. "-m 2g" to qemu, and have
that memory be probed instead of being clamped to 508MB.
 1.3 16-Nov-2021  simonb branches: 1.3.4;
Use CPU frequencies defined in QEMU for mipssim - 6 MHz for 64-bit
guests and 12 MHz for 32-bit guests.
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file machdep.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.3.4.1 28-Dec-2022  martin Pull up following revision(s) (requested by he in ticket #26):

sys/arch/evbmips/mipssim/mipssim_dma.c: revision 1.2
sys/arch/evbmips/mipssim/mipssimreg.h: revision 1.4
sys/arch/evbmips/mipssim/machdep.c: revision 1.4

mipssim_dma.c: set _bounce_thresh so that bounce buffering works.
Suggested by jmcneill@, thanks!

evbmips/mipssim: on mips64, probe for additional memory.

Probe for memory from above the ISA I/O hole and up to 16GB,
which acording to simonb@ is a somewhat arbitrary limit.

This makes it possible to specify e.g. "-m 2g" to qemu, and have
that memory be probed instead of being clamped to 508MB.
 1.4 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.3 24-Apr-2021  thorpej branches: 1.3.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.2 15-Feb-2021  reinoud branches: 1.2.2; 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file mainbus.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2.2.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.3.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file mipssim_bus_io.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2 28-Dec-2022  he mipssim_dma.c: set _bounce_thresh so that bounce buffering works.

Suggested by jmcneill@, thanks!
 1.1 15-Feb-2021  reinoud branches: 1.1.4; 1.1.20;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1.20.1 28-Dec-2022  martin Pull up following revision(s) (requested by he in ticket #26):

sys/arch/evbmips/mipssim/mipssim_dma.c: revision 1.2
sys/arch/evbmips/mipssim/mipssimreg.h: revision 1.4
sys/arch/evbmips/mipssim/machdep.c: revision 1.4

mipssim_dma.c: set _bounce_thresh so that bounce buffering works.
Suggested by jmcneill@, thanks!

evbmips/mipssim: on mips64, probe for additional memory.

Probe for memory from above the ISA I/O hole and up to 16GB,
which acording to simonb@ is a somewhat arbitrary limit.

This makes it possible to specify e.g. "-m 2g" to qemu, and have
that memory be probed instead of being clamped to 508MB.
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 15-Feb-2021  thorpej file mipssim_dma.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file mipssim_intr.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.4 28-Dec-2022  he evbmips/mipssim: on mips64, probe for additional memory.

Probe for memory from above the ISA I/O hole and up to 16GB,
which acording to simonb@ is a somewhat arbitrary limit.

This makes it possible to specify e.g. "-m 2g" to qemu, and have
that memory be probed instead of being clamped to 508MB.
 1.3 16-Feb-2021  simonb branches: 1.3.4; 1.3.20;
Whitespace nit.
 1.2 15-Feb-2021  reinoud Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.3.20.1 28-Dec-2022  martin Pull up following revision(s) (requested by he in ticket #26):

sys/arch/evbmips/mipssim/mipssim_dma.c: revision 1.2
sys/arch/evbmips/mipssim/mipssimreg.h: revision 1.4
sys/arch/evbmips/mipssim/machdep.c: revision 1.4

mipssim_dma.c: set _bounce_thresh so that bounce buffering works.
Suggested by jmcneill@, thanks!

evbmips/mipssim: on mips64, probe for additional memory.

Probe for memory from above the ISA I/O hole and up to 16GB,
which acording to simonb@ is a somewhat arbitrary limit.

This makes it possible to specify e.g. "-m 2g" to qemu, and have
that memory be probed instead of being clamped to 508MB.
 1.3.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.3.4.1 16-Feb-2021  thorpej file mipssimreg.h was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.2 15-Feb-2021  reinoud branches: 1.2.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1 27-Jan-2021  simonb Add support for the QEMU MIPS "mipssim" simulator.
TODO- mipsnet network driver (root on md(4) only for now).
 1.2.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.2.4.1 15-Feb-2021  thorpej file mipssimvar.h was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.4 03-Nov-2021  skrll Catch up with member renaming
 1.3 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.2 24-Apr-2021  thorpej branches: 1.2.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.1 15-Feb-2021  reinoud branches: 1.1.2; 1.1.4;
Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 15-Feb-2021  thorpej file virtio_mainbus.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000
 1.1.2.1 27-Mar-2021  thorpej - config_found_ia() -> config_found().
- virtio only carries a single interface attribute, so no need to
specify it explicitly.
 1.2.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.6 05-Oct-2016  ryo add support MT7628/MediaTek LinkIt Smart 7688
by @hiroshi and me.
 1.5 30-Apr-2014  matt branches: 1.5.4; 1.5.8;
Add common support for bringing devices out of reset or enabling their clocks
to device_register. Add code to switch USB to host mode.
 1.4 27-Oct-2012  chs branches: 1.4.2; 1.4.10;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 29-Jul-2012  mlelstv branches: 1.3.2;
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.2 28-Jul-2011  matt branches: 1.2.2; 1.2.8;
Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.1 01-Jul-2011  matt branches: 1.1.2;
file autoconf.c was initially added on branch matt-nb5-mips64.
 1.1.2.1 01-Jul-2011  matt Add basic support for the Ralink RT3883 SOC. No support for the wireless
interfaces is present but i2c, uart, ethernet, gpio, ehci, ohci are supported.
This support was contributed by Cradlepoint Technology.
 1.2.8.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.2.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.2.1 30-Oct-2012  yamt sync with head
 1.3.2.3 03-Dec-2017  jdolecek update from HEAD
 1.3.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.10.1 10-Aug-2014  tls Rebase.
 1.4.2.1 18-May-2014  rmind sync with head
 1.5.8.1 04-Nov-2016  pgoyette Sync with HEAD
 1.5.4.1 05-Dec-2016  skrll Sync with HEAD
 1.3 05-Oct-2016  ryo add support MT7628/MediaTek LinkIt Smart 7688
by @hiroshi and me.
 1.2 28-Jul-2011  matt branches: 1.2.12; 1.2.30; 1.2.34;
Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.1 01-Jul-2011  matt branches: 1.1.2;
file console.c was initially added on branch matt-nb5-mips64.
 1.1.2.1 01-Jul-2011  matt Add basic support for the Ralink RT3883 SOC. No support for the wireless
interfaces is present but i2c, uart, ethernet, gpio, ehci, ohci are supported.
This support was contributed by Cradlepoint Technology.
 1.2.34.1 04-Nov-2016  pgoyette Sync with HEAD
 1.2.30.1 05-Dec-2016  skrll Sync with HEAD
 1.2.12.1 03-Dec-2017  jdolecek update from HEAD
 1.15 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.14 22-Jul-2020  msaitoh s/reseting/resetting/
 1.13 22-Dec-2016  cherry switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.12 05-Oct-2016  ryo add support MT7628/MediaTek LinkIt Smart 7688
by @hiroshi and me.
 1.11 26-Jun-2015  matt branches: 1.11.2;
Remove pmapdebug stuff
 1.10 30-Apr-2014  matt branches: 1.10.4;
Add some MT7620 support.
 1.9 24-Mar-2014  christos branches: 1.9.2;
use cpu_{g,s}etmodel
 1.8 11-Mar-2012  mrg branches: 1.8.2; 1.8.4;
normalise RCSID handling some.
 1.7 02-Mar-2012  matt Remove reduntant/conflicting common declarations.
 1.6 01-Feb-2012  matt Fix early console support.
 1.5 16-Aug-2011  matt branches: 1.5.2; 1.5.6;
Use cpu_startup_command (and now HWRENA gets properly initialized).
 1.4 03-Aug-2011  matt Deal with RTMEMSIZE no longer being defined
 1.3 03-Aug-2011  matt Get memsize from SYSCTL_CFG0 register.
 1.2 28-Jul-2011  matt Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.1 01-Jul-2011  matt branches: 1.1.2;
file machdep.c was initially added on branch matt-nb5-mips64.
 1.1.2.2 14-Feb-2012  matt mem_cluster_cnt on mips is now a u_int.
 1.1.2.1 01-Jul-2011  matt Add basic support for the Ralink RT3883 SOC. No support for the wireless
interfaces is present but i2c, uart, ethernet, gpio, ehci, ohci are supported.
This support was contributed by Cradlepoint Technology.
 1.5.6.4 06-Mar-2012  mrg sync to -current
 1.5.6.3 06-Mar-2012  mrg sync to -current
 1.5.6.2 04-Mar-2012  mrg sync to latest -current.
 1.5.6.1 18-Feb-2012  mrg merge to -current.
 1.5.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5.2.1 17-Apr-2012  yamt sync with head
 1.8.4.1 18-May-2014  rmind sync with head
 1.8.2.2 03-Dec-2017  jdolecek update from HEAD
 1.8.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.2.1 10-Aug-2014  tls Rebase.
 1.10.4.3 05-Feb-2017  skrll Sync with HEAD
 1.10.4.2 05-Dec-2016  skrll Sync with HEAD
 1.10.4.1 22-Sep-2015  skrll Sync with HEAD
 1.11.2.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.11.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.8 10-Jun-2015  matt Match sd and ld in addition to wd.
 1.7 27-Oct-2012  chs branches: 1.7.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.6 29-Jul-2012  mlelstv branches: 1.6.2;
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
 1.5 12-Feb-2012  matt branches: 1.5.2;
Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.4 20-Feb-2011  matt branches: 1.4.4; 1.4.8;
Merge forward from matt-nb5-mips64.
 1.3 20-Dec-2009  rmind branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10;
Fix few problems in evbmips/rmixl:
- mach_init: use mips_init_lwp0_uarea(), do not hardcode it. Do not call
ksyms_init(), it's called in MI. Also, avoid struct user in few places.
- findroot: use deviter interface.
 1.2 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 13-Sep-2009  cliff branches: 1.1.2;
file autoconf.c was initially added on branch matt-nb5-mips64.
 1.1.2.6 04-Jan-2012  matt Rework Fast Messaging Network support (it's now lockless).
Workaround a problem with bus 0 BAR sizing causing the registers behind
the BAR to become inaccessible.
Move much/most of the startup code from evbmips/rmixl/machdep to
mips/rmi/rmixl_machdep.c
Move the code to find the XLP variant to the early boot so it can be used
early.
8bit and 16bit accessed to PCI bus 0 cause cache errors so chagne the access
of pci mem to 32bits.
 1.1.2.5 24-Dec-2011  matt Rework to add early support.
Add XLP support. Allow one kernel to support XLR/XLS and XLP.
Do bus_dma init in cpu_configure.
 1.1.2.4 29-Apr-2011  matt Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code. (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.
 1.1.2.3 10-Jun-2010  cliff - in findroot(), add "sd" to search for root
we are kind of lying about 'booted_device' here,
until we figure out how to get booted dev info from the firmware.
 1.1.2.2 14-Jan-2010  matt More fixes for the CFATTAL_DECL_NEW changes and rmixl cpucore/cpu changes.
 1.1.2.1 13-Sep-2009  cliff add netbsd support for RMI XLS6ATX_7A board and XL SoC family
 1.3.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.3.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.6.1 05-Mar-2011  rmind sync with head
 1.3.4.2 11-Mar-2010  yamt sync with head
 1.3.4.1 20-Dec-2009  yamt file autoconf.c was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.4.8.1 18-Feb-2012  mrg merge to -current.
 1.4.4.2 30-Oct-2012  yamt sync with head
 1.4.4.1 17-Apr-2012  yamt sync with head
 1.5.2.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.6.2.2 03-Dec-2017  jdolecek update from HEAD
 1.6.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.14.1 22-Sep-2015  skrll Sync with HEAD
 1.2 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.1 13-Jan-2010  cliff branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file autoconf.h was initially added on branch matt-nb5-mips64.
 1.1.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.1 05-Mar-2011  rmind sync with head
 1.1.2.3 24-Dec-2011  matt Rework to add early support.
Add XLP support. Allow one kernel to support XLR/XLS and XLP.
Do bus_dma init in cpu_configure.
 1.1.2.2 16-Jan-2010  cliff - add struct mainbus_softc
- struct mainbus_attach_args loses ma_core, gets ma_node
 1.1.2.1 13-Jan-2010  cliff - add autoconf.h, need mainbus_atach_args
 1.3 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2 14-Dec-2009  matt branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 13-Sep-2009  cliff branches: 1.1.2;
file cpu.c was initially added on branch matt-nb5-mips64.
 1.1.2.4 16-Jan-2010  cliff - moved arch/evbmips/rmixl/cpu.c to arch/mips/rmi/rmixl_cpu.c
 1.1.2.3 13-Jan-2010  matt Deal with new cpu_identity()
 1.1.2.2 13-Jan-2010  cliff - attach at cpucore
- match multiple cpus (RMI "threads")
- print of cpu freq and call to cpu_identify() moved to parent
 1.1.2.1 13-Sep-2009  cliff add netbsd support for RMI XLS6ATX_7A board and XL SoC family
 1.2.10.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.6.1 05-Mar-2011  rmind sync with head
 1.2.4.2 11-Mar-2010  yamt sync with head
 1.2.4.1 14-Dec-2009  yamt file cpu.c was added on branch yamt-nfs-mp on 2010-03-11 15:02:19 +0000
 1.1 13-Jan-2010  cliff branches: 1.1.2;
file cpucore.c was initially added on branch matt-nb5-mips64.
 1.1.2.4 16-Jan-2010  cliff - moved arch/evbmips/rmixl/cpucore.c to arch/mips/rmi/rmixl_cpucore.c
 1.1.2.3 14-Jan-2010  matt More fixes for the CFATTAL_DECL_NEW changes and rmixl cpucore/cpu changes.
 1.1.2.2 13-Jan-2010  cliff - clean up formatting in print functions
 1.1.2.1 13-Jan-2010  cliff - add driver to represent processor core(s) in device tree
 1.1 13-Jan-2010  cliff branches: 1.1.2;
file cpucorevar.h was initially added on branch matt-nb5-mips64.
 1.1.2.3 16-Jan-2010  cliff - moved arch/evbmips/rmixl/cpucorevar.h to arch/mips/rmi/rmixl_cpucorevar.h
 1.1.2.2 14-Jan-2010  matt More fixes for the CFATTAL_DECL_NEW changes and rmixl cpucore/cpu changes.
 1.1.2.1 13-Jan-2010  cliff - add driver to represent processor core(s) in device tree
 1.22 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.21 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.20 02-Aug-2021  andvar fix various typos in comments and log messages.
 1.19 06-Jun-2018  maya Remove duplicate ;
 1.18 22-Dec-2016  cherry branches: 1.18.14;
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.17 30-Jun-2015  matt branches: 1.17.2;
Use cpu_startup_common()
 1.16 10-Jun-2015  matt Avoid using curpcb (use lwp_getpcb(curlwp)) instead.
 1.15 01-Jun-2015  matt Rework cavium support in preparation for MULTIPROCESSOR support
 1.14 24-Mar-2014  christos branches: 1.14.6;
use cpu_{g,s}etmodel
 1.13 03-Mar-2012  matt branches: 1.13.2; 1.13.4;
Remove redundant common declaration.
 1.12 02-Mar-2012  matt Remove reduntant/conflicting common declarations.
 1.11 12-Feb-2012  matt Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.10 27-Jan-2012  para converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.9 12-Apr-2011  matt branches: 1.9.4; 1.9.8;
Make sure we init MIPS COP0 OSSCRATCH for UP as well as for MP.
 1.8 11-Apr-2011  matt Add code to fixup the text segment to replace loads
from L_CPU(MIPS_CURLWP) or curlwp->l_cpu with
loads from COP0 register OSSCRATCH.
 1.7 20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.6 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.5 14-Jan-2011  rmind branches: 1.5.2; 1.5.4;
Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.
 1.4 08-Feb-2010  joerg branches: 1.4.2; 1.4.4;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.3 20-Dec-2009  rmind branches: 1.3.2;
Fix few problems in evbmips/rmixl:
- mach_init: use mips_init_lwp0_uarea(), do not hardcode it. Do not call
ksyms_init(), it's called in MI. Also, avoid struct user in few places.
- findroot: use deviter interface.
 1.2 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.1 13-Sep-2009  cliff branches: 1.1.2;
file machdep.c was initially added on branch matt-nb5-mips64.
 1.1.2.46 19-Jan-2012  matt Restore RCSID
 1.1.2.45 19-Jan-2012  matt Use extern for machdep_debug.
 1.1.2.44 04-Jan-2012  matt Rework Fast Messaging Network support (it's now lockless).
Workaround a problem with bus 0 BAR sizing causing the registers behind
the BAR to become inaccessible.
Move much/most of the startup code from evbmips/rmixl/machdep to
mips/rmi/rmixl_machdep.c
Move the code to find the XLP variant to the early boot so it can be used
early.
8bit and 16bit accessed to PCI bus 0 cause cache errors so chagne the access
of pci mem to 32bits.
 1.1.2.43 30-Dec-2011  matt Initially mark all GPIO pins as available.
 1.1.2.42 28-Dec-2011  matt Add commented out AB_DEBUG.
 1.1.2.41 27-Dec-2011  matt Fix c&p error.
 1.1.2.40 27-Dec-2011  matt When filling out the physical extent, make sure to probe NOR base/limit pairs.
 1.1.2.39 24-Dec-2011  matt Rework to add early support.
Add XLP support. Allow one kernel to support XLR/XLS and XLP.
Do bus_dma init in cpu_configure.
 1.1.2.38 15-Dec-2011  matt Add earlycons support.
 1.1.2.37 03-Dec-2011  matt Rework things a bit for the XLR/XLS/XLP TLB. Before dealing with the TLB when
MP on the XL?, disable interrupts and take out a lock to prevent concurrent
updates to the TLB. In the TLB miss and invalid exception handlers, if the
lock is already owned by another CPU, simply return from the exception and
let it continue or restart as appropriate. This prevents concurrent TLB
exceptions in multiple threads from possibly updating the TLB multiple times
for a single address.
 1.1.2.36 29-Nov-2011  matt Take part of the KSEG2 space and use it to "almost" direct another 256MB
of memory so that N32 kernels can make use of ram outside of KSEG0. This
allows N32 kernels to be useful on systems with 4GB of RAM or more.
 1.1.2.35 26-May-2011  matt Use new MIPS64*_RMIXL options
If MP, store address of &pmap_tlb0_info.ti_lock->mtx_lock to OSSCRATCH 2
 1.1.2.34 29-Apr-2011  matt Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code. (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.
 1.1.2.33 05-Feb-2011  cliff - include opt_multiprocessor.h for MULTIPROCESSOR dependency
- in rmixl_pcr_init_core(), ifdef MIPS_DDB_WATCH, clear IEU_DEFEATURE
so we can get T_WATCH execeptions if/when we set COP0 watchpoint
 1.1.2.32 07-Jan-2011  cliff - add rmixl_pcr_init_core() to initialize per-core processor control regs
 1.1.2.31 17-Dec-2010  matt When doing MP, make sure the TLB is global mode (shared among all threads).
 1.1.2.30 17-Aug-2010  matt Add new psb_version.
 1.1.2.29 06-May-2010  cliff add psb version 0x4b67d03200000056 to the list of known versions
 1.1.2.28 12-Apr-2010  cliff - include "rmixl_pcix.h" and "rmixl_pcie.h" to get the config flags
- include rmixl_pcixvar.h to get proto for rmixl_physaddr_init_pcix()
- calls to rmixl_physaddr_init_pcix() and rmixl_physaddr_init_pcie()
depend on the config flags
- eliminate vm_clusters[], just use mem_clusters[] for everything
- add mem_cluster_maxaddr to track highest RAM addr,
used to check PCI-X Host BARs; calculate his value just before
calling mips_page_physload() i.e. once mem_clusters[] is stable.
 1.1.2.27 29-Mar-2010  cliff turn off MACHDEP_DEBUG
 1.1.2.26 29-Mar-2010  cliff - add new recognized psb (firmware) ID 0x4b8ead3100000056
- pcie physical regions discovery is moved to rmixl_pcie.c
and is conditional on RMI chip type (XLR has no PCIE)
 1.1.2.25 21-Mar-2010  cliff - specify rmixl_splsw to mips_vector_init
note that __INTR_PRIVATE must be defined to do that
- print MEMLIMIT if it is defined, after printing memsize
- improve some comments
 1.1.2.24 09-Mar-2010  matt Use dmtc0 too.
 1.1.2.23 09-Mar-2010  matt Use dmfc0 k0,cop0_osscratch if _LP64
 1.1.2.22 27-Feb-2010  matt Fix tpyo (missing ;)
 1.1.2.21 27-Feb-2010  snj Fix gimplish.
 1.1.2.20 27-Feb-2010  matt For MULTIPROCESSOR kernels, enable exception fixups.
 1.1.2.19 01-Feb-2010  matt fix fallout from frame/trapframe merger.
 1.1.2.18 29-Jan-2010  cliff - rmiclfw_psb_versions[] is replaced by rmiclfw_psb_id[]
which now lists type to distinguish between RMI and Dell
firmware variants
- use MEMLIMIT to limit max mem addr given to uvm
 1.1.2.17 24-Jan-2010  cliff - move firmware info stuff into struct rmixl_config
 1.1.2.16 22-Jan-2010  cliff - memsize and related now uint64_t to handle >4GB mem
- if MULTIPROCESSOR do not 'disable all threads except #0' or
'set single MMU Thread Mode'
 1.1.2.15 20-Jan-2010  matt Adjust things to the new world order.
 1.1.2.14 17-Jan-2010  cliff - get cpu wakeup info from firmware
- reserve the cpu_wakeup_info shared memory area from uvm
- initialize cpu_model from mycpu->cpu_name
- dont disable all non-0 threads if MULTIPROCESSOR
 1.1.2.13 08-Jan-2010  cliff - if the firmware version is unknown, we use MEMSIZE instead of
maps prpovided by firmware; if MEMSIZE if nt configure, print
error message are halt; if would defer until consinit
then we could panic.
- fix seg count when MEMSIZE is used to constrain memory obtained from firmware maps
- cast physmem to to uint64_t before applying ctob() when passing
bytes count to format_bytes()
 1.1.2.12 03-Jan-2010  cliff - rmixl_reset() now uses RESET bit in RMIXL_GPIO_RESET register to reboot
 1.1.2.11 31-Dec-2009  matt Use mips_page_physload and mips_init_lwp0_uarea.
 1.1.2.10 14-Dec-2009  cliff - delete MACHDEP_DEBUG define
- adjust name of (big endian) obio bus space init function
 1.1.2.9 11-Dec-2009  cliff - add another known/recognized psb_version ID#
- useing comcnfreq instead of -1 in rmixl_com_cnattach now
- MIPS_RESET_EXC_VEC is physical addr, no need for translation to phys
when reserving from phys memory (should never be in the list anyway).
- in rmixlfw_init(), when untested psb_version, initialize mem_clusters[]
(to use MEMSIZE)
 1.1.2.8 16-Nov-2009  cliff set up some Processor Control registers at start of mach_init():
- disable all threads except #0
- disable Unaligned Access
- set single MMU Thread Mode, single TLB partition
 1.1.2.7 15-Nov-2009  cliff - make infop work for N32 or N64; firmware gives us a
non-sign-extended 32 bit pointer in a 64 bit variable
- in rmixlfw_init(), when PSB version not found,
fix rc_io_pbase initialization, and add the missing return MEMSIZE.
- use PRIx64 format to make some printfs work for N32 or N64
- use (intptr_t) as needed to make int to pointer casts work for N32 and N64
- init rc_obio_memt replaces init of rc_eb_memt, rc_el_memt
 1.1.2.6 09-Nov-2009  cliff - rmixl_physaddr_init() instantiates a fixed extent
used to allocate physical address regions;
allocate regions known to be occupied by DRAM or I/O BARs
- physmap_print() prints the physmap as provided by boot firmware
- add ram_seg_resv() to reserve regions in a phys_ram_seg_to
by splitting segments where needed.
- in mem_clusters_init(),
if possible use avail_mem_map,
else use psb_physmem_map,
otherwise use MEMSIZE.
avail_mem_map and psb_physmem_map can be limited w/ MEMSIZE
 1.1.2.5 22-Sep-2009  cliff fix typo
 1.1.2.4 22-Sep-2009  cliff - if COMFREQ is undefined, define as -1 (inherit BRG settings from FW)
- add a new recognized FW version entry to rmiclfw_psb_versions
- break out initialization of mem_clusters into own function
- imprpove early boot diagnostics
- avoid faulting on possible NULL avail_mem_map pointer from FW
- avoid using possible NULL reset FW callback pointer
 1.1.2.3 15-Sep-2009  cliff initialize the rmixl el and eb bus spaces
 1.1.2.2 13-Sep-2009  cliff improve how some config data are managed
 1.1.2.1 13-Sep-2009  cliff add netbsd support for RMI XLS6ATX_7A board and XL SoC family
 1.3.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.4.4.2 21-Apr-2011  rmind sync with head
 1.4.4.1 05-Mar-2011  rmind sync with head
 1.4.2.2 11-Mar-2010  yamt sync with head
 1.4.2.1 08-Feb-2010  yamt file machdep.c was added on branch yamt-nfs-mp on 2010-03-11 15:02:20 +0000
 1.5.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.5.4.1 17-Feb-2011  bouyer Sync with HEAD
 1.5.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.9.8.4 06-Mar-2012  mrg sync to -current
 1.9.8.3 06-Mar-2012  mrg sync to -current
 1.9.8.2 04-Mar-2012  mrg sync to latest -current.
 1.9.8.1 18-Feb-2012  mrg merge to -current.
 1.9.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9.4.1 17-Apr-2012  yamt sync with head
 1.13.4.1 18-May-2014  rmind sync with head
 1.13.2.2 03-Dec-2017  jdolecek update from HEAD
 1.13.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.6.3 05-Feb-2017  skrll Sync with HEAD
 1.14.6.2 22-Sep-2015  skrll Sync with HEAD
 1.14.6.1 06-Jun-2015  skrll Sync with HEAD
 1.17.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.18.14.1 25-Jun-2018  pgoyette Sync with HEAD
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file TODO was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file TODO was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file TODO was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file autoconf.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file autoconf.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file autoconf.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
sbmips->evbmips merge: import all the all the header files except
intr.h and disklabel.h that are needed. both of these will need
some special attention.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file autoconf.h was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file autoconf.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file autoconf.h was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file console.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file console.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file console.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.4 05-Dec-2023  andvar use kcpuset_isset() and pass second (NULL) argument to mips_fixup_exceptions()
to fix build for SBMIPS(64).MP kernel configs.
 1.3 02-Aug-2017  simonb branches: 1.3.2; 1.3.4; 1.3.6;
Kernel output format nit.
 1.2 24-Jul-2017  mrg mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.3.6.2 03-Dec-2017  jdolecek update from HEAD
 1.3.6.1 02-Aug-2017  jdolecek file cpu.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.3.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.3.4.1 02-Aug-2017  martin file cpu.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.3.2.2 28-Aug-2017  skrll Sync with HEAD
 1.3.2.1 02-Aug-2017  skrll file cpu.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
sbmips->evbmips merge: import all the all the header files except
intr.h and disklabel.h that are needed. both of these will need
some special attention.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file cpuvar.h was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file cpuvar.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file cpuvar.h was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.3 10-Feb-2024  andvar Fix various typos in comments, log messages and documentation.
 1.2 03-Apr-2019  christos centralize setdisklabel(9)
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.10;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.10.1 10-Jun-2019  christos Sync with HEAD
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file disksubr.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file disksubr.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file disksubr.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
sbmips->evbmips merge: import all the all the header files except
intr.h and disklabel.h that are needed. both of these will need
some special attention.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file leds.h was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file leds.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file leds.h was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file locore_machdep.S was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file locore_machdep.S was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file locore_machdep.S was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.8 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.7 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.6 05-Dec-2023  andvar use kcpuset_isset() and pass second (NULL) argument to mips_fixup_exceptions()
to fix build for SBMIPS(64).MP kernel configs.
 1.5 01-Apr-2019  simonb Handling CFE addresses in 64-bit mode. From the comment in the code:

* We do this KSEG0 to PHYS to KSEG0 dance if running 64-bit because
* CFE passes in parameters as 32-bit addresses. When used as a 64-bit
* address these CFE parameters are in user (XKUSEG) space and can't be
* accessed! Convert these to a physical address and and then to the
* proper KSEG0 address so we can use them in the kernel.

Allows SBMIPS to starting booting with a 64-bit kernel.
 1.4 29-Mar-2019  simonb Don't need an 'X' printf specifier if using PRIx64.
 1.3 06-Nov-2017  christos branches: 1.3.2; 1.3.6;
Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

ARCH_ELFSIZE: the size for userland binaries
KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file machdep.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file machdep.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.3.6.1 10-Jun-2019  christos Sync with HEAD
 1.3.2.2 03-Dec-2017  jdolecek update from HEAD
 1.3.2.1 06-Nov-2017  jdolecek file machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.3 07-Sep-2025  thorpej Change todr_chip_handle::cookie -> todr_chip_handle::todr_dev, and
make it a device_t. Upcoming functional changes will require the
device_t associated with a TODR device.

Change todr_chip_handle::bus_cookie -> todr_chip_handle::todr_devaux.
Nothing was using the old field, but I decided to keep it around just
in cause something needs it in the future.

And with these largely mechanical yet semantically meaningful changes,
thus spake the Oracle: "Welcome to NetBSD 11.99.2."
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file rtc.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file rtc.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file rtc.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.4 05-Dec-2023  andvar use kcpuset_isset() and pass second (NULL) argument to mips_fixup_exceptions()
to fix build for SBMIPS(64).MP kernel configs.
 1.3 11-Apr-2019  simonb Force all devices to IPL_VM. For some reason serial interrupts at
SPL_SERIAL (SPL_HIGH) wedge. Gets sbmips to ~multiuser (usually with
a bunch of segfaults).

Possibly a gross hack, but not sure the current code ever worked...
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6; 1.2.10;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.10.1 10-Jun-2019  christos Sync with HEAD
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file sb1250_icu.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file sb1250_icu.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file sb1250_icu.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
sbmips->evbmips merge: import all the all the header files except
intr.h and disklabel.h that are needed. both of these will need
some special attention.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file swarm.h was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file swarm.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file swarm.h was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file systemsw.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file systemsw.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file systemsw.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
sbmips->evbmips merge: import all the all the header files except
intr.h and disklabel.h that are needed. both of these will need
some special attention.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file systemsw.h was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file systemsw.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file systemsw.h was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.4 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.3 24-Apr-2021  thorpej branches: 1.3.8;
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6; 1.2.24;
mostly converted sbmips -> evbmips. the SBMIPS kernel builds fully
sans disksubr.c. intr.h does not need any additional fixes now,
only disklabel.h.

also test-built some other mips kernels.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.24.2 22-Mar-2021  thorpej Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.
 1.2.24.1 22-Mar-2021  thorpej Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file zbbus.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file zbbus.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file zbbus.c was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.3.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 15-Aug-2017  mrg branches: 1.1.2; 1.1.4; 1.1.6;
merge the rest of sbmips into evbmips. install the stand files in
/usr/mdec/sbmips/ and document them in installboot(8) even though
it isn't really ported yet. also build the SBMIPS kernels.

unfortunately, sbmips has been broken since mips64 merge, but the
fix can happen in the evbmips version, which we might merge into
the older trees anyway.

XXX: releng can turn off sbmips* builds now for -current.
 1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.6.1 15-Aug-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.4.1 15-Aug-2017  martin file Makefile was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.2.1 15-Aug-2017  skrll file Makefile was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file Makefile was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file Makefile was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.6 28-May-2022  andvar fix various typos in comments.
 1.5 15-Mar-2021  christos - 32 bit mips uses oabi, don't force it to n32.
- compile assembly code with soft-float to kill linker warnings
 1.4 14-Mar-2021  christos Specify the emulation explicitly (n32) so this builds when the default
emulation changes.
 1.3 21-Aug-2017  christos branches: 1.3.2; 1.3.4; 1.3.6; 1.3.22;
no ssp and pie
 1.2 24-Jul-2017  mrg port this to build under evbmips.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.3.22.1 03-Apr-2021  thorpej Sync with HEAD.
 1.3.6.2 03-Dec-2017  jdolecek update from HEAD
 1.3.6.1 21-Aug-2017  jdolecek file Makefile.bootprogs was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.3.4.3 31-Aug-2017  martin Adjust reality of the branch to what the previous commit message and
the CHANGES-8.0 entry for Ticket #231 claim.
 1.3.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.3.4.1 21-Aug-2017  martin file Makefile.bootprogs was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.3.2.2 28-Aug-2017  skrll Sync with HEAD
 1.3.2.1 21-Aug-2017  skrll file Makefile.bootprogs was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.2 14-Mar-2021  christos Specify the emulation explicitly (n32) so this builds when the default
emulation changes.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.22;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.22.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file Makefile.bootxx was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file Makefile.bootxx was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file Makefile.bootxx was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.3 15-Aug-2017  mrg branches: 1.3.2; 1.3.4; 1.3.6;
merge the rest of sbmips into evbmips. install the stand files in
/usr/mdec/sbmips/ and document them in installboot(8) even though
it isn't really ported yet. also build the SBMIPS kernels.

unfortunately, sbmips has been broken since mips64 merge, but the
fix can happen in the evbmips version, which we might merge into
the older trees anyway.

XXX: releng can turn off sbmips* builds now for -current.
 1.2 24-Jul-2017  mrg port this to build under evbmips.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.3.6.2 03-Dec-2017  jdolecek update from HEAD
 1.3.6.1 15-Aug-2017  jdolecek file Makefile.inc was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.3.4.3 31-Aug-2017  martin Adjust reality of the branch to what the previous commit message and
the CHANGES-8.0 entry for Ticket #231 claim.
 1.3.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.3.4.1 15-Aug-2017  martin file Makefile.inc was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.3.2.2 28-Aug-2017  skrll Sync with HEAD
 1.3.2.1 15-Aug-2017  skrll file Makefile.inc was added on branch nick-nhusb on 2017-08-28 17:51:36 +0000
 1.2 14-Mar-2021  christos Specify the emulation explicitly (n32) so this builds when the default
emulation changes.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.22;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.22.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file Makefile was added on branch netbsd-8 on 2017-08-30 15:45:05 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file Makefile was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file filesystem.c was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file filesystem.c was added on branch netbsd-8 on 2017-08-30 15:45:05 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file filesystem.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file version was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file version was added on branch netbsd-8 on 2017-08-30 15:45:05 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file version was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file Makefile was added on branch netbsd-8 on 2017-08-30 15:45:05 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file Makefile was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:36:10 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file Makefile was added on branch netbsd-8 on 2017-08-30 15:45:05 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file Makefile was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file Makefile was added on branch netbsd-8 on 2017-08-30 15:45:05 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file Makefile was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file bbinfo.h was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file bbinfo.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file bbinfo.h was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.3 24-Jul-2021  andvar Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6; 1.2.26;
port this to build under evbmips.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.26.1 01-Aug-2021  thorpej Sync with HEAD.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file blkdev.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.2.4.3 31-Aug-2017  martin Adjust reality of the branch to what the previous commit message and
the CHANGES-8.0 entry for Ticket #231 claim.
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file blkdev.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file blkdev.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file blkdev.h was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file blkdev.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file blkdev.h was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
port this to build under evbmips.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file boot.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.2.4.3 31-Aug-2017  martin Adjust reality of the branch to what the previous commit message and
the CHANGES-8.0 entry for Ticket #231 claim.
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file boot.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file boot.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file boot.ldscript was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file boot.ldscript was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file boot.ldscript was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
port this to build under evbmips.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file booted_dev.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.2.4.3 31-Aug-2017  martin Adjust reality of the branch to what the previous commit message and
the CHANGES-8.0 entry for Ticket #231 claim.
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file booted_dev.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file booted_dev.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file bootxx.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file bootxx.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file bootxx.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file cfe.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file cfe.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file cfe.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file cfe_api.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file cfe_api.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file cfe_api.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file cfe_api.h was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file cfe_api.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file cfe_api.h was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file cfe_api_int.h was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file cfe_api_int.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file cfe_api_int.h was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file cfe_error.h was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file cfe_error.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file cfe_error.h was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file cfe_ioctl.h was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file cfe_ioctl.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file cfe_ioctl.h was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file checksize.sh was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file checksize.sh was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file checksize.sh was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file common.h was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file common.h was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file common.h was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file panic_putstr.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file panic_putstr.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file panic_putstr.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file putstr.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file putstr.c was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file putstr.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file start.S was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file start.S was added on branch netbsd-8 on 2017-08-30 15:45:04 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file start.S was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.2 14-Mar-2021  christos Specify the emulation explicitly (n32) so this builds when the default
emulation changes.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.22;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.22.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file Makefile was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file Makefile was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file Makefile was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file conf.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file conf.c was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file conf.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.2 12-Apr-2021  mrg remove shadowed (common) declarations of various libsa variables
from various boot programs. for macppc and zaurus, avoid building
with -fcommon any more.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.24;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.24.1 17-Apr-2021  thorpej Sync with HEAD.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file dev_net.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file dev_net.c was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file dev_net.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file devopen.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file devopen.c was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file devopen.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
port this to build under evbmips.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file getsecs.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.2.4.3 31-Aug-2017  martin Adjust reality of the branch to what the previous commit message and
the CHANGES-8.0 entry for Ticket #231 claim.
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file getsecs.c was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file getsecs.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.2 24-Jul-2017  mrg branches: 1.2.2; 1.2.4; 1.2.6;
port this to build under evbmips.
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.2.6.2 03-Dec-2017  jdolecek update from HEAD
 1.2.6.1 24-Jul-2017  jdolecek file if_cfe.c was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.2.4.3 31-Aug-2017  martin Adjust reality of the branch to what the previous commit message and
the CHANGES-8.0 entry for Ticket #231 claim.
 1.2.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.2.4.1 24-Jul-2017  martin file if_cfe.c was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.2.2.2 28-Aug-2017  skrll Sync with HEAD
 1.2.2.1 24-Jul-2017  skrll file if_cfe.c was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000
 1.1 24-Jul-2017  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 24-Jul-2017  mrg branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
import most of the sbmips port into evbmips. the renames are:
- TODO -> evbmips/sbmips/TODO
- sbmips -> evbmips/sbmips
- stand -> evbmips/stand
- conf/files* -> evbmips/conf/files*
- conf/GENERIC* -> evbmips/conf/SBMIPS*

this is not yet ported and will need to be updated, but it's a first step,
and it doesn't handle any include/* issues that need to be dealt with.
 1.1.1.1.6.2 03-Dec-2017  jdolecek update from HEAD
 1.1.1.1.6.1 24-Jul-2017  jdolecek file version was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.1.1.4.2 30-Aug-2017  martin Pull up following revision(s) (requested by mrg in ticket #231):
distrib/sets/lists/base/md.evbmips 1.3
doc/CHANGES 1.2303-1.2304
etc/etc.evbmips/MAKEDEV.conf 1.8
etc/etc.evbmips/Makefile.inc 1.22
etc/mtree/Makefile 1.37
etc/mtree/NetBSD.dist.evbmips 1.1
sys/arch/evbmips/Makefile 1.9
sys/arch/evbmips/conf/SBMIPS upto 1.2
sys/arch/evbmips/conf/SBMIPS.MP upto 1.2
sys/arch/evbmips/conf/SBMIPS64 upto 1.2
sys/arch/evbmips/conf/SBMIPS64.MP upto 1.2
sys/arch/evbmips/conf/files.sbmips upto 1.2
sys/arch/evbmips/conf/std.sbmips upto 1.2
sys/arch/evbmips/include/disklabel.h 1.6
sys/arch/evbmips/include/loadfile_machdep.h
sys/arch/evbmips/include/param.h 1.10
sys/arch/evbmips/include/pci_machdep.h 1.3
sys/arch/evbmips/sbmips/TODO
sys/arch/evbmips/sbmips/autoconf.c
sys/arch/evbmips/sbmips/autoconf.h
sys/arch/evbmips/sbmips/console.c
sys/arch/evbmips/sbmips/cpu.c upto 1.3
sys/arch/evbmips/sbmips/cpuvar.h
sys/arch/evbmips/sbmips/disksubr.c
sys/arch/evbmips/sbmips/leds.h
sys/arch/evbmips/sbmips/locore_machdep.S
sys/arch/evbmips/sbmips/machdep.c upto 1.2
sys/arch/evbmips/sbmips/rtc.c upto 1.2
sys/arch/evbmips/sbmips/sb1250_icu.c upto 1.2
sys/arch/evbmips/sbmips/swarm.h
sys/arch/evbmips/sbmips/systemsw.c upto 1.2
sys/arch/evbmips/sbmips/systemsw.h
sys/arch/evbmips/sbmips/zbbus.c upto 1.2
sys/arch/evbmips/stand/Makefile 1.1
sys/arch/evbmips/stand/sbmips/Makefile
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs upto 1.2
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs 1.3
sys/arch/evbmips/stand/sbmips/Makefile.bootxx
sys/arch/evbmips/stand/sbmips/Makefile.inc upto 1.3
sys/arch/evbmips/stand/sbmips/boot/Makefile
sys/arch/evbmips/stand/sbmips/boot/filesystem.c
sys/arch/evbmips/stand/sbmips/boot/version
sys/arch/evbmips/stand/sbmips/bootxx_cd9660/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_ffs/Makefile
sys/arch/evbmips/stand/sbmips/bootxx_lfs/Makefile
sys/arch/evbmips/stand/sbmips/common/bbinfo.h
sys/arch/evbmips/stand/sbmips/common/blkdev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/blkdev.h
sys/arch/evbmips/stand/sbmips/common/boot.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/boot.ldscript
sys/arch/evbmips/stand/sbmips/common/booted_dev.c upto 1.2
sys/arch/evbmips/stand/sbmips/common/bootxx.c
sys/arch/evbmips/stand/sbmips/common/cfe.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.c
sys/arch/evbmips/stand/sbmips/common/cfe_api.h
sys/arch/evbmips/stand/sbmips/common/cfe_api_int.h
sys/arch/evbmips/stand/sbmips/common/cfe_error.h
sys/arch/evbmips/stand/sbmips/common/cfe_ioctl.h
sys/arch/evbmips/stand/sbmips/common/checksize.sh
sys/arch/evbmips/stand/sbmips/common/common.h
sys/arch/evbmips/stand/sbmips/common/panic_putstr.c
sys/arch/evbmips/stand/sbmips/common/putstr.c
sys/arch/evbmips/stand/sbmips/common/start.S
sys/arch/evbmips/stand/sbmips/netboot/Makefile
sys/arch/evbmips/stand/sbmips/netboot/conf.c
sys/arch/evbmips/stand/sbmips/netboot/dev_net.c
sys/arch/evbmips/stand/sbmips/netboot/devopen.c
sys/arch/evbmips/stand/sbmips/netboot/getsecs.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/if_cfe.c upto 1.2
sys/arch/evbmips/stand/sbmips/netboot/version
sys/arch/mips/conf/files.sibyte 1.8
sys/arch/mips/include/pmap.h 1.70
sys/arch/mips/sibyte/dev/sbbuswatch.c 1.4
sys/arch/mips/sibyte/dev/sbmac.c 1.49
sys/arch/mips/sibyte/dev/sbscn.c 1.43
sys/arch/mips/sibyte/dev/sbsmbus.c 1.17
sys/arch/mips/sibyte/dev/sbtimer.c 1.21
sys/arch/mips/sibyte/dev/sbwdog.c 1.15
sys/arch/mips/sibyte/pci/sbbrz_pci.c 1.8
usr.sbin/installboot/installboot.8 1.94

Move sys/arch/sbmips/* into sys/arch/evbmips/*/sbmips.
 1.1.1.1.4.1 24-Jul-2017  martin file version was added on branch netbsd-8 on 2017-08-30 15:45:03 +0000
 1.1.1.1.2.2 28-Aug-2017  skrll Sync with HEAD
 1.1.1.1.2.1 24-Jul-2017  skrll file version was added on branch nick-nhusb on 2017-08-28 17:51:37 +0000

RSS XML Feed