Home | History | Annotate | only in /src/sys/arch/shark/conf
History log of /src/sys/arch/shark/conf
RevisionDateAuthorComments
 1.144 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.143 09-Feb-2023  abs Ensure GENERIC.local is always at the end of GENERIC

Where a GENERIC config had an existing inclusion of GENERIC.local,
ensure it is always at the end of the file, with a consistent
comment:

# Pull in optional local configuration
cinclude "arch/landisk/conf/GENERIC.local"

This allows GENERIC.local to correctly override all options

(This pass does not affect any GENERIC which did not already have
an include of GENERIC.local)
 1.142 29-Sep-2022  riastradh branches: 1.142.4;
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.141 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.140 30-Apr-2021  thorpej Driver for the I2C bus used for RAM serial presence detection. This
I2C interface is implemented by bit-banging a couple of GPIO pins on
the Sequoia core logic used in the Shark.

Heavy lifting by Julian Coleman, and minor tweaks and a different
autoconfiguration scheme by me.
 1.139 30-Apr-2021  thorpej - Introduce sequoiaLock() / sequoiaUnlock() functions that hide away
the details of what's going on (disable / restore interrupts), and
use it consistently.
- Give "sequoia" a device_t in the system device tree, matching on
the Shark's /vlbus/isa node, acting a subclass of ofisa (an "ofisa"
will be attached to "sequoia"). This allows us to attach other logical
device nodes to the "sequoia".
 1.138 27-Apr-2021  thorpej Garbage-collect the old Shark-specific "pccons" stuff. Shark has
been wscons for some time now.
 1.137 27-Apr-2021  thorpej "ofisa" carried an "ofbus" interface attribute in addition to its own
in order to attach an "ofrtc" instance. This worked prior to the
autconfiguration system enforcing non-ambiguous interface attribute
specificaitons due to how the attach args for ofisa were structured.

But it no longer works, and is a big dodgy barring a formalized "subclassing"
facility for interface atributes in config(5).

So, stop using "ofrtc" on Shark, and replace it with an ofisa driver for
the mc146818 real time clock hardware, and remove "ofbus" from "ofisa".
 1.136 16-Aug-2020  jdolecek branches: 1.136.6;
make COMPAT_LINUX option disabled by default

leave the option enabled only in amd64/i386 ALL kernels to make
sure it continues to be compilable also when included in kernel
 1.135 18-Apr-2020  skrll PMAP_DEBUG has been deleted on arm
 1.134 19-Jan-2020  thorpej branches: 1.134.4;
Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.133 26-Apr-2019  sevan branches: 1.133.2; 1.133.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.132 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.131 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.130 14-Sep-2017  mrg branches: 1.130.2; 1.130.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.129 13-Sep-2017  sevan Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options.
These algorithms are either broken or on their way to being broken.

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

ok riastradh
 1.128 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.127 17-Feb-2017  jakllsch branches: 1.127.6;
Add initial basic driver for DNARD's VT82C505 VL to PCI bridge.

Currently only allows configuration space, and I/O space access, the
latter of which has not yet been tested. DMA support is currently
unimplemented.

Add commented lines to GENERIC.
 1.126 13-Dec-2016  christos branches: 1.126.2;
wildcard speaker attachments, now that we can handle many of them.
 1.125 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.124 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.123 26-Sep-2015  maxv branches: 1.123.2;
Disable PAX_SEGVGUARD.

We actually have a big problem: the fileassocs are never deleted.
Therefore, if a user generates a lot of buggy binaries and launches them
all, the kernel will allocate memory again again and again for all these
entries and will never free them (unless the files are deleted from the
disk). Which means that a user can too easily put the kernel under memory
pressure.
 1.122 08-Aug-2015  maxv Remove KMEMSTATS.
 1.121 16-Nov-2014  manu branches: 1.121.2;
Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
 1.120 12-Nov-2014  manu Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels

This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
 1.119 24-Aug-2014  jnemeth 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.118 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.117 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.116 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.115 03-Aug-2014  martin branches: 1.115.2;
Add COMPAT_NETBSD32, following the switch to eabi by default.
 1.114 24-Jun-2014  joerg Bump SYMTAB_SPACE to allow clang to build this kernel.
 1.113 27-Dec-2013  matt branches: 1.113.2;
Bump SYMTAB_SPACE
 1.112 27-Aug-2013  matt Bump STMRAB_SPACE
 1.111 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.110 05-Jun-2013  christos branches: 1.110.2;
remove obsolete networking options
 1.109 27-Apr-2013  christos more bogus number removal
 1.108 27-Apr-2013  christos the bogus number police
 1.107 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.106 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.105 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.104 06-Dec-2012  msaitoh Remove "#options ARMFPE"
 1.103 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.102 01-Aug-2012  matt branches: 1.102.2;
bump symtab_space
 1.101 05-Jun-2012  abs 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.100 13-May-2012  mrg enable PUFFS and putter.
 1.99 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.98 29-Jan-2012  christos branches: 1.98.2;
Bump SYMTAB_SPACE
 1.97 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.96 22-Nov-2011  tls branches: 1.96.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.95 30-Jun-2011  wiz branches: 1.95.2;
dependant -> dependent
 1.94 23-Mar-2011  macallan add chipsfb
 1.93 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.92 03-Jan-2011  tsutsui branches: 1.92.2; 1.92.4;
Xref module(7) in comments.
 1.91 23-Nov-2010  hannken Remove unused count from pseudo-device md.
 1.90 02-Jun-2010  dholland COMPAT_43 should not be sorted between COMPAT_40 and COMPAT_50.
 1.89 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.88 08-Feb-2010  joerg branches: 1.88.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.87 18-Jan-2010  jmmv branches: 1.87.2;
Enable 'options MODULAR' in macppc and shark GENERIC kernels now that the
modules work.
 1.86 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.85 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.84 17-Jan-2009  christos branches: 1.84.2;
add COMPAT_50
 1.83 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.81 10-Aug-2008  tls branches: 1.81.2;
Add accept filters to GENERIC kernels where they exist.
 1.80 31-Jul-2008  simonb Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.79 30-May-2008  tsutsui branches: 1.79.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.78 29-Feb-2008  jmmv branches: 1.78.2; 1.78.4; 1.78.6;
Remove GENERIC.local from the repository

Make all the kernels that currently include their corresponding GENERIC.local
file use the cinclude directive instead of include. This way config(1) will
not complain if the file cannot be found.

After doing this, remove the GENERIC.local files from the repository so that
the user will not see modified files during updates, and local changes to
them cannot end up in the repository by mistake.

Discussed in tech-kern@ earlier this month. No strong objections.
 1.77 09-Feb-2008  jmmv branches: 1.77.2; 1.77.6;
Support a GENERIC.local file.
 1.76 19-Jan-2008  chris Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.75 05-Jan-2008  christos Add PaX stuff for testing.
 1.74 31-Dec-2007  ad Remove systrace. Ok core@.
 1.73 28-Oct-2007  jmmv branches: 1.73.2; 1.73.8;
Drop pccons. Obsoleted by wscons, now fully supported in NetBSD/shark.
OK'ed by thorpej@ and tsutsui@ a while ago.
 1.72 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.71 05-Aug-2007  jmmv branches: 1.71.2; 1.71.4; 1.71.8;
Move 'options FONT_VT220L8x16' to a common place for all kernels so that
the user needn't remember to add this option to get a font that is almost
identical (but fixed!) to the built-in one.
 1.70 31-Jul-2007  jmmv branches: 1.70.2;
Force vga(4) to override the font built into the VGA ROM by one that
properly supports all characters expected by wscons. While doing this
configure a font that resembles the native one as much as possible.

This is a prerequisite for switching INSTALL to use wscons.
 1.69 20-Feb-2007  matt branches: 1.69.4; 1.69.12; 1.69.14; 1.69.16; 1.69.18;
Enable TMPFS
 1.68 07-Dec-2006  macallan branches: 1.68.2;
add igsfb at ofbus
 1.67 11-Nov-2006  jmmv branches: 1.67.2;
Remove tmpfs's experimental status. OK'ed by core@.
 1.66 26-Aug-2006  christos branches: 1.66.2; 1.66.4;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.65 26-Aug-2006  tsutsui Remove obsolete #options VERIFIED_EXEC, found by grep(1).
 1.64 12-Aug-2006  christos Disable SYSTRACE by default on all kernels (discussed with core)
 1.63 28-Jun-2006  liamjfoy branches: 1.63.2;
Add CARP to GENERIC kernel configs. CARP is not enabled by default.

ok: christos
 1.62 19-Apr-2006  drochner branches: 1.62.4;
adjust comments for the new location of wskbdmap_mfii.c,
addresses PR kern/33290 by henry nelson
 1.61 15-Apr-2006  jmmv Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@. These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@. No objections in tech-kern@.
 1.60 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.59 05-Feb-2006  cube branches: 1.59.2; 1.59.4; 1.59.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.58 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.57 02-Feb-2006  reinoud branches: 1.57.2;
Add commented out UDF file-system entry in all GENERIC configurations.
 1.56 20-Dec-2005  thorpej branches: 1.56.2; 1.56.4;
Remove the tablet line discipline.
 1.55 09-Dec-2005  elad Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
 1.54 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.53 03-Nov-2005  chs turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
are compatible with the LKMs that are part of the release.
 1.52 10-Sep-2005  jmmv Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
 1.51 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.50 19-Aug-2005  christos 64 bit inode changes.
 1.49 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.48 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.47 17-Jul-2005  hubertf Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
 1.46 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.45 25-Jun-2005  rpaulo branches: 1.45.2;
Add file-system PTYFS (commented out) so that people know its existence.

Ok'ed by Christos Zoulas and Hubert Feyrer.
 1.44 21-Feb-2005  christos branches: 1.44.2;
- remove MEMORY_DISK_HOOKS
- add LKM
- increase SYMTAB_SPACE
 1.43 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.42 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.41 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.40 28-Jan-2005  rumble Sprinkle options UFS_DIRHASH on GENERIC kernels. It's presently
commented out and labeled experimental pending further review and
testing.
 1.39 16-Jan-2005  tsutsui branches: 1.39.2;
Comment out options XSERVER, which was required by old pccons.
 1.38 09-Jan-2005  tsutsui branches: 1.38.2;
- Switch to wscons(4) with MI vga(4), pckbc(4) and pms(4).
- Reorganize console initialization code like i386 rather than cninit().
Note old pccons/opms and ofcons support still works.

XXX Xserver is not tested because XF86_4 doesn't have support
XXX for IGS CyberPro2010 on shark. (yet?)
 1.37 05-Jan-2005  tsutsui options<space><tab>
 1.36 05-Jan-2005  tsutsui Bump size of SYMTAB_SPACE.
 1.35 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.34 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.33 25-Aug-2004  reinoud Increase space reserved for symbol space. As of the kernel i build it
needed at least a 255344 bytes while 242000 was reserved. Bumped it a few
kb higher to reduce symbol table fill too soon again.
 1.32 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.31 26-Jun-2004  abs Add (commented out) ALTQ options to all GENERIC-like files
 1.30 25-Jun-2004  christos add procfs, fdesc and nfs server. All other generics have it.
 1.29 25-Jun-2004  christos add posix semaphores and compat-2.0
 1.28 22-Jun-2004  itojun have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
 1.27 18-Jun-2004  christos ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM
 1.26 16-Jun-2004  christos Add pseudo-device ptm on all the generic flavored kernels.
 1.25 10-Apr-2004  matt Up symtab space.
 1.24 13-Mar-2004  matt branches: 1.24.2;
Add COMPAT_LINUX and enable NULLFS.
 1.23 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.22 11-Dec-2003  martin Bump SYMTAB_SPACE, we need more nowadays.
 1.21 08-Oct-2003  bouyer Add atabus.
 1.20 25-Jun-2003  uwe branches: 1.20.2;
Use CPUFLAGS instead of COPTS to pass -march=armv4 -mtune=strongarm.
 1.19 07-May-2003  he Back out the previous, removing the wsfont pseudo-device added as part
of resolving PR#18388. The shark port isn't quite wscons-ready yet.

OK'ed by thorpej.
 1.18 04-May-2003  gmcgarry Add wsfont. Addresses PR#18388.
 1.17 03-May-2003  thorpej Make the new pmap standard on the shark.
 1.16 26-Apr-2003  ragge Add pseudo-device ksyms.
 1.15 22-Apr-2003  thorpej Some ARM32_PMAP_NEW-related cleanup:
* Define a new "MMU type", ARM_MMU_SA1. While the SA-1's MMU is basically
compatible with the generic, the SA-1 cache does not have a write-through
mode, and it is useful to know have an indication of this.
* Add a new PMAP_NEEDS_PTE_SYNC indicator, and try to evaluate it at
compile time. We evaluate it like so:
- If SA-1-style MMU is the only type configured -> 1
- If SA-1-style MMU is not configured -> 0
- Otherwise, defer to a run-time variable.
If PMAP_NEEDS_PTE_SYNC might evaluate to true (SA-1 only or run-time
check), then we also define PMAP_INCLUDE_PTE_SYNC so that e.g. assembly
code can include the necessary run-time support. PMAP_INCLUDE_PTE_SYNC
largely replaces the ARM32_PMAP_NEEDS_PTE_SYNC manual setting Steve
included with the original new pmap.
* In the new pmap, make pmap_pte_init_generic() check to see if the CPU
has a write-back cache. If so, init the PT cache mode to C=1,B=0 to get
write-through mode. Otherwise, init the PT cache mode to C=1,B=1.
* Add a new pmap_pte_init_arm8(). Old pmap, same as generic. New pmap,
sets page table cacheability to 0 (ARM8 has a write-back cache, but
flushing it is quite expensive).
* In the new pmap, make pmap_pte_init_arm9() reset the PT cache mode to
C=1,B=0, since the write-back check in generic gets it wrong for ARM9,
since we use write-through mode all the time on ARM9 right now. (What
this really tells me is that the test for write-through cache is less
than perfect, but we can fix that later.)
* Add a new pmap_pte_init_sa1(). Old pmap, same as generic. New pmap,
does generic initialization, then resets page table cache mode to
C=1,B=1, since C=1,B=0 does not produce write-through on the SA-1.
 1.14 18-Apr-2003  scw Enable ARM32_PMAP_NEW on NetBSD/shark.
 1.13 02-Apr-2003  perry Add missing COMPATs
From PR port-shark/20130 from Todd Vierling
While I'm in there, sort them the other way, to match other ports
 1.12 21-Feb-2003  martin Increase symbol table space - it did not fit anymore.
 1.11 22-Dec-2002  wiz Debugging is usually spelled with three gs.
 1.10 14-Oct-2002  elric Added commented out cgd(4)s to GENERIC configs.
 1.9 06-Oct-2002  provos add SYSTRACE; approved perry.
 1.8 27-Sep-2002  martin Add SYMTAB_SPACE option to make DDB actually useable.
 1.7 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.6 17-Jun-2002  lukem branches: 1.6.2;
Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
 1.5 25-Apr-2002  atatat branches: 1.5.2; 1.5.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.4 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.3 02-Apr-2002  lukem Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
 1.2 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.1 10-Feb-2002  thorpej branches: 1.1.2;
Kill arch/arm32. The last platform supported there, Shark, is now
in arch/shark.

(NOTE: arch/dnard, a premature move to split out the Shark support
code, is going to be deleted. It has bit-rotted.)
 1.1.2.7 29-Dec-2002  thorpej Sync with HEAD.
 1.1.2.6 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.5 20-Jun-2002  nathanw Catch up to -current.
 1.1.2.4 17-Apr-2002  nathanw Catch up to -current.
 1.1.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 10-Feb-2002  nathanw file GENERIC was added on branch nathanw_sa on 2002-02-28 04:11:40 +0000
 1.5.4.1 01-Aug-2002  lukem Pull up revision 1.6 (requested by lukem in ticket #312):
Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
 1.5.2.1 15-Jul-2002  gehenna catch up with -current.
 1.6.2.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.6.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.6.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.2.1 17-Jun-2002  jdolecek file GENERIC was added on branch kqueue on 2002-06-23 17:40:55 +0000
 1.20.2.11 11-Dec-2005  christos Sync with head.
 1.20.2.10 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.20.2.9 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.20.2.8 15-Feb-2005  skrll Sync with HEAD.
 1.20.2.7 04-Feb-2005  skrll Sync with HEAD.
 1.20.2.6 17-Jan-2005  skrll Sync with HEAD.
 1.20.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.20.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.20.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.20.2.2 03-Sep-2004  skrll Sync with HEAD
 1.20.2.1 03-Aug-2004  skrll Sync with HEAD
 1.24.2.2 15-Jul-2004  he Pull up revision 1.32 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.24.2.1 30-Jun-2004  jdc Pull up revision 1.31 (requested by abs in ticket #567).

Add (commented out) ALTQ options to all GENERIC-like files
 1.38.2.1 29-Apr-2005  kent sync with -current
 1.39.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.39.2.1 12-Feb-2005  yamt sync with head.
 1.44.2.3 05-Nov-2005  tron Pull up following revision(s) (requested by chs in ticket #929):
sys/arch/hp300/conf/GENERIC: revision 1.124
sys/arch/acorn32/conf/GENERIC: revision 1.62
sys/arch/pdp10/conf/GENERIC: revision 1.19
sys/arch/mvme68k/conf/GENERIC: revision 1.61
sys/arch/netwinder/conf/GENERIC: revision 1.70
sys/arch/sbmips/conf/GENERIC: revision 1.46
sys/arch/macppc/conf/GENERIC: revision 1.214
sys/arch/bebox/conf/GENERIC: revision 1.89
sys/arch/cobalt/conf/GENERIC: revision 1.83
sys/arch/cats/conf/GENERIC: revision 1.92
sys/arch/shark/conf/GENERIC: revision 1.53
sys/arch/amiga/conf/GENERIC.in: revision 1.45
sys/arch/acorn26/conf/GENERIC: revision 1.37
sys/arch/cesfic/conf/GENERIC: revision 1.38
sys/arch/iyonix/conf/GENERIC: revision 1.21
sys/arch/alpha/conf/GENERIC: revision 1.277
sys/arch/vax/conf/GENERIC: revision 1.143
sys/arch/atari/conf/GENERIC.in: revision 1.56
sys/arch/mipsco/conf/GENERIC: revision 1.53
sys/arch/ofppc/conf/GENERIC: revision 1.85
sys/arch/next68k/conf/GENERIC: revision 1.96
sys/arch/arc/conf/GENERIC: revision 1.125
sys/arch/dreamcast/conf/GENERIC: revision 1.62
turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
are compatible with the LKMs that are part of the release.
 1.44.2.2 14-Aug-2005  riz Pull up revision 1.47 (requested by hubertf in ticket #625):
Add support for reading cloop2 compressed filesystem images,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
 1.44.2.1 18-Jul-2005  riz Pull up revision 1.46 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.45.2.7 17-Mar-2008  yamt sync with head.
 1.45.2.6 11-Feb-2008  yamt sync with head.
 1.45.2.5 21-Jan-2008  yamt sync with head
 1.45.2.4 15-Nov-2007  yamt sync with head.
 1.45.2.3 26-Feb-2007  yamt sync with head.
 1.45.2.2 30-Dec-2006  yamt sync with head.
 1.45.2.1 21-Jun-2006  yamt sync with head.
 1.56.4.1 09-Sep-2006  rpaulo sync with head
 1.56.2.1 18-Feb-2006  yamt sync with head.
 1.57.2.1 22-Apr-2006  simonb Sync with head.
 1.59.6.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.59.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.59.4.2 11-May-2006  elad sync with head
 1.59.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.59.2.4 03-Sep-2006  yamt sync with head.
 1.59.2.3 11-Aug-2006  yamt sync with head
 1.59.2.2 24-May-2006  yamt sync with head.
 1.59.2.1 01-Apr-2006  yamt sync with head.
 1.62.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.63.2.2 22-Sep-2006  riz Pull up following revision(s) (requested by tsutsui in ticket #170):
sys/arch/sparc64/conf/GENERIC: revision 1.63
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.55
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.54
sys/arch/next68k/conf/GENERIC: revision 1.105
sys/arch/ews4800mips/conf/GENERIC: revision 1.12
sys/arch/arc/conf/GENERIC: revision 1.142
sys/arch/sun3/conf/GENERIC3X: revision 1.91
sys/arch/amd64/conf/GENERIC: revision 1.105
sys/arch/sun2/conf/GENERIC: revision 1.58
sys/arch/amiga/conf/GENERIC.in: revision 1.55
sys/arch/mac68k/conf/GENERIC: revision 1.175
sys/arch/acorn26/conf/GENERIC: revision 1.46
sys/arch/shark/conf/GENERIC: revision 1.65
sys/arch/cesfic/conf/GENERIC: revision 1.45
sys/arch/sandpoint/conf/GENERIC: revision 1.36
sys/arch/iyonix/conf/GENERIC: revision 1.32
sys/arch/mvme68k/conf/GENERIC: revision 1.69
sys/arch/evbarm/conf/ARMADILLO210: revision 1.3
sys/arch/vax/conf/GENERIC: revision 1.154
sys/arch/mipsco/conf/GENERIC: revision 1.61
sys/arch/evbarm/conf/ARMADILLO9: revision 1.14
sys/arch/cobalt/conf/GENERIC: revision 1.103
sys/arch/ofppc/conf/GENERIC: revision 1.94
sys/arch/hp700/conf/GENERIC: revision 1.69
sys/arch/playstation2/conf/GENERIC: revision 1.8
sys/arch/dreamcast/conf/GENERIC: revision 1.73
sys/arch/news68k/conf/GENERIC: revision 1.81
sys/arch/macppc/conf/GENERIC: revision 1.234
sys/arch/hp300/conf/GENERIC: revision 1.134
sys/arch/mmeye/conf/GENERIC: revision 1.83
sys/arch/ibmnws/conf/GENERIC: revision 1.26
sys/arch/cats/conf/GENERIC: revision 1.109
sys/arch/sparc/conf/GENERIC: revision 1.191
sys/arch/pdp10/conf/GENERIC: revision 1.27
sys/arch/acorn32/conf/GENERIC: revision 1.75
sys/arch/luna68k/conf/GENERIC: revision 1.74
sys/arch/bebox/conf/GENERIC: revision 1.101
sys/arch/pmax/conf/GENERIC: revision 1.148
sys/arch/x68k/conf/GENERIC: revision 1.130
sys/arch/sun3/conf/GENERIC: revision 1.134
sys/arch/prep/conf/GENERIC: revision 1.126
sys/arch/alpha/conf/GENERIC: revision 1.293
sys/arch/newsmips/conf/GENERIC: revision 1.94
sys/arch/netwinder/conf/GENERIC: revision 1.83
sys/arch/hpcsh/conf/GENERIC: revision 1.69
sys/arch/sbmips/conf/GENERIC: revision 1.55
sys/arch/pc532/conf/GENERIC: revision 1.65
sys/arch/hpcmips/conf/GENERIC: revision 1.192
Remove obsolete #options VERIFIED_EXEC, found by grep(1).
 1.63.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.66.4.1 10-Dec-2006  yamt sync with head.
 1.66.2.2 12-Jan-2007  ad Sync with head.
 1.66.2.1 18-Nov-2006  ad Sync with head.
 1.67.2.1 12-Jan-2007  bouyer Pull up following revision(s) (requested by macallan in ticket #351):
sys/arch/shark/conf/GENERIC: revision 1.68
add igsfb at ofbus
 1.68.2.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.69.18.2 28-Feb-2008  rjs Sync with HEAD.
 1.69.18.1 26-Dec-2007  rjs Sync with HEAD.
 1.69.16.1 15-Aug-2007  skrll Sync with HEAD.
 1.69.14.1 07-Aug-2007  matt Sync with HEAD.
 1.69.12.1 03-Oct-2007  garbled Sync with HEAD
 1.69.4.1 03-Dec-2007  ad Sync with HEAD.
 1.70.2.2 28-Oct-2007  joerg Sync with HEAD.
 1.70.2.1 09-Aug-2007  jmcneill Sync with HEAD.
 1.71.8.1 13-Nov-2007  bouyer Sync with HEAD
 1.71.4.3 23-Mar-2008  matt sync with HEAD
 1.71.4.2 09-Jan-2008  matt sync with HEAD
 1.71.4.1 06-Nov-2007  matt sync with HEAD
 1.71.2.3 21-Mar-2008  chris Sync with head.
 1.71.2.2 20-Jan-2008  chris Sync to HEAD.
 1.71.2.1 01-Jan-2008  chris Sync with HEAD.
 1.73.8.3 20-Jan-2008  bouyer Sync with HEAD
 1.73.8.2 08-Jan-2008  bouyer Sync with HEAD
 1.73.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.73.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.77.6.4 17-Jan-2009  mjf Sync with HEAD.
 1.77.6.3 28-Sep-2008  mjf Sync with HEAD.
 1.77.6.2 02-Jun-2008  mjf Sync with HEAD.
 1.77.6.1 03-Apr-2008  mjf Sync with HEAD.
 1.77.2.1 24-Mar-2008  keiichi sync with head.
 1.78.6.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.78.6.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.78.4.3 11-Aug-2010  yamt sync with head.
 1.78.4.2 11-Mar-2010  yamt sync with head
 1.78.4.1 04-May-2009  yamt sync with head.
 1.78.2.1 04-Jun-2008  yamt sync with head
 1.79.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.79.4.1 19-Oct-2008  haad Sync with HEAD.
 1.81.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.81.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.84.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.87.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.87.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.88.2.4 21-Apr-2011  rmind sync with head
 1.88.2.3 05-Mar-2011  rmind sync with head
 1.88.2.2 03-Jul-2010  rmind sync with head
 1.88.2.1 30-May-2010  rmind sync with head
 1.92.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.92.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.95.2.5 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.95.2.4 16-Jan-2013  yamt sync with (a bit old) head
 1.95.2.3 30-Oct-2012  yamt sync with head
 1.95.2.2 23-May-2012  yamt sync with head.
 1.95.2.1 17-Apr-2012  yamt sync with head
 1.96.2.3 02-Jun-2012  mrg sync to latest -current.
 1.96.2.2 11-Mar-2012  mrg sync to latest -current
 1.96.2.1 18-Feb-2012  mrg merge to -current.
 1.98.2.2 15-Aug-2012  sborrill Pull up the following revisions(s) (requested by martin in ticket #502):
sys/arch/cobalt/conf/GENERIC: patch
sys/arch/i386/conf/GENERIC: patch
sys/arch/i386/conf/XEN3_DOM0: patch
sys/arch/i386/conf/XEN3_DOMU: patch
sys/arch/mvmeppc/conf/GENERIC: patch
sys/arch/shark/conf/GENERIC: patch
sys/arch/sparc64/conf/GENERIC: patch
sys/arch/sparc64/conf/GENERIC.DEBUG: patch
sys/arch/zaurus/conf/GENERIC: patch

Switch off DIAGNOSTIC and/or DEBUG on release kernels.
Enable DIAGNOSTIC in DEBUG kernels to allow for option
being switched off in GENERIC.
 1.98.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.102.2.5 03-Dec-2017  jdolecek update from HEAD
 1.102.2.4 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.102.2.3 23-Jun-2013  tls resync from head
 1.102.2.2 25-Feb-2013  tls resync with head
 1.102.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.110.2.2 18-May-2014  rmind sync with head
 1.110.2.1 28-Aug-2013  rmind sync with head
 1.113.2.1 10-Aug-2014  tls Rebase.
 1.115.2.4 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.115.2.3 18-Nov-2014  snj Pull up following revision(s) (requested by manu in ticket #251):
sys/arch/acorn26/conf/GENERIC: revision 1.81
sys/arch/acorn32/conf/GENERIC: revision 1.116
sys/arch/alpha/conf/GENERIC: revision 1.362
sys/arch/amd64/conf/ALL: revision 1.23
sys/arch/amd64/conf/GENERIC: revision 1.404
sys/arch/amd64/conf/XEN3_DOM0: revision 1.112
sys/arch/amd64/conf/XEN3_DOMU: revision 1.60
sys/arch/amiga/conf/GENERIC.in: revision 1.129
sys/arch/amiga/conf/GENERIC: revision 1.311
sys/arch/amigappc/conf/GENERIC: revision 1.24
sys/arch/arc/conf/GENERIC: revision 1.184
sys/arch/bebox/conf/GENERIC: revision 1.145
sys/arch/cats/conf/GENERIC: revision 1.155
sys/arch/cesfic/conf/GENERIC: revision 1.65
sys/arch/cobalt/conf/GENERIC: revision 1.147
sys/arch/dreamcast/conf/GENERIC: revision 1.121
sys/arch/emips/conf/GENERIC: revision 1.15
sys/arch/epoc32/conf/GENERIC: revision 1.8
sys/arch/ews4800mips/conf/GENERIC: revision 1.51
sys/arch/hp300/conf/GENERIC: revision 1.190
sys/arch/hpcmips/conf/GENERIC: revision 1.229
sys/arch/hpcsh/conf/GENERIC: revision 1.106
sys/arch/hppa/conf/GENERIC: revision 1.6
sys/arch/i386/conf/ALL: revision 1.389
sys/arch/i386/conf/GENERIC: revision 1.1118
sys/arch/i386/conf/XEN3_DOM0: revision 1.93
sys/arch/i386/conf/XEN3_DOMU: revision 1.65
sys/arch/ibmnws/conf/GENERIC: revision 1.46
sys/arch/iyonix/conf/GENERIC: revision 1.88
sys/arch/landisk/conf/GENERIC: revision 1.45
sys/arch/luna68k/conf/GENERIC: revision 1.119
sys/arch/mac68k/conf/GENERIC: revision 1.220
sys/arch/macppc/conf/GENERIC: revision 1.320
sys/arch/macppc/conf/MAMBO: revision 1.24
sys/arch/macppc/conf/POWERMAC_G5: revision 1.25
sys/arch/mipsco/conf/GENERIC: revision 1.88
sys/arch/mmeye/conf/GENERIC: revision 1.120
sys/arch/mvme68k/conf/GENERIC: revision 1.94
sys/arch/mvmeppc/conf/GENERIC: revision 1.24
sys/arch/netwinder/conf/GENERIC: revision 1.126
sys/arch/news68k/conf/GENERIC: revision 1.125
sys/arch/newsmips/conf/GENERIC: revision 1.129
sys/arch/next68k/conf/GENERIC: revision 1.139
sys/arch/ofppc/conf/GENERIC: revision 1.157
sys/arch/pmax/conf/GENERIC64: revision 1.21
sys/arch/pmax/conf/GENERIC: revision 1.185
sys/arch/prep/conf/GENERIC: revision 1.174
sys/arch/rs6000/conf/GENERIC: revision 1.33
sys/arch/sandpoint/conf/GENERIC: revision 1.88
sys/arch/sbmips/conf/GENERIC: revision 1.101
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.28
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.104
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.106
sys/arch/shark/conf/GENERIC: revision 1.121
sys/arch/sparc/conf/GENERIC: revision 1.248
sys/arch/sparc/conf/TADPOLE3GX: revision 1.65
sys/arch/sparc64/conf/GENERIC: revision 1.177
sys/arch/sparc64/conf/NONPLUS64: revision 1.44
sys/arch/sun2/conf/GENERIC: revision 1.94
sys/arch/sun3/conf/GENERIC: revision 1.171
sys/arch/vax/conf/GENERIC: revision 1.193
sys/arch/vax/conf/VAX780: revision 1.19
sys/arch/x68k/conf/GENERIC: revision 1.179
sys/arch/zaurus/conf/GENERIC: revision 1.65
sys/ufs/files.ufs: revision 1.38
Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
 1.115.2.2 14-Nov-2014  martin Pull up following revision(s) (requested by manu in ticket #232):
sys/arch/next68k/conf/GENERIC: revision 1.138
sys/arch/cobalt/conf/GENERIC: revision 1.146
sys/arch/mvme68k/conf/GENERIC: revision 1.93
sys/arch/vax/conf/VAX780: revision 1.18
sys/arch/newsmips/conf/GENERIC: revision 1.128
sys/arch/luna68k/conf/GENERIC: revision 1.118
sys/arch/sbmips/conf/GENERIC: revision 1.100
sys/arch/pmax/conf/GENERIC: revision 1.184
sys/arch/alpha/conf/GENERIC: revision 1.361
sys/arch/sparc64/conf/GENERIC: revision 1.176
sys/arch/sun3/conf/GENERIC: revision 1.170
sys/arch/shark/conf/GENERIC: revision 1.120
sys/arch/landisk/conf/GENERIC: revision 1.44
sys/arch/bebox/conf/GENERIC: revision 1.144
sys/arch/sparc64/conf/NONPLUS64: revision 1.43
sys/arch/sandpoint/conf/GENERIC: revision 1.87
sys/arch/emips/conf/GENERIC: revision 1.14
sys/arch/amd64/conf/XEN3_DOM0: revision 1.111
sys/arch/dreamcast/conf/GENERIC: revision 1.120
sys/arch/cesfic/conf/GENERIC: revision 1.64
sys/arch/mmeye/conf/GENERIC: revision 1.119
sys/arch/epoc32/conf/GENERIC: revision 1.7
sys/arch/x68k/conf/GENERIC: revision 1.178
sys/arch/iyonix/conf/GENERIC: revision 1.87
sys/arch/sun2/conf/GENERIC: revision 1.93
sys/arch/ews4800mips/conf/GENERIC: revision 1.50
sys/arch/amd64/conf/XEN3_DOMU: revision 1.59
sys/arch/acorn26/conf/GENERIC: revision 1.80
sys/arch/acorn32/conf/GENERIC: revision 1.115
sys/arch/macppc/conf/POWERMAC_G5: revision 1.24
sys/arch/i386/conf/GENERIC: revision 1.1117
sys/arch/arc/conf/GENERIC: revision 1.183
sys/arch/cats/conf/GENERIC: revision 1.154
sys/arch/amiga/conf/GENERIC.in: revision 1.128
sys/arch/zaurus/conf/GENERIC: revision 1.64
sys/arch/netwinder/conf/GENERIC: revision 1.125
sys/arch/hppa/conf/GENERIC: revision 1.5
sys/arch/mvmeppc/conf/GENERIC: revision 1.23
sys/arch/macppc/conf/GENERIC: revision 1.319
sys/arch/amiga/conf/GENERIC: revision 1.310
sys/arch/pmax/conf/GENERIC64: revision 1.20
sys/arch/macppc/conf/MAMBO: revision 1.23
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.27
sys/arch/amigappc/conf/GENERIC: revision 1.23
sys/arch/amd64/conf/GENERIC: revision 1.403
sys/arch/ofppc/conf/GENERIC: revision 1.156
sys/arch/mac68k/conf/GENERIC: revision 1.219
sys/arch/i386/conf/XEN3_DOMU: revision 1.64
sys/arch/mipsco/conf/GENERIC: revision 1.87
sys/arch/hp300/conf/GENERIC: revision 1.189
sys/arch/vax/conf/GENERIC: revision 1.192
sys/arch/news68k/conf/GENERIC: revision 1.124
sys/arch/ibmnws/conf/GENERIC: revision 1.45
sys/arch/hpcsh/conf/GENERIC: revision 1.105
sys/arch/sparc/conf/TADPOLE3GX: revision 1.64
sys/arch/i386/conf/XEN3_DOM0: revision 1.92
sys/arch/sparc/conf/GENERIC: revision 1.247
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.105
sys/arch/prep/conf/GENERIC: revision 1.173
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.103
sys/arch/rs6000/conf/GENERIC: revision 1.32
sys/arch/hpcmips/conf/GENERIC: revision 1.228
Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr
Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
 1.115.2.1 10-Oct-2014  snj Apply patch (requested by bouyer/martin in ticket #116):
Disable DIAGNOSTIC and/or DEBUG.
 1.121.2.4 28-Aug-2017  skrll Sync with HEAD
 1.121.2.3 05-Feb-2017  skrll Sync with HEAD
 1.121.2.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.121.2.1 22-Sep-2015  skrll Sync with HEAD
 1.123.2.2 20-Mar-2017  pgoyette Sync with HEAD
 1.123.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.126.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.127.6.3 18-Apr-2018  martin Requested by skrll in ticket #60:
sys/arch/amd64/conf/GENERIC
sys/arch/amd64/conf/XEN3_DOM0
sys/arch/amd64/conf/XEN3_DOMU
sys/arch/cobalt/conf/GENERIC
sys/arch/evbarm/conf/BEAGLEBONE
sys/arch/evbarm/conf/BEAGLEBOARD
sys/arch/evbarm/conf/BEAGLEBOARDXM
sys/arch/evbarm/conf/GENERIC.common
sys/arch/i386/conf/GENERIC
sys/arch/i386/conf/XEN3_DOM0
sys/arch/i386/conf/XEN3_DOMU
sys/arch/mvmeppc/conf/GENERIC
sys/arch/shark/conf/GENERIC
sys/arch/sparc64/conf/GENERIC
sys/arch/zaurus/conf/GENERIC

Remove option DIAGNOSTIC.
 1.127.6.2 29-Aug-2017  martin Requested by skrll in ticket #60:
sys/arch/amd64/conf/GENERIC
sys/arch/amd64/conf/XEN3_DOM0
sys/arch/amd64/conf/XEN3_DOMU
sys/arch/cobalt/conf/GENERIC
sys/arch/evbarm/conf/BEAGLEBONE
sys/arch/evbarm/conf/BEAGLEBOARD
sys/arch/evbarm/conf/BEAGLEBOARDXM
sys/arch/evbarm/conf/GENERIC.common
sys/arch/i386/conf/GENERIC
sys/arch/i386/conf/XEN3_DOM0
sys/arch/i386/conf/XEN3_DOMU
sys/arch/mvmeppc/conf/GENERIC
sys/arch/shark/conf/GENERIC
sys/arch/sparc64/conf/GENERIC
sys/arch/zaurus/conf/GENERIC


Re-enable option DIAGNOSTIC for now, will remove it again later.
 1.127.6.1 05-Jul-2017  martin Remove options DIAGNOSTIC/DEBUG and PAX debug options.
Requested by snj in #60.
 1.130.4.3 21-Apr-2020  martin Sync with HEAD
 1.130.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.130.4.1 10-Jun-2019  christos Sync with HEAD
 1.130.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.133.4.1 25-Jan-2020  ad Sync with head.
 1.133.2.1 21-Nov-2019  martin In preparation for the upcoming release, turn off DIAGNOSTIC in most
kernel configs, modules and libc.
 1.134.4.1 20-Apr-2020  bouyer Sync with HEAD
 1.136.6.1 13-May-2021  thorpej Sync with HEAD.
 1.142.4.1 09-Oct-2023  snj Apply patch (requested by martin in ticket #401):
Disable DIAGNOSTIC/DEBUG.
 1.2 29-Feb-2008  jmmv Remove GENERIC.local from the repository

Make all the kernels that currently include their corresponding GENERIC.local
file use the cinclude directive instead of include. This way config(1) will
not complain if the file cannot be found.

After doing this, remove the GENERIC.local files from the repository so that
the user will not see modified files during updates, and local changes to
them cannot end up in the repository by mistake.

Discussed in tech-kern@ earlier this month. No strong objections.
 1.1 09-Feb-2008  jmmv branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10; 1.1.12;
Support a GENERIC.local file.
 1.1.12.2 28-Feb-2008  rjs Sync with HEAD.
 1.1.12.1 09-Feb-2008  rjs file GENERIC.local was added on branch hpcarm-cleanup on 2008-02-28 21:58:53 +0000
 1.1.10.1 03-Apr-2008  mjf Sync with HEAD.
 1.1.6.1 24-Mar-2008  keiichi sync with head.
 1.1.4.2 18-Feb-2008  mjf Sync with HEAD.
 1.1.4.1 09-Feb-2008  mjf file GENERIC.local was added on branch mjf-devfs on 2008-02-18 21:05:02 +0000
 1.1.2.3 17-Mar-2008  yamt sync with head.
 1.1.2.2 11-Feb-2008  yamt sync with head.
 1.1.2.1 09-Feb-2008  yamt file GENERIC.local was added on branch yamt-lazymbuf on 2008-02-11 14:59:29 +0000
 1.67 27-Apr-2021  thorpej Garbage-collect the old Shark-specific "pccons" stuff. Shark has
been wscons for some time now.
 1.66 27-Apr-2021  thorpej "ofisa" carried an "ofbus" interface attribute in addition to its own
in order to attach an "ofrtc" instance. This worked prior to the
autconfiguration system enforcing non-ambiguous interface attribute
specificaitons due to how the attach args for ofisa were structured.

But it no longer works, and is a big dodgy barring a formalized "subclassing"
facility for interface atributes in config(5).

So, stop using "ofrtc" on Shark, and replace it with an ofisa driver for
the mc146818 real time clock hardware, and remove "ofbus" from "ofisa".
 1.65 18-Apr-2020  skrll branches: 1.65.6;
PMAP_DEBUG has been deleted on arm
 1.64 01-Aug-2018  maxv branches: 1.64.10;
Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.63 14-Sep-2017  mrg branches: 1.63.2; 1.63.4;
clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.62 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.61 13-Dec-2016  christos wildcard speaker attachments, now that we can handle many of them.
 1.60 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.59 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.58 21-Aug-2015  uebayasi branches: 1.58.2;
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.57 07-Aug-2015  maxv Remove KMEMSTATS.
 1.56 23-Aug-2014  dholland branches: 1.56.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.55 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.54 27-Apr-2013  christos branches: 1.54.4;
more bogus number removal
 1.53 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.52 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.51 06-Dec-2012  msaitoh Remove "#options ARMFPE"
 1.50 05-Jun-2012  abs branches: 1.50.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.49 18-Dec-2011  dholland branches: 1.49.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.48 22-Nov-2011  tls branches: 1.48.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.47 30-Jun-2011  wiz branches: 1.47.2;
dependant -> dependent
 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 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.43 08-Feb-2010  joerg branches: 1.43.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.42 05-Dec-2009  pooka branches: 1.42.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.41 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.40 06-Feb-2009  jym branches: 1.40.2;
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.39 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.38 31-Jul-2008  simonb branches: 1.38.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.37 30-May-2008  tsutsui branches: 1.37.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.36 19-Jan-2008  chris branches: 1.36.6; 1.36.8; 1.36.10; 1.36.12;
Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.35 28-Oct-2007  jmmv branches: 1.35.2; 1.35.8;
Drop pccons. Obsoleted by wscons, now fully supported in NetBSD/shark.
OK'ed by thorpej@ and tsutsui@ a while ago.
 1.34 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.33 05-Aug-2007  jmmv branches: 1.33.2; 1.33.4; 1.33.8;
Move 'options FONT_VT220L8x16' to a common place for all kernels so that
the user needn't remember to add this option to get a font that is almost
identical (but fixed!) to the built-in one.
 1.32 31-Jul-2007  jmmv branches: 1.32.2;
Switch NetBSD/shark's installation kernel and disk image to use wscons
instead of pccons, just like its GENERIC kernel does.

This obsoletes pccons in this platform, which will probably be removed
later.
 1.31 29-Jul-2007  jmmv branches: 1.31.2;
Disable the mouse driver during installation. Not needed.
 1.30 02-Oct-2006  chs branches: 1.30.8; 1.30.16; 1.30.20; 1.30.22;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.29 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.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 05-Feb-2006  cube branches: 1.27.2;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.26 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.25 20-Dec-2005  thorpej branches: 1.25.2; 1.25.4; 1.25.6;
Remove the tablet line discipline.
 1.24 07-Dec-2005  tsutsui Remove obsolete options VNODE_OP_NOINLINE.
 1.23 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.22 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.21 19-Aug-2005  christos 64 bit inode changes.
 1.20 25-Feb-2005  simonb branches: 1.20.4;
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.19 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.18 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.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 10-Nov-2004  christos branches: 1.16.4; 1.16.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.15 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.14 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.13 13-Feb-2004  wiz branches: 1.13.2;
Uppercase CPU, plural is CPUs.
 1.12 08-Oct-2003  bouyer Add atabus.
 1.11 03-May-2003  thorpej branches: 1.11.2;
Make the new pmap standard on the shark.
 1.10 18-Apr-2003  scw Enable ARM32_PMAP_NEW on NetBSD/shark.
 1.9 22-Dec-2002  wiz Debugging is usually spelled with three gs.
 1.8 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.7 05-Jul-2002  abs Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
 1.6 25-Apr-2002  atatat branches: 1.6.2; 1.6.6;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.5 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.4 02-Apr-2002  lukem Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
 1.3 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.2 12-Feb-2002  thorpej branches: 1.2.2;
Trim some fat:
* COPTS get -Os
* Comment out all COMPAT_* options
* Comment out System V IPC options
* Comment out KTRACE, IRQSTATS, KMEMSTATS, DIAGNOSTIC
* Comment out unneeded devices (audio, joystick, vnd, sequencer)

...and bump the ramdisk size to 3.5M (ELF binaries are somewhat
larger on-disk due to the way the linker pads out the .data program
section).
 1.1 10-Feb-2002  thorpej Kill arch/arm32. The last platform supported there, Shark, is now
in arch/shark.

(NOTE: arch/dnard, a premature move to split out the Shark support
code, is going to be deleted. It has bit-rotted.)
 1.2.2.8 29-Dec-2002  thorpej Sync with HEAD.
 1.2.2.7 18-Oct-2002  nathanw Catch up to -current.
 1.2.2.6 01-Aug-2002  nathanw Catch up to -current.
 1.2.2.5 20-Jun-2002  nathanw Catch up to -current.
 1.2.2.4 17-Apr-2002  nathanw Catch up to -current.
 1.2.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1 12-Feb-2002  nathanw file INSTALL was added on branch nathanw_sa on 2002-02-28 04:11:40 +0000
 1.6.6.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.6.6.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.6.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.6.1 25-Apr-2002  jdolecek file INSTALL was added on branch kqueue on 2002-06-23 17:40:56 +0000
 1.6.2.1 17-Jul-2002  gehenna catch up with -current.
 1.11.2.9 11-Dec-2005  christos Sync with head.
 1.11.2.8 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.11.2.7 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.11.2.6 15-Feb-2005  skrll Sync with HEAD.
 1.11.2.5 04-Feb-2005  skrll Sync with HEAD.
 1.11.2.4 14-Nov-2004  skrll Sync with HEAD.
 1.11.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.11.2.1 03-Aug-2004  skrll Sync with HEAD
 1.13.2.1 15-Jul-2004  he Pull up revision 1.14 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 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.20.4.5 21-Jan-2008  yamt sync with head
 1.20.4.4 15-Nov-2007  yamt sync with head.
 1.20.4.3 03-Sep-2007  yamt sync with head.
 1.20.4.2 30-Dec-2006  yamt sync with head.
 1.20.4.1 21-Jun-2006  yamt sync with head.
 1.25.6.1 22-Apr-2006  simonb Sync with head.
 1.25.4.1 09-Sep-2006  rpaulo sync with head
 1.25.2.1 18-Feb-2006  yamt sync with head.
 1.27.2.1 03-Sep-2006  yamt sync with head.
 1.28.4.1 22-Oct-2006  yamt sync with head
 1.28.2.1 18-Nov-2006  ad Sync with head.
 1.30.22.1 15-Aug-2007  skrll Sync with HEAD.
 1.30.20.1 07-Aug-2007  matt Sync with HEAD.
 1.30.16.1 03-Oct-2007  garbled Sync with HEAD
 1.30.8.2 03-Dec-2007  ad Sync with HEAD.
 1.30.8.1 20-Aug-2007  ad Sync with HEAD.
 1.31.2.2 28-Feb-2008  rjs Sync with HEAD.
 1.31.2.1 26-Dec-2007  rjs Sync with HEAD.
 1.32.2.2 28-Oct-2007  joerg Sync with HEAD.
 1.32.2.1 09-Aug-2007  jmcneill Sync with HEAD.
 1.33.8.1 13-Nov-2007  bouyer Sync with HEAD
 1.33.4.2 23-Mar-2008  matt sync with HEAD
 1.33.4.1 06-Nov-2007  matt sync with HEAD
 1.33.2.2 20-Jan-2008  chris Sync to HEAD.
 1.33.2.1 01-Jan-2008  chris Sync with HEAD.
 1.35.8.1 20-Jan-2008  bouyer Sync with HEAD
 1.35.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.36.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.36.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.36.10.3 11-Aug-2010  yamt sync with head.
 1.36.10.2 11-Mar-2010  yamt sync with head
 1.36.10.1 04-May-2009  yamt sync with head.
 1.36.8.1 04-Jun-2008  yamt sync with head
 1.36.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.36.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.36.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.37.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.37.4.1 19-Oct-2008  haad Sync with HEAD.
 1.38.2.3 28-Apr-2009  skrll Sync with HEAD.
 1.38.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.38.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.40.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.42.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.43.2.3 21-Apr-2011  rmind sync with head
 1.43.2.2 05-Mar-2011  rmind sync with head
 1.43.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.47.2.4 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.47.2.3 16-Jan-2013  yamt sync with (a bit old) head
 1.47.2.2 30-Oct-2012  yamt sync with head
 1.47.2.1 17-Apr-2012  yamt sync with head
 1.48.2.1 18-Feb-2012  mrg merge to -current.
 1.49.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.50.2.4 03-Dec-2017  jdolecek update from HEAD
 1.50.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.50.2.2 23-Jun-2013  tls resync from head
 1.50.2.1 25-Feb-2013  tls resync with head
 1.54.4.1 28-Aug-2013  rmind sync with head
 1.56.2.3 28-Aug-2017  skrll Sync with HEAD
 1.56.2.2 05-Feb-2017  skrll Sync with HEAD
 1.56.2.1 22-Sep-2015  skrll Sync with HEAD
 1.58.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.63.4.2 21-Apr-2020  martin Sync with HEAD
 1.63.4.1 10-Jun-2019  christos Sync with HEAD
 1.63.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.64.10.1 20-Apr-2020  bouyer Sync with HEAD
 1.65.6.1 13-May-2021  thorpej Sync with HEAD.
 1.28 26-Jul-2023  rin Always use arm-elf2aout; no a.out support both for binutils{,.old}
 1.27 31-Dec-2018  christos branches: 1.27.30;
Switch to arm-elf2aout from objcopy since new binutils don't support a.out
anymore.
 1.26 24-Aug-2015  uebayasi branches: 1.26.16; 1.26.18;
Define ${LINKSCRIPT} in one place.
 1.25 19-Aug-2015  uebayasi Write the rule of ldscript generation.
 1.24 03-Mar-2015  martin Put -fno-unwind-tables into CFLAGS instead of COPTS - the old version caused
DEFCOPTS not to be propagated into COPTS, which means no optimization
for the kernel - ooops!
 1.23 25-Nov-2014  martin branches: 1.23.2;
Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.
 1.22 16-Nov-2014  uebayasi Set dependency via KERNLDSCRIPT. Don't touch SYSTEM_DEP from outside.
 1.21 15-Nov-2014  uebayasi Use LINKSCRIPT.
 1.20 13-Nov-2014  uebayasi Missing dependency on ldscript files.
 1.19 22-Aug-2013  martin branches: 1.19.4;
Re-add -fno-unwind-tables, otherwise eabi kernels fail to boot (bug in
objcopy?)
 1.18 15-Aug-2013  martin Do not explicitly prevent unwind table generation
 1.17 14-Aug-2013  martin Do not output unwind tables, they make no sense for the kernel.
Do not force MACHINE=arm, to allow building eabi kernels with MACHINE=earmv4
 1.16 10-Jul-2011  tsutsui branches: 1.16.2; 1.16.12; 1.16.16;
Use common ${OBJCOPY_ELF2AOUT_FLAGS}.
 1.15 02-Jul-2011  tsutsui Remove an extra backslash.
 1.14 02-Jul-2011  mrg also need to strip out GCC 4.5's new .debug_pubtypes section.
while here, minor cleanup.
 1.13 06-Jul-2010  mrg remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
 1.12 02-Sep-2009  skrll branches: 1.12.2; 1.12.4;
More sections to remove when doing ELF->a.out conversion.
 1.11 07-Jun-2008  he Something, somewhere has started emitting a number of new ELF sections,
and these need to be removed when objcompying to netbsd.aout. The new
ones were .debug_frame, .debug_loc, .debug_pubnames, and .debug_aranges.
 1.10 19-Jan-2008  he branches: 1.10.6; 1.10.8; 1.10.10; 1.10.12;
Remove the debugging sections too when converting from an ELF
to an a.out file, after the addition of the "debugging always
included" file added recently.
 1.9 17-Nov-2007  skrll branches: 1.9.6;
Remove the .note section when creating the a.out kernel image.
 1.8 12-Mar-2007  jmmv branches: 1.8.14; 1.8.16; 1.8.18; 1.8.20; 1.8.24; 1.8.26;
Install both netbsd and netbsd.aout into / when running a "make install" in
the kernel's compilation directory.

Fixes PR port-shark/17569.
 1.7 04-Mar-2007  tsutsui branches: 1.7.2;
Move mkldscript.sh, which is used to create ldscript dynamically to
merge link_set_* sections into the text section for a.out kernels,
from sys/arch/arm/conf/ to sys/conf/ since there is no ARM specific
stuff in it and other ports would share it.
 1.6 24-Nov-2005  dbj branches: 1.6.24; 1.6.26; 1.6.30;
. 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.5 13-Sep-2004  chs branches: 1.5.12; 1.5.18;
work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
 1.4 21-Sep-2003  matt branches: 1.4.2;
For GCC 3.3.1, need to remove .comment too.
 1.3 03-Jan-2003  thorpej branches: 1.3.2;
Don't define -D${MACHINE} in Makefile.arm. Instead, let platforms
that care define it themselves. Note that evbarm NO LONGER defines
-D${MACHINE}.
 1.2 21-Nov-2002  thorpej Use a linker script to craft and ELF image that will work
when copied to a.out via objcopy. Stop using that frightening
elf2aout.sh shell script.
 1.1 10-Feb-2002  thorpej branches: 1.1.2; 1.1.12; 1.1.14;
Kill arch/arm32. The last platform supported there, Shark, is now
in arch/shark.

(NOTE: arch/dnard, a premature move to split out the Shark support
code, is going to be deleted. It has bit-rotted.)
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 10-Feb-2002  jdolecek file Makefile.shark.inc was added on branch kqueue on 2002-06-23 17:40:56 +0000
 1.1.12.1 12-Dec-2002  he Pull up revision 1.2 (requested by thorpej in ticket #1002):
Use a linker script to craft an ELF image that will work
when copied to a.out via objcopy. Stop using the frightening
elf2aout.sh shell script.
 1.1.2.4 03-Jan-2003  thorpej Sync with HEAD.
 1.1.2.3 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 10-Feb-2002  nathanw file Makefile.shark.inc was added on branch nathanw_sa on 2002-02-28 04:11:40 +0000
 1.3.2.4 11-Dec-2005  christos 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 13-Sep-2004  tron branches: 1.4.2.1.2;
Pull up revision 1.5 (requested by chs in ticket #843):
work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
 1.4.2.1.2.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.5.18.1 29-Nov-2005  yamt sync with head.
 1.5.12.4 21-Jan-2008  yamt sync with head
 1.5.12.3 07-Dec-2007  yamt sync with head
 1.5.12.2 03-Sep-2007  yamt sync with head.
 1.5.12.1 21-Jun-2006  yamt sync with head.
 1.6.30.1 17-Nov-2007  skrll Remove .note sections when converting kernel to a.out image.
 1.6.26.2 24-Mar-2007  yamt sync with head.
 1.6.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.6.24.1 16-Sep-2008  bouyer Sync with the following revisions (requested by skrll in ticket #1196):
gnu/dist/gdb removed
gnu/usr.bin/gdb53 removed
distrib/cats/instkernel/Makefile 1.14.6.1
gnu/dist/gdb6/bfd/config.bfd 1.3.6.1
gnu/dist/gdb6/bfd/elfxx-sparc.c 1.1.1.2.6.1
gnu/dist/gdb6/bfd/elfxx-sparc.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/Makefile.in 1.2.2.1.2.2
gnu/dist/gdb6/gdb/alpha-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/alpha-tdep.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/alphabsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/alphabsd-nat.h 1.1.2.1
gnu/dist/gdb6/gdb/alphabsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/alphabsd-tdep.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/alphanbsd-nat.c 1.1.2.1
gnu/dist/gdb6/gdb/alphanbsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/amd64-nat.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/amd64bsd-nat.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/amd64nbsd-nat.c 1.1.1.2.6.3
gnu/dist/gdb6/gdb/amd64nbsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/arm-tdep.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/armbsd-tdep.c 1.1.2.1
gnu/dist/gdb6/gdb/armnbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/armnbsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/configure 1.1.1.2.6.1
gnu/dist/gdb6/gdb/configure.ac 1.1.1.2.6.1
gnu/dist/gdb6/gdb/i386bsd-nat.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/i386nbsd-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/m68kbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/mipsnbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/nbsd-thread.c 1.1.2.3
gnu/dist/gdb6/gdb/ppcnbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/ppcnbsd-tdep.c 1.3.6.1
gnu/dist/gdb6/gdb/sh-tdep.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/shnbsd-nat.c 1.1.1.2.6.3
gnu/dist/gdb6/gdb/shnbsd-tdep.c 1.1.1.2.6.4
gnu/dist/gdb6/gdb/shnbsd-tdep.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/sparc-nat.c 1.1.1.2.6.1
gnu/dist/gdb6/gdb/sparc64nbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/sparcnbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/tramp-frame.h 1.1.1.2.6.1
gnu/dist/gdb6/gdb/vaxbsd-nat.c 1.1.1.2.6.2
gnu/dist/gdb6/gdb/config/alpha/nbsd.mh 1.1.1.2.6.1
gnu/dist/gdb6/gdb/config/arm/nbsd.mt 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/arm/nbsdelf.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/i386/nbsd64.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/m68k/nbsdelf.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/mips/nbsd.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/powerpc/nbsd.mh 1.1.1.2.6.1
gnu/dist/gdb6/gdb/config/sh/nbsd.mh 1.1.1.1.6.2
gnu/dist/gdb6/gdb/config/sh/tm-nbsd.h 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/sparc/nbsd64.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/sparc/nbsdelf.mh 1.1.1.1.6.1
gnu/dist/gdb6/gdb/config/vax/nbsdelf.mh 1.1.1.1.6.1
gnu/dist/gdb6/opcodes/configure 1.1.1.2.6.1
gnu/dist/gdb6/opcodes/configure.in 1.1.1.2.6.1
gnu/usr.bin/Makefile 1.126.4.1
gnu/usr.bin/gdb6/arch/alpha/config.h 1.3.4.1
gnu/usr.bin/gdb6/arch/alpha/defs.mk 1.2.6.1
gnu/usr.bin/gdb6/arch/alpha/init.c 1.2.6.1
gnu/usr.bin/gdb6/arch/alpha/nm.h 1.2.6.1
gnu/usr.bin/gdb6/arch/arm/defs.mk 1.2.6.2
gnu/usr.bin/gdb6/arch/arm/init.c 1.1.6.1
gnu/usr.bin/gdb6/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/arch/armeb/defs.mk 1.1.6.3
gnu/usr.bin/gdb6/arch/armeb/init.c 1.1.6.2
gnu/usr.bin/gdb6/arch/armeb/tm.h 1.1.6.2
gnu/usr.bin/gdb6/arch/armeb/version.c 1.1.6.2
gnu/usr.bin/gdb6/arch/i386/defs.mk 1.4.4.1
gnu/usr.bin/gdb6/arch/i386/init.c 1.3.6.1
gnu/usr.bin/gdb6/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/arch/m68000/init.c 1.1.6.2
gnu/usr.bin/gdb6/arch/m68000/tm.h 1.1.6.2
gnu/usr.bin/gdb6/arch/m68000/version.c 1.1.6.2
gnu/usr.bin/gdb6/arch/m68k/defs.mk 1.1.4.1
gnu/usr.bin/gdb6/arch/m68k/init.c 1.1.4.1
gnu/usr.bin/gdb6/arch/mipseb/config.h 1.3.4.1
gnu/usr.bin/gdb6/arch/mipseb/defs.mk 1.2.6.2
gnu/usr.bin/gdb6/arch/mipseb/init.c 1.2.6.2
gnu/usr.bin/gdb6/arch/mipsel/config.h 1.2.6.3
gnu/usr.bin/gdb6/arch/mipsel/defs.mk 1.2.6.3
gnu/usr.bin/gdb6/arch/mipsel/init.c 1.2.6.3
gnu/usr.bin/gdb6/arch/mipsel/tm.h 1.2.6.2
gnu/usr.bin/gdb6/arch/mipsel/version.c 1.2.6.2
gnu/usr.bin/gdb6/arch/powerpc/defs.mk 1.3.6.1
gnu/usr.bin/gdb6/arch/powerpc/init.c 1.3.6.1
gnu/usr.bin/gdb6/arch/sh3eb/config.h 1.2.2.2
gnu/usr.bin/gdb6/arch/sh3eb/defs.mk 1.2.8.3
gnu/usr.bin/gdb6/arch/sh3eb/init.c 1.1.8.3
gnu/usr.bin/gdb6/arch/sh3eb/nm.h 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3eb/tm.h 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3eb/version.c 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3el/config.h 1.2.2.2
gnu/usr.bin/gdb6/arch/sh3el/defs.mk 1.2.8.3
gnu/usr.bin/gdb6/arch/sh3el/init.c 1.1.8.3
gnu/usr.bin/gdb6/arch/sh3el/nm.h 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3el/tm.h 1.1.8.2
gnu/usr.bin/gdb6/arch/sh3el/version.c 1.1.8.2
gnu/usr.bin/gdb6/arch/sparc/defs.mk 1.2.6.1
gnu/usr.bin/gdb6/arch/sparc/init.c 1.1.6.1
gnu/usr.bin/gdb6/arch/sparc64/defs.mk 1.2.6.1
gnu/usr.bin/gdb6/arch/sparc64/init.c 1.1.6.1
gnu/usr.bin/gdb6/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/arch/vax/init.c 1.1.6.2
gnu/usr.bin/gdb6/arch/vax/tm.h 1.1.6.2
gnu/usr.bin/gdb6/arch/vax/version.c 1.1.6.2
gnu/usr.bin/gdb6/arch/x86_64/defs.mk 1.2.6.1
gnu/usr.bin/gdb6/arch/x86_64/init.c 1.1.6.1
gnu/usr.bin/gdb6/bfd/arch/armeb/bfd.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/armeb/bfdver.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/armeb/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/m68000/bfd.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/m68000/bfdver.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/mipsel/bfd.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/mipsel/bfdver.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/mipsel/config.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/mipsel/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/sh3eb/bfd.h 1.1.8.3
gnu/usr.bin/gdb6/bfd/arch/sh3eb/bfdver.h 1.1.8.2
gnu/usr.bin/gdb6/bfd/arch/sh3eb/config.h 1.1.8.2
gnu/usr.bin/gdb6/bfd/arch/sh3eb/defs.mk 1.1.8.3
gnu/usr.bin/gdb6/bfd/arch/sh3el/bfd.h 1.1.8.3
gnu/usr.bin/gdb6/bfd/arch/sh3el/bfdver.h 1.1.8.2
gnu/usr.bin/gdb6/bfd/arch/sh3el/config.h 1.1.8.2
gnu/usr.bin/gdb6/bfd/arch/sh3el/defs.mk 1.1.8.3
gnu/usr.bin/gdb6/bfd/arch/vax/bfd.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/vax/bfdver.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/bfd/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/gdb/Makefile 1.5.2.1.2.2
gnu/usr.bin/gdb6/gdbtui/Makefile 1.2.6.1
gnu/usr.bin/gdb6/libiberty/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/armeb/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/mipsel/config.h 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/mipsel/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/sh3eb/config.h 1.1.8.2
gnu/usr.bin/gdb6/libiberty/arch/sh3eb/defs.mk 1.1.8.2
gnu/usr.bin/gdb6/libiberty/arch/sh3el/config.h 1.1.8.2
gnu/usr.bin/gdb6/libiberty/arch/sh3el/defs.mk 1.1.8.2
gnu/usr.bin/gdb6/libiberty/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/libiberty/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/armeb/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/mipsel/config.h 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/mipsel/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/sh3eb/config.h 1.1.8.2
gnu/usr.bin/gdb6/opcodes/arch/sh3eb/defs.mk 1.1.8.3
gnu/usr.bin/gdb6/opcodes/arch/sh3el/config.h 1.1.8.2
gnu/usr.bin/gdb6/opcodes/arch/sh3el/defs.mk 1.1.8.3
gnu/usr.bin/gdb6/opcodes/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/opcodes/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/armeb/config.h 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/armeb/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/m68000/config.h 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/m68000/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/mipsel/config.h 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/mipsel/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/sh3eb/config.h 1.1.8.2
gnu/usr.bin/gdb6/readline/arch/sh3eb/defs.mk 1.1.8.2
gnu/usr.bin/gdb6/readline/arch/sh3el/config.h 1.1.8.2
gnu/usr.bin/gdb6/readline/arch/sh3el/defs.mk 1.1.8.2
gnu/usr.bin/gdb6/readline/arch/vax/config.h 1.1.6.2
gnu/usr.bin/gdb6/readline/arch/vax/defs.mk 1.1.6.2
gnu/usr.bin/gdb6/sim/arch/mipseb/cconfig.h 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipseb/config.h 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipseb/defs.mk 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipsel/cconfig.h 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipsel/config.h 1.1.2.1
gnu/usr.bin/gdb6/sim/arch/mipsel/defs.mk 1.1.2.1
lib/libkvm/kvm_sparc64.c 1.10.18.2
lib/libpthread/pthread.c 1.48.6.4
lib/libpthread/pthread_barrier.c 1.6.18.1
lib/libpthread/pthread_cond.c 1.18.12.2
lib/libpthread/pthread_debug.h 1.8.18.1
lib/libpthread/pthread_int.h 1.34.4.5
lib/libpthread/pthread_lock.c 1.14.6.1
lib/libpthread/pthread_mutex.c 1.22.4.2
lib/libpthread/pthread_run.c 1.18.12.4
lib/libpthread/pthread_rwlock.c 1.13.6.2
lib/libpthread/pthread_sa.c 1.37.6.5
lib/libpthread/pthread_sig.c 1.47.4.8
lib/libpthread/pthread_sleep.c 1.7.6.2
lib/libpthread/sem.c 1.9.6.2
lib/libpthread/arch/sh3/pthread_md.h 1.3.6.1
regress/lib/libpthread/resolv/Makefile 1.1.12.1
regress/lib/libpthread/sigrunning/Makefile 1.1.2.1
regress/lib/libpthread/sigrunning/sigrunning.c 1.1.2.1
share/mk/bsd.own.mk 1.489.4.3
sys/arch/amd64/amd64/locore.S 1.18.14.1
sys/arch/amd64/amd64/machdep.c 1.44.2.3.2.1
sys/arch/amd64/conf/kern.ldscript 1.1.70.1
sys/arch/cats/conf/Makefile.cats.inc 1.17.30.1
sys/arch/shark/conf/Makefile.shark.inc 1.6.30.1
sys/arch/sparc64/conf/kern.ldscript 1.7.26.2
sys/arch/sparc64/conf/kern32.ldscript 1.6.26.2
sys/arch/sparc64/include/kcore.h 1.4.92.2
sys/arch/sparc64/sparc64/locore.s 1.232.4.4
sys/arch/sparc64/sparc64/machdep.c 1.193.4.3
sys/arch/sparc64/sparc64/pmap.c 1.184.2.1.2.4
sys/conf/newvers.sh 1.42.26.2
sys/kern/kern_sa.c 1.87.4.11
sys/kern/kern_synch.c 1.173.4.2
sys/sys/savar.h 1.20.10.2
tools/gdb/Makefile 1.9.4.1
tools/gdb/mknative-gdb 1.1.6.1

pullup the wrstuden-fixsa CVS branch to netbsd-4:
toolchain/35540 - GDB 6 support for pthreads.
port-sparc64/37534 - ktrace firefox gives
kernel trap 30: data access expection
GDB changes:
- delete gdb53
- enable gdb6 on all architectures
- add support for amd64 crash dumps
- add support for sparc64 crash dumps
- add support for /proc pid to executable filename for all archs
- enable thread support for all architectures
- add a note section to kernels to all platforms
- support detection/unwinding of signals for most architectures.
- Fix PTHREAD_UCONTEXT_TO_REG / PTHREAD_REG_TO_UCONTEXT on sh3.
- Apply fix from binutils-current so that sparc gdb can be cross built
on a 64bit host.
SA/pthread changes:
Pre-allocate memory needed for event delivery. Eliminates dropped
interrupts under load.
Deliver intra-process signals to running threads
Eliminate some deadlock scenarios
Fix intra-process signal delivery when delivering to a thread waiting
for signals. Makes afs work again!
 1.7.2.2 03-Dec-2007  ad Sync with HEAD.
 1.7.2.1 13-Mar-2007  ad Sync with head.
 1.8.26.2 18-Feb-2008  mjf Sync with HEAD.
 1.8.26.1 19-Nov-2007  mjf Sync with HEAD.
 1.8.24.1 18-Nov-2007  bouyer Sync with HEAD
 1.8.20.2 23-Mar-2008  matt sync with HEAD
 1.8.20.1 09-Jan-2008  matt sync with HEAD
 1.8.18.2 20-Jan-2008  chris Sync to HEAD.
 1.8.18.1 01-Jan-2008  chris Sync with HEAD.
 1.8.16.1 21-Nov-2007  joerg Sync with HEAD.
 1.8.14.2 28-Feb-2008  rjs Sync with HEAD.
 1.8.14.1 26-Dec-2007  rjs Sync with HEAD.
 1.9.6.1 20-Jan-2008  bouyer Sync with HEAD
 1.10.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.10.10.3 11-Aug-2010  yamt sync with head.
 1.10.10.2 16-Sep-2009  yamt sync with head
 1.10.10.1 04-May-2009  yamt sync with head.
 1.10.8.1 17-Jun-2008  yamt sync with head.
 1.10.6.1 29-Jun-2008  mjf Sync with HEAD.
 1.12.4.1 05-Mar-2011  rmind sync with head
 1.12.2.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.16.16.1 28-Aug-2013  rmind sync with head
 1.16.12.2 03-Dec-2017  jdolecek update from HEAD
 1.16.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.19.4.1 04-Mar-2015  snj Pull up following revision(s) (requested by martin in ticket #556):
sys/arch/shark/conf/Makefile.shark.inc: revision 1.24
Put -fno-unwind-tables into CFLAGS instead of COPTS - the old version caused
DEFCOPTS not to be propagated into COPTS, which means no optimization
for the kernel - ooops!
 1.23.2.2 22-Sep-2015  skrll Sync with HEAD
 1.23.2.1 06-Apr-2015  skrll Sync with HEAD
 1.26.18.1 10-Jun-2019  christos Sync with HEAD
 1.26.16.1 18-Jan-2019  pgoyette Synch with HEAD
 1.27.30.1 11-Sep-2023  martin Pull up following revision(s) (requested by rin in ticket #363):

sys/arch/aarch64/conf/Makefile.aarch64: revision 1.24
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.25
sys/arch/shark/conf/Makefile.shark.inc: revision 1.28
sys/arch/alpha/conf/Makefile.alpha: revision 1.88
sys/arch/mips/conf/Makefile.mips: revision 1.73
sys/conf/Makefile.kern.inc: revision 1.298
sys/conf/Makefile.kern.inc: revision 1.299
sys/arch/cats/conf/Makefile.cats.inc: revision 1.37
sys/arch/arm/conf/Makefile.arm: revision 1.56
sys/arch/arm/conf/Makefile.arm: revision 1.57
sys/arch/riscv/conf/Makefile.riscv: revision 1.10

Always use arm-elf2aout; no a.out support both for binutils{,.old}

Fix kernel size inflation for arm and aarch64 (PR toolchain/57146)

For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64.
Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally
skipped, which results in the catastrophic kernel size inflation,
as reported in the PR.

Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of
STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI
kernel build procedure.

For Makefile.{arm,aarch64}, weird logic is used to determine how
to handle debug symbols; MKDEBUG{,KERNEL} are taken into account
later in sys/conf/Makefile.kern.inc.

Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS.
Simplify fix for PR toolchain/57146

Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug
symbols from MD Makefile's to Makefile.kern.inc.
 1.50 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.49 01-Aug-2018  maxv branches: 1.49.30;
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.48 14-Sep-2017  mrg branches: 1.48.2; 1.48.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.47 29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 2.
 1.46 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.45 07-Aug-2015  maxv Remove the KMEMSTATS option. It no longer exists.
 1.44 23-Aug-2014  dholland branches: 1.44.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.43 27-Jul-2014  dholland "internally consistency checks" -> "internal consistency checks"
 1.42 30-Jun-2013  rmind branches: 1.42.4;
G/C PFIL_HOOKS from the kernel configs.
 1.41 27-Apr-2013  christos branches: 1.41.4;
remove confusing numeric locators where they are unused.
 1.40 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.39 06-Dec-2012  msaitoh Remove "#options ARMFPE"
 1.38 22-Nov-2011  tls branches: 1.38.8;

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

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.37 06-Mar-2011  bouyer branches: 1.37.4;
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.36 23-Nov-2010  hannken branches: 1.36.2; 1.36.4;
Remove unused count from pseudo-device md.
 1.35 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.34 05-Dec-2009  pooka branches: 1.34.2; 1.34.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.33 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.32 12-Nov-2008  ad branches: 1.32.4;
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.31 30-May-2008  tsutsui branches: 1.31.4; 1.31.6;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.30 29-Feb-2008  jmmv branches: 1.30.2; 1.30.4; 1.30.6;
Remove GENERIC.local from the repository

Make all the kernels that currently include their corresponding GENERIC.local
file use the cinclude directive instead of include. This way config(1) will
not complain if the file cannot be found.

After doing this, remove the GENERIC.local files from the repository so that
the user will not see modified files during updates, and local changes to
them cannot end up in the repository by mistake.

Discussed in tech-kern@ earlier this month. No strong objections.
 1.29 09-Feb-2008  jmmv branches: 1.29.2; 1.29.6;
Support a GENERIC.local file.
 1.28 19-Jan-2008  chris Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
 1.27 26-Aug-2006  christos branches: 1.27.28; 1.27.32; 1.27.34; 1.27.40; 1.27.48;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.26 05-Feb-2006  cube branches: 1.26.2;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.25 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.24 20-Dec-2005  thorpej branches: 1.24.2; 1.24.4; 1.24.6;
Remove the tablet line discipline.
 1.23 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.22 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.21 19-Aug-2005  christos 64 bit inode changes.
 1.20 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.19 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.18 25-Feb-2005  simonb branches: 1.18.4;
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
 1.17 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.16 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 10-Nov-2004  christos branches: 1.15.4; 1.15.6;
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 29-Aug-2004  thorpej Add openfirm.
 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 13-Feb-2004  wiz branches: 1.11.2;
Uppercase CPU, plural is CPUs.
 1.10 13-Sep-2003  chris Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
SA_SIGINFO work.
 1.9 03-May-2003  thorpej branches: 1.9.2;
Make the new pmap standard on the shark.
 1.8 18-Apr-2003  scw Enable ARM32_PMAP_NEW on NetBSD/shark.
 1.7 10-Oct-2002  jdolecek include shark/conf/std.shark, shark/conf/std.arm32 doesn't exist
 1.6 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.5 17-Jun-2002  lukem branches: 1.5.2;
Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
 1.4 25-Apr-2002  atatat branches: 1.4.2; 1.4.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.3 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.2 02-Apr-2002  lukem Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
 1.1 10-Feb-2002  thorpej branches: 1.1.2;
Kill arch/arm32. The last platform supported there, Shark, is now
in arch/shark.

(NOTE: arch/dnard, a premature move to split out the Shark support
code, is going to be deleted. It has bit-rotted.)
 1.1.2.5 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.4 20-Jun-2002  nathanw Catch up to -current.
 1.1.2.3 17-Apr-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 10-Feb-2002  nathanw file OFWGENCFG was added on branch nathanw_sa on 2002-02-28 04:11:40 +0000
 1.4.4.1 01-Aug-2002  lukem Pull up revision 1.5 (requested by lukem in ticket #312):
Enable "pseudo-device clockctl" in all kernels, except
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
 1.4.2.1 15-Jul-2002  gehenna catch up with -current.
 1.5.2.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.5.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.2.1 17-Jun-2002  jdolecek file OFWGENCFG was added on branch kqueue on 2002-06-23 17:40:56 +0000
 1.9.2.9 11-Dec-2005  christos Sync with head.
 1.9.2.8 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.7 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.9.2.6 04-Feb-2005  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-Sep-2004  skrll Sync with HEAD
 1.9.2.1 03-Aug-2004  skrll Sync with HEAD
 1.11.2.1 15-Jul-2004  he 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.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.18.4.5 17-Mar-2008  yamt sync with head.
 1.18.4.4 11-Feb-2008  yamt sync with head.
 1.18.4.3 21-Jan-2008  yamt sync with head
 1.18.4.2 30-Dec-2006  yamt sync with head.
 1.18.4.1 21-Jun-2006  yamt sync with head.
 1.24.6.1 22-Apr-2006  simonb Sync with head.
 1.24.4.1 09-Sep-2006  rpaulo sync with head
 1.24.2.1 18-Feb-2006  yamt sync with head.
 1.26.2.1 03-Sep-2006  yamt sync with head.
 1.27.48.1 20-Jan-2008  bouyer Sync with HEAD
 1.27.40.1 18-Feb-2008  mjf Sync with HEAD.
 1.27.34.1 23-Mar-2008  matt sync with HEAD
 1.27.32.2 21-Mar-2008  chris Sync with head.
 1.27.32.1 20-Jan-2008  chris Sync to HEAD.
 1.27.28.1 28-Feb-2008  rjs Sync with HEAD.
 1.29.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.29.6.2 02-Jun-2008  mjf Sync with HEAD.
 1.29.6.1 03-Apr-2008  mjf Sync with HEAD.
 1.29.2.1 24-Mar-2008  keiichi sync with head.
 1.30.6.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.30.4.3 11-Aug-2010  yamt sync with head.
 1.30.4.2 11-Mar-2010  yamt sync with head
 1.30.4.1 04-May-2009  yamt sync with head.
 1.30.2.1 04-Jun-2008  yamt sync with head
 1.31.6.2 28-Apr-2009  skrll Sync with HEAD.
 1.31.6.1 19-Jan-2009  skrll Sync with HEAD.
 1.31.4.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.32.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.34.4.3 21-Apr-2011  rmind sync with head
 1.34.4.2 05-Mar-2011  rmind sync with head
 1.34.4.1 30-May-2010  rmind sync with head
 1.34.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.36.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.36.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.37.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.37.4.2 16-Jan-2013  yamt sync with (a bit old) head
 1.37.4.1 17-Apr-2012  yamt sync with head
 1.38.8.4 03-Dec-2017  jdolecek update from HEAD
 1.38.8.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.38.8.2 23-Jun-2013  tls resync from head
 1.38.8.1 25-Feb-2013  tls resync with head
 1.41.4.1 28-Aug-2013  rmind sync with head
 1.42.4.1 10-Aug-2014  tls Rebase.
 1.44.2.2 28-Aug-2017  skrll Sync with HEAD
 1.44.2.1 22-Sep-2015  skrll Sync with HEAD
 1.48.4.1 10-Jun-2019  christos Sync with HEAD
 1.48.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.49.30.1 09-Oct-2023  snj Apply patch (requested by martin in ticket #401):
Disable DIAGNOSTIC/DEBUG.
 1.25 12-May-2021  thorpej Add OFW PCI subroutines if PCI support is included in the kernel.
 1.24 30-Apr-2021  thorpej branches: 1.24.2;
Driver for the I2C bus used for RAM serial presence detection. This
I2C interface is implemented by bit-banging a couple of GPIO pins on
the Sequoia core logic used in the Shark.

Heavy lifting by Julian Coleman, and minor tweaks and a different
autoconfiguration scheme by me.
 1.23 30-Apr-2021  thorpej - Introduce sequoiaLock() / sequoiaUnlock() functions that hide away
the details of what's going on (disable / restore interrupts), and
use it consistently.
- Give "sequoia" a device_t in the system device tree, matching on
the Shark's /vlbus/isa node, acting a subclass of ofisa (an "ofisa"
will be attached to "sequoia"). This allows us to attach other logical
device nodes to the "sequoia".
 1.22 27-Apr-2021  thorpej Garbage-collect the old Shark-specific "pccons" stuff. Shark has
been wscons for some time now.
 1.21 18-Dec-2017  skrll branches: 1.21.20;
Generalise FDT and OFW
 1.20 10-Mar-2017  macallan include files.usb, vlpci needs-flag
 1.19 17-Feb-2017  jakllsch Add initial basic driver for DNARD's VT82C505 VL to PCI bridge.

Currently only allows configuration space, and I/O space access, the
latter of which has not yet been tested. DMA support is currently
unimplemented.

Add commented lines to GENERIC.
 1.18 23-Mar-2011  macallan branches: 1.18.14; 1.18.32; 1.18.36; 1.18.40;
add support for chipsfb at ofbus
 1.17 20-Feb-2008  drochner branches: 1.17.32; 1.17.38;
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.16 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.15 28-Oct-2007  jmmv branches: 1.15.2;
Drop pccons. Obsoleted by wscons, now fully supported in NetBSD/shark.
OK'ed by thorpej@ and tsutsui@ a while ago.
 1.14 18-Feb-2007  macallan branches: 1.14.4; 1.14.18; 1.14.20; 1.14.22; 1.14.24; 1.14.28;
fix typo - softintr.c is in arch/arm/arm/ not arch/arm/
 1.13 18-Feb-2007  matt Compile in arm/arm/softintr.c
 1.12 07-Dec-2006  macallan branches: 1.12.2;
add glue for igsfb at ofbus
 1.11 13-Sep-2006  gdamore branches: 1.11.2; 1.11.4;
Convert shark and ofppc to new common ofrtc and MI todr code. Tested
on shark. Ok christos@, martin@.
 1.10 11-Dec-2005  christos branches: 1.10.8; 1.10.20;
merge ktrace-lwp.
 1.9 09-Jan-2005  tsutsui branches: 1.9.10;
- Switch to wscons(4) with MI vga(4), pckbc(4) and pms(4).
- Reorganize console initialization code like i386 rather than cninit().
Note old pccons/opms and ofcons support still works.

XXX Xserver is not tested because XF86_4 doesn't have support
XXX for IGS CyberPro2010 on shark. (yet?)
 1.8 05-Jan-2005  tsutsui - Remove attribute shark, which is always defined.
- arch/shark/ofw/ofisapc.c is required by ofisapc, not pc.
 1.7 08-Jul-2004  drochner don't need md timing functions for joystick anymore
 1.6 10-Feb-2004  jdolecek need lpt_ofisa_machdep.c also for atppc attachment
 1.5 06-Sep-2002  gehenna branches: 1.5.6;
Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.4 19-Apr-2002  wiz branches: 1.4.2; 1.4.6;
Complete renaming of opms to opms (was mostly pms internally).
Mechanical change, tested by cross-compiling GENERIC from i386.

Approved by christos.
 1.3 04-Apr-2002  matt no need for defflag NETWINDER so nuke it
 1.2 12-Feb-2002  thorpej branches: 1.2.2;
Use sys/dev/md_root.c
 1.1 10-Feb-2002  thorpej Kill arch/arm32. The last platform supported there, Shark, is now
in arch/shark.

(NOTE: arch/dnard, a premature move to split out the Shark support
code, is going to be deleted. It has bit-rotted.)
 1.2.2.5 17-Sep-2002  nathanw Catch up to -current.
 1.2.2.4 20-Jun-2002  nathanw Catch up to -current.
 1.2.2.3 17-Apr-2002  nathanw Catch up to -current.
 1.2.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1 12-Feb-2002  nathanw file files.shark was added on branch nathanw_sa on 2002-02-28 04:11:40 +0000
 1.4.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.6.1 19-Apr-2002  jdolecek file files.shark was added on branch kqueue on 2002-06-23 17:40:56 +0000
 1.4.2.2 17-May-2002  gehenna Remove old block majors list.
 1.4.2.1 16-May-2002  gehenna Include the list of block/character major numbers.
 1.5.6.4 17-Jan-2005  skrll Sync with HEAD.
 1.5.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.9.10.5 27-Feb-2008  yamt sync with head.
 1.9.10.4 07-Dec-2007  yamt sync with head
 1.9.10.3 15-Nov-2007  yamt sync with head.
 1.9.10.2 26-Feb-2007  yamt sync with head.
 1.9.10.1 30-Dec-2006  yamt sync with head.
 1.10.20.2 12-Jan-2007  ad Sync with head.
 1.10.20.1 18-Nov-2006  ad Sync with head.
 1.10.8.1 14-Sep-2006  yamt sync with head.
 1.11.4.1 12-Jan-2007  bouyer Pull up following revision(s) (requested by macallan in ticket #350):
sys/arch/shark/isa/isa_io.c: revision 1.7
sys/arch/shark/shark/consinit.c: revision 1.5
sys/arch/shark/ofw/igsfb_ofbus.c: revision 1.1
sys/arch/shark/ofw/igsfb_ofbusvar.h: revision 1.1
sys/arch/shark/conf/files.shark: revision 1.12
add glue for igsfb at ofbus
 1.11.2.1 10-Dec-2006  yamt sync with head.
 1.12.2.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.14.28.1 13-Nov-2007  bouyer Sync with HEAD
 1.14.24.3 23-Mar-2008  matt sync with HEAD
 1.14.24.2 09-Jan-2008  matt sync with HEAD
 1.14.24.1 06-Nov-2007  matt sync with HEAD
 1.14.22.2 21-Mar-2008  chris Sync with head.
 1.14.22.1 01-Jan-2008  chris Sync with HEAD.
 1.14.20.2 09-Dec-2007  jmcneill Sync with HEAD.
 1.14.20.1 28-Oct-2007  joerg Sync with HEAD.
 1.14.18.2 28-Feb-2008  rjs Sync with HEAD.
 1.14.18.1 26-Dec-2007  rjs Sync with HEAD.
 1.14.4.1 03-Dec-2007  ad Sync with HEAD.
 1.15.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.17.38.1 06-Jun-2011  jruoho Sync with HEAD.
 1.17.32.1 21-Apr-2011  rmind sync with head
 1.18.40.1 21-Apr-2017  bouyer Sync with HEAD
 1.18.36.1 20-Mar-2017  pgoyette Sync with HEAD
 1.18.32.1 28-Aug-2017  skrll Sync with HEAD
 1.18.14.1 03-Dec-2017  jdolecek update from HEAD
 1.21.20.1 13-May-2021  thorpej Sync with HEAD.
 1.24.2.1 31-May-2021  cjep sync with head
 1.5 23-Aug-2015  uebayasi Don't need to specify OUTPUT_FORMAT/OUTPUT_ARCH.
 1.4 22-Aug-2015  uebayasi According to matt@, .ARM.{extab,exidx} are no longer used.
 1.3 20-Aug-2015  uebayasi Indent with 2 spaces.
 1.2 30-Jan-2014  matt branches: 1.2.6;
Put EHABI exception tables at the end of text.
provide __exidx_start and __exidx_end symbols.
 1.1 21-Nov-2002  thorpej branches: 1.1.2; 1.1.4; 1.1.152; 1.1.162; 1.1.168;
Use a linker script to craft and ELF image that will work
when copied to a.out via objcopy. Stop using that frightening
elf2aout.sh shell script.
 1.1.168.1 18-May-2014  rmind sync with head
 1.1.162.2 03-Dec-2017  jdolecek update from HEAD
 1.1.162.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.152.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.4.2 12-Dec-2002  he Pull up revision 1.1 (new, requested by thorpej in ticket #1002):
Use a linker script to craft an ELF image that will work
when copied to a.out via objcopy. Stop using the frightening
elf2aout.sh shell script.
 1.1.4.1 21-Nov-2002  he file kern.ldscript was added on branch netbsd-1-6 on 2002-12-12 22:19:25 +0000
 1.1.2.2 11-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 21-Nov-2002  thorpej file kern.ldscript was added on branch nathanw_sa on 2002-12-11 06:11:57 +0000
 1.2.6.1 22-Sep-2015  skrll Sync with HEAD
 1.30 04-Apr-2020  jdolecek mark nsmb major obsolete
 1.29 28-Jan-2019  dholland 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.28 17-Feb-2017  macallan branches: 1.28.14;
add major number for pci ( same as in arch/arm/conf )
 1.27 30-Jun-2011  wiz branches: 1.27.12; 1.27.30; 1.27.34; 1.27.38;
dependant -> dependent
 1.26 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.25 31-Dec-2007  ad branches: 1.25.6; 1.25.10; 1.25.16; 1.25.18;
Remove systrace. Ok core@.
 1.24 17-Oct-2007  garbled branches: 1.24.2; 1.24.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.23 08-Aug-2007  tsutsui branches: 1.23.2; 1.23.4;
Restore a device major for sd(4), which can be attached at atapibus(4).
Fixes part of PR port-shark/36693.
 1.22 03-Dec-2006  macallan branches: 1.22.6; 1.22.14; 1.22.18; 1.22.20; 1.22.22;
make /dev/openfirm work in GENERIC again
 1.21 24-Nov-2006  wiz branches: 1.21.2; 1.21.4;
s/independant/independent/, from Zafer.
 1.20 11-Dec-2005  christos branches: 1.20.20; 1.20.22;
merge ktrace-lwp.
 1.19 17-Sep-2005  yamt make VMSWAP optional again.
 1.18 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.17 30-Jul-2005  yamt defflag VMSWAP.
 1.16 10-May-2005  jdolecek branches: 1.16.2;
assign major for nsmb(4)
 1.15 21-Feb-2005  christos Add missing wsfont.
 1.14 09-Jan-2005  tsutsui branches: 1.14.2; 1.14.4;
- Switch to wscons(4) with MI vga(4), pckbc(4) and pms(4).
- Reorganize console initialization code like i386 rather than cninit().
Note old pccons/opms and ofcons support still works.

XXX Xserver is not tested because XF86_4 doesn't have support
XXX for IGS CyberPro2010 on shark. (yet?)
 1.13 05-Jan-2005  tsutsui 'device-major ofcons' is required by device ofcons, not ofwgencfg.
 1.12 10-Dec-2003  jmc Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
 1.11 24-Oct-2003  jdolecek g/c all SCSI-only device majors - shark doesn't have SCSI and isn't
expandable
pointed out by Matthew Green
 1.10 24-Oct-2003  jdolecek add necessary majors for miscellaneous devices, such as missing
wscons/scsi/isdn devices
 1.9 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major
range
 1.8 10-Oct-2003  jdolecek update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
 1.7 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.6 22-Aug-2003  itojun create /dev/crypto
 1.5 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.4 25-Apr-2003  ragge branches: 1.4.2;
Add ksyms device major.
 1.3 04-Oct-2002  elric branches: 1.3.2;
assign majors for raw and cooked cgd's.
 1.2 06-Sep-2002  gehenna branches: 1.2.2;
Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 16-May-2002  gehenna branches: 1.1.2;
file majors.shark was initially added on branch gehenna-devsw.
 1.1.2.3 15-Jul-2002  gehenna catch up with -current.
 1.1.2.2 30-May-2002  gehenna Add $NetBSD$
 1.1.2.1 16-May-2002  gehenna Add the list of block/character majors.
 1.2.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.2.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.2.2.1 06-Sep-2002  nathanw file majors.shark was added on branch nathanw_sa on 2002-09-17 21:17:29 +0000
 1.3.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.2.1 04-Oct-2002  jdolecek file majors.shark was added on branch kqueue on 2002-10-10 18:35:59 +0000
 1.4.2.6 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.5 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.4.2.4 17-Jan-2005  skrll Sync with HEAD.
 1.4.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1 03-Aug-2004  skrll Sync with HEAD
 1.14.4.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.14.2.1 29-Apr-2005  kent sync with -current
 1.16.2.4 21-Jan-2008  yamt sync with head
 1.16.2.3 03-Sep-2007  yamt sync with head.
 1.16.2.2 30-Dec-2006  yamt sync with head.
 1.16.2.1 21-Jun-2006  yamt sync with head.
 1.20.22.1 10-Dec-2006  yamt sync with head.
 1.20.20.1 12-Jan-2007  ad Sync with head.
 1.21.4.1 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.21.2.1 26-Aug-2007  liamjfoy Pull up following revision(s) (requested by tsutsui in ticket #838):
etc/etc.shark/MAKEDEV.conf: revision 1.11
sys/arch/shark/conf/majors.shark: revision 1.23
Restore a device major for sd(4), which can be attached at atapibus(4).
Fixes part of PR port-shark/36693.
Restore targets for sd(4) devices, which can be attached at atapibus(4).
Closes PR port-shark/36693.
 1.22.22.1 09-Aug-2007  jmcneill Sync with HEAD.
 1.22.20.2 28-Feb-2008  rjs Sync with HEAD.
 1.22.20.1 26-Dec-2007  rjs Sync with HEAD.
 1.22.18.1 15-Aug-2007  skrll Sync with HEAD.
 1.22.14.1 03-Oct-2007  garbled Sync with HEAD
 1.22.6.1 20-Aug-2007  ad Sync with HEAD.
 1.23.4.2 09-Jan-2008  matt sync with HEAD
 1.23.4.1 06-Nov-2007  matt sync with HEAD
 1.23.2.1 01-Jan-2008  chris Sync with HEAD.
 1.24.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.24.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.25.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.25.16.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.25.10.1 04-May-2009  yamt sync with head.
 1.25.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.27.38.1 21-Apr-2017  bouyer Sync with HEAD
 1.27.34.1 20-Mar-2017  pgoyette Sync with HEAD
 1.27.30.1 28-Aug-2017  skrll Sync with HEAD
 1.27.12.1 03-Dec-2017  jdolecek update from HEAD
 1.28.14.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.28.14.1 10-Jun-2019  christos Sync with HEAD
 1.2 14-Jul-2021  thorpej Enable VMSWAP_DEFAULT_PLAINTEXT as default.
 1.1 10-Feb-2002  thorpej branches: 1.1.2; 1.1.14; 1.1.228;
Kill arch/arm32. The last platform supported there, Shark, is now
in arch/shark.

(NOTE: arch/dnard, a premature move to split out the Shark support
code, is going to be deleted. It has bit-rotted.)
 1.1.228.1 01-Aug-2021  thorpej Sync with HEAD.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 10-Feb-2002  jdolecek file std.ofwgencfg was added on branch kqueue on 2002-06-23 17:40:56 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 10-Feb-2002  nathanw file std.ofwgencfg was added on branch nathanw_sa on 2002-02-28 04:11:40 +0000
 1.12 14-Jul-2021  thorpej Enable VMSWAP_DEFAULT_PLAINTEXT as default.
 1.11 17-Jan-2018  skrll branches: 1.11.20;
G/C ARM32_NEW_VM_LAYOUT
 1.10 12-Mar-2017  martin Include the atheros hal files
 1.9 21-Sep-2012  matt branches: 1.9.14; 1.9.18; 1.9.22;
Switch to the generic bounce buffer support.
 1.8 27-Jan-2008  chris branches: 1.8.44; 1.8.52; 1.8.54;
Add an arm/conf/std.arm file which contains common arm options, initially
just options CPU_IN_CKSUM.

Include std.arm in all arm platform std files.

This should reenable the asm in_cksum code for all arm platforms.

Also remove the now unused in_cksum_arm.S.
 1.7 17-Oct-2007  garbled branches: 1.7.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.6 05-Aug-2007  jmmv branches: 1.6.2; 1.6.4;
Move 'options FONT_VT220L8x16' to a common place for all kernels so that
the user needn't remember to add this option to get a font that is almost
identical (but fixed!) to the built-in one.
 1.5 11-Dec-2005  christos branches: 1.5.30; 1.5.38; 1.5.42; 1.5.44; 1.5.46; 1.5.48;
merge ktrace-lwp.
 1.4 17-Sep-2005  yamt include "conf/std".
 1.3 22-May-2003  thorpej branches: 1.3.2; 1.3.18;
Don't need ARM32_PMAP_NEW option any more.
 1.2 03-May-2003  thorpej Make the new pmap standard on the shark.
 1.1 10-Feb-2002  thorpej branches: 1.1.2; 1.1.14;
Kill arch/arm32. The last platform supported there, Shark, is now
in arch/shark.

(NOTE: arch/dnard, a premature move to split out the Shark support
code, is going to be deleted. It has bit-rotted.)
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 10-Feb-2002  jdolecek file std.shark was added on branch kqueue on 2002-06-23 17:40:57 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 10-Feb-2002  nathanw file std.shark was added on branch nathanw_sa on 2002-02-28 04:11:40 +0000
 1.3.18.3 04-Feb-2008  yamt sync with head.
 1.3.18.2 03-Sep-2007  yamt sync with head.
 1.3.18.1 21-Jun-2006  yamt sync with head.
 1.3.2.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.48.1 09-Aug-2007  jmcneill Sync with HEAD.
 1.5.46.2 28-Feb-2008  rjs Sync with HEAD.
 1.5.46.1 26-Dec-2007  rjs Sync with HEAD.
 1.5.44.1 15-Aug-2007  skrll Sync with HEAD.
 1.5.42.1 07-Aug-2007  matt Sync with HEAD.
 1.5.38.1 03-Oct-2007  garbled Sync with HEAD
 1.5.30.1 20-Aug-2007  ad Sync with HEAD.
 1.6.4.2 23-Mar-2008  matt sync with HEAD
 1.6.4.1 06-Nov-2007  matt sync with HEAD
 1.6.2.2 27-Jan-2008  chris Sync to HEAD.
 1.6.2.1 01-Jan-2008  chris Sync with HEAD.
 1.7.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.8.54.2 03-Dec-2017  jdolecek update from HEAD
 1.8.54.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.52.1 06-Dec-2012  matt Merge changes from -current.
 1.8.44.1 30-Oct-2012  yamt sync with head
 1.9.22.1 21-Apr-2017  bouyer Sync with HEAD
 1.9.18.1 20-Mar-2017  pgoyette Sync with HEAD
 1.9.14.1 28-Aug-2017  skrll Sync with HEAD
 1.11.20.1 01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed