Home | History | Annotate | only in /src/sys/arch/evbmips/conf
History log of /src/sys/arch/evbmips/conf
RevisionDateAuthorComments
 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

RSS XML Feed