Home | History | Annotate | only in /src/sys/arch/evbppc/conf
History log of /src/sys/arch/evbppc/conf
RevisionDateAuthorComments
 1.6 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.5 04-Oct-2023  rin igc(4): Added to kernel config files for tested platforms

I.e., aarch64, amd64, and evbppc/DHT, at the moment.

Please feel free to add to other config files, and report us back
if you find problems :)
 1.4 15-Oct-2022  rin branches: 1.4.2;
DHT Walnut: Fix failure to attach on-board pdcide(4) for cold boot.

U-Boot seems to initialize pdcide(4) to compatible mode. Therefore, we
need to reinitialize it to native-PCI mode in pci_conf_hook(). Otherwise,
we will fail to configure IO registers for native-PCI mode during
PCI_NETBSD_CONFIGURE.
 1.3 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.2 03-Jun-2021  rin - Add some more things necessary for ATF.
- Add makphy(4) found in recent wm(4) models.
- Style.
 1.1 02-Apr-2021  rin branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10;
evbppc: Add support for DHT Walnut 405GP evaluation board.
(Digital Home Technologies PCB 01070201 Rev. 1.1)

Official web page seems gone, but analyses by Linux people are at:

- https://elinux.org/DHT-Walnut
- http://web.archive.org/web/20070225171826/http://supernova.stanford.edu/dingdong/

The board features:

- 266MHz PowerPC 405GP processor
- one PC133 SDRAM slot
- two 32-bit 5V PCI slot
- on-chip ethernet controller with DP83843 PHY
- on-chip serial port / GPIO controller
- on-board PDC20265 IDE controller

Hardware limitations:

- no MAC address assigned
- no RTC present

Known problem:

- atabus(4) channels cannot be attached to pdcide(4) for cold boot

dmesg:

- https://dmesgd.nycbug.org/index.cgi?do=view&id=5997

Have fun!
 1.1.10.1 06-Jun-2021  cjep sync with head
 1.1.6.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 02-Apr-2021  thorpej file DHT was added on branch thorpej-futex on 2021-04-03 22:28:24 +0000
 1.1.2.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.2.1 02-Apr-2021  thorpej file DHT was added on branch thorpej-cfargs on 2021-04-03 21:44:42 +0000
 1.4.2.1 08-Oct-2023  martin Pull up following revision(s) (requested by rin in ticket #393):

sys/dev/pci/igc/if_igc.c up to 1.3
sys/dev/pci/igc/if_igc.h up to 1.2
sys/dev/pci/igc/igc_api.c up to 1.2
sys/dev/pci/igc/igc_api.h up to 1.2
sys/dev/pci/igc/igc_base.c up to 1.2
sys/dev/pci/igc/igc_base.h up to 1.2
sys/dev/pci/igc/igc_defines.h up to 1.2
sys/dev/pci/igc/igc_evcnt.h up to 1.1
sys/dev/pci/igc/igc_hw.h up to 1.2
sys/dev/pci/igc/igc_i225.c up to 1.2
sys/dev/pci/igc/igc_i225.h up to 1.2
sys/dev/pci/igc/igc_mac.c up to 1.2
sys/dev/pci/igc/igc_mac.h up to 1.2
sys/dev/pci/igc/igc_nvm.c up to 1.2
sys/dev/pci/igc/igc_nvm.h up to 1.2
sys/dev/pci/igc/igc_phy.c up to 1.2
sys/dev/pci/igc/igc_phy.h up to 1.2
sys/dev/pci/igc/igc_regs.h up to 1.2
distrib/sets/lists/man/mi: revision 1.1766
sys/arch/amd64/conf/GENERIC: revision 1.606
sys/arch/evbppc/conf/DHT: revision 1.5
sys/arch/evbarm/conf/GENERIC64: revision 1.213
share/man/man4/Makefile: revision 1.733
sys/arch/amd64/conf/ALL: revision 1.181
share/man/man4/igc.4: revision 1.1
sys/dev/pci/files.pci: revision 1.447
sys/arch/amd64/conf/XEN3_DOM0: revision 1.200
doc/CHANGES (apply patch)

Add igc(4) for Intel I225/I226 series ethernet devices
 1.76 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.75 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.74 19-Aug-2021  andvar s/memry/memory+s/softare/software/+s/grapics/graphics+s/ouput/output
 1.73 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.72 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.71 05-Feb-2018  maxv branches: 1.71.2; 1.71.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.70 15-Sep-2017  christos fix path miff
 1.69 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.68 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.67 13-Dec-2016  christos wildcard speaker attachments, now that we can handle many of them.
 1.66 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.65 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.64 14-Oct-2014  uebayasi branches: 1.64.2; 1.64.4;
Don't enable wscons options without wscons.
 1.63 23-Aug-2014  dholland 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.62 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.61 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.60 06-Mar-2014  joerg Bump symtab space slightly.
 1.59 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.58 05-Jun-2013  christos branches: 1.58.2;
remove obsolete networking options
 1.57 27-Apr-2013  christos the bogus number police
 1.56 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.55 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.54 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.53 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.52 17-Aug-2012  abs branches: 1.52.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.51 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.50 22-Nov-2011  tls branches: 1.50.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.49 03-Aug-2011  he branches: 1.49.2;
Bump SYMTAB_SPACE so that the contents fits again.
 1.48 30-Jun-2011  wiz dependant -> dependent
 1.47 07-Mar-2011  jakllsch Bump SYMTAB_SPACE.
 1.46 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.45 23-Nov-2010  hannken branches: 1.45.2; 1.45.4;
Remove unused count from pseudo-device md.
 1.44 28-Apr-2010  kiyohara Clean up gt and peripherals.
This change tested compile only.
 1.43 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.42 08-Feb-2010  joerg branches: 1.42.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.41 24-Dec-2009  kiyohara branches: 1.41.2;
Add COMPAT_50.
 1.40 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.39 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.38 24-Nov-2008  ad branches: 1.38.4;
Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.36 31-Jul-2008  simonb branches: 1.36.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.35 30-May-2008  tsutsui branches: 1.35.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.34 14-Mar-2007  drochner branches: 1.34.36; 1.34.38; 1.34.40; 1.34.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.33 27-Sep-2006  manu branches: 1.33.4; 1.33.8; 1.33.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.32 26-Aug-2006  christos branches: 1.32.2; 1.32.4;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.31 13-Jul-2006  simonb Add ksyms pseudo device.
 1.30 05-Feb-2006  cube branches: 1.30.2; 1.30.10;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.29 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.28 07-Dec-2005  tsutsui branches: 1.28.2; 1.28.4; 1.28.6;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.27 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.26 19-Aug-2005  christos 64 bit inode changes.
 1.25 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.24 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.23 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.22 31-May-2005  tron branches: 1.22.2;
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.21 25-Feb-2005  simonb branches: 1.21.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.20 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.19 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.18 01-Feb-2005  matt Add gti2c/iic entries.
 1.17 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.16 24-Nov-2004  bouyer branches: 1.16.4; 1.16.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.15 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.14 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.13 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.12 14-Dec-2003  thorpej branches: 1.12.2;
Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
 1.11 13-Dec-2003  thorpej Collapse the atabus declaration into "atabus* at ata? channel ?".
 1.10 13-Dec-2003  thorpej Split out the Silicon Image SATALink support into its own driver,
"satalink".
 1.9 08-Oct-2003  bouyer Add new per-chip pciide drivers.
 1.8 08-Oct-2003  bouyer Add atabus.
 1.7 25-Sep-2003  matt Add COMPAT_16
 1.6 10-Apr-2003  christos branches: 1.6.2;
Bye Bye UCONSOLE
 1.5 08-Apr-2003  matt Select MPSC console and the proper PCI slots. Use -D__boardtype__ instead
of -Dboardtype.
 1.4 24-Mar-2003  matt Make PCI interrupts -> GPP mapping configured via config file.
Add bus_spaces for all possile obios. Add gt_halt to make
sure the discovery is not doing dma as soon as possible.
Read the SDRAM register to figure out how much physical RAM
is available.
 1.3 17-Mar-2003  matt Add CLOCKBASE=100000000
 1.2 16-Mar-2003  matt EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware. XXX PCI devices are not found.
 1.1 05-Mar-2003  matt Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
 1.6.2.10 11-Dec-2005  christos Sync with head.
 1.6.2.9 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.2.8 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.6.2.7 15-Feb-2005  skrll Sync with HEAD.
 1.6.2.6 04-Feb-2005  skrll Sync with HEAD.
 1.6.2.5 29-Nov-2004  skrll Sync with HEAD.
 1.6.2.4 14-Nov-2004  skrll Sync with HEAD.
 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.12.2.1 15-Jul-2004  he branches: 1.12.2.1.2;
Pull up revision 1.13 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.12.2.1.2.1 02-Apr-2005  he Pull up revision 1.16 (requested by bouyer in ticket #1019):
Add pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) series of
controllers.
 1.16.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.16.6.1 12-Feb-2005  yamt sync with head.
 1.16.4.1 29-Apr-2005  kent sync with -current
 1.21.2.2 18-Jul-2005  riz Pull up revision 1.23 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.21.2.1 01-Jun-2005  riz Pull up revision 1.22 (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.22.2.3 03-Sep-2007  yamt sync with head.
 1.22.2.2 30-Dec-2006  yamt sync with head.
 1.22.2.1 21-Jun-2006  yamt sync with head.
 1.28.6.1 22-Apr-2006  simonb Sync with head.
 1.28.4.1 09-Sep-2006  rpaulo sync with head
 1.28.2.1 18-Feb-2006  yamt sync with head.
 1.30.10.1 13-Jul-2006  gdamore Merge from HEAD.
 1.30.2.2 03-Sep-2006  yamt sync with head.
 1.30.2.1 11-Aug-2006  yamt sync with head
 1.32.4.1 22-Oct-2006  yamt sync with head
 1.32.2.1 18-Nov-2006  ad Sync with head.
 1.33.10.1 11-Jul-2007  mjf Sync with head.
 1.33.8.1 10-Apr-2007  ad Sync with head.
 1.33.4.1 24-Mar-2007  yamt sync with head.
 1.34.42.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.34.42.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.34.40.3 11-Aug-2010  yamt sync with head.
 1.34.40.2 11-Mar-2010  yamt sync with head
 1.34.40.1 04-May-2009  yamt sync with head.
 1.34.38.1 04-Jun-2008  yamt sync with head
 1.34.36.3 17-Jan-2009  mjf Sync with HEAD.
 1.34.36.2 28-Sep-2008  mjf Sync with HEAD.
 1.34.36.1 02-Jun-2008  mjf Sync with HEAD.
 1.35.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.35.4.1 19-Oct-2008  haad Sync with HEAD.
 1.36.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.36.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.38.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.41.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.42.2.3 21-Apr-2011  rmind sync with head
 1.42.2.2 05-Mar-2011  rmind sync with head
 1.42.2.1 30-May-2010  rmind sync with head
 1.45.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.45.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.49.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.49.2.2 30-Oct-2012  yamt sync with head
 1.49.2.1 17-Apr-2012  yamt sync with head
 1.50.2.1 18-Feb-2012  mrg merge to -current.
 1.52.2.4 03-Dec-2017  jdolecek update from HEAD
 1.52.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.52.2.2 23-Jun-2013  tls resync from head
 1.52.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.58.2.2 18-May-2014  rmind sync with head
 1.58.2.1 28-Aug-2013  rmind sync with head
 1.64.4.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.64.2.2 28-Aug-2017  skrll Sync with HEAD
 1.64.2.1 05-Feb-2017  skrll Sync with HEAD
 1.71.4.1 10-Jun-2019  christos Sync with HEAD
 1.71.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 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 14-Mar-2021  rin Enable NFS_BOOT_UDP; on-board NIC seems to be too slow for overhead due to
NFS over TCP. Some scores of pkgsrc/benchmarks/bonnie improve nearly x2.
 1.70 05-Mar-2021  rin Identify oneself as ``Explora 450'' instead of 451.

There are models numbered 450 to 454. The differences b/w them are
shapes of ethernet and audio connectors. Base model number 450 is
displayed for (probably) all models by firmware.
 1.69 05-Mar-2021  rin Add tmpfs.
 1.68 27-Sep-2020  roy branches: 1.68.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.67 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.66 25-Mar-2020  jdolecek remove 'file-system SMBFS' and 'pseudo-device nsmb' from all kernel configs
to prepare for their eventual removal
 1.65 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.64 26-Apr-2019  sevan branches: 1.64.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.63 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.62 23-Jan-2018  sevan branches: 1.62.2; 1.62.4;
Alternate buffer queue strategies no longer considered experimental, update
description.

Discussed on tech-kern
http://mail-index.netbsd.org/tech-kern/2018/01/21/msg023002.html
 1.61 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.60 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.59 07-Aug-2015  maxv branches: 1.59.10;
Remove KMEMSTATS.
 1.58 23-Aug-2014  dholland branches: 1.58.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.57 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.56 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.55 10-Aug-2014  joerg LLVM builds have a slightly larger symbol table, so bump the space.
 1.54 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.53 05-Jun-2013  christos branches: 1.53.2;
remove obsolete networking options
 1.52 27-Apr-2013  christos the bogus number police
 1.51 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.50 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.49 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.48 05-Jun-2012  abs branches: 1.48.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.47 18-Dec-2011  dholland branches: 1.47.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.46 08-Dec-2011  he Bump SYMTAB_SPACE.
 1.45 22-Nov-2011  tls branches: 1.45.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.44 15-May-2011  he branches: 1.44.4;
Bump SYMTAB_SPACE so that the contents fits again.
 1.43 07-Mar-2011  jakllsch Bump SYMTAB_SPACE.
 1.42 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.41 23-Nov-2010  hannken branches: 1.41.2; 1.41.4;
Remove unused count from pseudo-device md.
 1.40 24-Dec-2009  kiyohara branches: 1.40.4;
Add COMPAT_50.
 1.39 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.38 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.37 24-Nov-2008  ad branches: 1.37.4;
Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.35 31-Jul-2008  simonb branches: 1.35.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.34 04-Apr-2008  tsutsui branches: 1.34.4; 1.34.6; 1.34.10;
Add options COMPAT_40.
 1.33 31-Dec-2007  ad branches: 1.33.6;
Remove systrace. Ok core@.
 1.32 27-Nov-2007  hannken branches: 1.32.6;
Bump SYMTAB_SPACE so that it fits again.
 1.31 17-Oct-2007  garbled branches: 1.31.2;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.30 20-Jul-2007  hannken branches: 1.30.4; 1.30.6;
Bump SYMTAB_SPACE so that it fits again.
 1.29 27-Sep-2006  manu branches: 1.29.8; 1.29.16; 1.29.20; 1.29.22;
- 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.28 26-Aug-2006  christos branches: 1.28.2; 1.28.4;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.27 12-Aug-2006  christos Disable SYSTRACE by default on all kernels (discussed with core)
 1.26 13-Jul-2006  simonb branches: 1.26.2;
Move the ksyms pseudo device to the miscellaneous section.
 1.25 19-Apr-2006  drochner branches: 1.25.4;
adjust comments for the new location of wskbdmap_mfii.c,
addresses PR kern/33290 by henry nelson
 1.24 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.23 15-Mar-2006  he branches: 1.23.2;
Bump SYMTAB_SPACE so that it fits again.
 1.22 05-Feb-2006  cube branches: 1.22.2; 1.22.4;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.21 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.20 20-Dec-2005  thorpej branches: 1.20.2; 1.20.4; 1.20.6;
Remove the tablet line discipline.
 1.19 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.18 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.17 19-Aug-2005  christos 64 bit inode changes.
 1.16 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.15 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.14 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.13 09-Jun-2005  tsutsui branches: 1.13.2;
- Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.

Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
 1.12 25-Feb-2005  simonb branches: 1.12.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.11 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.10 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.9 17-Jan-2005  cube branches: 1.9.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.8 16-Jan-2005  chs increase SYMTAB_SPACE again.
 1.7 10-Nov-2004  christos branches: 1.7.4;
Add COMPAT_BSDPTY on all the kernels that have COMPAT options.
 1.6 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.5 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.4 25-Sep-2003  matt branches: 1.4.2;
Add COMPAT_16
 1.3 31-May-2003  hannken branches: 1.3.2;
Add symtab to kernel image using dbsym(8).
Add /dev/ksyms.
 1.2 10-Apr-2003  christos Bye Bye UCONSOLE
 1.1 11-Mar-2003  hannken Add a port to the NCD Explora451 ThinClient.

- Supported devices: le, com, lpt, pckbd, frame buffer.
- Support missing: phy, audio, pcmcia.
- Boots from network or md.

Approved by: Eduardo Horvath <eeh@netbsd.org>
 1.3.2.10 11-Dec-2005  christos Sync with head.
 1.3.2.9 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.8 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.3.2.7 15-Feb-2005  skrll Sync with HEAD.
 1.3.2.6 24-Jan-2005  skrll Sync with HEAD.
 1.3.2.5 17-Jan-2005  skrll Sync with HEAD.
 1.3.2.4 14-Nov-2004  skrll Sync with HEAD.
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.2.1 15-Jul-2004  he Pull up revision 1.5 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.7.4.1 29-Apr-2005  kent sync with -current
 1.9.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.9.2.1 12-Feb-2005  yamt sync with head.
 1.12.2.1 18-Jul-2005  riz Pull up revision 1.14 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.13.2.5 21-Jan-2008  yamt sync with head
 1.13.2.4 07-Dec-2007  yamt sync with head
 1.13.2.3 03-Sep-2007  yamt sync with head.
 1.13.2.2 30-Dec-2006  yamt sync with head.
 1.13.2.1 21-Jun-2006  yamt sync with head.
 1.20.6.1 22-Apr-2006  simonb Sync with head.
 1.20.4.1 09-Sep-2006  rpaulo sync with head
 1.20.2.1 18-Feb-2006  yamt sync with head.
 1.22.4.2 11-May-2006  elad sync with head
 1.22.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.22.2.4 03-Sep-2006  yamt sync with head.
 1.22.2.3 11-Aug-2006  yamt sync with head
 1.22.2.2 24-May-2006  yamt sync with head.
 1.22.2.1 01-Apr-2006  yamt sync with head.
 1.23.2.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.23.2.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.25.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.26.2.1 14-Aug-2006  tron Pull up following revision(s) (requested by elad in ticket #17):
sys/arch/sparc/conf/KRUPS: revision 1.38
sys/arch/i386/conf/XEN2_DOMU: revision 1.2
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.197
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.53
sys/arch/evbsh5/conf/SIMULATOR: revision 1.12
sys/arch/sparc/conf/MRCOFFEE: revision 1.17
sys/arch/next68k/conf/GENERIC: revision 1.104
sys/arch/i386/conf/VIRTUALPC: revision 1.44
sys/arch/ews4800mips/conf/GENERIC: revision 1.11
sys/arch/evbsh5/conf/CAYMAN: revision 1.23
sys/arch/arc/conf/GENERIC: revision 1.141
sys/arch/amd64/conf/GENERIC: revision 1.103
sys/arch/sun3/conf/GENERIC3X: revision 1.90
sys/arch/evbarm/conf/HDL_G: revision 1.3
sys/arch/sun2/conf/GENERIC: revision 1.57
sys/arch/news68k/conf/GENERIC_TINY: revision 1.51
sys/arch/evbppc/conf/EXPLORA451: revision 1.27
sys/arch/amiga/conf/GENERIC.in: revision 1.54
sys/arch/mac68k/conf/GENERIC: revision 1.174
sys/arch/acorn26/conf/GENERIC: revision 1.45
sys/arch/shark/conf/GENERIC: revision 1.64
sys/arch/cesfic/conf/GENERIC: revision 1.44
sys/arch/mvme68k/conf/GENERIC: revision 1.68
sys/arch/i386/conf/XEN2_DOM0: revision 1.4
sys/arch/atari/conf/GENERIC.in: revision 1.63
sys/arch/amiga/conf/GENERIC: revision 1.240
sys/arch/i386/conf/LAMB: revision 1.65
sys/arch/i386/conf/GENERIC: revision 1.773
sys/arch/acorn32/conf/EB7500ATX: revision 1.26
sys/arch/x68k/conf/GENERIC: revision 1.128
sys/arch/vax/conf/GENERIC: revision 1.153
sys/arch/atari/conf/ATARITT: revision 1.81
sys/arch/mipsco/conf/GENERIC: revision 1.60
sys/arch/cobalt/conf/GENERIC: revision 1.101
sys/arch/evbarm/conf/ARMADILLO9: revision 1.13
sys/arch/ofppc/conf/GENERIC: revision 1.93
sys/arch/atari/conf/MILAN-PCIIDE: revision 1.51
sys/arch/arc/conf/RPC44: revision 1.26
sys/arch/sparc64/conf/GENERIC: revision 1.59
sys/arch/i386/conf/XEN3_DOMU: revision 1.2
sys/arch/hp700/conf/GENERIC: revision 1.68
sys/arch/atari/conf/MILAN-ISAIDE: revision 1.47
sys/arch/macppc/conf/GENERIC: revision 1.231
sys/arch/dreamcast/conf/GENERIC: revision 1.72
sys/arch/news68k/conf/GENERIC: revision 1.80
sys/arch/hp300/conf/GENERIC: revision 1.133
sys/arch/mmeye/conf/GENERIC: revision 1.82
sys/arch/macppc/conf/MAMBO: revision 1.2
sys/arch/cats/conf/GENERIC: revision 1.107
sys/arch/atari/conf/FALCON: revision 1.79
sys/arch/acorn32/conf/GENERIC: revision 1.71
sys/arch/sparc/conf/GENERIC: revision 1.190
sys/arch/news68k/conf/LIBERO: revision 1.40
sys/arch/amiga/conf/DRACO: revision 1.114
sys/arch/cobalt/conf/INSTALL: revision 1.23
sys/arch/luna68k/conf/GENERIC: revision 1.73
sys/arch/bebox/conf/GENERIC: revision 1.100
sys/arch/pmax/conf/GENERIC: revision 1.147
sys/arch/amiga/conf/WSCONS: revision 1.52
sys/arch/macppc/conf/POWERMAC_G5: revision 1.2
sys/arch/alpha/conf/ALPHA: revision 1.218
sys/arch/sun3/conf/GENERIC: revision 1.133
sys/arch/prep/conf/GENERIC: revision 1.124
sys/arch/alpha/conf/GENERIC: revision 1.291
sys/arch/atari/conf/HADES: revision 1.71
sys/arch/newsmips/conf/GENERIC: revision 1.93
sys/arch/netwinder/conf/GENERIC: revision 1.82
sys/arch/hpcmips/conf/GENERIC: revision 1.190
sys/arch/amiga/conf/AMIGA: revision 1.98
sys/arch/sbmips/conf/GENERIC: revision 1.54
sys/arch/pc532/conf/GENERIC: revision 1.64
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.53
Disable SYSTRACE by default on all kernels (discussed with core)
 1.28.4.1 22-Oct-2006  yamt sync with head
 1.28.2.1 18-Nov-2006  ad Sync with head.
 1.29.22.1 15-Aug-2007  skrll Sync with HEAD.
 1.29.20.1 07-Aug-2007  matt Sync with HEAD.
 1.29.16.1 03-Oct-2007  garbled Sync with HEAD
 1.29.8.2 03-Dec-2007  ad Sync with HEAD.
 1.29.8.1 20-Aug-2007  ad Sync with HEAD.
 1.30.6.2 09-Jan-2008  matt sync with HEAD
 1.30.6.1 06-Nov-2007  matt sync with HEAD
 1.30.4.1 27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.31.2.2 18-Feb-2008  mjf Sync with HEAD.
 1.31.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.32.6.1 02-Jan-2008  bouyer Sync with HEAD
 1.33.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.33.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.33.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.34.10.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.34.10.1 19-Oct-2008  haad Sync with HEAD.
 1.34.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.34.4.2 11-Mar-2010  yamt sync with head
 1.34.4.1 04-May-2009  yamt sync with head.
 1.35.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.35.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.37.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.40.4.3 31-May-2011  rmind sync with head
 1.40.4.2 21-Apr-2011  rmind sync with head
 1.40.4.1 05-Mar-2011  rmind sync with head
 1.41.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.41.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.44.4.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.44.4.2 30-Oct-2012  yamt sync with head
 1.44.4.1 17-Apr-2012  yamt sync with head
 1.45.2.1 18-Feb-2012  mrg merge to -current.
 1.47.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.48.2.4 03-Dec-2017  jdolecek update from HEAD
 1.48.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.48.2.2 23-Jun-2013  tls resync from head
 1.48.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.53.2.1 28-Aug-2013  rmind sync with head
 1.58.2.2 28-Aug-2017  skrll Sync with HEAD
 1.58.2.1 22-Sep-2015  skrll Sync with HEAD
 1.59.10.1 26-Jan-2018  martin Pull up following revision(s) (requested by sevan in ticket #510):
sys/arch/sun3/conf/GENERIC3X: revision 1.130
sys/arch/sparc64/conf/GENERIC: revision 1.203
sys/arch/news68k/conf/LIBERO: revision 1.66
sys/arch/amiga/conf/DRACO: revision 1.185
sys/arch/evbarm/conf/MV2120: revision 1.35
sys/arch/x68k/conf/GENERIC: revision 1.187
sys/arch/rs6000/conf/GENERIC: revision 1.39
sys/arch/news68k/conf/GENERIC_TINY: revision 1.86
sys/arch/i386/conf/XEN3_DOMU: revision 1.88
sys/arch/iyonix/conf/GENERIC: revision 1.97
sys/arch/evbarm64/conf/A64EMUL: revision 1.11
sys/arch/mvme68k/conf/GENERIC: revision 1.98
sys/arch/acorn32/conf/GENERIC: revision 1.124
sys/arch/i386/conf/XEN3_DOM0: revision 1.125
sys/arch/cobalt/conf/INSTALL: revision 1.65
sys/arch/macppc/conf/GENERIC_601: revision 1.16
sys/arch/hppa/conf/GENERIC: revision 1.17
sys/arch/amiga/conf/GENERIC.in: revision 1.137
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.33
sys/arch/netwinder/conf/GENERIC: revision 1.134
sys/arch/amd64/conf/XEN3_DOMU: revision 1.83
sys/arch/mac68k/conf/GENERIC: revision 1.225
sys/arch/arc/conf/RPC44: revision 1.54
sys/arch/mipsco/conf/GENERIC: revision 1.92
sys/arch/cats/conf/GENERIC: revision 1.166
sys/arch/amd64/conf/XEN3_DOM0: revision 1.145
sys/arch/amigappc/conf/GENERIC: revision 1.33
sys/arch/sun3/conf/GENERIC: revision 1.176
sys/arch/news68k/conf/GENERIC: revision 1.130
sys/arch/hpcsh/conf/GENERIC: revision 1.110
sys/arch/hp300/conf/GENERIC: revision 1.198
sys/arch/atari/conf/GENERIC.in: revision 1.115
sys/arch/sparc/conf/MRCOFFEE: revision 1.54
sys/arch/evbppc/conf/EXPLORA451: revision 1.62
sys/arch/cesfic/conf/GENERIC: revision 1.69
sys/arch/vax/conf/GENERIC: revision 1.204
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.115
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.112
sys/arch/sparc/conf/GENERIC: revision 1.258
sys/arch/next68k/conf/GENERIC: revision 1.145
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.34
sys/arch/prep/conf/GENERIC: revision 1.185
sys/arch/amiga/conf/INSTALL: revision 1.129
sys/arch/newsmips/conf/GENERIC: revision 1.133
sys/arch/cobalt/conf/GENERIC: revision 1.156
sys/arch/sun2/conf/GENERIC: revision 1.99
sys/arch/luna68k/conf/INSTALL: revision 1.25
sys/arch/amigappc/conf/NULL: revision 1.53
sys/arch/acorn26/conf/GENERIC: revision 1.85
sys/arch/vax/conf/VAX780: revision 1.25
sys/arch/luna68k/conf/GENERIC: revision 1.125
sys/arch/ews4800mips/conf/GENERIC: revision 1.56
sys/arch/macppc/conf/POWERMAC_G5: revision 1.29
sys/arch/arc/conf/GENERIC: revision 1.189
sys/arch/macppc/conf/MAMBO: revision 1.27
sys/arch/acorn32/conf/EB7500ATX: revision 1.64
sys/arch/pmax/conf/GENERIC: revision 1.196
sys/arch/pmax/conf/GENERIC64: revision 1.28
sys/arch/amiga/conf/GENERIC: revision 1.319
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.55
sys/arch/macppc/conf/GENERIC: revision 1.339
sys/arch/emips/conf/GENERIC: revision 1.21
sys/arch/sandpoint/conf/GENERIC: revision 1.97
sys/arch/landisk/conf/GENERIC: revision 1.58
sys/arch/bebox/conf/GENERIC: revision 1.157
sys/arch/alpha/conf/GENERIC: revision 1.379
Alternate buffer queue strategies no longer considered experimental, update
description.
Discussed on tech-kern
http://mail-index.netbsd.org/tech-kern/2018/01/21/msg023002.html
 1.62.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.62.4.1 10-Jun-2019  christos Sync with HEAD
 1.62.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.64.4.1 25-Jan-2020  ad Sync with head.
 1.68.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.5 06-Nov-2020  martin Bump ramdisk size slightly
 1.4 09-Feb-2017  joerg branches: 1.4.26;
Give clang a bit more space on the RAM disk.
 1.3 13-Nov-2016  joerg branches: 1.3.2;
Give the ramdisk a bit more space, evbppc64 for clang is running out.
 1.2 06-Mar-2014  joerg branches: 1.2.6; 1.2.10;
Give memory disk a bit more breathing room.
 1.1 08-Jun-2011  matt branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.18; 1.1.22;
Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.1.22.1 18-May-2014  rmind sync with head
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.2 14-Oct-2011  matt Sync with current pulling P2020 and other newer processor support.
 1.1.6.1 08-Jun-2011  matt file INSTALL.inc was added on branch matt-nb5-pq3 on 2011-10-14 17:21:26 +0000
 1.1.4.2 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.4.1 08-Jun-2011  cherry file INSTALL.inc was added on branch cherry-xenmp on 2011-06-23 14:19:07 +0000
 1.1.2.2 12-Jun-2011  rmind sync with head
 1.1.2.1 08-Jun-2011  rmind file INSTALL.inc was added on branch rmind-uvmplock on 2011-06-12 00:23:56 +0000
 1.2.10.2 20-Mar-2017  pgoyette Sync with HEAD
 1.2.10.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.2.6.2 28-Aug-2017  skrll Sync with HEAD
 1.2.6.1 05-Dec-2016  skrll Sync with HEAD
 1.3.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.4.26.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.1 08-Jun-2011  matt branches: 1.1.2; 1.1.4;
Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.1.4.2 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.4.1 08-Jun-2011  cherry file INSTALL_MPC8536DS was added on branch cherry-xenmp on 2011-06-23 14:19:07 +0000
 1.1.2.2 12-Jun-2011  rmind sync with head
 1.1.2.1 08-Jun-2011  rmind file INSTALL_MPC8536DS was added on branch rmind-uvmplock on 2011-06-12 00:23:56 +0000
 1.1 08-Jun-2011  matt branches: 1.1.2; 1.1.4;
Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.1.4.2 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.4.1 08-Jun-2011  cherry file INSTALL_MPC8548CDS was added on branch cherry-xenmp on 2011-06-23 14:19:07 +0000
 1.1.2.2 12-Jun-2011  rmind sync with head
 1.1.2.1 08-Jun-2011  rmind file INSTALL_MPC8548CDS was added on branch rmind-uvmplock on 2011-06-12 00:23:56 +0000
 1.7 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.6 23-Nov-2010  hannken branches: 1.6.6;
Remove unused count from pseudo-device md.
 1.5 06-Feb-2009  jym branches: 1.5.6;
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.4 02-Oct-2006  chs branches: 1.4.56; 1.4.64;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.3 07-Dec-2005  tsutsui branches: 1.3.18; 1.3.22; 1.3.24;
Remove obsolete options VNODE_OP_NOINLINE.
 1.2 31-Aug-2005  he branches: 1.2.2; 1.2.4; 1.2.10;
This one needs "pseudo-device md 1". Patch taken from PR evbppc/31097.
Fixes build problem.
 1.1 03-Aug-2005  shige Add md-kernel for installation: INSTALL_OPENBLOCKS266.
 1.2.10.3 11-Dec-2005  christos Sync with head.
 1.2.10.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.10.1 31-Aug-2005  skrll file INSTALL_OPENBLOCKS266 was added on branch ktrace-lwp on 2005-11-10 13:56:04 +0000
 1.2.4.2 15-Sep-2005  tron Apply patch (requested by shige in ticket #790):
Build installation kernel for OpenBlockS266(IBM405GP CPU) products.
 1.2.4.1 31-Aug-2005  tron file INSTALL_OPENBLOCKS266 was added on branch netbsd-3 on 2005-09-15 20:31:36 +0000
 1.2.2.2 15-Sep-2005  riz Pull up following revision(s) (requested by shige in ticket #5820):
distrib/evbppc/md-kernel/Makefile 1.3 via patch
etc/etc.evbppc/Makefile.inc 1.3 via patch
sys/arch/evbppc/conf/files.obs405 1.5-1.8 via patch
sys/arch/evbppc/conf/OPENBLOCKS266 1.22,1.25 via patch
sys/arch/evbppc/include/obs266.h 1.1 (new)
sys/arch/evbppc/include/obs405.h 1.1-1.5 (new)
sys/arch/evbppc/include/rbus_machdep.h 1.1 (new)
sys/arch/evbppc/obs405/consinit.c 1.2-1.4
sys/arch/evbppc/obs405/dev/x1226.c deleted
sys/arch/evbppc/obs405/dev/x1226reg.h deleted
sys/arch/evbppc/obs405/machdep.c deleted
sys/arch/evbppc/obs405/obs266_autoconf.c 1.1 (new)
sys/arch/evbppc/obs405/obs266_machdep.c 1.1 (new, plus patch)
sys/arch/evbppc/obs405/obs405_autoconf.c 1.1 (new, plus patch)
sys/arch/evbppc/obs405/obs405_machdep.c 1.1 (new)
sys/arch/evbppc/obs405/rbus_machdep.c 1.1 (new)
sys/arch/powerpc/conf/files.ibm4xx 1.6-1.7
sys/arch/powerpc/ibm4xx/board_prop.c 1.1 (new)
sys/arch/powerpc/ibm4xx/dev/com_opb.c 1.12
sys/arch/powerpc/ibm4xx/dev/comopbvar.h 1.1 (new)
sys/arch/powerpc/ibm4xx/ibm40x_machdep.c 1.3-1.4
sys/arch/powerpc/ibm4xx/ibm4xx_autoconf.c 1.1-1.2 (new)
sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c 1.1-1.3 (new)
sys/arch/powerpc/ibm4xx/ibm4xxgpx_autoconf.c 1.2-1.3
sys/arch/powerpc/ibm4xx/openbios/openbios.c 1.1 (new)
sys/arch/powerpc/include/ibm4xx/cpu.h 1.7-1.10
sys/arch/powerpc/include/ibm4xx/openbios.h 1.1 (new)

Update OpenBlockS266 support to more modern, stable sources.
 1.2.2.1 31-Aug-2005  riz file INSTALL_OPENBLOCKS266 was added on branch netbsd-2 on 2005-09-15 14:28:44 +0000
 1.3.24.1 22-Oct-2006  yamt sync with head
 1.3.22.1 18-Nov-2006  ad Sync with head.
 1.3.18.3 30-Dec-2006  yamt sync with head.
 1.3.18.2 21-Jun-2006  yamt sync with head.
 1.3.18.1 07-Dec-2005  yamt file INSTALL_OPENBLOCKS266 was added on branch yamt-lazymbuf on 2006-06-21 14:51:03 +0000
 1.4.64.1 03-Mar-2009  skrll Sync with HEAD.
 1.4.56.1 04-May-2009  yamt sync with head.
 1.5.6.2 12-Jun-2011  rmind sync with head
 1.5.6.1 05-Mar-2011  rmind sync with head
 1.6.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 20-Jan-2012  matt Don't make a netbsd-sd0a
 1.1 08-Jun-2011  matt branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.12;
Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.1.12.1 18-Feb-2012  mrg merge to -current.
 1.1.8.1 17-Apr-2012  yamt sync with head
 1.1.6.2 14-Oct-2011  matt Sync with current pulling P2020 and other newer processor support.
 1.1.6.1 08-Jun-2011  matt file INSTALL_P2020DS was added on branch matt-nb5-pq3 on 2011-10-14 17:21:27 +0000
 1.1.4.2 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.4.1 08-Jun-2011  cherry file INSTALL_P2020DS was added on branch cherry-xenmp on 2011-06-23 14:19:07 +0000
 1.1.2.2 12-Jun-2011  rmind sync with head
 1.1.2.1 08-Jun-2011  rmind file INSTALL_P2020DS was added on branch rmind-uvmplock on 2011-06-12 00:23:56 +0000
 1.2 23-Aug-2013  matt Add no config netbsd-sd0a
 1.1 29-Jun-2011  matt branches: 1.1.2; 1.1.12; 1.1.16;
Add some config files for the P2020.
 1.1.16.1 28-Aug-2013  rmind sync with head
 1.1.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 19-Jul-2011  matt Add no config netbsd-sd0a
 1.1 08-Jun-2011  matt branches: 1.1.2; 1.1.4;
Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.1.4.2 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.4.1 08-Jun-2011  cherry file INSTALL_P2020RDB was added on branch cherry-xenmp on 2011-06-23 14:19:07 +0000
 1.1.2.2 12-Jun-2011  rmind sync with head
 1.1.2.1 08-Jun-2011  rmind file INSTALL_P2020RDB was added on branch rmind-uvmplock on 2011-06-12 00:23:56 +0000
 1.1 29-Jun-2011  matt Add some config files for the P2020.
 1.4 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.3 05-Jun-2011  matt Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
 1.2 18-Jan-2011  matt branches: 1.2.4; 1.2.6;
Add TMPFS and ksyms. Add an INSTALL variant
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file INSTALL_PMPPC was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.1 07-Jan-2011  matt This is useful for testing OEA in gxemul.
 1.2.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2.4.3 12-Jun-2011  rmind sync with head
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file INSTALL_PMPPC was added on branch rmind-uvmplock on 2011-03-05 20:50:14 +0000
 1.1 30-Jan-2015  nonaka branches: 1.1.2; 1.1.18;
Added RouterBOARD RB850Gx2 config. md root only.
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 30-Jan-2015  jdolecek file INSTALL_RB850GX2 was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 30-Jan-2015  skrll file INSTALL_RB850GX2 was added on branch nick-nhusb on 2015-04-06 15:17:56 +0000
 1.1 15-Jul-2012  matt branches: 1.1.4;
Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016
QorIQ processors. XXX tsec isn't working yet on the TWR-P1025.
 1.1.4.2 30-Oct-2012  yamt sync with head
 1.1.4.1 15-Jul-2012  yamt file INSTALL_TWRP1025 was added on branch yamt-pagecache on 2012-10-30 17:19:30 +0000
 1.2 18-Jul-2012  matt branches: 1.2.4;
Fix two typos
 1.1 15-Jul-2012  matt Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016
QorIQ processors. XXX tsec isn't working yet on the TWR-P1025.
 1.2.4.2 30-Oct-2012  yamt sync with head
 1.2.4.1 18-Jul-2012  yamt file INSTALL_TWRP1025.MP was added on branch yamt-pagecache on 2012-10-30 17:19:30 +0000
 1.9 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.8 06-Feb-2009  jym branches: 1.8.6; 1.8.12;
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.7 02-Oct-2006  chs branches: 1.7.56; 1.7.64;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.6 07-Dec-2005  tsutsui branches: 1.6.20; 1.6.22;
Remove obsolete options VNODE_OP_NOINLINE.
 1.5 18-Jan-2005  simonb branches: 1.5.8;
We only need a 2MB md for install images, not an 8MB one.
 1.4 14-Sep-2003  he branches: 1.4.8;
Revert addition of rnd here; it's already present due to the inclusion
of the WALNUT config file, so causes a duplicate definition error here.
 1.3 06-Sep-2003  itojun add rnd(4) device to installation media.
necessary for many purposes, including password seeding, tcp sequence number,
and more. see tech-security
 1.2 07-Feb-2003  thorpej branches: 1.2.2;
No need for DEBUG in an install kernel.
 1.1 09-Dec-2002  scw branches: 1.1.2;
New umbrella-port for PowerPC-based evaluation boards.

The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file INSTALL_WALNUT was added on branch nathanw_sa on 2002-12-11 06:28:57 +0000
 1.2.2.5 11-Dec-2005  christos Sync with head.
 1.2.2.4 24-Jan-2005  skrll Sync with HEAD.
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.8.1 29-Apr-2005  kent sync with -current
 1.5.8.2 30-Dec-2006  yamt sync with head.
 1.5.8.1 21-Jun-2006  yamt sync with head.
 1.6.22.1 22-Oct-2006  yamt sync with head
 1.6.20.1 18-Nov-2006  ad Sync with head.
 1.7.64.1 03-Mar-2009  skrll Sync with HEAD.
 1.7.56.1 04-May-2009  yamt sync with head.
 1.8.12.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.8.6.1 12-Jun-2011  rmind sync with head
 1.1 20-Jan-2024  jmcneill branches: 1.1.2;
evbppc: Add initial support for the Nintendo Wii
 1.1.2.2 03-Feb-2024  martin Pull up following revision(s) (requested by jmcneill in ticket #561):

etc/etc.evbppc/Makefile.inc: revision 1.15
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.2
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.3
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.2
distrib/utils/embedded/files/evbppc_wii_icon.png: revision 1.1
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.4
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.4
sys/arch/evbppc/wii/dev/viio.h: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.5
sys/arch/evbppc/wii/dev/mainbus.h: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.2
distrib/utils/embedded/conf/wii.conf: revision 1.3
sys/dev/sdmmc/sdhcvar.h: revision 1.34
sys/dev/sdmmc/sdhc.c: revision 1.118
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.1
distrib/utils/embedded/conf/evbppc.conf: revision 1.1
sys/dev/wsfb/genfb.c: revision 1.91
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.2
sys/dev/wscons/wsconsio.h: revision 1.127
sys/arch/powerpc/oea/oea_machdep.c: revision 1.85
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.1
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.2
sys/arch/evbppc/conf/std.wii: revision 1.3
sys/arch/powerpc/oea/cpu_subr.c: revision 1.109
sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.1
sys/dev/usb/usb.h: revision 1.124
sys/arch/evbppc/wii/machdep.c: revision 1.1
sys/arch/evbppc/wii/dev/rtcsram.c: revision 1.1
sys/arch/powerpc/include/oea/hid.h: revision 1.14
sys/arch/evbppc/wii/mainbus.c: revision 1.1
sys/arch/evbppc/wii/machdep.c: revision 1.2
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.1
sys/arch/evbppc/wii/mainbus.c: revision 1.2
sys/arch/evbppc/wii/machdep.c: revision 1.3
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.2
sys/arch/evbppc/wii/mainbus.c: revision 1.3
sys/arch/evbppc/wii/machdep.c: revision 1.4
sys/arch/evbppc/wii/dev/hwgpio.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.2
sys/arch/evbppc/wii/wii_locore.S: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.1
sys/arch/evbppc/wii/wii_locore.S: revision 1.2
sys/arch/evbppc/include/wii.h: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.2
sys/arch/evbppc/wii/dev/exi.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.2
sys/arch/evbppc/conf/files.wii: revision 1.3
sys/arch/powerpc/powerpc/clock.c: revision 1.18
sys/arch/evbppc/include/wii.h: revision 1.3
sys/arch/evbppc/conf/files.wii: revision 1.4
sys/arch/evbppc/include/wii.h: revision 1.4
sys/arch/evbppc/wii/dev/exi.h: revision 1.1
sys/arch/evbppc/wii/dev/avenc.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.5
sys/arch/evbppc/include/wii.h: revision 1.6
sys/arch/evbppc/include/wii.h: revision 1.7
sys/arch/evbppc/wii/dev/avenc.h: revision 1.1
distrib/utils/embedded/mkimage: revision 1.79
sys/arch/evbppc/conf/WII: revision 1.1
sys/arch/evbppc/conf/INSTALL_WII: revision 1.1
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.1
sys/arch/evbppc/wii/dev/vireg.h: revision 1.1
sys/arch/evbppc/conf/WII: revision 1.2
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.2
sys/arch/evbppc/wii/dev/vireg.h: revision 1.2
sys/arch/evbppc/conf/WII: revision 1.3
sys/arch/evbppc/conf/WII: revision 1.4
usr.sbin/sysinst/arch/evbppc/md.c: revision 1.11
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.1
sys/dev/usb/ehcivar.h: revision 1.52
sys/arch/evbppc/wii/pic_pi.c: revision 1.1
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.2
etc/etc.evbppc/ttys: revision 1.8
sys/arch/evbppc/wii/dev/bwai.c: revision 1.1
sys/arch/evbppc/wii/dev/bwai.c: revision 1.2
sys/arch/evbppc/wii/dev/bwai.c: revision 1.3
sys/arch/evbppc/wii/autoconf.c: revision 1.1
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.1
sys/arch/evbppc/wii/dev/bwai.h: revision 1.1
sys/arch/evbppc/wii/autoconf.c: revision 1.2
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.2

powerpc: oea: Fix prefetchable mappings
Prefetchable mappings need PMAP_NOCACHE to get write-combine semantics.
powerpc: oea: Decode IBM750CL L2 cache information.
sdmmc: add support for optional delay after register write
wscons: Add HOLLYWOOD display and YUY2 pixel format types
wsfb: add support for optional "devcmap" property
A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.
ehci: add EHCIF_32BIT_ACCESS flag to force 32-bit MMIO
fix comments: HID0 ICFI/DCFI are "flash invalidate", not "flush invalidate"
powerpc: fix delay for large (> ~5sec) values
When calculating the target timebase, promote '1000' on the RHS to ULL
to force 64-bit calculation, otherwise 'n * 1000' will overflow.
usb: increase USB_PORT_RESET_RECOVERY from 10ms to 20ms
I changed this from 250ms to 10ms back in 2021 based on a similar FreeBSD
change, but it seems to be a bit too aggressive for some platforms.
evbppc: Add initial support for the Nintendo Wii
wii: support RB_POWERDOWN
build fix: use dd with count=1 for compat with NetBSD dd(1)
wii: Add NTSC 480p support.
In addition to this, add VIIO_{GET,SET}REGS ioctl support to allow for
poking at video interface registers from userland. This is helpful for
debugging display issues.
wii: Add 128x48 icon to SD card image
wii: Fix a comment
wii: Add drivers for Broadway DSP and Audio interface.
0: [*] audio0 @ bwdsp0: Broadway DSP
playback: 16, 2ch, 48000Hz
record: unavailable
(P-) slinear_be 16/16, 2ch, { 48000 }
wii: Add screenblank support.
wii: Use screen dimming register for screen blanking.
wii: Add GPIO, I2C, and basic A/V encoder driver.
wii: Use A/V encoder volume controls instead of using a software filter.
wii: Simply DSP driver - no interrupt handler required.
wii: provide device names to intr_establish
wii$ intrctl list
interrupt id CPU0 device name(s)
pi irq 14 64769* hollywood0
hollywood irq 36 5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40 4* sdhc1
hollywood irq 49 0* resetbtn0
pi irq 5 0* bwai0
wii: Add support for passing boot options to the kernel.
wii: Add External interface bus and RTC support
wii: Remove objcopy after kernel build.
HBC will do the right thing.
Add wsvt25 entries (off by default) for ttyE0-ttyE3.
Add support for "PAL" (576i) mode on Wii.
 1.1.2.1 20-Jan-2024  martin file INSTALL_WII was added on branch netbsd-10 on 2024-02-03 11:47:07 +0000
 1.30 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.29 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.28 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.27 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.26 05-Feb-2018  maxv branches: 1.26.2; 1.26.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.25 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.24 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.23 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.22 23-Aug-2014  dholland branches: 1.22.2; 1.22.4; 1.22.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.21 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.20 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.19 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.18 05-Jun-2013  christos branches: 1.18.2;
remove obsolete networking options
 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 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.14 17-Aug-2012  abs branches: 1.14.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.13 24-Jul-2012  matt Add drvctl
 1.12 23-Jul-2012  matt Add DKWEDGE_AUTODISCOVERY and DKWEDGE_GPT support.
 1.11 22-Jul-2012  matt Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
 1.10 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.9 22-Nov-2011  tls branches: 1.9.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.8 02-Aug-2011  matt branches: 1.8.2;
Change device name of pq3cfi to cfi.
Add cfi to P2020DS
Add ddrc
 1.7 15-Jul-2011  cliff Add support for CFI NOR, using MPC8536DS as initial example.
Only AMD/Fujitsu command set is suported so far.
This is still work in progress, be advised.
 1.6 30-Jun-2011  wiz dependant -> dependent
 1.5 10-Jun-2011  matt Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
 1.4 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.3 06-Mar-2011  bouyer branches: 1.3.2;
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.2 18-Jan-2011  matt branches: 1.2.2; 1.2.4;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file MPC8536DS was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.4 02-Aug-2011  matt Change pq3cfi to cfi
 1.1.2.3 26-Jul-2011  matt Add pq3cfi device.
 1.1.2.2 17-Jan-2011  matt sdhc has problems; comment out for now.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.4.4 12-Jun-2011  rmind sync with head
 1.2.4.3 21-Apr-2011  rmind sync with head
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file MPC8536DS was added on branch rmind-uvmplock on 2011-03-05 20:50:14 +0000
 1.2.2.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.3.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.8.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.8.2.2 30-Oct-2012  yamt sync with head
 1.8.2.1 17-Apr-2012  yamt sync with head
 1.9.2.1 18-Feb-2012  mrg merge to -current.
 1.14.2.4 03-Dec-2017  jdolecek update from HEAD
 1.14.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.2.2 23-Jun-2013  tls resync from head
 1.14.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.18.2.1 28-Aug-2013  rmind sync with head
 1.22.6.1 21-Apr-2017  bouyer Sync with HEAD
 1.22.4.1 20-Mar-2017  pgoyette Sync with HEAD
 1.22.2.1 28-Aug-2017  skrll Sync with HEAD
 1.26.4.1 10-Jun-2019  christos Sync with HEAD
 1.26.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.29 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.28 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.27 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.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 05-Feb-2018  maxv branches: 1.25.2; 1.25.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.24 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.23 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.22 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.21 23-Aug-2014  dholland branches: 1.21.2; 1.21.4; 1.21.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.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 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.18 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.17 05-Jun-2013  christos branches: 1.17.2;
remove obsolete networking options
 1.16 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.15 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.14 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.13 17-Aug-2012  abs branches: 1.13.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.12 24-Jul-2012  matt Add drvctl
 1.11 23-Jul-2012  matt Add DKWEDGE_AUTODISCOVERY and DKWEDGE_GPT support.
 1.10 22-Jul-2012  matt Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
 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 30-Jun-2011  wiz branches: 1.7.2;
dependant -> dependent
 1.6 11-Jun-2011  matt Add missing no options GUR_BASE
 1.5 10-Jun-2011  matt Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
 1.4 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.3 06-Mar-2011  bouyer branches: 1.3.2;
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.2 18-Jan-2011  matt branches: 1.2.2; 1.2.4;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file MPC8548CDS was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.2 24-Aug-2011  matt Make uboot images.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.4.4 12-Jun-2011  rmind sync with head
 1.2.4.3 21-Apr-2011  rmind sync with head
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file MPC8548CDS was added on branch rmind-uvmplock on 2011-03-05 20:50:15 +0000
 1.2.2.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.3.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.7.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.7.2.2 30-Oct-2012  yamt sync with head
 1.7.2.1 17-Apr-2012  yamt sync with head
 1.8.2.1 18-Feb-2012  mrg merge to -current.
 1.13.2.4 03-Dec-2017  jdolecek update from HEAD
 1.13.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.2.2 23-Jun-2013  tls resync from head
 1.13.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.17.2.1 28-Aug-2013  rmind sync with head
 1.21.6.1 21-Apr-2017  bouyer Sync with HEAD
 1.21.4.1 20-Mar-2017  pgoyette Sync with HEAD
 1.21.2.1 28-Aug-2017  skrll Sync with HEAD
 1.25.4.1 10-Jun-2019  christos Sync 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.1 02-Apr-2021  rin branches: 1.1.2; 1.1.4;
evbppc: Add support for DHT Walnut 405GP evaluation board.
(Digital Home Technologies PCB 01070201 Rev. 1.1)

Official web page seems gone, but analyses by Linux people are at:

- https://elinux.org/DHT-Walnut
- http://web.archive.org/web/20070225171826/http://supernova.stanford.edu/dingdong/

The board features:

- 266MHz PowerPC 405GP processor
- one PC133 SDRAM slot
- two 32-bit 5V PCI slot
- on-chip ethernet controller with DP83843 PHY
- on-chip serial port / GPIO controller
- on-board PDC20265 IDE controller

Hardware limitations:

- no MAC address assigned
- no RTC present

Known problem:

- atabus(4) channels cannot be attached to pdcide(4) for cold boot

dmesg:

- https://dmesgd.nycbug.org/index.cgi?do=view&id=5997

Have fun!
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 02-Apr-2021  thorpej file Makefile.dht.inc was added on branch thorpej-futex on 2021-04-03 22:28:24 +0000
 1.1.2.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.2.1 02-Apr-2021  thorpej file Makefile.dht.inc was added on branch thorpej-cfargs on 2021-04-03 21:44:42 +0000
 1.8 28-Jul-2016  maya Fix typo in Makefile which resulted in kernel image not being generated

From Rin Okuyama in PR/51369
 1.7 03-Mar-2014  joerg branches: 1.7.4; 1.7.6; 1.7.8; 1.7.10;
Spell it TOOL_STAT.
 1.6 03-Mar-2014  joerg Use nbstat when cross-compiling, unbreaks build on Linux.
 1.5 30-Oct-2010  uebayasi branches: 1.5.8; 1.5.14; 1.5.18; 1.5.22;
Handle kernel file names other than "netbsd".
 1.4 24-Nov-2005  dbj branches: 1.4.98; 1.4.100;
. 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.3 17-Mar-2005  jmc branches: 1.3.2; 1.3.8;
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2 16-Mar-2003  matt branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.12; 1.2.16;
EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware. XXX PCI devices are not found.
 1.1 05-Mar-2003  matt Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
 1.2.16.1 22-Mar-2005  tron Pull up revision 1.3 (requested by jmc in ticket #49):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2.12.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.2.10.1 29-Apr-2005  kent sync with -current
 1.2.8.1 22-Mar-2005  tron Pull up revision 1.3 (requested by jmc in ticket #1350):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2.4.1 22-Mar-2005  tron Pull up revision 1.3 (requested by jmc in ticket #1350):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2.2.2 11-Dec-2005  christos Sync with head.
 1.2.2.1 01-Apr-2005  skrll Sync with HEAD.
 1.3.8.1 29-Nov-2005  yamt sync with head.
 1.3.2.1 21-Jun-2006  yamt sync with head.
 1.4.100.1 05-Mar-2011  rmind sync with head
 1.4.98.1 06-Nov-2010  uebayasi Sync with HEAD.
 1.5.22.1 18-May-2014  rmind sync with head
 1.5.18.2 03-Dec-2017  jdolecek update from HEAD
 1.5.18.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.14.2 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1396):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.5.14.1 11-Apr-2014  msaitoh Pull up following revision(s) (requested by joerg in ticket #1035):
distrib/evbppc/md-kernel/Makefile 1.4
sys/arch/evbppc/compile/walnut-mkimg.sh 1.5
sys/arch/evbppc/conf/Makefile.ev64260.inc 1.6-1.7
sys/arch/evbppc/conf/Makefile.obs405.inc 1.10-1.11
sys/arch/evbppc/conf/Makefile.walnut.inc 1.7-1.8

Use TOOL_* for cross compiling. Fixes buiild break on linux.
 1.5.8.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.10.1 06-Aug-2016  pgoyette Sync with HEAD
 1.7.8.1 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1211):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.7.6.1 05-Oct-2016  skrll Sync with HEAD
 1.7.4.1 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1211):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.9 11-Sep-2022  rin Add hack for clang for ibm4xx/trap.c.

Integrated as does not recognize {l,st}swx, that have been
requisite insns by architecture since 601.

Also, it does not pass gas for appropriate -mfoo flag.
 1.8 25-Jun-2011  matt Move some stuff from evbppc's Makefile.inc to powerpc's.
This avoids redundant objcopy's
 1.7 14-Jun-2011  matt Allow use of pigz when compressing kernels.
 1.6 28-May-2011  matt branches: 1.6.2;
Fix typo and make MDSETIMAGE block the same as the others.
 1.5 28-May-2011  matt Add common processing for .srec, .bin, and .ub (ubootimage) files.
When creating u-boot image, use a compressed binary kernel.
 1.4 04-Jan-2011  matt branches: 1.4.2;
Supply a hook at allow an RAMDISK image to automagically inserted into a
newly built kernel.
 1.3 08-Apr-2003  matt branches: 1.3.8; 1.3.128; 1.3.132;
Select MPSC console and the proper PCI slots. Use -D__boardtype__ instead
of -Dboardtype.
 1.2 04-Mar-2003  matt Make to define ${BOARDTYPE}
 1.1 09-Dec-2002  scw branches: 1.1.2;
New umbrella-port for PowerPC-based evaluation boards.

The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file Makefile.evbppc.inc was added on branch nathanw_sa on 2002-12-11 06:28:58 +0000
 1.3.132.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.3.128.2 31-May-2011  rmind sync with head
 1.3.128.1 05-Mar-2011  rmind sync with head
 1.3.8.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.4.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.5 30-Oct-2010  uebayasi Handle kernel file names other than "netbsd".
 1.4 24-Nov-2005  dbj branches: 1.4.98; 1.4.100;
. 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.3 16-Jan-2005  chs branches: 1.3.8; 1.3.14;
echo the objcopy we actually run.
 1.2 31-May-2003  hannken branches: 1.2.2; 1.2.10;
Add symtab to kernel image using dbsym(8).
Add /dev/ksyms.
 1.1 11-Mar-2003  hannken Add a port to the NCD Explora451 ThinClient.

- Supported devices: le, com, lpt, pckbd, frame buffer.
- Support missing: phy, audio, pcmcia.
- Boots from network or md.

Approved by: Eduardo Horvath <eeh@netbsd.org>
 1.2.10.1 29-Apr-2005  kent sync with -current
 1.2.2.2 11-Dec-2005  christos Sync with head.
 1.2.2.1 17-Jan-2005  skrll Sync with HEAD.
 1.3.14.1 29-Nov-2005  yamt sync with head.
 1.3.8.1 21-Jun-2006  yamt sync with head.
 1.4.100.1 05-Mar-2011  rmind sync with head
 1.4.98.1 06-Nov-2010  uebayasi Sync with HEAD.
 1.5 10-Aug-2014  joerg Put GCC/GAS specific options under ACTIVE_CC == "gcc".
 1.4 08-Aug-2014  joerg Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
 1.3 28-May-2011  matt branches: 1.3.14; 1.3.28;
Get rid of LD_TAIL now that there is a common version in Makefile.evbppc.inc
 1.2 18-Jan-2011  matt branches: 1.2.4;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file Makefile.mpc85xx.inc was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.4.3 31-May-2011  rmind sync with head
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file Makefile.mpc85xx.inc was added on branch rmind-uvmplock on 2011-03-05 20:50:15 +0000
 1.3.28.1 10-Aug-2014  tls Rebase.
 1.3.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4 23-Mar-2010  kiyohara Remove unused Makefile.obs200.inc since 'support OpenBlockS600'.
 1.3 24-Nov-2005  dbj branches: 1.3.78; 1.3.92; 1.3.98; 1.3.100;
. 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.2 29-Mar-2005  jmc branches: 1.2.2; 1.2.4; 1.2.6; 1.2.12;
Add missing $HOST_SH to execution of walnut-mkimg.sh
 1.1 18-Mar-2005  shige branches: 1.1.2;
Add sources for OpenBlockS200 (OpenBlockS S/R) machine.
 1.1.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.2.1 18-Mar-2005  yamt file Makefile.obs200.inc was added on branch yamt-km on 2005-03-19 08:32:57 +0000
 1.2.12.1 29-Nov-2005  yamt sync with head.
 1.2.6.1 21-Jun-2006  yamt sync with head.
 1.2.4.2 29-Apr-2005  kent sync with -current
 1.2.4.1 29-Mar-2005  kent file Makefile.obs200.inc was added on branch kent-audio2 on 2005-04-29 11:28:08 +0000
 1.2.2.3 11-Dec-2005  christos Sync with head.
 1.2.2.2 01-Apr-2005  skrll Sync with HEAD.
 1.2.2.1 29-Mar-2005  skrll file Makefile.obs200.inc was added on branch ktrace-lwp on 2005-04-01 14:27:26 +0000
 1.3.100.1 30-May-2010  rmind sync with head
 1.3.98.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.3.92.1 24-Oct-2010  jym Sync with HEAD
 1.3.78.1 11-Aug-2010  yamt sync with head.
 1.14 11-Feb-2024  christos PR/57924: Jan-Benedict Glaw: Use $MKREPRO_TIMESTAMP for mkubootimage
 1.13 28-Jul-2016  maya Fix typo in Makefile which resulted in kernel image not being generated

From Rin Okuyama in PR/51369
 1.12 05-Aug-2014  apb branches: 1.12.2; 1.12.4; 1.12.6; 1.12.8;
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.11 03-Mar-2014  joerg branches: 1.11.2;
Spell it TOOL_STAT.
 1.10 03-Mar-2014  joerg Use nbstat when cross-compiling, unbreaks build on Linux.
 1.9 27-Jan-2014  apb Pass the -n flag to gzip invocations.

This prevents it from embedding a timestamp in the output. We pass
"-n" unconditionally, not conditional on MKREPRO, because many other
invocations of gzip already passed the -n flag unconditionally.
 1.8 27-Jan-2014  apb Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
 1.7 20-Mar-2013  kiyohara branches: 1.7.6;
Use mkubootimage, if obs600.
 1.6 30-Oct-2010  uebayasi branches: 1.6.8; 1.6.14; 1.6.18;
Handle kernel file names other than "netbsd".
 1.5 18-Mar-2010  kiyohara Support Plathome's OpenBlockS600.
 1.4 18-May-2009  mrg branches: 1.4.2; 1.4.4;
apply the change from PR 40289 - use ppc405 on openblocks ppc405 kernel.
 1.3 24-Nov-2005  dbj branches: 1.3.78;
. 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.2 17-Mar-2005  jmc branches: 1.2.2; 1.2.8;
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.1 23-Sep-2003  shige branches: 1.1.2; 1.1.4; 1.1.8; 1.1.10; 1.1.12; 1.1.16;
Add new evbppc port.
This port is for OpenBlockS266.
OpenBlockS266: IBM405GPr OpenBIOS.
X1226 is a rtc chip connected with IIC bus.
 1.1.16.1 22-Mar-2005  tron Pull up revision 1.2 (requested by jmc in ticket #49):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.1.12.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.10.1 29-Apr-2005  kent sync with -current
 1.1.8.1 22-Mar-2005  tron Pull up revision 1.2 (requested by jmc in ticket #1350):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.1.4.6 11-Dec-2005  christos Sync with head.
 1.1.4.5 01-Apr-2005  skrll Sync with HEAD.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 23-Sep-2003  skrll file Makefile.obs405.inc was added on branch ktrace-lwp on 2004-08-03 10:34:16 +0000
 1.1.2.1 22-Mar-2005  tron Pull up revision 1.2 (requested by jmc in ticket #1350):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2.8.1 29-Nov-2005  yamt sync with head.
 1.2.2.1 21-Jun-2006  yamt sync with head.
 1.3.78.2 11-Aug-2010  yamt sync with head.
 1.3.78.1 20-Jun-2009  yamt sync with head
 1.4.4.2 05-Mar-2011  rmind sync with head
 1.4.4.1 30-May-2010  rmind sync with head
 1.4.2.2 06-Nov-2010  uebayasi Sync with HEAD.
 1.4.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.6.18.3 03-Dec-2017  jdolecek update from HEAD
 1.6.18.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.18.1 23-Jun-2013  tls resync from head
 1.6.14.2 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1396):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.6.14.1 11-Apr-2014  msaitoh Pull up following revision(s) (requested by joerg in ticket #1035):
distrib/evbppc/md-kernel/Makefile 1.4
sys/arch/evbppc/compile/walnut-mkimg.sh 1.5
sys/arch/evbppc/conf/Makefile.ev64260.inc 1.6-1.7
sys/arch/evbppc/conf/Makefile.obs405.inc 1.10-1.11
sys/arch/evbppc/conf/Makefile.walnut.inc 1.7-1.8

Use TOOL_* for cross compiling. Fixes buiild break on linux.
 1.6.8.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.6.1 18-May-2014  rmind sync with head
 1.11.2.1 10-Aug-2014  tls Rebase.
 1.12.8.1 06-Aug-2016  pgoyette Sync with HEAD
 1.12.6.1 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1211):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.12.4.1 05-Oct-2016  skrll Sync with HEAD
 1.12.2.1 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1211):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.2 17-Oct-2007  garbled branches: 1.2.2; 1.2.4; 1.2.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.1 08-May-2007  garbled branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file Makefile.pmppc.inc was initially added on branch ppcoea-renovation.
 1.1.10.1 25-Oct-2007  bouyer Sync with HEAD.
 1.1.8.1 18-Oct-2007  yamt sync with head.
 1.1.6.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.2.1 08-May-2007  garbled Move pmppc over to evbppc. (previous location sys/arch/pmppc)
 1.2.8.2 06-Nov-2007  matt sync with HEAD
 1.2.8.1 17-Oct-2007  matt file Makefile.pmppc.inc was added on branch matt-armv6 on 2007-11-06 23:16:11 +0000
 1.2.4.2 27-Oct-2007  yamt sync with head.
 1.2.4.1 17-Oct-2007  yamt file Makefile.pmppc.inc was added on branch yamt-lazymbuf on 2007-10-27 11:25:50 +0000
 1.2.2.2 23-Oct-2007  ad Sync with head.
 1.2.2.1 17-Oct-2007  ad file Makefile.pmppc.inc was added on branch vmlocking on 2007-10-23 20:35:40 +0000
 1.2 29-Mar-2021  rin Fix copy-paste; These boards are 405, not 403.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.154; 1.1.156;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.156.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1.154.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file Makefile.virtex.inc was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file Makefile.virtex.inc was added on branch yamt-lazymbuf on 2006-12-30 20:45:52 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file Makefile.virtex.inc was added on branch yamt-splraiseipl on 2006-12-10 07:15:53 +0000
 1.11 30-Mar-2021  rin Convert walnut to use powerpc/ibm4xx/openbios.
No functional changes.
 1.10 29-Mar-2021  rin Fix copy-paste; These boards are 405, not 403.
 1.9 28-Jul-2016  maya branches: 1.9.28; 1.9.30;
Fix typo in Makefile which resulted in kernel image not being generated

From Rin Okuyama in PR/51369
 1.8 03-Mar-2014  joerg branches: 1.8.4; 1.8.6; 1.8.8; 1.8.10;
Spell it TOOL_STAT.
 1.7 03-Mar-2014  joerg Use nbstat when cross-compiling, unbreaks build on Linux.
 1.6 01-Feb-2012  matt branches: 1.6.2; 1.6.6; 1.6.10;
Make sure the walnut system_tail_extra is very last thing.
 1.5 30-Oct-2010  uebayasi branches: 1.5.8; 1.5.12;
Handle kernel file names other than "netbsd".
 1.4 24-Nov-2005  dbj branches: 1.4.98; 1.4.100;
. 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.3 17-Mar-2005  jmc branches: 1.3.2; 1.3.8;
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2 04-Jan-2003  thorpej branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.12; 1.2.16;
Don't fail the kernel build if dbsym fails.
 1.1 09-Dec-2002  scw branches: 1.1.2;
New umbrella-port for PowerPC-based evaluation boards.

The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
 1.1.2.3 07-Jan-2003  thorpej Sync with HEAD.
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file Makefile.walnut.inc was added on branch nathanw_sa on 2002-12-11 06:28:58 +0000
 1.2.16.1 22-Mar-2005  tron Pull up revision 1.3 (requested by jmc in ticket #49):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2.12.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.2.10.1 29-Apr-2005  kent sync with -current
 1.2.8.1 22-Mar-2005  tron Pull up revision 1.3 (requested by jmc in ticket #1350):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2.4.1 22-Mar-2005  tron Pull up revision 1.3 (requested by jmc in ticket #1350):
Can't depend on shell scripts being executable from CVS. Preface mkimg.sh with
${HOST_SH}
 1.2.2.2 11-Dec-2005  christos Sync with head.
 1.2.2.1 01-Apr-2005  skrll Sync with HEAD.
 1.3.8.1 29-Nov-2005  yamt sync with head.
 1.3.2.1 21-Jun-2006  yamt sync with head.
 1.4.100.1 05-Mar-2011  rmind sync with head
 1.4.98.1 06-Nov-2010  uebayasi Sync with HEAD.
 1.5.12.1 18-Feb-2012  mrg merge to -current.
 1.5.8.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5.8.1 17-Apr-2012  yamt sync with head
 1.6.10.1 18-May-2014  rmind sync with head
 1.6.6.2 03-Dec-2017  jdolecek update from HEAD
 1.6.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.2.2 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1396):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.6.2.1 11-Apr-2014  msaitoh Pull up following revision(s) (requested by joerg in ticket #1035):
distrib/evbppc/md-kernel/Makefile 1.4
sys/arch/evbppc/compile/walnut-mkimg.sh 1.5
sys/arch/evbppc/conf/Makefile.ev64260.inc 1.6-1.7
sys/arch/evbppc/conf/Makefile.obs405.inc 1.10-1.11
sys/arch/evbppc/conf/Makefile.walnut.inc 1.7-1.8

Use TOOL_* for cross compiling. Fixes buiild break on linux.
 1.8.10.1 06-Aug-2016  pgoyette Sync with HEAD
 1.8.8.1 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1211):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.8.6.1 05-Oct-2016  skrll Sync with HEAD
 1.8.4.1 27-Aug-2016  bouyer Pull up following revision(s) (requested by maya in ticket #1211):
sys/arch/evbppc/conf/Makefile.walnut.inc: revision 1.9
sys/arch/evbppc/conf/Makefile.obs405.inc: revision 1.13
sys/arch/evbppc/conf/Makefile.ev64260.inc: revision 1.8
Fix typo in Makefile which resulted in kernel image not being generated
From Rin Okuyama in PR/51369
 1.9.30.1 03-Apr-2021  thorpej Sync with HEAD.
 1.9.28.1 03-Apr-2021  thorpej Sync with HEAD.
 1.2 26-Jan-2024  jmcneill branches: 1.2.2;
wii: Remove objcopy after kernel build.

HBC will do the right thing.
 1.1 20-Jan-2024  jmcneill evbppc: Add initial support for the Nintendo Wii
 1.2.2.2 03-Feb-2024  martin Pull up following revision(s) (requested by jmcneill in ticket #561):

etc/etc.evbppc/Makefile.inc: revision 1.15
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.2
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.3
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.2
distrib/utils/embedded/files/evbppc_wii_icon.png: revision 1.1
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.4
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.4
sys/arch/evbppc/wii/dev/viio.h: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.5
sys/arch/evbppc/wii/dev/mainbus.h: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.2
distrib/utils/embedded/conf/wii.conf: revision 1.3
sys/dev/sdmmc/sdhcvar.h: revision 1.34
sys/dev/sdmmc/sdhc.c: revision 1.118
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.1
distrib/utils/embedded/conf/evbppc.conf: revision 1.1
sys/dev/wsfb/genfb.c: revision 1.91
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.2
sys/dev/wscons/wsconsio.h: revision 1.127
sys/arch/powerpc/oea/oea_machdep.c: revision 1.85
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.1
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.2
sys/arch/evbppc/conf/std.wii: revision 1.3
sys/arch/powerpc/oea/cpu_subr.c: revision 1.109
sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.1
sys/dev/usb/usb.h: revision 1.124
sys/arch/evbppc/wii/machdep.c: revision 1.1
sys/arch/evbppc/wii/dev/rtcsram.c: revision 1.1
sys/arch/powerpc/include/oea/hid.h: revision 1.14
sys/arch/evbppc/wii/mainbus.c: revision 1.1
sys/arch/evbppc/wii/machdep.c: revision 1.2
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.1
sys/arch/evbppc/wii/mainbus.c: revision 1.2
sys/arch/evbppc/wii/machdep.c: revision 1.3
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.2
sys/arch/evbppc/wii/mainbus.c: revision 1.3
sys/arch/evbppc/wii/machdep.c: revision 1.4
sys/arch/evbppc/wii/dev/hwgpio.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.2
sys/arch/evbppc/wii/wii_locore.S: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.1
sys/arch/evbppc/wii/wii_locore.S: revision 1.2
sys/arch/evbppc/include/wii.h: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.2
sys/arch/evbppc/wii/dev/exi.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.2
sys/arch/evbppc/conf/files.wii: revision 1.3
sys/arch/powerpc/powerpc/clock.c: revision 1.18
sys/arch/evbppc/include/wii.h: revision 1.3
sys/arch/evbppc/conf/files.wii: revision 1.4
sys/arch/evbppc/include/wii.h: revision 1.4
sys/arch/evbppc/wii/dev/exi.h: revision 1.1
sys/arch/evbppc/wii/dev/avenc.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.5
sys/arch/evbppc/include/wii.h: revision 1.6
sys/arch/evbppc/include/wii.h: revision 1.7
sys/arch/evbppc/wii/dev/avenc.h: revision 1.1
distrib/utils/embedded/mkimage: revision 1.79
sys/arch/evbppc/conf/WII: revision 1.1
sys/arch/evbppc/conf/INSTALL_WII: revision 1.1
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.1
sys/arch/evbppc/wii/dev/vireg.h: revision 1.1
sys/arch/evbppc/conf/WII: revision 1.2
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.2
sys/arch/evbppc/wii/dev/vireg.h: revision 1.2
sys/arch/evbppc/conf/WII: revision 1.3
sys/arch/evbppc/conf/WII: revision 1.4
usr.sbin/sysinst/arch/evbppc/md.c: revision 1.11
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.1
sys/dev/usb/ehcivar.h: revision 1.52
sys/arch/evbppc/wii/pic_pi.c: revision 1.1
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.2
etc/etc.evbppc/ttys: revision 1.8
sys/arch/evbppc/wii/dev/bwai.c: revision 1.1
sys/arch/evbppc/wii/dev/bwai.c: revision 1.2
sys/arch/evbppc/wii/dev/bwai.c: revision 1.3
sys/arch/evbppc/wii/autoconf.c: revision 1.1
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.1
sys/arch/evbppc/wii/dev/bwai.h: revision 1.1
sys/arch/evbppc/wii/autoconf.c: revision 1.2
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.2

powerpc: oea: Fix prefetchable mappings
Prefetchable mappings need PMAP_NOCACHE to get write-combine semantics.
powerpc: oea: Decode IBM750CL L2 cache information.
sdmmc: add support for optional delay after register write
wscons: Add HOLLYWOOD display and YUY2 pixel format types
wsfb: add support for optional "devcmap" property
A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.
ehci: add EHCIF_32BIT_ACCESS flag to force 32-bit MMIO
fix comments: HID0 ICFI/DCFI are "flash invalidate", not "flush invalidate"
powerpc: fix delay for large (> ~5sec) values
When calculating the target timebase, promote '1000' on the RHS to ULL
to force 64-bit calculation, otherwise 'n * 1000' will overflow.
usb: increase USB_PORT_RESET_RECOVERY from 10ms to 20ms
I changed this from 250ms to 10ms back in 2021 based on a similar FreeBSD
change, but it seems to be a bit too aggressive for some platforms.
evbppc: Add initial support for the Nintendo Wii
wii: support RB_POWERDOWN
build fix: use dd with count=1 for compat with NetBSD dd(1)
wii: Add NTSC 480p support.
In addition to this, add VIIO_{GET,SET}REGS ioctl support to allow for
poking at video interface registers from userland. This is helpful for
debugging display issues.
wii: Add 128x48 icon to SD card image
wii: Fix a comment
wii: Add drivers for Broadway DSP and Audio interface.
0: [*] audio0 @ bwdsp0: Broadway DSP
playback: 16, 2ch, 48000Hz
record: unavailable
(P-) slinear_be 16/16, 2ch, { 48000 }
wii: Add screenblank support.
wii: Use screen dimming register for screen blanking.
wii: Add GPIO, I2C, and basic A/V encoder driver.
wii: Use A/V encoder volume controls instead of using a software filter.
wii: Simply DSP driver - no interrupt handler required.
wii: provide device names to intr_establish
wii$ intrctl list
interrupt id CPU0 device name(s)
pi irq 14 64769* hollywood0
hollywood irq 36 5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40 4* sdhc1
hollywood irq 49 0* resetbtn0
pi irq 5 0* bwai0
wii: Add support for passing boot options to the kernel.
wii: Add External interface bus and RTC support
wii: Remove objcopy after kernel build.
HBC will do the right thing.
Add wsvt25 entries (off by default) for ttyE0-ttyE3.
Add support for "PAL" (576i) mode on Wii.
 1.2.2.1 26-Jan-2024  martin file Makefile.wii.inc was added on branch netbsd-10 on 2024-02-03 11:47:07 +0000
 1.50 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.49 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.48 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.47 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.46 05-Feb-2018  maxv branches: 1.46.2; 1.46.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.45 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.44 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.43 23-Aug-2014  dholland branches: 1.43.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.42 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.41 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.40 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.39 05-Jun-2013  christos branches: 1.39.2;
remove obsolete networking options
 1.38 27-Apr-2013  christos the bogus number police
 1.37 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.36 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.35 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.34 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.33 17-Aug-2012  abs branches: 1.33.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.32 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.31 22-Nov-2011  tls branches: 1.31.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.30 30-Jun-2011  wiz branches: 1.30.2;
dependant -> dependent
 1.29 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.28 23-Nov-2010  hannken branches: 1.28.2; 1.28.4;
Remove unused count from pseudo-device md.
 1.27 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.26 08-Feb-2010  joerg branches: 1.26.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.25 24-Dec-2009  kiyohara branches: 1.25.2;
Fix interrupt number.
The data sheet describes that the interrupt of ECC is 17.
 1.24 24-Dec-2009  kiyohara Add COMPAT_50.
 1.23 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.22 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.21 24-Nov-2008  ad branches: 1.21.4;
Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.19 31-Jul-2008  simonb branches: 1.19.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.18 27-Sep-2006  manu branches: 1.18.52; 1.18.56; 1.18.58; 1.18.62;
- 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.17 01-Sep-2006  matt branches: 1.17.2; 1.17.4;
Increase SYMTAB_SPACE to 410000
 1.16 26-Aug-2006  christos PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.15 13-Jul-2006  simonb Add ksyms pseudo device.
 1.14 29-Mar-2006  shige branches: 1.14.4;
Added rtk PCI device, tqphy and rlphy MII devices.
 1.13 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.12 14-Mar-2006  shige branches: 1.12.2;
Using GPIO bus.
 1.11 05-Feb-2006  cube branches: 1.11.2; 1.11.4;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.10 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.9 07-Dec-2005  tsutsui branches: 1.9.2; 1.9.4; 1.9.6;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.8 16-Oct-2005  he Complete the renaming gpio -> ppcgpio for evbppc, to make room for
the MI gpio. Internal static functions in gpio_opb.c are not
renamed here, but the softc type is renamed together with the attach
declaration data.
 1.7 09-Sep-2005  drochner remove "dev" locators from cardbus device definitions, it doesn't
make sense technically and might be removed
 1.6 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.5 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.4 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.3 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.2 31-May-2005  tron branches: 1.2.2;
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.1 18-Mar-2005  shige branches: 1.1.2; 1.1.4; 1.1.6;
Add sources for OpenBlockS200 (OpenBlockS S/R) machine.
 1.1.6.2 29-Apr-2005  kent sync with -current
 1.1.6.1 18-Mar-2005  kent file OPENBLOCKS200 was added on branch kent-audio2 on 2005-04-29 11:28:08 +0000
 1.1.4.4 11-Dec-2005  christos Sync with head.
 1.1.4.3 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.2 01-Apr-2005  skrll Sync with HEAD.
 1.1.4.1 18-Mar-2005  skrll file OPENBLOCKS200 was added on branch ktrace-lwp on 2005-04-01 14:27:26 +0000
 1.1.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.2.1 18-Mar-2005  yamt file OPENBLOCKS200 was added on branch yamt-km on 2005-03-19 08:32:57 +0000
 1.2.2.2 30-Dec-2006  yamt sync with head.
 1.2.2.1 21-Jun-2006  yamt sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.9.2.1 18-Feb-2006  yamt sync with head.
 1.11.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.11.2.3 03-Sep-2006  yamt sync with head.
 1.11.2.2 11-Aug-2006  yamt sync with head
 1.11.2.1 01-Apr-2006  yamt sync with head.
 1.12.2.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.14.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.17.4.1 22-Oct-2006  yamt sync with head
 1.17.2.1 18-Nov-2006  ad Sync with head.
 1.18.62.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.18.62.1 19-Oct-2008  haad Sync with HEAD.
 1.18.58.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.18.56.3 11-Aug-2010  yamt sync with head.
 1.18.56.2 11-Mar-2010  yamt sync with head
 1.18.56.1 04-May-2009  yamt sync with head.
 1.18.52.2 17-Jan-2009  mjf Sync with HEAD.
 1.18.52.1 28-Sep-2008  mjf Sync with HEAD.
 1.19.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.19.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.21.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.25.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.26.2.3 21-Apr-2011  rmind sync with head
 1.26.2.2 05-Mar-2011  rmind sync with head
 1.26.2.1 30-May-2010  rmind sync with head
 1.28.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.28.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.30.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.30.2.2 30-Oct-2012  yamt sync with head
 1.30.2.1 17-Apr-2012  yamt sync with head
 1.31.2.1 18-Feb-2012  mrg merge to -current.
 1.33.2.4 03-Dec-2017  jdolecek update from HEAD
 1.33.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.33.2.2 23-Jun-2013  tls resync from head
 1.33.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.39.2.1 28-Aug-2013  rmind sync with head
 1.43.2.1 28-Aug-2017  skrll Sync with HEAD
 1.46.4.1 10-Jun-2019  christos Sync with HEAD
 1.46.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.80 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.79 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.78 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.77 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.76 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.75 26-Apr-2019  sevan branches: 1.75.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.74 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.73 05-Feb-2018  maxv branches: 1.73.2; 1.73.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.72 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.71 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.70 07-Aug-2015  maxv Remove KMEMSTATS.
 1.69 23-Aug-2014  dholland branches: 1.69.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.68 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.67 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.66 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.65 05-Jun-2013  christos branches: 1.65.2;
catch the escapees of the IPSEC_NAT_T purge.
 1.64 27-Apr-2013  christos the bogus number police
 1.63 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.62 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.61 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.60 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.59 10-Mar-2012  joerg branches: 1.59.2;
P1003_1B_SEMAPHORE is no longer optional.
 1.58 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.57 22-Nov-2011  tls branches: 1.57.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.56 30-Jun-2011  wiz branches: 1.56.2;
dependant -> dependent
 1.55 22-Jun-2011  matt bump up SYMTAB_SPACE
 1.54 17-Jun-2011  matt Bump up SYMTAB_SPACE
 1.53 25-May-2011  dyoung branches: 1.53.2;
Increase SYMTAB_SPACE.
 1.52 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.51 04-Jan-2011  matt branches: 1.51.2; 1.51.4;
Add ukphy (makes MIIVERBOSE happier)
 1.50 23-Nov-2010  hannken Remove unused count from pseudo-device md.
 1.49 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.48 18-Mar-2010  kiyohara Support Plathome's OpenBlockS600.
 1.47 10-Mar-2010  kiyohara branches: 1.47.2;
Assorted spelling/capitalization fixes from Igor Sobrado in PR kern/22595.
 1.46 24-Dec-2009  kiyohara branches: 1.46.2;
Fix interrupt number.
The data sheet describes that the interrupt of ECC is 17.
 1.45 24-Dec-2009  kiyohara Add COMPAT_50.
 1.44 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.43 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.41 31-Jul-2008  simonb branches: 1.41.2; 1.41.12;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.40 07-Jul-2008  kiyohara Remove SEM{MNI,MNS,UME,MNU} and SHMMAXPGS.
Add TMPFS and agr.
Enable some pseudo devices.
 1.39 30-May-2008  tsutsui branches: 1.39.2; 1.39.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.38 31-Dec-2007  ad branches: 1.38.6; 1.38.8; 1.38.10; 1.38.12;
Remove systrace. Ok core@.
 1.37 02-Oct-2006  chs branches: 1.37.28; 1.37.34; 1.37.42;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.36 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.35 01-Sep-2006  matt branches: 1.35.2; 1.35.4;
Increase SYMTAB_SPACE to 410000
 1.34 26-Aug-2006  christos PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.33 13-Jul-2006  simonb Add ksyms pseudo device.
 1.32 02-Apr-2006  kiyohara branches: 1.32.4;
Reorder.
 1.31 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.30 13-Mar-2006  shige branches: 1.30.2;
Remove obsled devices (using old gpio framework).
 1.29 05-Feb-2006  cube branches: 1.29.2; 1.29.4;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.28 20-Dec-2005  thorpej branches: 1.28.2; 1.28.4; 1.28.6;
Remove the tablet line discipline.
 1.27 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.26 16-Oct-2005  he Complete the renaming gpio -> ppcgpio for evbppc, to make room for
the MI gpio. Internal static functions in gpio_opb.c are not
renamed here, but the softc type is renamed together with the attach
declaration data.
 1.25 24-Aug-2005  shige Enable dmphy, bridge.
 1.24 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.23 19-Aug-2005  christos 64 bit inode changes.
 1.22 01-Aug-2005  shige Remove all IDE controllers except for hptide.
 1.21 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.20 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.19 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.18 31-May-2005  tron branches: 1.18.2;
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.17 25-Feb-2005  simonb branches: 1.17.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.16 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.15 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.14 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.13 24-Jan-2005  shige branches: 1.13.2;
Add OpenBlockS266 GPIO LED Driver.
 1.12 24-Nov-2004  bouyer branches: 1.12.4;
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.11 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.10 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.9 15-Jul-2004  atatat branches: 1.9.2;
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.8 14-Dec-2003  thorpej branches: 1.8.2;
Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
 1.7 13-Dec-2003  thorpej Split out the Silicon Image SATALink support into its own driver,
"satalink".
 1.6 18-Oct-2003  lukem Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.5 08-Oct-2003  bouyer Add new per-chip pciide drivers.
 1.4 08-Oct-2003  bouyer Add atabus.
 1.3 06-Oct-2003  shige Use xrtc driver on generic I2C framework instead of original xrtc
driver at src/sys/arch/evbppc/obs405/dev/x1226.c.
Remove todclock service.
 1.2 25-Sep-2003  matt Add COMPAT_16
 1.1 23-Sep-2003  shige Add new evbppc port.
This port is for OpenBlockS266.
OpenBlockS266: IBM405GPr OpenBIOS.
X1226 is a rtc chip connected with IIC bus.
 1.8.2.1 15-Jul-2004  he branches: 1.8.2.1.2;
Pull up revision 1.9 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.8.2.1.2.2 15-Sep-2005  riz Pull up following revision(s) (requested by shige in ticket #5820):
distrib/evbppc/md-kernel/Makefile 1.3 via patch
etc/etc.evbppc/Makefile.inc 1.3 via patch
sys/arch/evbppc/conf/files.obs405 1.5-1.8 via patch
sys/arch/evbppc/conf/OPENBLOCKS266 1.22,1.25 via patch
sys/arch/evbppc/include/obs266.h 1.1 (new)
sys/arch/evbppc/include/obs405.h 1.1-1.5 (new)
sys/arch/evbppc/include/rbus_machdep.h 1.1 (new)
sys/arch/evbppc/obs405/consinit.c 1.2-1.4
sys/arch/evbppc/obs405/dev/x1226.c deleted
sys/arch/evbppc/obs405/dev/x1226reg.h deleted
sys/arch/evbppc/obs405/machdep.c deleted
sys/arch/evbppc/obs405/obs266_autoconf.c 1.1 (new)
sys/arch/evbppc/obs405/obs266_machdep.c 1.1 (new, plus patch)
sys/arch/evbppc/obs405/obs405_autoconf.c 1.1 (new, plus patch)
sys/arch/evbppc/obs405/obs405_machdep.c 1.1 (new)
sys/arch/evbppc/obs405/rbus_machdep.c 1.1 (new)
sys/arch/powerpc/conf/files.ibm4xx 1.6-1.7
sys/arch/powerpc/ibm4xx/board_prop.c 1.1 (new)
sys/arch/powerpc/ibm4xx/dev/com_opb.c 1.12
sys/arch/powerpc/ibm4xx/dev/comopbvar.h 1.1 (new)
sys/arch/powerpc/ibm4xx/ibm40x_machdep.c 1.3-1.4
sys/arch/powerpc/ibm4xx/ibm4xx_autoconf.c 1.1-1.2 (new)
sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c 1.1-1.3 (new)
sys/arch/powerpc/ibm4xx/ibm4xxgpx_autoconf.c 1.2-1.3
sys/arch/powerpc/ibm4xx/openbios/openbios.c 1.1 (new)
sys/arch/powerpc/include/ibm4xx/cpu.h 1.7-1.10
sys/arch/powerpc/include/ibm4xx/openbios.h 1.1 (new)

Update OpenBlockS266 support to more modern, stable sources.
 1.8.2.1.2.1 02-Apr-2005  he Pull up revision 1.12 (requested by bouyer in ticket #1019):
Add pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) series of
controllers.
 1.9.2.11 11-Dec-2005  christos Sync with head.
 1.9.2.10 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.9 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.9.2.8 15-Feb-2005  skrll Sync with HEAD.
 1.9.2.7 04-Feb-2005  skrll Sync with HEAD.
 1.9.2.6 29-Nov-2004  skrll Sync with HEAD.
 1.9.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.9.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.9.2.2 03-Aug-2004  skrll Sync with HEAD
 1.9.2.1 15-Jul-2004  skrll file OPENBLOCKS266 was added on branch ktrace-lwp on 2004-08-03 10:34:16 +0000
 1.12.4.1 29-Apr-2005  kent sync with -current
 1.13.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.13.2.1 12-Feb-2005  yamt sync with head.
 1.17.2.3 14-Sep-2005  tron Apply patch (requested by shige in ticket #770):
Build kernel for OpenBlockS266(IBM405GP CPU) products.
 1.17.2.2 18-Jul-2005  riz Pull up revision 1.19 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.17.2.1 01-Jun-2005  riz Pull up revision 1.18 (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.18.2.3 21-Jan-2008  yamt sync with head
 1.18.2.2 30-Dec-2006  yamt sync with head.
 1.18.2.1 21-Jun-2006  yamt sync with head.
 1.28.6.1 22-Apr-2006  simonb Sync with head.
 1.28.4.1 09-Sep-2006  rpaulo sync with head
 1.28.2.1 18-Feb-2006  yamt sync with head.
 1.29.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.29.2.4 03-Sep-2006  yamt sync with head.
 1.29.2.3 11-Aug-2006  yamt sync with head
 1.29.2.2 11-Apr-2006  yamt sync with head
 1.29.2.1 01-Apr-2006  yamt sync with head.
 1.30.2.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.30.2.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.32.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.35.4.1 22-Oct-2006  yamt sync with head
 1.35.2.1 18-Nov-2006  ad Sync with head.
 1.37.42.1 02-Jan-2008  bouyer Sync with HEAD
 1.37.34.1 18-Feb-2008  mjf Sync with HEAD.
 1.37.28.1 09-Jan-2008  matt sync with HEAD
 1.38.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.38.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.38.10.3 11-Aug-2010  yamt sync with head.
 1.38.10.2 11-Mar-2010  yamt sync with head
 1.38.10.1 04-May-2009  yamt sync with head.
 1.38.8.1 04-Jun-2008  yamt sync with head
 1.38.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.38.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.38.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.39.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.39.4.1 19-Oct-2008  haad Sync with HEAD.
 1.39.2.1 18-Jul-2008  simonb Sync with head.
 1.41.12.1 07-Jan-2011  matt Small fixes so these compile again.
 1.41.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.46.2.3 19-Aug-2010  uebayasi Initial addition of xmd(4), XIP memory disk.
 1.46.2.2 11-Aug-2010  uebayasi Build net-bootable kernel (emac0) for test.
 1.46.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.47.2.4 31-May-2011  rmind sync with head
 1.47.2.3 21-Apr-2011  rmind sync with head
 1.47.2.2 05-Mar-2011  rmind sync with head
 1.47.2.1 30-May-2010  rmind sync with head
 1.51.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.51.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.53.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.56.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.56.2.2 30-Oct-2012  yamt sync with head
 1.56.2.1 17-Apr-2012  yamt sync with head
 1.57.2.2 11-Mar-2012  mrg sync to latest -current
 1.57.2.1 18-Feb-2012  mrg merge to -current.
 1.59.2.4 03-Dec-2017  jdolecek update from HEAD
 1.59.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.59.2.2 23-Jun-2013  tls resync from head
 1.59.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.65.2.1 28-Aug-2013  rmind sync with head
 1.69.2.2 28-Aug-2017  skrll Sync with HEAD
 1.69.2.1 22-Sep-2015  skrll Sync with HEAD
 1.73.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.73.4.1 10-Jun-2019  christos Sync with HEAD
 1.73.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.75.4.1 25-Jan-2020  ad Sync with head.
 1.31 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.30 16-May-2020  maya branches: 1.30.6;
Remove uyap, USB YAP phone firmware loader.

And the associated ezload EZ-USB code, which is only used by uyap.
It could theoretically be used by other drivers, but none of them are
in tree.

I suspect that this device isn't in use, as phone technology has improved
a lot since 2001 when uyap(4) was added to the tree.

Proposed with no objections on netbsd-users on 13 April 2020
 1.29 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.28 19-Jan-2020  thorpej Remove Token Ring support.
 1.27 13-Apr-2019  isaki branches: 1.27.6;
Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.26 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.25 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.24 25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.23 24-May-2017  christos branches: 1.23.8; 1.23.10;
rename u3ginit driver to umodeswitch
 1.22 13-Dec-2016  christos wildcard speaker attachments, now that we can handle many of them.
 1.21 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.20 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.19 19-Mar-2016  gdt branches: 1.19.2;
Disable uscanner in all kernel configs

As discussed on current-users@, SANE uses ugen via libusb and not
uscanner, so users are not well served by having uscanner. Consensus
is that addressing how to adjust permissions for scanners should not
block restoring basic functionionality.

(Compile-tested only, but there are multiple reports of this being the
right approach.)
 1.18 15-Oct-2014  uebayasi branches: 1.18.2;
Fix builds.
 1.17 01-Sep-2012  jakllsch branches: 1.17.2;
Rename RT2500USB driver to ural(4) as it was originally in OpenBSD,
as ural(4) and ral(4) do not actually share any code.

Enable ural(4) in hpcarm WZERO3 kernel too, as it will now build.

Fixes PR#43520.
 1.16 23-Jul-2011  jakllsch branches: 1.16.2;
Enable or note aubtfwl(4) wherever ubt(4) is enabled or noted.
 1.15 04-Jan-2011  matt Add audio for uaudio
 1.14 22-May-2010  plunky add btmagic(4) where other Bluetooth drivers are listed
 1.13 10-Mar-2010  kiyohara branches: 1.13.2;
Assorted spelling/capitalization fixes from Igor Sobrado in PR kern/22595.
Remove multiple njata.
Add uthum, udl, stuirda, uchcom, uberry, u3g, ugensa, uvideo.
 1.12 07-Mar-2010  plunky add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels
 1.11 23-Dec-2009  pooka branches: 1.11.2;
unifdef -D UGEN_BULK_RA_WB

Default behaviour unchanged, the feature must still be explicitly
enabled for a ugen fd.
 1.10 03-Jan-2009  christos remove esl (KIYOHARA Takashi)
 1.9 02-Dec-2007  kiyohara branches: 1.9.14; 1.9.18; 1.9.26; 1.9.28;
Add bcsp(4).
 1.8 17-Oct-2007  garbled branches: 1.8.2;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.7 24-Aug-2007  kiyohara branches: 1.7.2;
Add some devices for Bluetooth, CardBus, PCMCIA, USB.
Remove white-spaces.
 1.6 14-Mar-2007  drochner branches: 1.6.6; 1.6.10; 1.6.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.5 01-Oct-2006  itohy branches: 1.5.4; 1.5.8; 1.5.10;
Use ATA timing, instead of busmaster wait, for adding waits.
Use default wait value 0x01.
 1.4 07-Sep-2006  itohy branches: 1.4.2; 1.4.4;
Add njata* at cardbus?
 1.3 14-Aug-2006  skrll s/adpater/adapter/

Prompted by PR/34195
 1.2 11-Dec-2005  christos branches: 1.2.4; 1.2.8; 1.2.18;
merge ktrace-lwp.
 1.1 10-Sep-2005  kiyohara branches: 1.1.6;
Add configuration file for 'PCMCIA adapter BOX' supported kernel.
 1.1.6.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.6.1 10-Sep-2005  skrll file OPENBLOCKS266_OPT was added on branch ktrace-lwp on 2005-11-10 13:56:04 +0000
 1.2.18.5 07-Dec-2007  yamt sync with head
 1.2.18.4 03-Sep-2007  yamt sync with head.
 1.2.18.3 30-Dec-2006  yamt sync with head.
 1.2.18.2 21-Jun-2006  yamt sync with head.
 1.2.18.1 11-Dec-2005  yamt file OPENBLOCKS266_OPT was added on branch yamt-lazymbuf on 2006-06-21 14:51:03 +0000
 1.2.8.2 14-Sep-2006  yamt sync with head.
 1.2.8.1 03-Sep-2006  yamt sync with head.
 1.2.4.1 09-Sep-2006  rpaulo sync with head
 1.4.4.1 22-Oct-2006  yamt sync with head
 1.4.2.1 18-Nov-2006  ad Sync with head.
 1.5.10.1 11-Jul-2007  mjf Sync with head.
 1.5.8.3 03-Dec-2007  ad Sync with HEAD.
 1.5.8.2 09-Oct-2007  ad Sync with head.
 1.5.8.1 10-Apr-2007  ad Sync with head.
 1.5.4.1 24-Mar-2007  yamt sync with head.
 1.6.14.2 03-Dec-2007  joerg Sync with HEAD.
 1.6.14.1 03-Sep-2007  jmcneill Sync with HEAD.
 1.6.10.1 03-Sep-2007  skrll Sync with HEAD.
 1.6.6.1 03-Oct-2007  garbled Sync with HEAD
 1.7.2.2 09-Jan-2008  matt sync with HEAD
 1.7.2.1 06-Nov-2007  matt sync with HEAD
 1.8.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.9.28.1 21-Nov-2010  riz branches: 1.9.28.1.2;
Pull up following revision(s) (requested by plunky in ticket #1407):
sys/dev/bluetooth/btdev.h: revision 1.9
sys/arch/iyonix/conf/GENERIC: revision 1.60
sys/arch/sparc64/conf/GENERIC: revision 1.129
sys/dev/usb/hid.c: revision 1.30
sys/dev/usb/hid.h: revision 1.13
sys/arch/i386/conf/GENERIC: revision 1.983
usr.sbin/btdevctl/print.c: revision 1.10
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.16
sys/arch/alpha/conf/GENERIC: revision 1.337
sys/dev/bluetooth/files.bluetooth: revision 1.14
sys/arch/evbarm/conf/GUMSTIX: revision 1.49
sys/dev/usb/usbdevs: revision 1.550
sys/arch/evbppc/conf/OPENBLOCKS266_OPT: revision 1.14
sys/arch/hpcsh/conf/GENERIC: revision 1.91
sys/dev/bluetooth/btmagic.c: revision 1.1
distrib/sets/lists/man/mi: revision 1.1210
sys/arch/amd64/conf/GENERIC: revision 1.279
sys/arch/i386/conf/ALL: revision 1.258
sys/arch/amd64/conf/XEN3_DOM0: revision 1.54
sys/arch/hpcarm/conf/JORNADA720: revision 1.78
sys/dev/usb/hid.c: revision 1.29
share/man/man4/btmagic.4: revision 1.1
hid_get_data() does not work if the size of data is less than
a byte and crosses a byte boundary, and it always returns a
sign-extended value.
fix this by using the algorithm from libusbhid to read bytes,
and provide a hid_get_udata() function to return unsigned data
values.
while here, const args
update DPRINTF to reflect actual function name
add Apple Magic Mouse product-id
regen for Magic Mouse id
allow for vendor-id and product-id properties, passing them
through to child devices
add Magic Mouse driver and manpage btmagic(4)
additionally query the "PnP Information" service record to discover
any USB Forum vendor-id and product-id values and store them in the
property list if found.
add btmagic(4) where other Bluetooth drivers are listed
 1.9.28.1.2.1 07-Jan-2011  matt Small fixes so these compile again.
 1.9.26.1 19-Jan-2009  skrll Sync with HEAD.
 1.9.18.3 11-Aug-2010  yamt sync with head.
 1.9.18.2 11-Mar-2010  yamt sync with head
 1.9.18.1 04-May-2009  yamt sync with head.
 1.9.14.1 17-Jan-2009  mjf Sync with HEAD.
 1.11.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.11.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.13.2.2 05-Mar-2011  rmind sync with head
 1.13.2.1 30-May-2010  rmind sync with head
 1.16.2.1 30-Oct-2012  yamt sync with head
 1.17.2.1 03-Dec-2017  jdolecek update from HEAD
 1.18.2.3 28-Aug-2017  skrll Sync with HEAD
 1.18.2.2 05-Feb-2017  skrll Sync with HEAD
 1.18.2.1 22-Apr-2016  skrll Sync with HEAD
 1.19.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.23.10.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.23.10.1 10-Jun-2019  christos Sync with HEAD
 1.23.8.2 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.23.8.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.27.6.2 29-Feb-2020  ad Sync with head.
 1.27.6.1 25-Jan-2020  ad Sync with head.
 1.30.6.1 01-Aug-2021  thorpej Sync with HEAD.
 1.1 11-Aug-2010  uebayasi branches: 1.1.2;
file OPENBLOCKS266_XIP was initially added on branch uebayasi-xip.
 1.1.2.2 30-Oct-2010  uebayasi Add xmd(4).
 1.1.2.1 11-Aug-2010  uebayasi XIP test kernel.
 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 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.29 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.28 19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.27 26-Apr-2019  sevan branches: 1.27.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.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 05-Feb-2018  maxv branches: 1.25.2; 1.25.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.24 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.23 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.22 19-Feb-2017  rin 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 15-Oct-2014  uebayasi branches: 1.20.2;
Fix builds.
 1.19 23-Aug-2014  dholland 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 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.16 21-Nov-2013  kiyohara Add dwctwo and umass.
And cleanup.
However dwctwo@plb is buggy...
 1.15 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.14 05-Jun-2013  christos branches: 1.14.2;
remove obsolete networking options
 1.13 27-Apr-2013  christos the bogus number police
 1.12 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.11 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.10 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.9 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.8 10-Mar-2012  joerg branches: 1.8.2;
P1003_1B_SEMAPHORE is no longer optional.
 1.7 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.6 22-Nov-2011  tls branches: 1.6.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.5 30-Jun-2011  wiz branches: 1.5.2;
dependant -> dependent
 1.4 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.3 23-Nov-2010  hannken branches: 1.3.2; 1.3.4;
Remove unused count from pseudo-device md.
 1.2 16-Apr-2010  pooka branches: 1.2.2; 1.2.4; 1.2.6;
Remove unused count (invariably "4") from pseudo-device fss.
 1.1 18-Mar-2010  kiyohara Support Plathome's OpenBlockS600.
 1.2.6.2 11-Aug-2010  yamt sync with head.
 1.2.6.1 16-Apr-2010  yamt file OPENBLOCKS600 was added on branch yamt-nfs-mp on 2010-08-11 22:51:53 +0000
 1.2.4.4 21-Apr-2011  rmind sync with head
 1.2.4.3 05-Mar-2011  rmind sync with head
 1.2.4.2 30-May-2010  rmind sync with head
 1.2.4.1 16-Apr-2010  rmind file OPENBLOCKS600 was added on branch rmind-uvmplock on 2010-05-30 05:16:43 +0000
 1.2.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.2.2.1 16-Apr-2010  uebayasi file OPENBLOCKS600 was added on branch uebayasi-xip on 2010-04-30 14:39:17 +0000
 1.3.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.3.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.5.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.5.2.2 30-Oct-2012  yamt sync with head
 1.5.2.1 17-Apr-2012  yamt sync with head
 1.6.2.2 11-Mar-2012  mrg sync to latest -current
 1.6.2.1 18-Feb-2012  mrg merge to -current.
 1.8.2.4 03-Dec-2017  jdolecek update from HEAD
 1.8.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.2.2 23-Jun-2013  tls resync from head
 1.8.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.14.2.2 18-May-2014  rmind sync with head
 1.14.2.1 28-Aug-2013  rmind sync with head
 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.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.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.27.4.1 25-Jan-2020  ad Sync with head.
 1.33 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.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 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 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.29 05-Feb-2018  maxv branches: 1.29.2; 1.29.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.28 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.27 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.26 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.25 24-Aug-2014  jnemeth branches: 1.25.2; 1.25.4; 1.25.6;
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
 1.24 23-Aug-2014  dholland 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 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.21 10-Aug-2014  joerg branches: 1.21.2;
LLVM builds have a slightly larger symbol table, so bump the space.
 1.20 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.19 05-Jun-2013  christos branches: 1.19.2;
remove obsolete networking options
 1.18 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.17 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.16 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.15 17-Aug-2012  abs branches: 1.15.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.14 24-Jul-2012  matt Add drvctl
 1.13 23-Jul-2012  matt Add DKWEDGE_AUTODISCOVERY and DKWEDGE_GPT support.
 1.12 22-Jul-2012  matt Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
 1.11 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 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 02-Aug-2011  matt branches: 1.9.2; 1.9.4;
Change device name of pq3cfi to cfi.
Add cfi to P2020DS
Add ddrc
 1.8 28-Jul-2011  matt Back out commit.
 1.7 28-Jul-2011  matt Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.6 16-Jul-2011  matt Add netbsd-sd0a
 1.5 30-Jun-2011  wiz dependant -> dependent
 1.4 10-Jun-2011  matt Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
 1.3 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.2 28-May-2011  matt branches: 1.2.2; 1.2.4; 1.2.6;
Comment out wm, ciphy, and makphy.
 1.1 28-May-2011  matt Initial config for a Freescale P2020 Development System.
 1.2.6.2 06-Jun-2011  jruoho Sync with HEAD.
 1.2.6.1 28-May-2011  jruoho file P2020DS was added on branch jruoho-x86intr on 2011-06-06 09:05:31 +0000
 1.2.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2.2.3 12-Jun-2011  rmind sync with head
 1.2.2.2 31-May-2011  rmind sync with head
 1.2.2.1 28-May-2011  rmind file P2020DS was added on branch rmind-uvmplock on 2011-05-31 03:04:00 +0000
 1.9.4.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.9.4.2 30-Oct-2012  yamt sync with head
 1.9.4.1 17-Apr-2012  yamt sync with head
 1.9.2.2 14-Oct-2011  matt Sync with current pulling P2020 and other newer processor support.
 1.9.2.1 02-Aug-2011  matt file P2020DS was added on branch matt-nb5-pq3 on 2011-10-14 17:21:27 +0000
 1.10.2.1 18-Feb-2012  mrg merge to -current.
 1.15.2.4 03-Dec-2017  jdolecek update from HEAD
 1.15.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.2.2 23-Jun-2013  tls resync from head
 1.15.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.2.1 28-Aug-2013  rmind sync with head
 1.21.2.1 15-May-2015  snj Pull up following revision(s) (requested by jnemeth in ticket #762):
share/man/man4/options.4: revision 1.442
sys/arch/amd64/conf/ALL: revision 1.18
sys/arch/amd64/conf/GENERIC: revision 1.396
sys/arch/dreamcast/conf/GENERIC: revision 1.119
sys/arch/epoc32/conf/GENERIC: revision 1.6
sys/arch/evbarm/conf/BCM5301X: revision 1.24
sys/arch/evbarm/conf/BCM56340: revision 1.9
sys/arch/evbarm/conf/IMX23_OLINUXINO: revision 1.9
sys/arch/evbarm/conf/std.beagle: revision 1.13
sys/arch/evbarm/conf/std.kobo: revision 1.2
sys/arch/evbarm/conf/std.netwalker: revision 1.10
sys/arch/evbppc/conf/P2020DS: revision 1.25
sys/arch/evbppc/conf/RB800: revision 1.30
sys/arch/evbppc/conf/TWRP1025: revision 1.18
sys/arch/hp300/conf/GENERIC: revision 1.187
sys/arch/hpcsh/conf/GENERIC: revision 1.104
sys/arch/i386/conf/GENERIC: revision 1.1111
sys/arch/i386/conf/MONOLITHIC: revision 1.17
sys/arch/landisk/conf/GENERIC: revision 1.43
sys/arch/luna68k/conf/GENERIC: revision 1.117
sys/arch/macppc/conf/GENERIC: revision 1.316
sys/arch/macppc/conf/GENERIC_601: revision 1.5
sys/arch/mmeye/conf/MMEYE_WLF: revision 1.16
sys/arch/news68k/conf/GENERIC: revision 1.123
sys/arch/sandpoint/conf/GENERIC: revision 1.85
sys/arch/shark/conf/GENERIC: revision 1.119
sys/arch/sparc/conf/GENERIC: revision 1.246
sys/arch/sparc64/conf/GENERIC: revision 1.174
sys/arch/sun3/conf/GENERIC3X: revision 1.125
sys/arch/sun3/conf/GENERIC: revision 1.169
sys/arch/x68k/conf/GENERIC: revision 1.177
sys/arch/zaurus/conf/GENERIC: revision 1.62
sys/conf/files: revision 1.1099
sys/kern/kern_module.c: revisions 1.98, 1.99
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
--
fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/)
 1.25.6.1 21-Apr-2017  bouyer Sync with HEAD
 1.25.4.1 20-Mar-2017  pgoyette Sync with HEAD
 1.25.2.1 28-Aug-2017  skrll Sync with HEAD
 1.29.4.1 10-Jun-2019  christos Sync with HEAD
 1.29.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.1 29-Jun-2011  matt Add some config files for the P2020.
 1.33 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.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 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 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.29 05-Feb-2018  maxv branches: 1.29.2; 1.29.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.28 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.27 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.26 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.25 23-Aug-2014  dholland branches: 1.25.2; 1.25.4; 1.25.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.24 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.23 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.22 23-Aug-2013  matt add PUFFS/putter
add vnd
add atapibus
disable options DEBUG
 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 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 25-Jul-2012  matt Move dsrtc to correct bus.
Add drvctl
Add sdhc at pci
Remove pq3pci (P2020 only has PCIe).
 1.14 23-Jul-2012  matt Add DKWEDGE_AUTODISCOVERY and DKWEDGE_GPT support.
 1.13 22-Jul-2012  matt Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
 1.12 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.11 22-Nov-2011  tls branches: 1.11.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.10 02-Aug-2011  matt branches: 1.10.2;
Change device name of pq3cfi to cfi.
Add cfi to P2020DS
Add ddrc
 1.9 28-Jul-2011  matt Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
 1.8 20-Jul-2011  matt Flash is only 16MB in size.
 1.7 19-Jul-2011  matt Add nor support
Add netbsd-sd0a
 1.6 30-Jun-2011  wiz dependant -> dependent
 1.5 29-Jun-2011  matt Wildcard cpu* since the P2020 is dual core.
 1.4 10-Jun-2011  matt Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
 1.3 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.2 27-May-2011  matt branches: 1.2.2; 1.2.4;
Comment out sdhc for now.
Remove PCI devices that will never be there.
 1.1 16-Mar-2011  matt branches: 1.1.2;
First pass at a P2020RDB configuration.
 1.1.2.4 12-Jun-2011  rmind sync with head
 1.1.2.3 31-May-2011  rmind sync with head
 1.1.2.2 21-Apr-2011  rmind sync with head
 1.1.2.1 16-Mar-2011  rmind file P2020RDB was added on branch rmind-uvmplock on 2011-04-21 01:41:00 +0000
 1.2.4.2 06-Jun-2011  jruoho Sync with HEAD.
 1.2.4.1 27-May-2011  jruoho file P2020RDB was added on branch jruoho-x86intr on 2011-06-06 09:05:31 +0000
 1.2.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.10.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.10.2.2 30-Oct-2012  yamt sync with head
 1.10.2.1 17-Apr-2012  yamt sync with head
 1.11.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.20.2.1 28-Aug-2013  rmind sync with head
 1.25.6.1 21-Apr-2017  bouyer Sync with HEAD
 1.25.4.1 20-Mar-2017  pgoyette Sync with HEAD
 1.25.2.1 28-Aug-2017  skrll Sync with HEAD
 1.29.4.1 10-Jun-2019  christos Sync with HEAD
 1.29.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.1 29-Jun-2011  matt Add some config files for the P2020.
 1.58 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.57 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.56 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.55 16-May-2020  maya branches: 1.55.6;
Remove uyap, USB YAP phone firmware loader.

And the associated ezload EZ-USB code, which is only used by uyap.
It could theoretically be used by other drivers, but none of them are
in tree.

I suspect that this device isn't in use, as phone technology has improved
a lot since 2001 when uyap(4) was added to the tree.

Proposed with no objections on netbsd-users on 13 April 2020
 1.54 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.53 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.52 20-Jan-2020  thorpej Remove FDDI support.
 1.51 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.50 26-Apr-2019  sevan branches: 1.50.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.49 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.48 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.47 12-Dec-2018  maxv Remove references to "lmc" in the kernel configurations.
 1.46 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.45 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.44 25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.43 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.42 14-Sep-2017  mrg branches: 1.42.2; 1.42.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.41 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.40 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.39 13-Dec-2016  christos branches: 1.39.2;
wildcard speaker attachments, now that we can handle many of them.
 1.38 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.37 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.36 19-Mar-2016  gdt branches: 1.36.2;
Disable uscanner in all kernel configs

As discussed on current-users@, SANE uses ugen via libusb and not
uscanner, so users are not well served by having uscanner. Consensus
is that addressing how to adjust permissions for scanners should not
block restoring basic functionionality.

(Compile-tested only, but there are multiple reports of this being the
right approach.)
 1.35 15-Oct-2014  uebayasi branches: 1.35.2;
Fix builds.
 1.34 23-Aug-2014  dholland 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.33 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.32 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.31 10-Aug-2014  joerg LLVM builds have a slightly larger symbol table, so bump the space.
 1.30 30-Jun-2013  rmind 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 remove confusing numeric locators where they are unused.
 1.27 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.26 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.25 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.24 18-Dec-2011  dholland branches: 1.24.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.23 22-Nov-2011  tls branches: 1.23.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.22 30-Jun-2011  wiz branches: 1.22.2;
dependant -> dependent
 1.21 16-Mar-2011  matt Enable COMPAT_50
 1.20 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.19 02-Mar-2011  ahoka Resolve build failures caused by local use of "device flash" in config.
 1.18 18-Jan-2011  matt branches: 1.18.2;
Add TMPFS and ksyms. Add an INSTALL variant
 1.17 23-Nov-2010  hannken branches: 1.17.2;
Remove unused count from pseudo-device md.
 1.16 02-Nov-2010  uebayasi Don't build flash because it's not implemented.
 1.15 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.14 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.13 07-Mar-2010  plunky branches: 1.13.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.12 08-Feb-2010  joerg Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.11 24-Dec-2009  kiyohara branches: 1.11.2;
Add COMPAT_50.
 1.10 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.9 21-Aug-2009  tsutsui Bump SYMTAB_SPACE.
 1.8 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.7 24-Nov-2008  ad branches: 1.7.4;
Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.5 31-Jul-2008  simonb branches: 1.5.2; 1.5.12;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.4 30-May-2008  tsutsui branches: 1.4.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.3 02-Dec-2007  ad branches: 1.3.14; 1.3.16; 1.3.18; 1.3.20;
Bump SYMTAB_SPACE
 1.2 17-Oct-2007  garbled branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.1 08-May-2007  garbled branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file PMPPC was initially added on branch ppcoea-renovation.
 1.1.10.1 25-Oct-2007  bouyer Sync with HEAD.
 1.1.8.1 18-Oct-2007  yamt sync with head.
 1.1.6.2 03-Dec-2007  joerg Sync with HEAD.
 1.1.6.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.2.1 08-May-2007  garbled Move pmppc over to evbppc. (previous location sys/arch/pmppc)
 1.2.8.3 09-Jan-2008  matt sync with HEAD
 1.2.8.2 06-Nov-2007  matt sync with HEAD
 1.2.8.1 17-Oct-2007  matt file PMPPC was added on branch matt-armv6 on 2007-11-06 23:16:12 +0000
 1.2.6.1 08-Dec-2007  mjf Sync with HEAD.
 1.2.4.3 07-Dec-2007  yamt sync with head
 1.2.4.2 27-Oct-2007  yamt sync with head.
 1.2.4.1 17-Oct-2007  yamt file PMPPC was added on branch yamt-lazymbuf on 2007-10-27 11:25:51 +0000
 1.2.2.3 03-Dec-2007  ad Sync with HEAD.
 1.2.2.2 23-Oct-2007  ad Sync with head.
 1.2.2.1 17-Oct-2007  ad file PMPPC was added on branch vmlocking on 2007-10-23 20:35:41 +0000
 1.3.20.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.3.20.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.3.18.4 11-Aug-2010  yamt sync with head.
 1.3.18.3 11-Mar-2010  yamt sync with head
 1.3.18.2 16-Sep-2009  yamt sync with head
 1.3.18.1 04-May-2009  yamt sync with head.
 1.3.16.1 04-Jun-2008  yamt sync with head
 1.3.14.3 17-Jan-2009  mjf Sync with HEAD.
 1.3.14.2 28-Sep-2008  mjf Sync with HEAD.
 1.3.14.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.4.4.1 19-Oct-2008  haad Sync with HEAD.
 1.5.12.2 17-Jan-2011  matt Add TMPFS
 1.5.12.1 07-Jan-2011  matt Bump SYMTAB_SPACE
 1.5.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.5.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.7.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.11.2.3 06-Nov-2010  uebayasi Sync with HEAD.
 1.11.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.11.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.13.2.3 21-Apr-2011  rmind sync with head
 1.13.2.2 05-Mar-2011  rmind sync with head
 1.13.2.1 30-May-2010  rmind sync with head
 1.17.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.18.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.18.2.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.22.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.22.2.2 30-Oct-2012  yamt sync with head
 1.22.2.1 17-Apr-2012  yamt sync with head
 1.23.2.1 18-Feb-2012  mrg merge to -current.
 1.24.6.4 03-Dec-2017  jdolecek update from HEAD
 1.24.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.6.2 23-Jun-2013  tls resync from head
 1.24.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.29.2.1 28-Aug-2013  rmind sync with head
 1.35.2.3 28-Aug-2017  skrll Sync with HEAD
 1.35.2.2 05-Feb-2017  skrll Sync with HEAD
 1.35.2.1 22-Apr-2016  skrll Sync with HEAD
 1.36.2.2 20-Mar-2017  pgoyette Sync with HEAD
 1.36.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.39.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.42.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.42.4.1 10-Jun-2019  christos Sync with HEAD
 1.42.2.4 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.42.2.3 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.42.2.2 30-Sep-2018  pgoyette Ssync with HEAD
 1.42.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.50.4.2 29-Feb-2020  ad Sync with head.
 1.50.4.1 25-Jan-2020  ad Sync with head.
 1.55.6.1 01-Aug-2021  thorpej Sync with HEAD.
 1.41 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.40 07-Aug-2022  rin Enable UFS_DIRHASH; this machine has 256MB RAM :)
 1.39 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.38 10-Nov-2020  rin Add nvme(4) and ahcisata(4).

Both work fine via miniPCIe to M.2 adapter.
 1.37 26-Apr-2019  sevan branches: 1.37.10;
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.36 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.35 05-Feb-2018  maxv branches: 1.35.2; 1.35.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.34 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.33 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.32 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.31 06-Mar-2015  nonaka branches: 1.31.2; 1.31.4;
RouterBOARD RB800 don't use u-boot.
 1.30 24-Aug-2014  jnemeth branches: 1.30.2;
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
 1.29 23-Aug-2014  dholland 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.28 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.27 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.26 30-Jun-2013  rmind branches: 1.26.6;
G/C PFIL_HOOKS from the kernel configs.
 1.25 05-Jun-2013  christos branches: 1.25.2;
remove obsolete networking options
 1.24 27-Apr-2013  christos more bogus number removal
 1.23 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.22 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.21 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.20 17-Aug-2012  abs branches: 1.20.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.19 24-Jul-2012  matt Add drvctl
 1.18 23-Jul-2012  matt Add DKWEDGE_AUTODISCOVERY and DKWEDGE_GPT support.
 1.17 22-Jul-2012  matt Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
 1.16 19-Jan-2012  matt Add cfi/nor
 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 16-Jul-2011  matt branches: 1.13.2;
Remove dead devices (replaced by pq3cfi).
 1.12 30-Jun-2011  wiz dependant -> dependent
 1.11 24-Jun-2011  matt Default PAX_ASLR to off.
 1.10 24-Jun-2011  matt Turn on PAX_ASLR
 1.9 20-Jun-2011  matt Add options MODULAR
 1.8 11-Jun-2011  matt Add missing no options GUR_BASE
 1.7 10-Jun-2011  matt Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
 1.6 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.5 28-May-2011  matt branches: 1.5.2;
NEEDS_MDSETIMAGE -> NEED_MDSETIMAGE
 1.4 16-Mar-2011  matt Add alc device.
 1.3 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.2 18-Jan-2011  matt branches: 1.2.2; 1.2.4;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file RB800 was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.2 17-Jan-2011  matt Enable SPE for RB800.
Add SPE tidbits for mpc85xx.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.4.5 12-Jun-2011  rmind sync with head
 1.2.4.4 31-May-2011  rmind sync with head
 1.2.4.3 21-Apr-2011  rmind sync with head
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file RB800 was added on branch rmind-uvmplock on 2011-03-05 20:50:15 +0000
 1.2.2.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.5.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 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.20.2.4 03-Dec-2017  jdolecek update from HEAD
 1.20.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.2.2 23-Jun-2013  tls resync from head
 1.20.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.25.2.1 28-Aug-2013  rmind sync with head
 1.26.6.1 15-May-2015  snj Pull up following revision(s) (requested by jnemeth in ticket #762):
share/man/man4/options.4: revision 1.442
sys/arch/amd64/conf/ALL: revision 1.18
sys/arch/amd64/conf/GENERIC: revision 1.396
sys/arch/dreamcast/conf/GENERIC: revision 1.119
sys/arch/epoc32/conf/GENERIC: revision 1.6
sys/arch/evbarm/conf/BCM5301X: revision 1.24
sys/arch/evbarm/conf/BCM56340: revision 1.9
sys/arch/evbarm/conf/IMX23_OLINUXINO: revision 1.9
sys/arch/evbarm/conf/std.beagle: revision 1.13
sys/arch/evbarm/conf/std.kobo: revision 1.2
sys/arch/evbarm/conf/std.netwalker: revision 1.10
sys/arch/evbppc/conf/P2020DS: revision 1.25
sys/arch/evbppc/conf/RB800: revision 1.30
sys/arch/evbppc/conf/TWRP1025: revision 1.18
sys/arch/hp300/conf/GENERIC: revision 1.187
sys/arch/hpcsh/conf/GENERIC: revision 1.104
sys/arch/i386/conf/GENERIC: revision 1.1111
sys/arch/i386/conf/MONOLITHIC: revision 1.17
sys/arch/landisk/conf/GENERIC: revision 1.43
sys/arch/luna68k/conf/GENERIC: revision 1.117
sys/arch/macppc/conf/GENERIC: revision 1.316
sys/arch/macppc/conf/GENERIC_601: revision 1.5
sys/arch/mmeye/conf/MMEYE_WLF: revision 1.16
sys/arch/news68k/conf/GENERIC: revision 1.123
sys/arch/sandpoint/conf/GENERIC: revision 1.85
sys/arch/shark/conf/GENERIC: revision 1.119
sys/arch/sparc/conf/GENERIC: revision 1.246
sys/arch/sparc64/conf/GENERIC: revision 1.174
sys/arch/sun3/conf/GENERIC3X: revision 1.125
sys/arch/sun3/conf/GENERIC: revision 1.169
sys/arch/x68k/conf/GENERIC: revision 1.177
sys/arch/zaurus/conf/GENERIC: revision 1.62
sys/conf/files: revision 1.1099
sys/kern/kern_module.c: revisions 1.98, 1.99
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
--
fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/)
 1.30.2.2 28-Aug-2017  skrll Sync with HEAD
 1.30.2.1 06-Apr-2015  skrll Sync with HEAD
 1.31.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.31.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.35.4.1 10-Jun-2019  christos Sync with HEAD
 1.35.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.37.10.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.8 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.7 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.6 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.5 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.4 14-Sep-2017  mrg branches: 1.4.2; 1.4.4; 1.4.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.3 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.2 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.1 30-Jan-2015  nonaka branches: 1.1.2; 1.1.4; 1.1.6;
Added RouterBOARD RB850Gx2 config. md root only.
 1.1.6.1 21-Apr-2017  bouyer Sync with HEAD
 1.1.4.1 20-Mar-2017  pgoyette Sync with HEAD
 1.1.2.3 28-Aug-2017  skrll Sync with HEAD
 1.1.2.2 06-Apr-2015  skrll Sync with HEAD
 1.1.2.1 30-Jan-2015  skrll file RB850GX2 was added on branch nick-nhusb on 2015-04-06 15:17:56 +0000
 1.4.6.1 10-Jun-2019  christos Sync with HEAD
 1.4.4.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.4.2.2 03-Dec-2017  jdolecek update from HEAD
 1.4.2.1 14-Sep-2017  jdolecek file RB850GX2 was added on branch tls-maxphys on 2017-12-03 11:36:11 +0000
 1.31 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.30 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.29 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.28 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.27 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.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 05-Feb-2018  maxv branches: 1.25.2; 1.25.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.24 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.23 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.22 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.21 26-Jun-2015  matt branches: 1.21.2; 1.21.4;
Add cinlude TWRP1025.local
 1.20 30-Jan-2015  nonaka Added lockstat
 1.19 26-Dec-2014  nonaka Uncommented out INET6.
 1.18 24-Aug-2014  jnemeth branches: 1.18.2;
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
 1.17 23-Aug-2014  dholland 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.16 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.15 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.14 06-Mar-2014  joerg branches: 1.14.4;
Add config variant for root-on-SD.
 1.13 06-Mar-2014  matt Add options MODULAR
 1.12 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.11 05-Jun-2013  christos branches: 1.11.2;
remove obsolete networking options
 1.10 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.9 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.8 17-Oct-2012  apb branches: 1.8.2;
Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.7 17-Aug-2012  abs branches: 1.7.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.6 24-Jul-2012  matt Add drvctl
 1.5 22-Jul-2012  matt Split mdio/mii access into its own "device" and update accordingly.
(on the P1025 the mdio functionality is separate from the etsec functions).
Provide locking for mii access.
 1.4 18-Jul-2012  matt This has a 64MB NOR, not 16MB.
 1.3 18-Jul-2012  matt Add gpt/dkwedge support.
Cleanup a few options <sp><tab> problems
 1.2 17-Jul-2012  matt The ETSEC on the P1025 has been moved/split so the MDIO stayed in the same
place but each ETSEC has been split into two virtual halves (G0 and G1) and
each one has a new different base address.
For some reason, tsec1 connects to phy 2 and tsec2 connects to phy 1.
Adjust config file to match
 1.1 15-Jul-2012  matt Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016
QorIQ processors. XXX tsec isn't working yet on the TWR-P1025.
 1.7.2.4 03-Dec-2017  jdolecek update from HEAD
 1.7.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.2.2 23-Jun-2013  tls resync from head
 1.7.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.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.8.2.2 30-Oct-2012  yamt sync with head
 1.8.2.1 17-Oct-2012  yamt file TWRP1025 was added on branch yamt-pagecache on 2012-10-30 17:19:30 +0000
 1.11.2.2 18-May-2014  rmind sync with head
 1.11.2.1 28-Aug-2013  rmind sync with head
 1.14.4.1 15-May-2015  snj Pull up following revision(s) (requested by jnemeth in ticket #762):
share/man/man4/options.4: revision 1.442
sys/arch/amd64/conf/ALL: revision 1.18
sys/arch/amd64/conf/GENERIC: revision 1.396
sys/arch/dreamcast/conf/GENERIC: revision 1.119
sys/arch/epoc32/conf/GENERIC: revision 1.6
sys/arch/evbarm/conf/BCM5301X: revision 1.24
sys/arch/evbarm/conf/BCM56340: revision 1.9
sys/arch/evbarm/conf/IMX23_OLINUXINO: revision 1.9
sys/arch/evbarm/conf/std.beagle: revision 1.13
sys/arch/evbarm/conf/std.kobo: revision 1.2
sys/arch/evbarm/conf/std.netwalker: revision 1.10
sys/arch/evbppc/conf/P2020DS: revision 1.25
sys/arch/evbppc/conf/RB800: revision 1.30
sys/arch/evbppc/conf/TWRP1025: revision 1.18
sys/arch/hp300/conf/GENERIC: revision 1.187
sys/arch/hpcsh/conf/GENERIC: revision 1.104
sys/arch/i386/conf/GENERIC: revision 1.1111
sys/arch/i386/conf/MONOLITHIC: revision 1.17
sys/arch/landisk/conf/GENERIC: revision 1.43
sys/arch/luna68k/conf/GENERIC: revision 1.117
sys/arch/macppc/conf/GENERIC: revision 1.316
sys/arch/macppc/conf/GENERIC_601: revision 1.5
sys/arch/mmeye/conf/MMEYE_WLF: revision 1.16
sys/arch/news68k/conf/GENERIC: revision 1.123
sys/arch/sandpoint/conf/GENERIC: revision 1.85
sys/arch/shark/conf/GENERIC: revision 1.119
sys/arch/sparc/conf/GENERIC: revision 1.246
sys/arch/sparc64/conf/GENERIC: revision 1.174
sys/arch/sun3/conf/GENERIC3X: revision 1.125
sys/arch/sun3/conf/GENERIC: revision 1.169
sys/arch/x68k/conf/GENERIC: revision 1.177
sys/arch/zaurus/conf/GENERIC: revision 1.62
sys/conf/files: revision 1.1099
sys/kern/kern_module.c: revisions 1.98, 1.99
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
--
fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/)
 1.18.2.3 28-Aug-2017  skrll Sync with HEAD
 1.18.2.2 22-Sep-2015  skrll Sync with HEAD
 1.18.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.25.4.1 10-Jun-2019  christos Sync 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.1 15-Jul-2012  matt branches: 1.1.4;
Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016
QorIQ processors. XXX tsec isn't working yet on the TWR-P1025.
 1.1.4.2 30-Oct-2012  yamt sync with head
 1.1.4.1 15-Jul-2012  yamt file TWRP1025.MP was added on branch yamt-pagecache on 2012-10-30 17:19:30 +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 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 05-Feb-2018  maxv branches: 1.31.2; 1.31.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.30 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.29 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.28 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.27 07-Aug-2015  maxv Remove the KMEMSTATS option. It no longer exists.
 1.26 23-Aug-2014  dholland branches: 1.26.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.25 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.24 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.23 30-Jun-2013  rmind 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 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 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.17 05-Jun-2012  abs branches: 1.17.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.16 18-Dec-2011  dholland branches: 1.16.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.15 22-Nov-2011  tls branches: 1.15.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.14 30-Jun-2011  wiz branches: 1.14.2;
dependant -> dependent
 1.13 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.12 06-Feb-2011  jmcneill - add support for using compressed images as splash images
- retire SPLASHSCREEN_PROGRESS and SPLASHSCREEN_IMAGE options
 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 08-Feb-2010  joerg branches: 1.9.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.8 24-Dec-2009  kiyohara branches: 1.8.2;
Add COMPAT_50.
 1.7 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.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;
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 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.50; 1.1.52; 1.1.54; 1.1.56;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.56.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.56.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.1.54.3 11-Aug-2010  yamt sync with head.
 1.1.54.2 11-Mar-2010  yamt sync with head
 1.1.54.1 04-May-2009  yamt sync with head.
 1.1.52.1 04-Jun-2008  yamt sync with head
 1.1.50.3 17-Jan-2009  mjf Sync with HEAD.
 1.1.50.2 28-Sep-2008  mjf Sync with HEAD.
 1.1.50.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file VIRTEX_DFC was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file VIRTEX_DFC was added on branch yamt-lazymbuf on 2006-12-30 20:45:52 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file VIRTEX_DFC was added on branch yamt-splraiseipl on 2006-12-10 07:15:53 +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.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.8.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.8.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.9.2.3 21-Apr-2011  rmind sync with head
 1.9.2.2 05-Mar-2011  rmind sync with head
 1.9.2.1 30-May-2010  rmind sync with head
 1.11.4.2 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.11.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.11.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.14.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.14.2.2 30-Oct-2012  yamt sync with head
 1.14.2.1 17-Apr-2012  yamt sync with head
 1.15.2.1 18-Feb-2012  mrg merge to -current.
 1.16.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.17.2.4 03-Dec-2017  jdolecek update from HEAD
 1.17.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.2.2 23-Jun-2013  tls resync from head
 1.17.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.26.2.2 28-Aug-2017  skrll Sync with HEAD
 1.26.2.1 22-Sep-2015  skrll Sync with HEAD
 1.31.4.1 10-Jun-2019  christos Sync with HEAD
 1.31.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 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 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.29 05-Feb-2018  maxv branches: 1.29.2; 1.29.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.28 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.27 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.26 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.25 07-Aug-2015  maxv 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 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 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 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.17 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.16 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.15 05-Jun-2012  abs branches: 1.15.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.14 18-Dec-2011  dholland branches: 1.14.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.13 22-Nov-2011  tls branches: 1.13.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.12 30-Jun-2011  wiz branches: 1.12.2;
dependant -> dependent
 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 23-Nov-2010  hannken branches: 1.10.2; 1.10.4;
Remove unused count from pseudo-device md.
 1.9 08-Feb-2010  joerg branches: 1.9.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.8 24-Dec-2009  kiyohara branches: 1.8.2;
Add COMPAT_50.
 1.7 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.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;
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 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.50; 1.1.52; 1.1.54; 1.1.56;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.56.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.56.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.1.54.2 11-Mar-2010  yamt sync with head
 1.1.54.1 04-May-2009  yamt sync with head.
 1.1.52.1 04-Jun-2008  yamt sync with head
 1.1.50.3 17-Jan-2009  mjf Sync with HEAD.
 1.1.50.2 28-Sep-2008  mjf Sync with HEAD.
 1.1.50.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file VIRTEX_GSRD1 was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file VIRTEX_GSRD1 was added on branch yamt-lazymbuf on 2006-12-30 20:45:52 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file VIRTEX_GSRD1 was added on branch yamt-splraiseipl on 2006-12-10 07:15:53 +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.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.8.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.9.2.2 21-Apr-2011  rmind sync with head
 1.9.2.1 05-Mar-2011  rmind sync with head
 1.10.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.10.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.12.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.12.2.2 30-Oct-2012  yamt sync with head
 1.12.2.1 17-Apr-2012  yamt sync with head
 1.13.2.1 18-Feb-2012  mrg merge to -current.
 1.14.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.15.2.4 03-Dec-2017  jdolecek update from HEAD
 1.15.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.2.2 23-Jun-2013  tls resync from head
 1.15.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.20.2.1 28-Aug-2013  rmind sync with head
 1.24.2.2 28-Aug-2017  skrll Sync with HEAD
 1.24.2.1 22-Sep-2015  skrll Sync with HEAD
 1.29.4.1 10-Jun-2019  christos Sync with HEAD
 1.29.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.33 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.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 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 05-Feb-2018  maxv branches: 1.30.2; 1.30.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.29 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.28 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.27 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.26 07-Aug-2015  maxv Remove the KMEMSTATS option. It no longer exists.
 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 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.23 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.22 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.21 05-Jun-2013  christos branches: 1.21.2;
remove obsolete networking options
 1.20 27-Apr-2013  christos the bogus number police
 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 05-Jun-2012  abs branches: 1.16.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.15 18-Dec-2011  dholland branches: 1.15.2;
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 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-Feb-2010  joerg branches: 1.10.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.9 24-Dec-2009  kiyohara branches: 1.9.2;
Add COMPAT_50.
 1.8 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.7 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.6 24-Nov-2008  ad branches: 1.6.4;
Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.4 31-Jul-2008  simonb branches: 1.4.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.3 30-May-2008  tsutsui branches: 1.3.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.2 17-Oct-2007  garbled branches: 1.2.16; 1.2.18; 1.2.20; 1.2.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.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12; 1.1.20; 1.1.28; 1.1.30; 1.1.32; 1.1.34;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.34.1 25-Oct-2007  bouyer Sync with HEAD.
 1.1.32.1 18-Oct-2007  yamt sync with head.
 1.1.30.1 06-Nov-2007  matt sync with HEAD
 1.1.28.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.20.1 28-May-2007  freza Add KGDB support to evbppc/virtex port. From Jean-Francois Boudreault,
cosmetics by me.

While there, generalize virtex_console_tag() to virtex_bus_space_tag()
and fix one instance of yamt-idlelwp fallout (ci_need_resched renamed
to ci_want_resched).

XXX Only compile tested since my access to suitable Virtex HW is sporadic
XXX at best.
 1.1.12.1 23-Oct-2007  ad Sync with head.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file VIRTEX_GSRD2 was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.3 27-Oct-2007  yamt sync with head.
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file VIRTEX_GSRD2 was added on branch yamt-lazymbuf on 2006-12-30 20:45:52 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file VIRTEX_GSRD2 was added on branch yamt-splraiseipl on 2006-12-10 07:15:53 +0000
 1.2.22.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.2.20.2 11-Mar-2010  yamt sync with head
 1.2.20.1 04-May-2009  yamt sync with head.
 1.2.18.1 04-Jun-2008  yamt sync with head
 1.2.16.3 17-Jan-2009  mjf Sync with HEAD.
 1.2.16.2 28-Sep-2008  mjf Sync with HEAD.
 1.2.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.3.4.1 19-Oct-2008  haad Sync with HEAD.
 1.4.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.4.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.6.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.10.2.2 21-Apr-2011  rmind sync with head
 1.10.2.1 05-Mar-2011  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.15.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 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.21.2.1 28-Aug-2013  rmind sync with head
 1.25.2.2 28-Aug-2017  skrll Sync with HEAD
 1.25.2.1 22-Sep-2015  skrll Sync with HEAD
 1.30.4.1 10-Jun-2019  christos Sync 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.77 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.76 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.75 20-Jan-2020  thorpej Remove FDDI support.
 1.74 01-Aug-2018  maxv branches: 1.74.6;
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.73 05-Feb-2018  maxv branches: 1.73.2; 1.73.4;
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.

These ten lines of code in ip_input.c already look a lot better.
 1.72 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.71 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.70 23-Aug-2014  dholland branches: 1.70.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.69 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.68 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.67 10-Aug-2014  joerg LLVM builds have a slightly larger symbol table, so bump the space.
 1.66 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.65 05-Jun-2013  christos branches: 1.65.2;
remove obsolete networking options
 1.64 27-Apr-2013  christos the bogus number police
 1.63 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.62 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.61 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.60 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.59 17-Aug-2012  abs branches: 1.59.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.58 01-Feb-2012  matt Add tmpfs
 1.57 01-Feb-2012  he Bump SYMTAB_SPACE.
 1.56 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.55 22-Nov-2011  tls branches: 1.55.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.54 30-Jun-2011  wiz branches: 1.54.2;
dependant -> dependent
 1.53 13-Jun-2011  matt bump SYMTAB_SPACE
 1.52 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.51 07-Mar-2011  jakllsch branches: 1.51.2;
Bump SYMTAB_SPACE.
 1.50 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.49 23-Nov-2010  hannken branches: 1.49.2; 1.49.4;
Remove unused count from pseudo-device md.
 1.48 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.47 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.46 18-Mar-2010  kiyohara Support PowerPC 405EX/EXr.
1. Add some new source and header files.
(MAL(split) and RGMII(new) relations for EMAC)
2. Create dcr4xx.h. Its moved from dcr405gp.h. Also remove dcr405xx.h.
3. intr.c supports MULTIUIC with virtual-irq. likes to oea.
support 32-virq/128-hwirq.
4. multiple emac support.
5. WALNUT and VIRTEX_* includes arch/powerpc/conf/files.ibm4xx.
6. WALNUT pci uses arch/powerpc/ibm4xx/pci/.
 1.45 08-Feb-2010  joerg branches: 1.45.2;
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.44 24-Dec-2009  kiyohara branches: 1.44.2;
Fix interrupt number.
The data sheet describes that the interrupt of ECC is 17.
 1.43 24-Dec-2009  kiyohara Add COMPAT_50.
 1.42 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.41 11-May-2009  he Bump SYMTAB_SPACE so that it fits again.
 1.40 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.39 24-Nov-2008  ad branches: 1.39.4;
Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.37 31-Jul-2008  simonb branches: 1.37.2; 1.37.12;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.36 30-May-2008  tsutsui branches: 1.36.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.35 27-Sep-2006  manu branches: 1.35.52; 1.35.54; 1.35.56; 1.35.58;
- 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.34 18-Sep-2006  gdamore Conversion of evbppc to generic TODR. ok freza@
 1.33 26-Aug-2006  christos branches: 1.33.2; 1.33.4;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.32 13-Jul-2006  simonb Add ksyms pseudo device.
 1.31 14-May-2006  elad branches: 1.31.4;
integrate kauth.
 1.30 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.29 05-Feb-2006  cube branches: 1.29.2; 1.29.4; 1.29.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.28 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.27 07-Dec-2005  tsutsui branches: 1.27.2; 1.27.4; 1.27.6;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.26 09-Sep-2005  drochner remove "dev" locators from cardbus device definitions, it doesn't
make sense technically and might be removed
 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 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.22 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.21 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.20 31-May-2005  tron branches: 1.20.2;
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.19 25-Feb-2005  simonb branches: 1.19.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.18 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.17 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.16 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.15 24-Nov-2004  bouyer branches: 1.15.4; 1.15.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.14 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.13 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.12 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.11 14-Dec-2003  thorpej branches: 1.11.2;
Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
 1.10 13-Dec-2003  thorpej Collapse the atabus declaration into "atabus* at ata? channel ?".
 1.9 13-Dec-2003  thorpej Split out the Silicon Image SATALink support into its own driver,
"satalink".
 1.8 08-Oct-2003  bouyer Add new per-chip pciide drivers.
 1.7 08-Oct-2003  bouyer Add atabus.
 1.6 06-Oct-2003  scw Rename dsrtc to avoid clashing with the MI i2c ds1307 driver.
 1.5 25-Sep-2003  matt Add COMPAT_16
 1.4 18-Aug-2003  eeh Increase the size for the symbol table so we don't overflow anymore.
 1.3 16-Jul-2003  simonb Enable FFS_EI.
 1.2 10-Apr-2003  christos branches: 1.2.2;
Bye Bye UCONSOLE
 1.1 09-Dec-2002  scw branches: 1.1.2;
New umbrella-port for PowerPC-based evaluation boards.

The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file WALNUT was added on branch nathanw_sa on 2002-12-11 06:28:59 +0000
 1.2.2.10 11-Dec-2005  christos Sync with head.
 1.2.2.9 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.2.8 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.2.2.7 15-Feb-2005  skrll Sync with HEAD.
 1.2.2.6 04-Feb-2005  skrll Sync with HEAD.
 1.2.2.5 29-Nov-2004  skrll Sync with HEAD.
 1.2.2.4 14-Nov-2004  skrll Sync with HEAD.
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.11.2.1 15-Jul-2004  he branches: 1.11.2.1.2;
Pull up revision 1.12 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.11.2.1.2.1 02-Apr-2005  he Pull up revision 1.15 (requested by bouyer in ticket #1019):
Add pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) series of
controllers.
 1.15.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.15.6.1 12-Feb-2005  yamt sync with head.
 1.15.4.1 29-Apr-2005  kent sync with -current
 1.19.2.2 18-Jul-2005  riz Pull up revision 1.21 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.19.2.1 01-Jun-2005  riz Pull up revision 1.20 (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.20.2.2 30-Dec-2006  yamt sync with head.
 1.20.2.1 21-Jun-2006  yamt sync with head.
 1.27.6.1 22-Apr-2006  simonb Sync with head.
 1.27.4.1 09-Sep-2006  rpaulo sync with head
 1.27.2.1 18-Feb-2006  yamt sync with head.
 1.29.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.29.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.29.2.3 03-Sep-2006  yamt sync with head.
 1.29.2.2 11-Aug-2006  yamt sync with head
 1.29.2.1 01-Apr-2006  yamt sync with head.
 1.31.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.33.4.1 22-Oct-2006  yamt sync with head
 1.33.2.1 18-Nov-2006  ad Sync with head.
 1.35.58.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.35.58.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.35.56.4 11-Aug-2010  yamt sync with head.
 1.35.56.3 11-Mar-2010  yamt sync with head
 1.35.56.2 16-May-2009  yamt sync with head
 1.35.56.1 04-May-2009  yamt sync with head.
 1.35.54.1 04-Jun-2008  yamt sync with head
 1.35.52.3 17-Jan-2009  mjf Sync with HEAD.
 1.35.52.2 28-Sep-2008  mjf Sync with HEAD.
 1.35.52.1 02-Jun-2008  mjf Sync with HEAD.
 1.36.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.36.4.1 19-Oct-2008  haad Sync with HEAD.
 1.37.12.1 07-Jan-2011  matt Bump up SYMTAB_SPACE
 1.37.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.37.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.39.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.44.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.44.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.45.2.4 12-Jun-2011  rmind sync with head
 1.45.2.3 21-Apr-2011  rmind sync with head
 1.45.2.2 05-Mar-2011  rmind sync with head
 1.45.2.1 30-May-2010  rmind sync with head
 1.49.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.49.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.51.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.54.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.54.2.2 30-Oct-2012  yamt sync with head
 1.54.2.1 17-Apr-2012  yamt sync with head
 1.55.2.1 18-Feb-2012  mrg merge to -current.
 1.59.2.4 03-Dec-2017  jdolecek update from HEAD
 1.59.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.59.2.2 23-Jun-2013  tls resync from head
 1.59.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.65.2.1 28-Aug-2013  rmind sync with head
 1.70.2.1 28-Aug-2017  skrll Sync with HEAD
 1.73.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.73.4.1 10-Jun-2019  christos Sync with HEAD
 1.73.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.74.6.1 25-Jan-2020  ad Sync with head.
 1.9 17-Feb-2025  jmcneill wii: Remove some options to save memory.
 1.8 12-Feb-2025  jmcneill wii: Add support for Wii DVD drive.

This adds a virtual SCSI HBA driver that is able to read DVD video discs
inserted in the Wii.
 1.7 19-Jan-2025  jmcneill bwi(4): Add support for Nintendo Wii WLAN.

Adapt the bwi(4) driver to support SDIO attachment and driving TX/RX using
PIO instead of DMA since the latter is not supported on SDIO busses.
 1.6 22-Sep-2024  jmcneill wii: Enable ohci(4) driver.

This seems to be stable now, let's enable support for plugging in LS/FS
devices directly into the system without a hub.
 1.5 17-Sep-2024  jakllsch Add DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_GPT to WII

From Guilherme Janczak in PR 58676
 1.4 25-Jan-2024  jmcneill branches: 1.4.2; 1.4.4;
wii: Add External interface bus and RTC support
 1.3 23-Jan-2024  jmcneill wii: Add GPIO, I2C, and basic A/V encoder driver.
 1.2 22-Jan-2024  jmcneill wii: Add drivers for Broadway DSP and Audio interface.

0: [*] audio0 @ bwdsp0: Broadway DSP
playback: 16, 2ch, 48000Hz
record: unavailable
(P-) slinear_be 16/16, 2ch, { 48000 }
 1.1 20-Jan-2024  jmcneill evbppc: Add initial support for the Nintendo Wii
 1.4.4.1 02-Aug-2025  perseant Sync with HEAD
 1.4.2.7 22-Feb-2025  martin Pull up following revision(s) (requested by jmcneill in ticket #1057):

distrib/utils/embedded/conf/evbppc.conf: revision 1.4
sys/arch/powerpc/oea/cpu_subr.c: revision 1.111
sys/arch/evbppc/wii/pic_pi.c: revision 1.2
sys/arch/evbppc/conf/WII: revision 1.9
sys/arch/evbppc/wii/dev/bwai.c: revision 1.4

wii: Simplify Processor Interface pic code.

wii: Audio playback improvements.
Instead of resetting the byte counter for every block (which is racy),
increment the interrupt timing register by the exact byte count for
each block. Should do better at keeping things in sync.

powerpc: Identify Broadway CPU.
Use hex to report Broadway revision and ignore TAU as it does not exist
on this processor.

wii: Remove some options to save memory.

wii: Disable ntpd by default.
It takes up a lot of memory.
 1.4.2.6 22-Feb-2025  martin Pull up following revision(s) (requested by jmcneill in ticket #1052):

sys/kern/subr_disk_mbr.c: revision 1.59
sys/arch/evbppc/include/wii.h: revision 1.10
sys/arch/evbppc/wii/machdep.c: revision 1.9
sys/arch/evbppc/conf/files.wii: revision 1.5
sys/arch/evbppc/wii/dev/di.c: revision 1.1
sys/arch/evbppc/conf/WII: revision 1.8

Handle reading larger sectors (including 2k CD-ROM blocks).

Fall back to scan for ISO9660 sessions when MMC code fails.
disklabel now reports ISO/UDF partitions again for cd(4).

wii: Add more register definitions.

wii: Add support for Wii DVD drive.
This adds a virtual SCSI HBA driver that is able to read DVD video discs
inserted in the Wii.

wii: Early init for DVD support
 1.4.2.5 02-Feb-2025  martin Pull up following revision(s) (requested by jmcneill in ticket #1041):

sys/dev/ic/bwi.c: revision 1.40
share/man/man4/bwi.4: revision 1.15
sys/dev/sdmmc/if_bwi_sdio.c: revision 1.1
sys/dev/ic/bwi.c: revision 1.41
sys/dev/sdmmc/sdmmcvar.h: revision 1.38
sys/dev/ic/bwireg.h: revision 1.5
sys/dev/ic/bwi.c: revision 1.39
sys/dev/ic/bwivar.h: revision 1.11
sys/dev/sdmmc/sdmmc_cis.c: revision 1.10
sys/dev/sdmmc/files.sdmmc: revision 1.6
sys/arch/evbppc/conf/WII: revision 1.7

bwi: Remove unnecessary pcivar.h include

sdmmc: Capture lan_nid and expose sdmmc_cisptr
LAN NID contains the MAC address for networking adapters.
Device drivers may want to processor vendor specific tuple codes, so
expose sdmmc_cisptr to help this.

bwi(4): Add support for Nintendo Wii WLAN.

Adapt the bwi(4) driver to support SDIO attachment and driving TX/RX using
PIO instead of DMA since the latter is not supported on SDIO busses.

fix uninitialized
 1.4.2.4 02-Oct-2024  martin Pull up following revision(s) (requested by jmcneill in ticket #910):

sys/arch/evbppc/wii/dev/hollywood.h: revision 1.3
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.3
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.3
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.3
sys/dev/usb/ohcireg.h: revision 1.29
sys/arch/evbppc/include/wii.h: revision 1.8
sys/arch/evbppc/conf/WII: revision 1.6
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.3
sys/dev/usb/ohcivar.h: revision 1.63
sys/dev/usb/ohci.c: revision 1.329

wii: Restrict IOP access to shared peripherals.

Ensure that the IOP cannot access peripherals by clearing the appropriate
bus access bit. I have observed OHCI reporting completion for TDs living
in ARM reserved memory at runtime, this seems to suppress that.

ohci: Allocate a whole cacheline for all descriptors

Allocate a whole cacheline for all descriptor types such that:
i) they can be alloc'ed without USBMALLOC_COHERENT which can mean they're
now mapped cacheable, and
ii) the "soft" versions are cacheable, and mapped as small as possible.

Patch/idea mainly from Nick (skrll@) with a few fixes from me.

wii: Enable ohci(4) driver.
This seems to be stable now, let's enable support for plugging in LS/FS
devices directly into the system without a hub.
 1.4.2.3 20-Sep-2024  martin Pull up following revision(s) (requested by jakllsch in ticket #897):

sys/arch/evbppc/conf/WII: revision 1.5

Add DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_GPT to WII
From Guilherme Janczak in PR 58676
 1.4.2.2 03-Feb-2024  martin Pull up following revision(s) (requested by jmcneill in ticket #561):

etc/etc.evbppc/Makefile.inc: revision 1.15
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.2
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.3
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.2
distrib/utils/embedded/files/evbppc_wii_icon.png: revision 1.1
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.4
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.4
sys/arch/evbppc/wii/dev/viio.h: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.5
sys/arch/evbppc/wii/dev/mainbus.h: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.2
distrib/utils/embedded/conf/wii.conf: revision 1.3
sys/dev/sdmmc/sdhcvar.h: revision 1.34
sys/dev/sdmmc/sdhc.c: revision 1.118
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.1
distrib/utils/embedded/conf/evbppc.conf: revision 1.1
sys/dev/wsfb/genfb.c: revision 1.91
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.2
sys/dev/wscons/wsconsio.h: revision 1.127
sys/arch/powerpc/oea/oea_machdep.c: revision 1.85
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.1
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.2
sys/arch/evbppc/conf/std.wii: revision 1.3
sys/arch/powerpc/oea/cpu_subr.c: revision 1.109
sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.1
sys/dev/usb/usb.h: revision 1.124
sys/arch/evbppc/wii/machdep.c: revision 1.1
sys/arch/evbppc/wii/dev/rtcsram.c: revision 1.1
sys/arch/powerpc/include/oea/hid.h: revision 1.14
sys/arch/evbppc/wii/mainbus.c: revision 1.1
sys/arch/evbppc/wii/machdep.c: revision 1.2
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.1
sys/arch/evbppc/wii/mainbus.c: revision 1.2
sys/arch/evbppc/wii/machdep.c: revision 1.3
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.2
sys/arch/evbppc/wii/mainbus.c: revision 1.3
sys/arch/evbppc/wii/machdep.c: revision 1.4
sys/arch/evbppc/wii/dev/hwgpio.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.2
sys/arch/evbppc/wii/wii_locore.S: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.1
sys/arch/evbppc/wii/wii_locore.S: revision 1.2
sys/arch/evbppc/include/wii.h: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.2
sys/arch/evbppc/wii/dev/exi.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.2
sys/arch/evbppc/conf/files.wii: revision 1.3
sys/arch/powerpc/powerpc/clock.c: revision 1.18
sys/arch/evbppc/include/wii.h: revision 1.3
sys/arch/evbppc/conf/files.wii: revision 1.4
sys/arch/evbppc/include/wii.h: revision 1.4
sys/arch/evbppc/wii/dev/exi.h: revision 1.1
sys/arch/evbppc/wii/dev/avenc.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.5
sys/arch/evbppc/include/wii.h: revision 1.6
sys/arch/evbppc/include/wii.h: revision 1.7
sys/arch/evbppc/wii/dev/avenc.h: revision 1.1
distrib/utils/embedded/mkimage: revision 1.79
sys/arch/evbppc/conf/WII: revision 1.1
sys/arch/evbppc/conf/INSTALL_WII: revision 1.1
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.1
sys/arch/evbppc/wii/dev/vireg.h: revision 1.1
sys/arch/evbppc/conf/WII: revision 1.2
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.2
sys/arch/evbppc/wii/dev/vireg.h: revision 1.2
sys/arch/evbppc/conf/WII: revision 1.3
sys/arch/evbppc/conf/WII: revision 1.4
usr.sbin/sysinst/arch/evbppc/md.c: revision 1.11
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.1
sys/dev/usb/ehcivar.h: revision 1.52
sys/arch/evbppc/wii/pic_pi.c: revision 1.1
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.2
etc/etc.evbppc/ttys: revision 1.8
sys/arch/evbppc/wii/dev/bwai.c: revision 1.1
sys/arch/evbppc/wii/dev/bwai.c: revision 1.2
sys/arch/evbppc/wii/dev/bwai.c: revision 1.3
sys/arch/evbppc/wii/autoconf.c: revision 1.1
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.1
sys/arch/evbppc/wii/dev/bwai.h: revision 1.1
sys/arch/evbppc/wii/autoconf.c: revision 1.2
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.2

powerpc: oea: Fix prefetchable mappings
Prefetchable mappings need PMAP_NOCACHE to get write-combine semantics.
powerpc: oea: Decode IBM750CL L2 cache information.
sdmmc: add support for optional delay after register write
wscons: Add HOLLYWOOD display and YUY2 pixel format types
wsfb: add support for optional "devcmap" property
A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.
ehci: add EHCIF_32BIT_ACCESS flag to force 32-bit MMIO
fix comments: HID0 ICFI/DCFI are "flash invalidate", not "flush invalidate"
powerpc: fix delay for large (> ~5sec) values
When calculating the target timebase, promote '1000' on the RHS to ULL
to force 64-bit calculation, otherwise 'n * 1000' will overflow.
usb: increase USB_PORT_RESET_RECOVERY from 10ms to 20ms
I changed this from 250ms to 10ms back in 2021 based on a similar FreeBSD
change, but it seems to be a bit too aggressive for some platforms.
evbppc: Add initial support for the Nintendo Wii
wii: support RB_POWERDOWN
build fix: use dd with count=1 for compat with NetBSD dd(1)
wii: Add NTSC 480p support.
In addition to this, add VIIO_{GET,SET}REGS ioctl support to allow for
poking at video interface registers from userland. This is helpful for
debugging display issues.
wii: Add 128x48 icon to SD card image
wii: Fix a comment
wii: Add drivers for Broadway DSP and Audio interface.
0: [*] audio0 @ bwdsp0: Broadway DSP
playback: 16, 2ch, 48000Hz
record: unavailable
(P-) slinear_be 16/16, 2ch, { 48000 }
wii: Add screenblank support.
wii: Use screen dimming register for screen blanking.
wii: Add GPIO, I2C, and basic A/V encoder driver.
wii: Use A/V encoder volume controls instead of using a software filter.
wii: Simply DSP driver - no interrupt handler required.
wii: provide device names to intr_establish
wii$ intrctl list
interrupt id CPU0 device name(s)
pi irq 14 64769* hollywood0
hollywood irq 36 5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40 4* sdhc1
hollywood irq 49 0* resetbtn0
pi irq 5 0* bwai0
wii: Add support for passing boot options to the kernel.
wii: Add External interface bus and RTC support
wii: Remove objcopy after kernel build.
HBC will do the right thing.
Add wsvt25 entries (off by default) for ttyE0-ttyE3.
Add support for "PAL" (576i) mode on Wii.
 1.4.2.1 25-Jan-2024  martin file WII was added on branch netbsd-10 on 2024-02-03 11:47:06 +0000
 1.1 02-Apr-2021  rin branches: 1.1.2; 1.1.4;
evbppc: Add support for DHT Walnut 405GP evaluation board.
(Digital Home Technologies PCB 01070201 Rev. 1.1)

Official web page seems gone, but analyses by Linux people are at:

- https://elinux.org/DHT-Walnut
- http://web.archive.org/web/20070225171826/http://supernova.stanford.edu/dingdong/

The board features:

- 266MHz PowerPC 405GP processor
- one PC133 SDRAM slot
- two 32-bit 5V PCI slot
- on-chip ethernet controller with DP83843 PHY
- on-chip serial port / GPIO controller
- on-board PDC20265 IDE controller

Hardware limitations:

- no MAC address assigned
- no RTC present

Known problem:

- atabus(4) channels cannot be attached to pdcide(4) for cold boot

dmesg:

- https://dmesgd.nycbug.org/index.cgi?do=view&id=5997

Have fun!
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 02-Apr-2021  thorpej file files.dht was added on branch thorpej-futex on 2021-04-03 22:28:24 +0000
 1.1.2.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.2.1 02-Apr-2021  thorpej file files.dht was added on branch thorpej-cfargs on 2021-04-03 21:44:42 +0000
 1.14 22-Jun-2011  matt Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.13 28-Apr-2010  kiyohara Clean up gt and peripherals.
This change tested compile only.
 1.12 20-Feb-2008  drochner branches: 1.12.10; 1.12.30; 1.12.32;
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.11 03-Dec-2007  ad Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.10 17-Oct-2007  garbled branches: 1.10.2;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.9 10-Apr-2007  macallan branches: 1.9.4; 1.9.12; 1.9.14; 1.9.16; 1.9.18;
include files.wsfb
 1.8 11-Dec-2005  christos branches: 1.8.26; 1.8.30; 1.8.32;
merge ktrace-lwp.
 1.7 13-Sep-2004  drochner branches: 1.7.12;
remove "pcibus" and "isabus" from "mainbus" -- neither of them
attaches directly
cleanup a comment
 1.6 24-Jun-2004  he Move include of files.usb to after files.wscons, so that tpcalib is
defined before it's used.
 1.5 13-Mar-2004  bjh21 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.4 25-Jul-2003  scw Switch ibm4xx ports to common powerpc bus_space/bus_dma code.
XXX: Walnut PCI support is broken. This will be addressed shortly.
 1.3 24-Mar-2003  matt branches: 1.3.2;
Make PCI interrupts -> GPP mapping configured via config file.
Add bus_spaces for all possile obios. Add gt_halt to make
sure the discovery is not doing dma as soon as possible.
Read the SDRAM register to figure out how much physical RAM
is available.
 1.2 16-Mar-2003  matt EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware. XXX PCI devices are not found.
 1.1 05-Mar-2003  matt Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.7.12.4 27-Feb-2008  yamt sync with head.
 1.7.12.3 07-Dec-2007  yamt sync with head
 1.7.12.2 27-Oct-2007  yamt sync with head.
 1.7.12.1 03-Sep-2007  yamt sync with head.
 1.8.32.1 11-Jul-2007  mjf Sync with head.
 1.8.30.3 03-Dec-2007  ad Sync with HEAD.
 1.8.30.2 23-Oct-2007  ad Sync with head.
 1.8.30.1 10-Apr-2007  ad Sync with head.
 1.8.26.1 15-Apr-2007  yamt sync with head.
 1.9.18.1 25-Oct-2007  bouyer Sync with HEAD.
 1.9.16.1 18-Oct-2007  yamt sync with head.
 1.9.14.3 23-Mar-2008  matt sync with HEAD
 1.9.14.2 09-Jan-2008  matt sync with HEAD
 1.9.14.1 06-Nov-2007  matt sync with HEAD
 1.9.12.2 09-Dec-2007  jmcneill Sync with HEAD.
 1.9.12.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.9.4.2 17-Oct-2007  garbled Back out most of the PIC rennovation on ev64260, it was not completed,
and can be completed post-merge. With these changes, ev64260 compiles
again on the branch. Untested.
 1.9.4.1 22-May-2007  matt WIP. Adapt ev64260 to the new pic code.
 1.10.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.12.32.1 30-May-2010  rmind sync with head
 1.12.30.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.12.10.1 11-Aug-2010  yamt sync with head.
 1.7 18-Feb-2017  rin Factorize kern/subr_disk_mbr.c into files.evbppc, and make EVBPPC_HAS_MBR
more like a normal option. No functional changes.
 1.6 17-Oct-2007  garbled branches: 1.6.64; 1.6.84; 1.6.88; 1.6.92;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.5 11-Dec-2005  christos branches: 1.5.30; 1.5.38; 1.5.48; 1.5.50; 1.5.52; 1.5.54;
merge ktrace-lwp.
 1.4 25-Jul-2003  scw branches: 1.4.16;
Switch ibm4xx ports to common powerpc bus_space/bus_dma code.
XXX: Walnut PCI support is broken. This will be addressed shortly.
 1.3 05-Mar-2003  matt branches: 1.3.2;
Remove port-specific procfs_machdep.c (since they are all identical and
a better one resides in powerpc/powerpc/).
 1.2 04-Mar-2003  matt Re-arrange things in evbppc & powerpc to support OEA-based eval boards
in evbppc. OEA-based board(s) to be added later.
 1.1 09-Dec-2002  scw branches: 1.1.2;
New umbrella-port for PowerPC-based evaluation boards.

The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file files.evbppc was added on branch nathanw_sa on 2002-12-11 06:28:59 +0000
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 27-Oct-2007  yamt sync with head.
 1.5.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.52.1 18-Oct-2007  yamt sync with head.
 1.5.50.1 06-Nov-2007  matt sync with HEAD
 1.5.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.38.1 08-May-2007  garbled Move pmppc over to evbppc. (previous location sys/arch/pmppc)
 1.5.30.1 23-Oct-2007  ad Sync with head.
 1.6.92.1 21-Apr-2017  bouyer Sync with HEAD
 1.6.88.1 20-Mar-2017  pgoyette Sync with HEAD
 1.6.84.1 28-Aug-2017  skrll Sync with HEAD
 1.6.64.1 03-Dec-2017  jdolecek update from HEAD
 1.13 07-Mar-2021  rin Revert this commit:

http://www.nerv.org/netbsd/?q=id:20210305T064016Z.410b0e33273c3a62110d09e8bb27939f6a8bab38

> Map framebuffer to virtual space when fb(4) is present,
> even if it is not console.

Direct mapping for framebuffer is required only if fb(4) is console.

XXX
It would be nice if we can remove reserved TLB entries after
fb(4) is properly attached.
 1.12 05-Mar-2021  rin Map framebuffer to virtual space when fb(4) is present,
even if it is not console.
 1.11 05-Mar-2021  rin For very MD codes for Explora, reorder things, and use more common codes for
ibm4xx and ibm40x for clarity as well as better comparison with other boards.

No functional changes intended.
 1.10 06-Jul-2020  rin branches: 1.10.2;
Now, sys/arch/powerpc/ibm4xx/pic_uic.c requires opt_uic.h.

XXX
Switch to powerpc/conf/files.ibm4xx.
 1.9 20-Jun-2011  matt Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
 1.8 20-Feb-2008  drochner branches: 1.8.42;
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.7 03-Dec-2007  ad Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.6 30-Jun-2006  freza branches: 1.6.14; 1.6.32; 1.6.34; 1.6.40;
Bring ibm4xx interrupt code up to date:

- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c

Convert all affected evbppc platforms.

OK by simonb@, some points discussed with matt@
 1.5 11-Dec-2005  christos branches: 1.5.4; 1.5.8; 1.5.16;
merge ktrace-lwp.
 1.4 13-Mar-2004  bjh21 branches: 1.4.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.3 20-Jan-2004  jdolecek cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue
 1.2 19-Nov-2003  scw Include arch/powerpc/ibm4xx/intr.c only if a particular board actually
uses the generic 4xx interrupt implementation.
There are some 4xx boards with entirely different interrupt controllers.
 1.1 11-Mar-2003  hannken branches: 1.1.2;
Add a port to the NCD Explora451 ThinClient.

- Supported devices: le, com, lpt, pckbd, frame buffer.
- Support missing: phy, audio, pcmcia.
- Boots from network or md.

Approved by: Eduardo Horvath <eeh@netbsd.org>
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.3 27-Feb-2008  yamt sync with head.
 1.4.16.2 07-Dec-2007  yamt sync with head
 1.4.16.1 30-Dec-2006  yamt sync with head.
 1.5.16.1 13-Jul-2006  gdamore Merge from HEAD.
 1.5.8.1 11-Aug-2006  yamt sync with head
 1.5.4.1 09-Sep-2006  rpaulo sync with head
 1.6.40.1 08-Dec-2007  mjf Sync with HEAD.
 1.6.34.2 23-Mar-2008  matt sync with HEAD
 1.6.34.1 09-Jan-2008  matt sync with HEAD
 1.6.32.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.6.14.1 03-Dec-2007  ad Sync with HEAD.
 1.8.42.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.10.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.11 18-Feb-2017  rin Factorize kern/subr_disk_mbr.c into files.evbppc, and make EVBPPC_HAS_MBR
more like a normal option. No functional changes.
 1.10 27-Dec-2014  nonaka branches: 1.10.2; 1.10.4;
Preliminary support for P1023.
 1.9 15-Jul-2012  matt branches: 1.9.2; 1.9.16;
Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016
QorIQ processors. XXX tsec isn't working yet on the TWR-P1025.
 1.8 09-Jul-2012  matt Add hook so E500 watchdog can use a separate stack but leave it disabled by
default.
 1.7 19-Aug-2011  matt branches: 1.7.2;
Need pci_machdep_common.c now
 1.6 25-Jul-2011  matt Add MEMSIZE defparam
 1.5 22-Jun-2011  matt Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.4 02-May-2011  matt mpc85xx uses MBRs
 1.3 08-Feb-2011  matt branches: 1.3.2;
Add MPC85xx variants.
Move to having a common kernel for all MPC85xx variants (CADMUS/PIXIS still
remain a problem).
 1.2 18-Jan-2011  matt branches: 1.2.2;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file files.mpc85xx was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.3 14-Oct-2011  matt Sync with current pulling P2020 and other newer processor support.
 1.1.2.2 07-Jan-2011  matt Add options USB_FRAG_DMA_WORKAROUND
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.2.1 08-Feb-2011  bouyer Sync with HEAD
 1.3.2.3 31-May-2011  rmind sync with head
 1.3.2.2 05-Mar-2011  rmind sync with head
 1.3.2.1 08-Feb-2011  rmind file files.mpc85xx was added on branch rmind-uvmplock on 2011-03-05 20:50:15 +0000
 1.7.2.1 30-Oct-2012  yamt sync with head
 1.9.16.2 28-Aug-2017  skrll Sync with HEAD
 1.9.16.1 06-Apr-2015  skrll Sync with HEAD
 1.9.2.1 03-Dec-2017  jdolecek update from HEAD
 1.10.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.10.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.8 18-Mar-2010  kiyohara Support PowerPC 405EX/EXr.
1. Add some new source and header files.
(MAL(split) and RGMII(new) relations for EMAC)
2. Create dcr4xx.h. Its moved from dcr405gp.h. Also remove dcr405xx.h.
3. intr.c supports MULTIUIC with virtual-irq. likes to oea.
support 32-virq/128-hwirq.
4. multiple emac support.
5. WALNUT and VIRTEX_* includes arch/powerpc/conf/files.ibm4xx.
6. WALNUT pci uses arch/powerpc/ibm4xx/pci/.
 1.7 20-Feb-2008  drochner branches: 1.7.10; 1.7.30; 1.7.32;
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.6 03-Dec-2007  ad Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.5 30-Jun-2006  freza branches: 1.5.14; 1.5.32; 1.5.34; 1.5.40;
Bring ibm4xx interrupt code up to date:

- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c

Convert all affected evbppc platforms.

OK by simonb@, some points discussed with matt@
 1.4 15-May-2006  shige branches: 1.4.4;
Move cpu_configure to evbppc/*.c.
(Remove ibm4xxgpx_autoconf.c)
I'm sorry for my wrong thinking.
 1.3 29-Mar-2006  shige Added CardBus, USB, and IEEE1394 devices.
 1.2 11-Dec-2005  christos branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.12;
merge ktrace-lwp.
 1.1 18-Mar-2005  shige branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Add sources for OpenBlockS200 (OpenBlockS S/R) machine.
 1.1.8.4 27-Feb-2008  yamt sync with head.
 1.1.8.3 07-Dec-2007  yamt sync with head
 1.1.8.2 30-Dec-2006  yamt sync with head.
 1.1.8.1 21-Jun-2006  yamt sync with head.
 1.1.6.2 29-Apr-2005  kent sync with -current
 1.1.6.1 18-Mar-2005  kent file files.obs200 was added on branch kent-audio2 on 2005-04-29 11:28:08 +0000
 1.1.4.2 01-Apr-2005  skrll Sync with HEAD.
 1.1.4.1 18-Mar-2005  skrll file files.obs200 was added on branch ktrace-lwp on 2005-04-01 14:27:26 +0000
 1.1.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.2.1 18-Mar-2005  yamt file files.obs200 was added on branch yamt-km on 2005-03-19 08:32:57 +0000
 1.2.12.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.2.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.2.8.3 11-Aug-2006  yamt sync with head
 1.2.8.2 24-May-2006  yamt sync with head.
 1.2.8.1 01-Apr-2006  yamt sync with head.
 1.2.6.2 01-Jun-2006  kardel Sync with head.
 1.2.6.1 22-Apr-2006  simonb Sync with head.
 1.2.4.1 09-Sep-2006  rpaulo sync with head
 1.4.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.5.40.1 08-Dec-2007  mjf Sync with HEAD.
 1.5.34.2 23-Mar-2008  matt sync with HEAD
 1.5.34.1 09-Jan-2008  matt sync with HEAD
 1.5.32.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.5.14.1 03-Dec-2007  ad Sync with HEAD.
 1.7.32.1 30-May-2010  rmind sync with head
 1.7.30.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.7.10.1 11-Aug-2010  yamt sync with head.
 1.1 18-Mar-2010  kiyohara branches: 1.1.2; 1.1.4; 1.1.6;
Support Plathome's OpenBlockS600.
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 18-Mar-2010  yamt file files.obs266 was added on branch yamt-nfs-mp on 2010-08-11 22:51:53 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 18-Mar-2010  rmind file files.obs266 was added on branch rmind-uvmplock on 2010-05-30 05:16:43 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 18-Mar-2010  uebayasi file files.obs266 was added on branch uebayasi-xip on 2010-04-30 14:39:17 +0000
 1.23 30-Mar-2021  rin Move common global variables, i.e., phys_map, machine, and machine_arch to
evbppc/evbppc_machdep.c (bad naming; used only for 4xx boards).
 1.22 29-Mar-2021  rin Set com(4) frequency in ibm4xx_device_register() in order to dedup codes.
 1.21 18-Mar-2010  kiyohara branches: 1.21.72; 1.21.74;
Support PowerPC 405EX/EXr.
1. Add some new source and header files.
(MAL(split) and RGMII(new) relations for EMAC)
2. Create dcr4xx.h. Its moved from dcr405gp.h. Also remove dcr405xx.h.
3. intr.c supports MULTIUIC with virtual-irq. likes to oea.
support 32-virq/128-hwirq.
4. multiple emac support.
5. WALNUT and VIRTEX_* includes arch/powerpc/conf/files.ibm4xx.
6. WALNUT pci uses arch/powerpc/ibm4xx/pci/.
 1.20 04-Jul-2008  kiyohara branches: 1.20.16; 1.20.18;
Fix config error. required to include files.bluetooth.
 1.19 20-Feb-2008  drochner branches: 1.19.6; 1.19.10; 1.19.12; 1.19.14;
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.18 05-Dec-2007  he Remove reference to now-obsolete powerpc/softintr.c.
 1.17 30-Jun-2006  freza branches: 1.17.32; 1.17.34; 1.17.40; 1.17.44;
Bring ibm4xx interrupt code up to date:

- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c

Convert all affected evbppc platforms.

OK by simonb@, some points discussed with matt@
 1.16 15-May-2006  shige branches: 1.16.4;
Move cpu_configure to evbppc/*.c.
(Remove ibm4xxgpx_autoconf.c)
I'm sorry for my wrong thinking.
 1.15 13-Mar-2006  shige branches: 1.15.2;
Remove obsled devices (using old gpio framework).
 1.14 11-Dec-2005  christos branches: 1.14.4; 1.14.6; 1.14.8; 1.14.10;
merge ktrace-lwp.
 1.13 16-Oct-2005  he Complete the renaming gpio -> ppcgpio for evbppc, to make room for
the MI gpio. Internal static functions in gpio_opb.c are not
renamed here, but the softc type is renamed together with the attach
declaration data.
 1.12 10-Sep-2005  kiyohara Add configuration file for 'PCMCIA adapter BOX' supported kernel.
 1.11 04-Sep-2005  kiyohara Support 'PCMCIA adapter BOX' for OpenBlockS266.
 1.10 18-Mar-2005  shige branches: 1.10.2;
Rearrange codes for OpenBlockS266 machine.
 1.9 24-Jan-2005  shige branches: 1.9.2; 1.9.6;
Add OpenBlockS266 GPIO LED Driver.
 1.8 18-Jan-2005  shige Add modules.
 1.7 17-Jan-2005  shige Add openbios dependent code to obs405 machine-dependent modules.
 1.6 13-Jan-2005  shige branches: 1.6.2;
Add files:
- powerpc/ibm4xx/autoconf.c (autoconf glue)
- powerpc/ibm4xx/ibm4xx_autoconf.c (autoconf for ibm4xx)
- evbppc/obs405/md_autoconf.c (machine-dependent autoconf)
 1.5 30-Mar-2004  simonb branches: 1.5.2;
Remove some bogus config goop that should never have been here.
 1.4 19-Nov-2003  scw branches: 1.4.4;
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually
uses the generic 4xx interrupt implementation.
There are some 4xx boards with entirely different interrupt controllers.
 1.3 06-Oct-2003  shige Use xrtc driver on generic I2C framework instead of original xrtc
driver at src/sys/arch/evbppc/obs405/dev/x1226.c.
Remove todclock service.
 1.2 24-Sep-2003  shige Rename ibm4xxGPx_autoconf.c to all lowercase filename.
 1.1 23-Sep-2003  shige Add new evbppc port.
This port is for OpenBlockS266.
OpenBlockS266: IBM405GPr OpenBIOS.
X1226 is a rtc chip connected with IIC bus.
 1.4.4.1 15-Sep-2005  riz Pull up following revision(s) (requested by shige in ticket #5820):
distrib/evbppc/md-kernel/Makefile 1.3 via patch
etc/etc.evbppc/Makefile.inc 1.3 via patch
sys/arch/evbppc/conf/files.obs405 1.5-1.8 via patch
sys/arch/evbppc/conf/OPENBLOCKS266 1.22,1.25 via patch
sys/arch/evbppc/include/obs266.h 1.1 (new)
sys/arch/evbppc/include/obs405.h 1.1-1.5 (new)
sys/arch/evbppc/include/rbus_machdep.h 1.1 (new)
sys/arch/evbppc/obs405/consinit.c 1.2-1.4
sys/arch/evbppc/obs405/dev/x1226.c deleted
sys/arch/evbppc/obs405/dev/x1226reg.h deleted
sys/arch/evbppc/obs405/machdep.c deleted
sys/arch/evbppc/obs405/obs266_autoconf.c 1.1 (new)
sys/arch/evbppc/obs405/obs266_machdep.c 1.1 (new, plus patch)
sys/arch/evbppc/obs405/obs405_autoconf.c 1.1 (new, plus patch)
sys/arch/evbppc/obs405/obs405_machdep.c 1.1 (new)
sys/arch/evbppc/obs405/rbus_machdep.c 1.1 (new)
sys/arch/powerpc/conf/files.ibm4xx 1.6-1.7
sys/arch/powerpc/ibm4xx/board_prop.c 1.1 (new)
sys/arch/powerpc/ibm4xx/dev/com_opb.c 1.12
sys/arch/powerpc/ibm4xx/dev/comopbvar.h 1.1 (new)
sys/arch/powerpc/ibm4xx/ibm40x_machdep.c 1.3-1.4
sys/arch/powerpc/ibm4xx/ibm4xx_autoconf.c 1.1-1.2 (new)
sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c 1.1-1.3 (new)
sys/arch/powerpc/ibm4xx/ibm4xxgpx_autoconf.c 1.2-1.3
sys/arch/powerpc/ibm4xx/openbios/openbios.c 1.1 (new)
sys/arch/powerpc/include/ibm4xx/cpu.h 1.7-1.10
sys/arch/powerpc/include/ibm4xx/openbios.h 1.1 (new)

Update OpenBlockS266 support to more modern, stable sources.
 1.5.2.9 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.8 01-Apr-2005  skrll Sync with HEAD.
 1.5.2.7 04-Feb-2005  skrll Sync with HEAD.
 1.5.2.6 24-Jan-2005  skrll Sync with HEAD.
 1.5.2.5 17-Jan-2005  skrll Sync with HEAD.
 1.5.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.2 03-Aug-2004  skrll Sync with HEAD
 1.5.2.1 30-Mar-2004  skrll file files.obs405 was added on branch ktrace-lwp on 2004-08-03 10:34:16 +0000
 1.6.2.1 29-Apr-2005  kent sync with -current
 1.9.6.1 14-Sep-2005  tron Apply patch (requested by shige in ticket #763):
Synchronize OpenBlockS266 port with NetBSD-current for enhanced stability.
 1.9.2.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.10.2.4 27-Feb-2008  yamt sync with head.
 1.10.2.3 07-Dec-2007  yamt sync with head
 1.10.2.2 30-Dec-2006  yamt sync with head.
 1.10.2.1 21-Jun-2006  yamt sync with head.
 1.14.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.14.8.3 11-Aug-2006  yamt sync with head
 1.14.8.2 24-May-2006  yamt sync with head.
 1.14.8.1 01-Apr-2006  yamt sync with head.
 1.14.6.2 01-Jun-2006  kardel Sync with head.
 1.14.6.1 22-Apr-2006  simonb Sync with head.
 1.14.4.1 09-Sep-2006  rpaulo sync with head
 1.15.2.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.16.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.17.44.1 08-Dec-2007  ad Sync with head.
 1.17.40.1 08-Dec-2007  mjf Sync with HEAD.
 1.17.34.2 23-Mar-2008  matt sync with HEAD
 1.17.34.1 09-Jan-2008  matt sync with HEAD
 1.17.32.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.19.14.1 18-Jul-2008  simonb Sync with head.
 1.19.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.19.10.2 11-Aug-2010  yamt sync with head.
 1.19.10.1 04-May-2009  yamt sync with head.
 1.19.6.1 28-Sep-2008  mjf Sync with HEAD.
 1.20.18.1 30-May-2010  rmind sync with head
 1.20.16.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.21.74.1 03-Apr-2021  thorpej Sync with HEAD.
 1.21.72.1 03-Apr-2021  thorpej Sync with HEAD.
 1.3 18-Feb-2017  rin Factorize kern/subr_disk_mbr.c into files.evbppc, and make EVBPPC_HAS_MBR
more like a normal option. No functional changes.
 1.2 21-Nov-2013  kiyohara branches: 1.2.6; 1.2.10; 1.2.14;
Add dwctwo and umass.
And cleanup.
However dwctwo@plb is buggy...
 1.1 18-Mar-2010  kiyohara branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.24; 1.1.28;
Support Plathome's OpenBlockS600.
 1.1.28.1 18-May-2014  rmind sync with head
 1.1.24.2 03-Dec-2017  jdolecek update from HEAD
 1.1.24.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.14.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 18-Mar-2010  yamt file files.obs600 was added on branch yamt-nfs-mp on 2010-08-11 22:51:53 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 18-Mar-2010  rmind file files.obs600 was added on branch rmind-uvmplock on 2010-05-30 05:16:43 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 18-Mar-2010  uebayasi file files.obs600 was added on branch uebayasi-xip on 2010-04-30 14:39:17 +0000
 1.2.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.2.10.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2.6.1 28-Aug-2017  skrll Sync with HEAD
 1.8 24-Apr-2021  thorpej Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.7 18-Feb-2017  rin branches: 1.7.28;
Factorize kern/subr_disk_mbr.c into files.evbppc, and make EVBPPC_HAS_MBR
more like a normal option. No functional changes.
 1.6 22-Jun-2011  matt branches: 1.6.12; 1.6.30; 1.6.34; 1.6.38;
Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.5 02-Mar-2011  ahoka Resolve build failures caused by local use of "device flash" in config.
 1.4 20-Feb-2008  drochner branches: 1.4.32; 1.4.38; 1.4.40;
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.3 03-Dec-2007  ad Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.2 17-Oct-2007  garbled branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.1 08-May-2007  garbled branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file files.pmppc was initially added on branch ppcoea-renovation.
 1.1.10.1 25-Oct-2007  bouyer Sync with HEAD.
 1.1.8.1 18-Oct-2007  yamt sync with head.
 1.1.6.2 09-Dec-2007  jmcneill Sync with HEAD.
 1.1.6.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.2.2 09-May-2007  garbled Convert pmppc to generic pci. Also fix the prototype for
pci_conf_interrupt while I'm here.
 1.1.2.1 08-May-2007  garbled Move pmppc over to evbppc. (previous location sys/arch/pmppc)
 1.2.8.4 23-Mar-2008  matt sync with HEAD
 1.2.8.3 09-Jan-2008  matt sync with HEAD
 1.2.8.2 06-Nov-2007  matt sync with HEAD
 1.2.8.1 17-Oct-2007  matt file files.pmppc was added on branch matt-armv6 on 2007-11-06 23:16:13 +0000
 1.2.6.1 08-Dec-2007  mjf Sync with HEAD.
 1.2.4.4 27-Feb-2008  yamt sync with head.
 1.2.4.3 07-Dec-2007  yamt sync with head
 1.2.4.2 27-Oct-2007  yamt sync with head.
 1.2.4.1 17-Oct-2007  yamt file files.pmppc was added on branch yamt-lazymbuf on 2007-10-27 11:25:52 +0000
 1.2.2.3 03-Dec-2007  ad Sync with HEAD.
 1.2.2.2 23-Oct-2007  ad Sync with head.
 1.2.2.1 17-Oct-2007  ad file files.pmppc was added on branch vmlocking on 2007-10-23 20:35:42 +0000
 1.4.40.1 05-Mar-2011  bouyer Sync with HEAD
 1.4.38.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.32.1 05-Mar-2011  rmind sync with head
 1.6.38.1 21-Apr-2017  bouyer Sync with HEAD
 1.6.34.1 20-Mar-2017  pgoyette Sync with HEAD
 1.6.30.1 28-Aug-2017  skrll Sync with HEAD
 1.6.12.1 03-Dec-2017  jdolecek update from HEAD
 1.7.28.1 22-Mar-2021  thorpej mainbus does not need to carry the "pcibus" interface attribute; PCI
busses do not attach to mainbus, they attach to cpc@mainbus, and cpc
already carries the "pcibus" interface attribute.
 1.5 20-Jun-2011  matt Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
 1.4 18-Mar-2010  kiyohara branches: 1.4.6;
Support PowerPC 405EX/EXr.
1. Add some new source and header files.
(MAL(split) and RGMII(new) relations for EMAC)
2. Create dcr4xx.h. Its moved from dcr405gp.h. Also remove dcr405xx.h.
3. intr.c supports MULTIUIC with virtual-irq. likes to oea.
support 32-virq/128-hwirq.
4. multiple emac support.
5. WALNUT and VIRTEX_* includes arch/powerpc/conf/files.ibm4xx.
6. WALNUT pci uses arch/powerpc/ibm4xx/pci/.
 1.3 20-Feb-2008  drochner branches: 1.3.10; 1.3.30; 1.3.32;
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.2 03-Dec-2007  ad Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12; 1.1.28; 1.1.30; 1.1.36;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.36.1 08-Dec-2007  mjf Sync with HEAD.
 1.1.30.2 23-Mar-2008  matt sync with HEAD
 1.1.30.1 09-Jan-2008  matt sync with HEAD
 1.1.28.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.1.12.1 03-Dec-2007  ad Sync with HEAD.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file files.virtex was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.4 27-Feb-2008  yamt sync with head.
 1.1.4.3 07-Dec-2007  yamt sync with head
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file files.virtex was added on branch yamt-lazymbuf on 2006-12-30 20:45:52 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file files.virtex was added on branch yamt-splraiseipl on 2006-12-10 07:15:53 +0000
 1.3.32.1 30-May-2010  rmind sync with head
 1.3.30.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.3.10.1 11-Aug-2010  yamt sync with head.
 1.4.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.19 30-Mar-2021  rin Convert walnut to use powerpc/ibm4xx/openbios.
No functional changes.
 1.18 29-Mar-2021  rin Use ibm40x_machdep.c.
 1.17 20-Jun-2011  matt branches: 1.17.66; 1.17.68;
Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
 1.16 18-Mar-2010  kiyohara branches: 1.16.6;
Support PowerPC 405EX/EXr.
1. Add some new source and header files.
(MAL(split) and RGMII(new) relations for EMAC)
2. Create dcr4xx.h. Its moved from dcr405gp.h. Also remove dcr405xx.h.
3. intr.c supports MULTIUIC with virtual-irq. likes to oea.
support 32-virq/128-hwirq.
4. multiple emac support.
5. WALNUT and VIRTEX_* includes arch/powerpc/conf/files.ibm4xx.
6. WALNUT pci uses arch/powerpc/ibm4xx/pci/.
 1.15 20-Feb-2008  drochner branches: 1.15.10; 1.15.30; 1.15.32;
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 03-Dec-2007  ad Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.13 10-Apr-2007  macallan branches: 1.13.12; 1.13.14; 1.13.20;
include files.wsfb
 1.12 24-Nov-2006  christos branches: 1.12.4; 1.12.8; 1.12.10;
fix spelling of accommodate; from Zapher.
 1.11 18-Sep-2006  gdamore Conversion of evbppc to generic TODR. ok freza@
 1.10 30-Jun-2006  freza branches: 1.10.4; 1.10.6;
Bring ibm4xx interrupt code up to date:

- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c

Convert all affected evbppc platforms.

OK by simonb@, some points discussed with matt@
 1.9 27-Feb-2006  he branches: 1.9.2; 1.9.10;
The WALNUT port has now grown a dependency of ibm4xx_autoconf.c via
ibm4xx_device_register(), so include that file in the kernel build.
 1.8 11-Dec-2005  christos branches: 1.8.2; 1.8.4; 1.8.6;
merge ktrace-lwp.
 1.7 30-Mar-2004  simonb branches: 1.7.12;
Remove some bogus config goop that should never have been here.
 1.6 13-Mar-2004  bjh21 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.5 19-Nov-2003  scw Include arch/powerpc/ibm4xx/intr.c only if a particular board actually
uses the generic 4xx interrupt implementation.
There are some 4xx boards with entirely different interrupt controllers.
 1.4 06-Oct-2003  scw Rename dsrtc to avoid clashing with the MI i2c ds1307 driver.
 1.3 25-Jul-2003  scw Switch ibm4xx ports to common powerpc bus_space/bus_dma code.
XXX: Walnut PCI support is broken. This will be addressed shortly.
 1.2 04-Mar-2003  matt branches: 1.2.2;
Re-arrange things in evbppc & powerpc to support OEA-based eval boards
in evbppc. OEA-based board(s) to be added later.
 1.1 09-Dec-2002  scw branches: 1.1.2;
New umbrella-port for PowerPC-based evaluation boards.

The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file files.walnut was added on branch nathanw_sa on 2002-12-11 06:29:00 +0000
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.7.12.5 27-Feb-2008  yamt sync with head.
 1.7.12.4 07-Dec-2007  yamt sync with head
 1.7.12.3 03-Sep-2007  yamt sync with head.
 1.7.12.2 30-Dec-2006  yamt sync with head.
 1.7.12.1 21-Jun-2006  yamt sync with head.
 1.8.6.1 22-Apr-2006  simonb Sync with head.
 1.8.4.1 09-Sep-2006  rpaulo sync with head
 1.8.2.1 01-Mar-2006  yamt sync with head.
 1.9.10.1 13-Jul-2006  gdamore Merge from HEAD.
 1.9.2.1 11-Aug-2006  yamt sync with head
 1.10.6.2 10-Dec-2006  yamt sync with head.
 1.10.6.1 22-Oct-2006  yamt sync with head
 1.10.4.2 12-Jan-2007  ad Sync with head.
 1.10.4.1 18-Nov-2006  ad Sync with head.
 1.12.10.1 11-Jul-2007  mjf Sync with head.
 1.12.8.2 03-Dec-2007  ad Sync with HEAD.
 1.12.8.1 10-Apr-2007  ad Sync with head.
 1.12.4.1 15-Apr-2007  yamt sync with head.
 1.13.20.1 08-Dec-2007  mjf Sync with HEAD.
 1.13.14.2 23-Mar-2008  matt sync with HEAD
 1.13.14.1 09-Jan-2008  matt sync with HEAD
 1.13.12.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.15.32.1 30-May-2010  rmind sync with head
 1.15.30.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.15.10.1 11-Aug-2010  yamt sync with head.
 1.16.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.17.68.1 03-Apr-2021  thorpej Sync with HEAD.
 1.17.66.1 03-Apr-2021  thorpej Sync with HEAD.
 1.6 17-Feb-2025  macallan have resetbtn pull in sysmon_power and sysmon_taskq
now this builds without any other envsys drivers present
 1.5 12-Feb-2025  jmcneill wii: Add support for Wii DVD drive.

This adds a virtual SCSI HBA driver that is able to read DVD video discs
inserted in the Wii.
 1.4 25-Jan-2024  jmcneill branches: 1.4.2; 1.4.4;
wii: Add External interface bus and RTC support
 1.3 23-Jan-2024  jmcneill wii: Add GPIO, I2C, and basic A/V encoder driver.
 1.2 22-Jan-2024  jmcneill wii: Add drivers for Broadway DSP and Audio interface.

0: [*] audio0 @ bwdsp0: Broadway DSP
playback: 16, 2ch, 48000Hz
record: unavailable
(P-) slinear_be 16/16, 2ch, { 48000 }
 1.1 20-Jan-2024  jmcneill evbppc: Add initial support for the Nintendo Wii
 1.4.4.1 02-Aug-2025  perseant Sync with HEAD
 1.4.2.3 22-Feb-2025  martin Pull up following revision(s) (requested by jmcneill in ticket #1052):

sys/kern/subr_disk_mbr.c: revision 1.59
sys/arch/evbppc/include/wii.h: revision 1.10
sys/arch/evbppc/wii/machdep.c: revision 1.9
sys/arch/evbppc/conf/files.wii: revision 1.5
sys/arch/evbppc/wii/dev/di.c: revision 1.1
sys/arch/evbppc/conf/WII: revision 1.8

Handle reading larger sectors (including 2k CD-ROM blocks).

Fall back to scan for ISO9660 sessions when MMC code fails.
disklabel now reports ISO/UDF partitions again for cd(4).

wii: Add more register definitions.

wii: Add support for Wii DVD drive.
This adds a virtual SCSI HBA driver that is able to read DVD video discs
inserted in the Wii.

wii: Early init for DVD support
 1.4.2.2 03-Feb-2024  martin Pull up following revision(s) (requested by jmcneill in ticket #561):

etc/etc.evbppc/Makefile.inc: revision 1.15
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.2
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.3
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.2
distrib/utils/embedded/files/evbppc_wii_icon.png: revision 1.1
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.4
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.4
sys/arch/evbppc/wii/dev/viio.h: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.5
sys/arch/evbppc/wii/dev/mainbus.h: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.2
distrib/utils/embedded/conf/wii.conf: revision 1.3
sys/dev/sdmmc/sdhcvar.h: revision 1.34
sys/dev/sdmmc/sdhc.c: revision 1.118
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.1
distrib/utils/embedded/conf/evbppc.conf: revision 1.1
sys/dev/wsfb/genfb.c: revision 1.91
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.2
sys/dev/wscons/wsconsio.h: revision 1.127
sys/arch/powerpc/oea/oea_machdep.c: revision 1.85
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.1
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.2
sys/arch/evbppc/conf/std.wii: revision 1.3
sys/arch/powerpc/oea/cpu_subr.c: revision 1.109
sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.1
sys/dev/usb/usb.h: revision 1.124
sys/arch/evbppc/wii/machdep.c: revision 1.1
sys/arch/evbppc/wii/dev/rtcsram.c: revision 1.1
sys/arch/powerpc/include/oea/hid.h: revision 1.14
sys/arch/evbppc/wii/mainbus.c: revision 1.1
sys/arch/evbppc/wii/machdep.c: revision 1.2
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.1
sys/arch/evbppc/wii/mainbus.c: revision 1.2
sys/arch/evbppc/wii/machdep.c: revision 1.3
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.2
sys/arch/evbppc/wii/mainbus.c: revision 1.3
sys/arch/evbppc/wii/machdep.c: revision 1.4
sys/arch/evbppc/wii/dev/hwgpio.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.2
sys/arch/evbppc/wii/wii_locore.S: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.1
sys/arch/evbppc/wii/wii_locore.S: revision 1.2
sys/arch/evbppc/include/wii.h: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.2
sys/arch/evbppc/wii/dev/exi.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.2
sys/arch/evbppc/conf/files.wii: revision 1.3
sys/arch/powerpc/powerpc/clock.c: revision 1.18
sys/arch/evbppc/include/wii.h: revision 1.3
sys/arch/evbppc/conf/files.wii: revision 1.4
sys/arch/evbppc/include/wii.h: revision 1.4
sys/arch/evbppc/wii/dev/exi.h: revision 1.1
sys/arch/evbppc/wii/dev/avenc.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.5
sys/arch/evbppc/include/wii.h: revision 1.6
sys/arch/evbppc/include/wii.h: revision 1.7
sys/arch/evbppc/wii/dev/avenc.h: revision 1.1
distrib/utils/embedded/mkimage: revision 1.79
sys/arch/evbppc/conf/WII: revision 1.1
sys/arch/evbppc/conf/INSTALL_WII: revision 1.1
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.1
sys/arch/evbppc/wii/dev/vireg.h: revision 1.1
sys/arch/evbppc/conf/WII: revision 1.2
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.2
sys/arch/evbppc/wii/dev/vireg.h: revision 1.2
sys/arch/evbppc/conf/WII: revision 1.3
sys/arch/evbppc/conf/WII: revision 1.4
usr.sbin/sysinst/arch/evbppc/md.c: revision 1.11
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.1
sys/dev/usb/ehcivar.h: revision 1.52
sys/arch/evbppc/wii/pic_pi.c: revision 1.1
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.2
etc/etc.evbppc/ttys: revision 1.8
sys/arch/evbppc/wii/dev/bwai.c: revision 1.1
sys/arch/evbppc/wii/dev/bwai.c: revision 1.2
sys/arch/evbppc/wii/dev/bwai.c: revision 1.3
sys/arch/evbppc/wii/autoconf.c: revision 1.1
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.1
sys/arch/evbppc/wii/dev/bwai.h: revision 1.1
sys/arch/evbppc/wii/autoconf.c: revision 1.2
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.2

powerpc: oea: Fix prefetchable mappings
Prefetchable mappings need PMAP_NOCACHE to get write-combine semantics.
powerpc: oea: Decode IBM750CL L2 cache information.
sdmmc: add support for optional delay after register write
wscons: Add HOLLYWOOD display and YUY2 pixel format types
wsfb: add support for optional "devcmap" property
A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.
ehci: add EHCIF_32BIT_ACCESS flag to force 32-bit MMIO
fix comments: HID0 ICFI/DCFI are "flash invalidate", not "flush invalidate"
powerpc: fix delay for large (> ~5sec) values
When calculating the target timebase, promote '1000' on the RHS to ULL
to force 64-bit calculation, otherwise 'n * 1000' will overflow.
usb: increase USB_PORT_RESET_RECOVERY from 10ms to 20ms
I changed this from 250ms to 10ms back in 2021 based on a similar FreeBSD
change, but it seems to be a bit too aggressive for some platforms.
evbppc: Add initial support for the Nintendo Wii
wii: support RB_POWERDOWN
build fix: use dd with count=1 for compat with NetBSD dd(1)
wii: Add NTSC 480p support.
In addition to this, add VIIO_{GET,SET}REGS ioctl support to allow for
poking at video interface registers from userland. This is helpful for
debugging display issues.
wii: Add 128x48 icon to SD card image
wii: Fix a comment
wii: Add drivers for Broadway DSP and Audio interface.
0: [*] audio0 @ bwdsp0: Broadway DSP
playback: 16, 2ch, 48000Hz
record: unavailable
(P-) slinear_be 16/16, 2ch, { 48000 }
wii: Add screenblank support.
wii: Use screen dimming register for screen blanking.
wii: Add GPIO, I2C, and basic A/V encoder driver.
wii: Use A/V encoder volume controls instead of using a software filter.
wii: Simply DSP driver - no interrupt handler required.
wii: provide device names to intr_establish
wii$ intrctl list
interrupt id CPU0 device name(s)
pi irq 14 64769* hollywood0
hollywood irq 36 5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40 4* sdhc1
hollywood irq 49 0* resetbtn0
pi irq 5 0* bwai0
wii: Add support for passing boot options to the kernel.
wii: Add External interface bus and RTC support
wii: Remove objcopy after kernel build.
HBC will do the right thing.
Add wsvt25 entries (off by default) for ttyE0-ttyE3.
Add support for "PAL" (576i) mode on Wii.
 1.4.2.1 25-Jan-2024  martin file files.wii was added on branch netbsd-10 on 2024-02-03 11:47:06 +0000
 1.37 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.36 04-Apr-2020  jdolecek branches: 1.36.8;
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 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.32 23-Apr-2015  pgoyette branches: 1.32.16; 1.32.18;
Update device dependency information - the sysmon major device now depends on the sysmon module itself, not on the individual components.
 1.31 30-Jun-2011  wiz branches: 1.31.12; 1.31.30;
dependant -> dependent
 1.30 06-Mar-2010  plunky use a MI major number for uhso(4) driver
(requested by mrg)
 1.29 06-Mar-2010  plunky add major device for usho(4) driver
 1.28 12-Nov-2008  ad branches: 1.28.6;
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.27 31-Dec-2007  ad branches: 1.27.6; 1.27.10; 1.27.16; 1.27.18;
Remove systrace. Ok core@.
 1.26 02-Dec-2006  freza branches: 1.26.24; 1.26.30; 1.26.36;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.25 24-Nov-2006  wiz s/independant/independent/, from Zafer.
 1.24 11-Dec-2005  christos branches: 1.24.20; 1.24.22;
merge ktrace-lwp.
 1.23 17-Sep-2005  yamt make VMSWAP optional again.
 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 defflag VMSWAP.
 1.20 10-May-2005  jdolecek branches: 1.20.2;
assign major for nsmb(4)
 1.19 14-Feb-2005  briggs twe doesn't get a block device.
 1.18 12-Feb-2005  briggs Add twe.
 1.17 20-Oct-2004  scw branches: 1.17.4; 1.17.6;
Add dmoverio
 1.16 10-Dec-2003  jmc Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
 1.15 24-Oct-2003  jdolecek add major for 'ses' for archs which have the other scsi devices
 1.14 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major
range
 1.13 10-Oct-2003  jdolecek update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
 1.12 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.11 22-Aug-2003  itojun create /dev/crypto
 1.10 17-Aug-2003  hannken Add lpt (for explora) as char 20.
This major number is unused in macppc.
 1.9 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.8 25-Apr-2003  ragge branches: 1.8.2;
Add ksyms device major.
 1.7 16-Apr-2003  wiz Make it wsfont/wsfont instead of wsfont/wsmux, just like the other ports.
 1.6 16-Mar-2003  matt EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware. XXX PCI devices are not found.
 1.5 13-Mar-2003  matt Synchronize macppc and evbppc majors when possible. Add a lot of missing
devices to evbppc.
 1.4 13-Mar-2003  hannken Add wscons to MAKEDEV. Add wsfont major number.
 1.3 11-Mar-2003  hannken Add a port to the NCD Explora451 ThinClient.

- Supported devices: le, com, lpt, pckbd, frame buffer.
- Support missing: phy, audio, pcmcia.
- Boots from network or md.

Approved by: Eduardo Horvath <eeh@netbsd.org>
 1.2 31-Dec-2002  thorpej Fix sysmon entry.
 1.1 09-Dec-2002  scw branches: 1.1.2;
New umbrella-port for PowerPC-based evaluation boards.

The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
 1.1.2.3 03-Jan-2003  thorpej Sync with HEAD.
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file majors.evbppc was added on branch nathanw_sa on 2002-12-11 06:29:00 +0000
 1.8.2.6 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.2.5 15-Feb-2005  skrll Sync with HEAD.
 1.8.2.4 02-Nov-2004  skrll Sync with HEAD.
 1.8.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.2.1 03-Aug-2004  skrll Sync with HEAD
 1.17.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.17.6.1 12-Feb-2005  yamt sync with head.
 1.17.4.1 29-Apr-2005  kent sync with -current
 1.20.2.3 21-Jan-2008  yamt sync with head
 1.20.2.2 30-Dec-2006  yamt sync with head.
 1.20.2.1 21-Jun-2006  yamt sync with head.
 1.24.22.1 10-Dec-2006  yamt sync with head.
 1.24.20.1 12-Jan-2007  ad Sync with head.
 1.26.36.1 02-Jan-2008  bouyer Sync with HEAD
 1.26.30.1 18-Feb-2008  mjf Sync with HEAD.
 1.26.24.1 09-Jan-2008  matt sync with HEAD
 1.27.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.27.16.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.27.10.1 04-May-2009  yamt sync with head.
 1.27.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.28.6.3 27-Oct-2010  uebayasi Move flash(4)/xmd(4) majors to MI, as suggested by Chuck Silvers.
 1.28.6.2 19-Aug-2010  uebayasi Initial addition of xmd(4), XIP memory disk.
 1.28.6.1 11-Aug-2010  uebayasi Implement flash(4) glue at exb(4).
 1.31.30.1 06-Jun-2015  skrll Sync with HEAD
 1.31.12.1 03-Dec-2017  jdolecek update from HEAD
 1.32.18.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.32.18.1 10-Jun-2019  christos Sync with HEAD
 1.32.16.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.34.6.1 29-Feb-2020  ad Sync with head.
 1.36.8.1 01-Aug-2021  thorpej Sync with HEAD.
 1.1 02-Apr-2021  rin branches: 1.1.2; 1.1.4;
evbppc: Add support for DHT Walnut 405GP evaluation board.
(Digital Home Technologies PCB 01070201 Rev. 1.1)

Official web page seems gone, but analyses by Linux people are at:

- https://elinux.org/DHT-Walnut
- http://web.archive.org/web/20070225171826/http://supernova.stanford.edu/dingdong/

The board features:

- 266MHz PowerPC 405GP processor
- one PC133 SDRAM slot
- two 32-bit 5V PCI slot
- on-chip ethernet controller with DP83843 PHY
- on-chip serial port / GPIO controller
- on-board PDC20265 IDE controller

Hardware limitations:

- no MAC address assigned
- no RTC present

Known problem:

- atabus(4) channels cannot be attached to pdcide(4) for cold boot

dmesg:

- https://dmesgd.nycbug.org/index.cgi?do=view&id=5997

Have fun!
 1.1.4.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.4.1 02-Apr-2021  thorpej file std.dht was added on branch thorpej-futex on 2021-04-03 22:28:24 +0000
 1.1.2.2 03-Apr-2021  thorpej Sync with HEAD.
 1.1.2.1 02-Apr-2021  thorpej file std.dht was added on branch thorpej-cfargs on 2021-04-03 21:44:43 +0000
 1.8 28-Apr-2010  kiyohara Clean up gt and peripherals.
This change tested compile only.
 1.7 08-Jan-2008  joerg branches: 1.7.10; 1.7.30; 1.7.32;
Finish conversion of ppc and evbppc to timecounter.
Tested by simonb@ on WALNUT.
 1.6 17-Oct-2007  garbled branches: 1.6.2; 1.6.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.5 11-Dec-2005  christos branches: 1.5.30; 1.5.38; 1.5.48; 1.5.50; 1.5.52; 1.5.54;
merge ktrace-lwp.
 1.4 17-Sep-2005  yamt include "conf/std".
 1.3 12-Aug-2003  matt branches: 1.3.16;
Remove SPILLSTK leftovers.
 1.2 16-Mar-2003  matt branches: 1.2.2;
EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware. XXX PCI devices are not found.
 1.1 05-Mar-2003  matt Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
 1.2.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.16.3 21-Jan-2008  yamt sync with head
 1.3.16.2 27-Oct-2007  yamt sync with head.
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.5.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.52.1 18-Oct-2007  yamt sync with head.
 1.5.50.2 09-Jan-2008  matt sync with HEAD
 1.5.50.1 06-Nov-2007  matt sync with HEAD
 1.5.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.38.2 17-Oct-2007  garbled Back out most of the PIC rennovation on ev64260, it was not completed,
and can be completed post-merge. With these changes, ev64260 compiles
again on the branch. Untested.
 1.5.38.1 22-May-2007  matt WIP. Adapt ev64260 to the new pic code.
 1.5.30.1 23-Oct-2007  ad Sync with head.
 1.6.8.1 08-Jan-2008  bouyer Sync with HEAD
 1.6.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.7.32.1 30-May-2010  rmind sync with head
 1.7.30.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.7.10.1 11-Aug-2010  yamt sync with head.
 1.11 30-May-2022  rin Restrict strictly-aligned versions of memcmp(9), memcpy(9), and
memmove(9) to 403, instead of all evbppc machines.

Introduce strict-align LIBKERN_MD_FLAGS for this purpose.
 1.10 30-May-2022  rin For IBM_PPC403, emulate unaligned memory access for userland process.
 1.9 26-Jun-2021  rin Oops, revert unintentional part of the previous.
 1.8 26-Jun-2021  rin Set VMSWAP_DEFAULT_PLAINTEXT for Explora 450 (IBM_PPC403).
(slow CPU & memory shortage)
 1.7 05-Mar-2021  rin branches: 1.7.4;
Bump INTSTK to 16KB, i.e., one VM page, in the same manner as other boards.
 1.6 05-Mar-2021  rin For Explora 451, call calc_delayconst() before pckbc_cnattach(), which
depends on delay() and DELAY().

Unfortunately, proplib(9) API is not available for MD codes, that are
called before consinit() (since pool(9) is not initialized yet).

Therefore, hard-code CPU frequency to calc_delayconst() in case
"processor-frequency" is not initialized.
 1.5 20-Jun-2011  matt branches: 1.5.66;
Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
 1.4 11-Dec-2005  christos branches: 1.4.110;
merge ktrace-lwp.
 1.3 17-Sep-2005  yamt include "conf/std".
 1.2 12-Aug-2003  matt branches: 1.2.16;
Remove SPILLSTK leftovers.
 1.1 11-Mar-2003  hannken branches: 1.1.2;
Add a port to the NCD Explora451 ThinClient.

- Supported devices: le, com, lpt, pckbd, frame buffer.
- Support missing: phy, audio, pcmcia.
- Boots from network or md.

Approved by: Eduardo Horvath <eeh@netbsd.org>
 1.1.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.2.16.1 21-Jun-2006  yamt sync with head.
 1.4.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.5.66.1 03-Apr-2021  thorpej Sync with HEAD.
 1.7.4.1 01-Aug-2021  thorpej Sync with HEAD.
 1.6 10-Jun-2011  matt Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
 1.5 08-Jun-2011  matt Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
 1.4 28-May-2011  matt branches: 1.4.2;
NEEDS_MDSETIMAGE -> NEED_MDSETIMAGE
 1.3 02-May-2011  matt mpc85xx uses MBRs
 1.2 18-Jan-2011  matt branches: 1.2.4;
Add support for various MPC85xx platforms. The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform. The CF on
the RB800 doesn't work yet.
 1.1 07-Jan-2011  matt branches: 1.1.2; 1.1.4;
file std.mpc85xx was initially added on branch matt-nb5-pq3.
 1.1.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.2.2 14-Oct-2011  matt Sync with current pulling P2020 and other newer processor support.
 1.1.2.1 07-Jan-2011  matt Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
 1.2.4.4 12-Jun-2011  rmind sync with head
 1.2.4.3 31-May-2011  rmind sync with head
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 18-Jan-2011  rmind file std.mpc85xx was added on branch rmind-uvmplock on 2011-03-05 20:50:15 +0000
 1.4.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.5 01-Mar-2020  rin Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.
However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.

Proposed on port-powerpc:

http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html
 1.4 18-Mar-2010  kiyohara branches: 1.4.60; 1.4.64;
Support Plathome's OpenBlockS600.
 1.3 11-Dec-2005  christos branches: 1.3.78; 1.3.98; 1.3.100;
merge ktrace-lwp.
 1.2 17-Sep-2005  yamt include "conf/std".
 1.1 18-Mar-2005  shige branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Add sources for OpenBlockS200 (OpenBlockS S/R) machine.
 1.1.8.1 21-Jun-2006  yamt sync with head.
 1.1.6.2 29-Apr-2005  kent sync with -current
 1.1.6.1 18-Mar-2005  kent file std.obs200 was added on branch kent-audio2 on 2005-04-29 11:28:08 +0000
 1.1.4.3 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.2 01-Apr-2005  skrll Sync with HEAD.
 1.1.4.1 18-Mar-2005  skrll file std.obs200 was added on branch ktrace-lwp on 2005-04-01 14:27:26 +0000
 1.1.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.2.1 18-Mar-2005  yamt file std.obs200 was added on branch yamt-km on 2005-03-19 08:32:57 +0000
 1.3.100.1 30-May-2010  rmind sync with head
 1.3.98.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.3.78.1 11-Aug-2010  yamt sync with head.
 1.4.64.1 03-Mar-2020  martin Pull up following revision(s) (requested by rin in ticket #755):

sys/arch/evbppc/conf/std.virtex: revision 1.4
sys/arch/powerpc/powerpc/trap_subr.S: revision 1.81
sys/arch/powerpc/ibm4xx/4xx_trap_subr.S: revision 1.8
sys/arch/evbppc/conf/std.walnut: revision 1.9
common/lib/libc/arch/powerpc/atomic/atomic_op_asm.h: revision 1.7
sys/arch/powerpc/include/asm.h: revision 1.49
common/lib/libc/arch/powerpc/atomic/atomic_cas.S: revision 1.9
sys/arch/powerpc/ibm4xx/trap_subr.S: revision 1.28
sys/arch/powerpc/include/lock.h: revision 1.15
sys/arch/evbppc/conf/std.obs266: revision 1.3
common/lib/libc/arch/powerpc/atomic/atomic_swap.S: revision 1.8
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.61
sys/arch/powerpc/powerpc/lock_stubs.S: revision 1.12
sys/arch/evbppc/conf/std.obs200: revision 1.5

Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.

However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.
Proposed on port-powerpc:

http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html
 1.4.60.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.3 01-Mar-2020  rin Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.
However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.

Proposed on port-powerpc:

http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html
 1.2 04-Apr-2011  dyoung branches: 1.2.56; 1.2.60;
Pull in the Atheros HAL options so that OPENBLOCKS266_OPT will build.
 1.1 18-Mar-2010  kiyohara branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Support Plathome's OpenBlockS600.
 1.1.8.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 18-Mar-2010  yamt file std.obs266 was added on branch yamt-nfs-mp on 2010-08-11 22:51:54 +0000
 1.1.4.3 21-Apr-2011  rmind sync with head
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 18-Mar-2010  rmind file std.obs266 was added on branch rmind-uvmplock on 2010-05-30 05:16:43 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 18-Mar-2010  uebayasi file std.obs266 was added on branch uebayasi-xip on 2010-04-30 14:39:17 +0000
 1.2.60.1 03-Mar-2020  martin Pull up following revision(s) (requested by rin in ticket #755):

sys/arch/evbppc/conf/std.virtex: revision 1.4
sys/arch/powerpc/powerpc/trap_subr.S: revision 1.81
sys/arch/powerpc/ibm4xx/4xx_trap_subr.S: revision 1.8
sys/arch/evbppc/conf/std.walnut: revision 1.9
common/lib/libc/arch/powerpc/atomic/atomic_op_asm.h: revision 1.7
sys/arch/powerpc/include/asm.h: revision 1.49
common/lib/libc/arch/powerpc/atomic/atomic_cas.S: revision 1.9
sys/arch/powerpc/ibm4xx/trap_subr.S: revision 1.28
sys/arch/powerpc/include/lock.h: revision 1.15
sys/arch/evbppc/conf/std.obs266: revision 1.3
common/lib/libc/arch/powerpc/atomic/atomic_swap.S: revision 1.8
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.61
sys/arch/powerpc/powerpc/lock_stubs.S: revision 1.12
sys/arch/evbppc/conf/std.obs200: revision 1.5

Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.

However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.
Proposed on port-powerpc:

http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html
 1.2.56.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6 22-Jun-2011  matt Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.5 20-Jun-2011  matt Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
 1.4 18-Mar-2010  kiyohara branches: 1.4.6;
Support Plathome's OpenBlockS600.
 1.3 11-Dec-2005  christos branches: 1.3.78; 1.3.98; 1.3.100;
merge ktrace-lwp.
 1.2 17-Sep-2005  yamt include "conf/std".
 1.1 23-Sep-2003  shige branches: 1.1.4; 1.1.18;
Add new evbppc port.
This port is for OpenBlockS266.
OpenBlockS266: IBM405GPr OpenBIOS.
X1226 is a rtc chip connected with IIC bus.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 23-Sep-2003  skrll file std.obs405 was added on branch ktrace-lwp on 2004-08-03 10:34:16 +0000
 1.3.100.1 30-May-2010  rmind sync with head
 1.3.98.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.3.78.1 11-Aug-2010  yamt sync with head.
 1.4.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 21-Nov-2013  kiyohara Add dwctwo and umass.
And cleanup.
However dwctwo@plb is buggy...
 1.1 18-Mar-2010  kiyohara branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14; 1.1.24; 1.1.28;
Support Plathome's OpenBlockS600.
 1.1.28.1 18-May-2014  rmind sync with head
 1.1.24.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.14.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.2 11-Aug-2010  yamt sync with head.
 1.1.6.1 18-Mar-2010  yamt file std.obs600 was added on branch yamt-nfs-mp on 2010-08-11 22:51:54 +0000
 1.1.4.2 30-May-2010  rmind sync with head
 1.1.4.1 18-Mar-2010  rmind file std.obs600 was added on branch rmind-uvmplock on 2010-05-30 05:16:43 +0000
 1.1.2.2 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.2.1 18-Mar-2010  uebayasi file std.obs600 was added on branch uebayasi-xip on 2010-04-30 14:39:17 +0000
 1.4 22-Jun-2011  matt Make pmppc use stock <powerpc/pci_machdep.h>
Move some private declartions to <pmppc/dev/mainbus.h>
 1.3 08-Jan-2008  joerg Finish conversion of ppc and evbppc to timecounter.
Tested by simonb@ on WALNUT.
 1.2 17-Oct-2007  garbled branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8; 1.2.14;
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.1 08-May-2007  garbled branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10;
file std.pmppc was initially added on branch ppcoea-renovation.
 1.1.10.1 25-Oct-2007  bouyer Sync with HEAD.
 1.1.8.1 18-Oct-2007  yamt sync with head.
 1.1.6.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.2.1 08-May-2007  garbled Move pmppc over to evbppc. (previous location sys/arch/pmppc)
 1.2.14.1 08-Jan-2008  bouyer Sync with HEAD
 1.2.8.3 09-Jan-2008  matt sync with HEAD
 1.2.8.2 06-Nov-2007  matt sync with HEAD
 1.2.8.1 17-Oct-2007  matt file std.pmppc was added on branch matt-armv6 on 2007-11-06 23:16:14 +0000
 1.2.6.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.4.3 21-Jan-2008  yamt sync with head
 1.2.4.2 27-Oct-2007  yamt sync with head.
 1.2.4.1 17-Oct-2007  yamt file std.pmppc was added on branch yamt-lazymbuf on 2007-10-27 11:25:53 +0000
 1.2.2.2 23-Oct-2007  ad Sync with head.
 1.2.2.1 17-Oct-2007  ad file std.pmppc was added on branch vmlocking on 2007-10-23 20:35:42 +0000
 1.4 01-Mar-2020  rin Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.
However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.

Proposed on port-powerpc:

http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html
 1.3 20-Jun-2011  matt branches: 1.3.54; 1.3.58;
Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
 1.2 18-Mar-2010  kiyohara branches: 1.2.6;
Support PowerPC 405EX/EXr.
1. Add some new source and header files.
(MAL(split) and RGMII(new) relations for EMAC)
2. Create dcr4xx.h. Its moved from dcr405gp.h. Also remove dcr405xx.h.
3. intr.c supports MULTIUIC with virtual-irq. likes to oea.
support 32-virq/128-hwirq.
4. multiple emac support.
5. WALNUT and VIRTEX_* includes arch/powerpc/conf/files.ibm4xx.
6. WALNUT pci uses arch/powerpc/ibm4xx/pci/.
 1.1 02-Dec-2006  freza branches: 1.1.2; 1.1.4; 1.1.6; 1.1.54; 1.1.74; 1.1.76;
Welcome to evbppc/virtex -- port to Xilinx Virtex series FPGA's with embedded
ibm405d5 core.

OK by Simon Burge
 1.1.76.1 30-May-2010  rmind sync with head
 1.1.74.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.1.54.1 11-Aug-2010  yamt sync with head.
 1.1.6.2 12-Jan-2007  ad Sync with head.
 1.1.6.1 02-Dec-2006  ad file std.virtex was added on branch newlock2 on 2007-01-12 01:00:47 +0000
 1.1.4.2 30-Dec-2006  yamt sync with head.
 1.1.4.1 02-Dec-2006  yamt file std.virtex was added on branch yamt-lazymbuf on 2006-12-30 20:45:52 +0000
 1.1.2.2 10-Dec-2006  yamt sync with head.
 1.1.2.1 02-Dec-2006  yamt file std.virtex was added on branch yamt-splraiseipl on 2006-12-10 07:15:53 +0000
 1.2.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3.58.1 03-Mar-2020  martin Pull up following revision(s) (requested by rin in ticket #755):

sys/arch/evbppc/conf/std.virtex: revision 1.4
sys/arch/powerpc/powerpc/trap_subr.S: revision 1.81
sys/arch/powerpc/ibm4xx/4xx_trap_subr.S: revision 1.8
sys/arch/evbppc/conf/std.walnut: revision 1.9
common/lib/libc/arch/powerpc/atomic/atomic_op_asm.h: revision 1.7
sys/arch/powerpc/include/asm.h: revision 1.49
common/lib/libc/arch/powerpc/atomic/atomic_cas.S: revision 1.9
sys/arch/powerpc/ibm4xx/trap_subr.S: revision 1.28
sys/arch/powerpc/include/lock.h: revision 1.15
sys/arch/evbppc/conf/std.obs266: revision 1.3
common/lib/libc/arch/powerpc/atomic/atomic_swap.S: revision 1.8
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.61
sys/arch/powerpc/powerpc/lock_stubs.S: revision 1.12
sys/arch/evbppc/conf/std.obs200: revision 1.5

Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.

However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.
Proposed on port-powerpc:

http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html
 1.3.54.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.9 01-Mar-2020  rin Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.
However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.

Proposed on port-powerpc:

http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html
 1.8 22-Jun-2011  matt branches: 1.8.54; 1.8.58;
Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.7 20-Jun-2011  matt Change IBM4xx to use the common powerpc PIC framework.
Consolidate most ibm4xx initppc function into ibm4xx_init
and Make all IBM4xx use it.
Change explora to use initppc instead of bootstrap.
 1.6 11-Dec-2005  christos branches: 1.6.110;
merge ktrace-lwp.
 1.5 17-Sep-2005  yamt include "conf/std".
 1.4 12-Aug-2003  matt branches: 1.4.16;
Remove SPILLSTK leftovers.
 1.3 04-Mar-2003  matt branches: 1.3.2;
Re-arrange things in evbppc & powerpc to support OEA-based eval boards
in evbppc. OEA-based board(s) to be added later.
 1.2 02-Feb-2003  matt Perform a rototill of the powerpc code. Mandate use of SPRG0 to store
a pointer to current cpu's cpu_info structure. Use cpu_info for
intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on
non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and
INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make
ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx
trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK
to std.<platform>. Change faultbuf to a struct instead of an array.

On MPC6XX cpus, stop using the vector page for temporary space and use
reserved space in cpu_info.
 1.1 09-Dec-2002  scw branches: 1.1.2;
New umbrella-port for PowerPC-based evaluation boards.

The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 09-Dec-2002  thorpej file std.walnut was added on branch nathanw_sa on 2002-12-11 06:29:01 +0000
 1.3.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 21-Jun-2006  yamt sync with head.
 1.6.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.8.58.1 03-Mar-2020  martin Pull up following revision(s) (requested by rin in ticket #755):

sys/arch/evbppc/conf/std.virtex: revision 1.4
sys/arch/powerpc/powerpc/trap_subr.S: revision 1.81
sys/arch/powerpc/ibm4xx/4xx_trap_subr.S: revision 1.8
sys/arch/evbppc/conf/std.walnut: revision 1.9
common/lib/libc/arch/powerpc/atomic/atomic_op_asm.h: revision 1.7
sys/arch/powerpc/include/asm.h: revision 1.49
common/lib/libc/arch/powerpc/atomic/atomic_cas.S: revision 1.9
sys/arch/powerpc/ibm4xx/trap_subr.S: revision 1.28
sys/arch/powerpc/include/lock.h: revision 1.15
sys/arch/evbppc/conf/std.obs266: revision 1.3
common/lib/libc/arch/powerpc/atomic/atomic_swap.S: revision 1.8
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.61
sys/arch/powerpc/powerpc/lock_stubs.S: revision 1.12
sys/arch/evbppc/conf/std.obs200: revision 1.5

Implement workaround for IBM405 Errata 77 (aka CPU_210), where
interrupted stwcx. may errantly write data to memory:

https://elinux.org/images/1/1d/Ppc405gp-errata.pdf

This is because stwcx. is split into two pieces in the pipeline.

We need to
(1) insert dcbt before every stwcx. instruction, as well as
(2) insert sync before every rfi/rfci instruction.

It is unclear which processors are affected, but according to Linux,
all 405-based cores up until 405GPR and 405EP are affected:

https://github.com/torvalds/linux/blob/master/arch/powerpc/platforms/40x/Kconfig#L140

For kernel, this workaround can be restricted to affected processors.

However, for kernel modules and userland, we have to enable it for all
32bit powerpc archs in order to share common binaries as before.
Proposed on port-powerpc:

http://mail-index.netbsd.org/port-powerpc/2020/02/21/msg003583.html
 1.8.54.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.4 02-Sep-2025  jmcneill wii: Do not encrypt swap by default
 1.3 26-Jan-2024  jmcneill branches: 1.3.2;
wii: Remove objcopy after kernel build.

HBC will do the right thing.
 1.2 22-Jan-2024  jmcneill wii: Fix a comment
 1.1 20-Jan-2024  jmcneill evbppc: Add initial support for the Nintendo Wii
 1.3.2.2 03-Feb-2024  martin Pull up following revision(s) (requested by jmcneill in ticket #561):

etc/etc.evbppc/Makefile.inc: revision 1.15
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.2
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.3
sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.2
distrib/utils/embedded/files/evbppc_wii_icon.png: revision 1.1
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.4
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.4
sys/arch/evbppc/wii/dev/viio.h: revision 1.1
sys/arch/evbppc/wii/dev/wiifb.c: revision 1.5
sys/arch/evbppc/wii/dev/mainbus.h: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.1
distrib/utils/embedded/conf/wii.conf: revision 1.2
distrib/utils/embedded/conf/wii.conf: revision 1.3
sys/dev/sdmmc/sdhcvar.h: revision 1.34
sys/dev/sdmmc/sdhc.c: revision 1.118
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.1
distrib/utils/embedded/conf/evbppc.conf: revision 1.1
sys/dev/wsfb/genfb.c: revision 1.91
sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.2
sys/dev/wscons/wsconsio.h: revision 1.127
sys/arch/powerpc/oea/oea_machdep.c: revision 1.85
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.1
sys/arch/evbppc/wii/dev/hollywood.h: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.1
sys/arch/evbppc/conf/std.wii: revision 1.2
sys/arch/evbppc/wii/dev/hollywood.c: revision 1.2
sys/arch/evbppc/conf/std.wii: revision 1.3
sys/arch/powerpc/oea/cpu_subr.c: revision 1.109
sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.1
sys/dev/usb/usb.h: revision 1.124
sys/arch/evbppc/wii/machdep.c: revision 1.1
sys/arch/evbppc/wii/dev/rtcsram.c: revision 1.1
sys/arch/powerpc/include/oea/hid.h: revision 1.14
sys/arch/evbppc/wii/mainbus.c: revision 1.1
sys/arch/evbppc/wii/machdep.c: revision 1.2
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.1
sys/arch/evbppc/wii/mainbus.c: revision 1.2
sys/arch/evbppc/wii/machdep.c: revision 1.3
sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.2
sys/arch/evbppc/wii/mainbus.c: revision 1.3
sys/arch/evbppc/wii/machdep.c: revision 1.4
sys/arch/evbppc/wii/dev/hwgpio.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.1
sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.2
sys/arch/evbppc/wii/wii_locore.S: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.1
sys/arch/evbppc/wii/wii_locore.S: revision 1.2
sys/arch/evbppc/include/wii.h: revision 1.1
sys/arch/evbppc/conf/files.wii: revision 1.2
sys/arch/evbppc/wii/dev/exi.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.2
sys/arch/evbppc/conf/files.wii: revision 1.3
sys/arch/powerpc/powerpc/clock.c: revision 1.18
sys/arch/evbppc/include/wii.h: revision 1.3
sys/arch/evbppc/conf/files.wii: revision 1.4
sys/arch/evbppc/include/wii.h: revision 1.4
sys/arch/evbppc/wii/dev/exi.h: revision 1.1
sys/arch/evbppc/wii/dev/avenc.c: revision 1.1
sys/arch/evbppc/include/wii.h: revision 1.5
sys/arch/evbppc/include/wii.h: revision 1.6
sys/arch/evbppc/include/wii.h: revision 1.7
sys/arch/evbppc/wii/dev/avenc.h: revision 1.1
distrib/utils/embedded/mkimage: revision 1.79
sys/arch/evbppc/conf/WII: revision 1.1
sys/arch/evbppc/conf/INSTALL_WII: revision 1.1
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.1
sys/arch/evbppc/wii/dev/vireg.h: revision 1.1
sys/arch/evbppc/conf/WII: revision 1.2
distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.2
sys/arch/evbppc/wii/dev/vireg.h: revision 1.2
sys/arch/evbppc/conf/WII: revision 1.3
sys/arch/evbppc/conf/WII: revision 1.4
usr.sbin/sysinst/arch/evbppc/md.c: revision 1.11
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.1
sys/dev/usb/ehcivar.h: revision 1.52
sys/arch/evbppc/wii/pic_pi.c: revision 1.1
sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.2
etc/etc.evbppc/ttys: revision 1.8
sys/arch/evbppc/wii/dev/bwai.c: revision 1.1
sys/arch/evbppc/wii/dev/bwai.c: revision 1.2
sys/arch/evbppc/wii/dev/bwai.c: revision 1.3
sys/arch/evbppc/wii/autoconf.c: revision 1.1
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.1
sys/arch/evbppc/wii/dev/bwai.h: revision 1.1
sys/arch/evbppc/wii/autoconf.c: revision 1.2
sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.2

powerpc: oea: Fix prefetchable mappings
Prefetchable mappings need PMAP_NOCACHE to get write-combine semantics.
powerpc: oea: Decode IBM750CL L2 cache information.
sdmmc: add support for optional delay after register write
wscons: Add HOLLYWOOD display and YUY2 pixel format types
wsfb: add support for optional "devcmap" property
A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.
ehci: add EHCIF_32BIT_ACCESS flag to force 32-bit MMIO
fix comments: HID0 ICFI/DCFI are "flash invalidate", not "flush invalidate"
powerpc: fix delay for large (> ~5sec) values
When calculating the target timebase, promote '1000' on the RHS to ULL
to force 64-bit calculation, otherwise 'n * 1000' will overflow.
usb: increase USB_PORT_RESET_RECOVERY from 10ms to 20ms
I changed this from 250ms to 10ms back in 2021 based on a similar FreeBSD
change, but it seems to be a bit too aggressive for some platforms.
evbppc: Add initial support for the Nintendo Wii
wii: support RB_POWERDOWN
build fix: use dd with count=1 for compat with NetBSD dd(1)
wii: Add NTSC 480p support.
In addition to this, add VIIO_{GET,SET}REGS ioctl support to allow for
poking at video interface registers from userland. This is helpful for
debugging display issues.
wii: Add 128x48 icon to SD card image
wii: Fix a comment
wii: Add drivers for Broadway DSP and Audio interface.
0: [*] audio0 @ bwdsp0: Broadway DSP
playback: 16, 2ch, 48000Hz
record: unavailable
(P-) slinear_be 16/16, 2ch, { 48000 }
wii: Add screenblank support.
wii: Use screen dimming register for screen blanking.
wii: Add GPIO, I2C, and basic A/V encoder driver.
wii: Use A/V encoder volume controls instead of using a software filter.
wii: Simply DSP driver - no interrupt handler required.
wii: provide device names to intr_establish
wii$ intrctl list
interrupt id CPU0 device name(s)
pi irq 14 64769* hollywood0
hollywood irq 36 5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40 4* sdhc1
hollywood irq 49 0* resetbtn0
pi irq 5 0* bwai0
wii: Add support for passing boot options to the kernel.
wii: Add External interface bus and RTC support
wii: Remove objcopy after kernel build.
HBC will do the right thing.
Add wsvt25 entries (off by default) for ttyE0-ttyE3.
Add support for "PAL" (576i) mode on Wii.
 1.3.2.1 26-Jan-2024  martin file std.wii was added on branch netbsd-10 on 2024-02-03 11:47:06 +0000

RSS XML Feed