Home | History | Annotate | only in /src/sys/arch/hp300/conf
History log of /src/sys/arch/hp300/conf
RevisionDateAuthorComments
 1.42 08-Feb-2002  gmcgarry Remove old, custom files.
 1.41 27-Jan-2002  jdolecek add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
 1.40 17-Nov-2001  gmcgarry Update for new RTC and HIL attachments.
 1.39 08-Jul-2001  abs branches: 1.39.2; 1.39.8;
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
 1.38 02-Jan-2001  simonb Add ELF support.

Thanks to Steve Woodford for his help!
 1.37 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.36 14-Jun-2000  veego Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
 1.35 12-Feb-2000  thorpej branches: 1.35.2;
Nuke NKMEMCLUSTERS.
 1.34 14-Dec-1999  thorpej Add COMPAT_LINUX, COMPAT_SVR4, EXEC_ELF32.
 1.33 19-Sep-1999  thorpej branches: 1.33.2; 1.33.8;
Remove ipfilter, add IPv6 and IPSec.
 1.32 19-Sep-1999  thorpej Correct a comment: aging `basalt' is no longer a file server, but now
just a mere workstation.
 1.31 19-Sep-1999  thorpej Add SYSV* IPC options.
 1.30 31-Jul-1999  thorpej Add HP385.
 1.29 29-Jul-1999  augustss It's time to be COMPAT_14.
 1.28 23-Jun-1999  thorpej Enable DDB history.
 1.27 19-Dec-1998  thorpej branches: 1.27.4;
Wire down some SCSI disk units.
 1.26 26-Jun-1998  lukem remove options FIFO; it's now the default
 1.25 04-May-1998  thorpej options UVM no longer needed; it's standard
 1.24 01-May-1998  thorpej TCP_CWM option doesn't exist anymore; it's all run-time.
 1.23 29-Apr-1998  thorpej Turn off TCP_COMPAT_42, turn on TCP_CWM.
 1.22 24-Feb-1998  thorpej Switch this kernel to UVM.
 1.21 22-Dec-1997  thorpej Add COMPAT_13.
 1.20 17-Nov-1997  lukem * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
 1.19 07-May-1997  lukem cleanup unecessary quotage of options
 1.18 06-May-1997  lukem be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
 1.17 31-Mar-1997  thorpej Build these kernels with full debugging symbols.
 1.16 12-Mar-1997  thorpej Add 9660 file system, and set DDB_ONPANIC to 0.
 1.15 31-Jan-1997  thorpej Adopt for new file system and root spec grammar.
 1.14 30-Jan-1997  thorpej Update for new-style config.
 1.13 20-Jan-1997  scottr Remove obsolete timezone specification
 1.12 07-Jan-1997  mrg branches: 1.12.2;
use pseudo-device ipfilter, not ipl.
 1.11 06-Jan-1997  thorpej Add ipl pseudo-device.
 1.10 09-Dec-1996  thorpej Sync with reality.
 1.9 09-Dec-1996  thorpej Add EXEC_SCRIPT (I don't even want to know how I forgot it before...)
 1.8 15-Oct-1996  thorpej Don't need "options GENERIC" anymore.
 1.7 03-Oct-1996  thorpej Add EXEC_AOUT to all kernels.
 1.6 10-Sep-1996  thorpej Document COMPAT_M68K4K, but leave it disabled by default.
 1.5 22-Aug-1996  thorpej Add COMPAT_12 to all kernels, and COMPAT_11 to a few as well.
 1.4 29-Dec-1995  thorpej Increase maxusers from 16 to 32.
 1.3 28-Nov-1995  thorpej Enable COMPAT_HPUX.
 1.2 21-Sep-1995  thorpej Add 4 vnds to each, add 4 ccds to GENERIC, update BASALT to match
current reality.
 1.1 04-Aug-1995  thorpej Kernel configuration file for my hp380.
 1.12.2.1 30-Jan-1997  thorpej update from trunk
 1.27.4.2 02-Aug-1999  thorpej Update from trunk.
 1.27.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.33.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.33.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.33.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.35.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.39.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.39.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.39.8.1 08-Jul-2001  nathanw file BASALT was added on branch nathanw_sa on 2002-01-08 00:24:29 +0000
 1.39.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.39.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.39.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2 08-Feb-2002  gmcgarry Remove old, custom files.
 1.1 30-May-1998  thorpej branches: 1.1.28; 1.1.32;
Profiling version of the BASALT kernel.
 1.1.32.1 28-Feb-2002  nathanw Catch up to -current.
 1.1.28.1 16-Mar-2002  jdolecek Catch up with -current.
 1.34 10-Feb-2002  gmcgarry Don't need these.
 1.33 27-Jan-2002  jdolecek add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
 1.32 14-Dec-2001  gmcgarry Use bootp, to match the recent change to the bootblocks.
 1.31 17-Nov-2001  gmcgarry Update for new RTC and HIL attachments.
 1.30 08-Jul-2001  abs branches: 1.30.2; 1.30.8;
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
 1.29 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.28 12-Feb-2000  thorpej Nuke NKMEMCLUSTERS.
 1.27 31-Jul-1999  thorpej branches: 1.27.2;
Add HP385.
 1.26 29-Jul-1999  augustss It's time to be COMPAT_14.
 1.25 28-Aug-1998  thorpej branches: 1.25.8;
Use NFS_BOOT_BOOTPARAMS until we change the boot program to use DHCP
 1.24 26-Jun-1998  lukem remove options FIFO; it's now the default
 1.23 01-Dec-1997  kleink Add COMPAT_13.
 1.22 17-Nov-1997  lukem * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
 1.21 12-May-1997  thorpej Add the following drivers:
- frodo at intio
- dnkbd at frodo (commented out until integrated)
- apci at frodo
 1.20 07-May-1997  lukem whitespacos i missed
 1.19 07-May-1997  lukem cleanup unecessary quotage of options
 1.18 06-May-1997  lukem be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
 1.17 27-Apr-1997  thorpej Update for new SPU options.
 1.16 31-Mar-1997  thorpej Build these kernels with full debugging symbols.
 1.15 31-Jan-1997  thorpej Adopt for new file system and root spec grammar.
 1.14 30-Jan-1997  scottr Add DIOVERBOSE per Jason; clean up formatting for some options.
 1.13 30-Jan-1997  thorpej Update for new-style config.
 1.12 20-Jan-1997  scottr Remove obsolete timezone specification
 1.11 11-Dec-1996  thorpej branches: 1.11.2;
Fix typo in comment.
 1.10 09-Dec-1996  thorpej Add EXEC_SCRIPT (I don't even want to know how I forgot it before...)
 1.9 03-Oct-1996  thorpej Add EXEC_AOUT to all kernels.
 1.8 10-Sep-1996  thorpej Document COMPAT_M68K4K, but leave it disabled by default.
 1.7 25-Aug-1996  thorpej Add the United Kingdom and Swedish HIL keyboard maps to the kernels
used in the binary snapshots.
 1.6 22-Aug-1996  thorpej Add COMPAT_12 to all kernels, and COMPAT_11 to a few as well.
 1.5 29-Dec-1995  thorpej branches: 1.5.4;
Enable COMPAT_HPUX by default. It's still not 100% yet, but it doesn't
seem to really hurt anything, either. Makes it easier for folks using
binary snapshots only to try it out.

GENERIC: now that the PT map allocation is fixed, increase the default
maxusers to 32.
 1.4 28-Nov-1995  thorpej Note the new status of COMPAT_HPUX, but keep is disabled by default.
 1.3 10-Oct-1995  thorpej Add another dca and grf
 1.2 21-Sep-1995  thorpej Add 4 vnds to each, add 4 ccds to GENERIC, update BASALT to match
current reality.
 1.1 02-Sep-1995  thorpej Example configuration for a diskless hp300.
 1.5.4.2 25-Aug-1996  thorpej Add COMPAT_11 to the kernels used in the binary snapshots.
 1.5.4.1 25-Aug-1996  thorpej Pull up from trunk:

Add the United Kingdom and Swedish HIL keyboard maps to the kernels
used in the binary snapshots.
 1.11.2.1 30-Jan-1997  thorpej update from trunk
 1.25.8.1 02-Aug-1999  thorpej Update from trunk.
 1.27.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.30.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.30.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.30.8.1 08-Jul-2001  nathanw file DISKLESS was added on branch nathanw_sa on 2002-01-08 00:24:29 +0000
 1.30.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.30.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.30.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.39 29-Dec-2000  mycroft Long gone.
 1.38 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.37 12-Feb-2000  thorpej Nuke NKMEMCLUSTERS.
 1.36 31-Jul-1999  thorpej branches: 1.36.2;
Add HP385.
 1.35 29-Jul-1999  augustss It's time to be COMPAT_14.
 1.34 26-Jun-1998  lukem branches: 1.34.10;
remove options FIFO; it's now the default
 1.33 22-Dec-1997  thorpej Add COMPAT_13.
 1.32 17-Nov-1997  lukem * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
 1.31 07-May-1997  lukem whitespacos i missed
 1.30 07-May-1997  lukem cleanup unecessary quotage of options
 1.29 06-May-1997  lukem be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
 1.28 27-Apr-1997  thorpej Update for new SPU options.
 1.27 14-Mar-1997  mycroft Update this to new config.
 1.26 12-Mar-1997  thorpej Enable COMPAT_M68K4K.
 1.25 20-Jan-1997  scottr Remove obsolete timezone specification
 1.24 11-Dec-1996  thorpej branches: 1.24.2;
Fix typo in comment.
 1.23 09-Dec-1996  thorpej Add EXEC_SCRIPT (I don't even want to know how I forgot it before...)
 1.22 03-Oct-1996  thorpej Add EXEC_AOUT to all kernels.
 1.21 10-Sep-1996  thorpej Document COMPAT_M68K4K, but leave it disabled by default.
 1.20 22-Aug-1996  thorpej Add COMPAT_12 to all kernels, and COMPAT_11 to a few as well.
 1.19 20-May-1996  mrg document PORTAL
 1.18 12-May-1995  mycroft Add vnd.
 1.17 31-Mar-1995  mycroft Update.
 1.16 05-Mar-1995  mycroft Remove file systems.
 1.15 23-Feb-1995  mycroft More disks, tapes, MSDOSFS...
 1.14 26-Oct-1994  cgd new RCS ID format.
 1.13 17-Aug-1994  mycroft No COMPAT_HPUX at the moment.
 1.12 05-Jul-1994  mycroft branches: 1.12.2;
Add FPSP magic.
 1.11 03-Jul-1994  mycroft Switch to Motorola emulator.
 1.10 23-May-1994  mycroft `clock' is no longer a device.
 1.9 20-May-1994  mycroft Add label location overrides.
 1.8 17-May-1994  cgd no SYSVSHM
 1.7 04-May-1994  mycroft HPUXCOMPAT -> COMPAT_HPUX
 1.6 24-Apr-1994  mycroft Add COMPAT_09.
 1.5 09-Jan-1994  mycroft Enable DDB.
 1.4 05-Jan-1994  mycroft Bleah.
 1.3 30-Aug-1993  deraadt pagers are now options, not pseudo-devices
 1.2 19-Aug-1993  mycroft Add COMPAT_NOMID.
 1.1 10-Aug-1993  mycroft Rename my kernel config.
 1.12.2.1 17-Aug-1994  mycroft update from trunk
 1.24.2.1 30-Jan-1997  thorpej update from trunk
 1.34.10.1 02-Aug-1999  thorpej Update from trunk.
 1.36.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.36.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4 10-Feb-2002  gmcgarry Don't need these.
 1.3 27-Jan-2002  jdolecek add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
 1.2 20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.1 01-Jul-2001  gmcgarry branches: 1.1.2; 1.1.8;
Example options to reduce kernel memory footprint.
 1.1.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.1.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.8.1 01-Jul-2001  nathanw file FOURMEG was added on branch nathanw_sa on 2002-01-08 00:24:30 +0000
 1.1.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.216 04-Jun-2025  tsutsui Use native wskbd keymap on X.Org server for hp300 and luna68k.

Also disable the no-longer-needed WSKBD_COMPAT_RAWKBD option in GENERIC.

It's more straightforward to use the native wskbd keymap provided by
the WSKBDIO_GETMAP ioctl, rather than relying on WSKBD_COMPAT_RAWKBD,
which emulates raw PS/2 "pc105" scancodes assumed by the
xf86-input-keyboard driver if no specific keymap is not found.

Tested on HP9000/382 and LUNA-II.
 1.215 31-May-2025  tsutsui Disable obsolete gendiofb(4) in GENERIC, sti(4) at dio is enough.
 1.214 01-May-2025  tsutsui Add sti(4) support for 9000/362 and 9000/382 on-board framebuffers.

Mostly pulled from OpenBSD/hp300.

This supersedes old and dumb gendiofb. Currently there is no mmap
or cmap (palette) support, but I'll investigate how Bt474 RAMDAC
should be handled.

Tested on 382 with 640x480 and 1024x768 variants, and 362 with 640x480.
No visible regression on 425e (EVRX) and 425t (CRX).
 1.213 07-Dec-2024  tsutsui Specify -fno-unwind-tables to shrink kernel binary size.
 1.212 29-Jan-2024  christos branches: 1.212.2;
PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.211 12-Feb-2023  abs Add optoion GENERIC.local include to the end of ~all GENERIC configs

This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm
all of which have somewhat specific kernel config file layouts
 1.210 29-Sep-2022  riastradh swwdog(4): Add to GENERIC kernels.

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

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

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

PR kern/29702
 1.209 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.208 29-May-2021  tsutsui Reorder entries and reorganize comments for maintainability.

No functional change intended.
 1.207 21-Jan-2021  nia branches: 1.207.4; 1.207.6;
add a commented out compat_ossaudio wherever there's compat_linux

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

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.205 10-Aug-2020  rin Add -fno-omit-frame-pointer to m68k kernels with DDB for backtraces.
-omit-frame-pointer is enabled for -O1 and higher for GCC8 by default.
 1.204 01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.203 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.202 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.201 14-Mar-2019  thorpej G/C "MAPPECOPY". It is the deadest of wood, and never actually worked in
NetBSD.
 1.200 19-Dec-2018  maxv Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
 1.199 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.198 23-Jan-2018  sevan branches: 1.198.2; 1.198.4;
Alternate buffer queue strategies no longer considered experimental, update
description.

Discussed on tech-kern
http://mail-index.netbsd.org/tech-kern/2018/01/21/msg023002.html
 1.197 14-Sep-2017  mrg clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
 1.196 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.195 28-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 1.
 1.194 13-Dec-2016  christos branches: 1.194.8;
wildcard speaker attachments, now that we can handle many of them.
 1.193 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.192 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.191 08-Aug-2015  maxv branches: 1.191.2;
Remove KMEMSTATS.
 1.190 16-Nov-2014  manu branches: 1.190.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.189 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.188 24-Aug-2014  tsutsui Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.

The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.

The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
 1.187 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.186 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.185 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.184 18-Jul-2014  tsutsui branches: 1.184.2;
More tweaks to GENERIC.

- reduce maxusers from 32 to 8 as other m68k ports
- make NFS_BOOT_DHCP default rather than NFS_BOOT_BOOTP
(and move these options in "Networking options" block)
- use 8x16 font instead of 12x22 for machines with small screen like HP362
 1.183 18-Jul-2014  tsutsui Shrink GENERIC and enable MODULAR instead.
 1.182 05-Jul-2014  tsutsui Use COPTS="-O2 -fno-reorder-blocks" as defined in sys.mk for userland.

with "-O2":
text data bss dec hex filename
3717740 86092 152864 3956696 3c5fd8 netbsd

with "-O2 -fno-reorder-blocks":
text data bss dec hex filename
3304404 86092 152864 3543360 361140 netbsd
 1.181 19-Apr-2014  tsutsui Add proper RealTime Clock support for HP9000/425e.

As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.

Tested on HP425e (with mcclock) and HP362 (with old rtc).
 1.180 16-Aug-2013  tsutsui branches: 1.180.2;
Make FPU_EMULATE work on NetBSD/hp300. Commented out by default in GENERIC.

Tested on HP9000/362 without optional MC68882 FPU in its socket.
 1.179 30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.178 05-Jun-2013  christos branches: 1.178.2;
remove obsolete networking options
 1.177 27-Apr-2013  christos the bogus number police
 1.176 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.175 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.174 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.173 11-Jan-2013  tsutsui Add sti at sgc framebuffer.
Ported from OpenBSD by kiyohara@.
 1.172 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.171 17-Aug-2012  abs branches: 1.171.2;
Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

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

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

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

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
 1.170 10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.169 18-Dec-2011  dholland branches: 1.169.2; 1.169.6; 1.169.8;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.168 22-Nov-2011  tls branches: 1.168.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.167 30-Jun-2011  wiz branches: 1.167.2;
dependant -> dependent
 1.166 21-May-2011  tsutsui Add sti at sgc configuration for SGC EVRX framebuffers found on
some later HP4xx models. Untested, and disabled in GENERIC for now.
 1.165 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.164 12-Feb-2011  tsutsui Pull Apollo Domain keyboard and mouse support from OpenBSD.
Untested (no hardware), but no bad sideeffect on 425t without Domain keyboard.

This is the last portion of "new hp300 kernel features" submitted in
PR port-hp300/3528 back in 1997, and I think finally we can close it.
 1.163 12-Feb-2011  tsutsui Pull basic SGC bus attachment from OpenBSD to test devices.
Disabled by default since there is no SGC drivers yet.
 1.162 12-Feb-2011  tsutsui Add dumb framebuffer (no acceleration, no colormap) support
for HP362 and HP382.

Tested on A1473-69510 (HP362 VGA-res) and A1474-69511 (HP382 mid-res).
 1.161 06-Feb-2011  tsutsui Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.160 06-Feb-2011  tsutsui - adjust a comment for frodo (362 doesn't have frodo)
- whitespace nits
 1.159 03-Jan-2011  tsutsui branches: 1.159.2; 1.159.4;
Xref module(7) in comments.
 1.158 23-Nov-2010  hannken Remove unused count from pseudo-device md.
 1.157 16-Oct-2010  tsutsui - add commented out options MODULAR
- comment out historical options COMPAT_44
 1.156 07-Jul-2010  chs enable DDB_HISTORY_SIZE in a few more configs where DDB is enabled.
 1.155 08-May-2010  mrg enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.
 1.154 29-Apr-2010  chs enable TMPFS in all GENERICs that have MFS enabled.
 1.153 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.152 08-Feb-2010  joerg branches: 1.152.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.151 05-Dec-2009  pooka branches: 1.151.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.150 12-Jan-2009  tsutsui Add options COMPAT_50.
 1.149 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.147 10-Aug-2008  tls branches: 1.147.2;
Add accept filters to GENERIC kernels where they exist.
 1.146 31-Jul-2008  simonb Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.145 31-Dec-2007  ad branches: 1.145.6; 1.145.10; 1.145.12; 1.145.16;
Remove systrace. Ok core@.
 1.144 31-Dec-2007  ad Remove COMPAT_HPUX.
 1.143 04-Nov-2007  xtraeme branches: 1.143.2; 1.143.8;
Remove System V semaphores and share memory options to set the limits:
SEMMNI, SEMMNS, SEMUME and SHMMAXPGS.

They can be tweaked via sysctl now. Ports that were setting values on
them weren't touched, I only removed the ones that were commented out.
 1.142 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.141 06-Aug-2007  adrianp branches: 1.141.2; 1.141.6;
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.140 25-Jun-2007  tsutsui branches: 1.140.2; 1.140.4; 1.140.8;
Add options COMPAT_40.
 1.139 04-Jun-2007  martin Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).
 1.138 11-Nov-2006  jmmv branches: 1.138.2; 1.138.8; 1.138.10; 1.138.16; 1.138.18;
Remove tmpfs's experimental status. OK'ed by core@.
 1.137 26-Aug-2006  christos branches: 1.137.2; 1.137.4;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.136 26-Aug-2006  tsutsui options<space><tab>
 1.135 26-Aug-2006  tsutsui Remove netns and netccitt options.
 1.134 26-Aug-2006  tsutsui Remove obsolete #options VERIFIED_EXEC, found by grep(1).
 1.133 12-Aug-2006  christos Disable SYSTRACE by default on all kernels (discussed with core)
 1.132 20-Jul-2006  tsutsui branches: 1.132.2;
Identify models HP362 and HP382. From OpenBSD, tested on my HP382.

Note now options HP362 and options HP382 are required for these models
in your kernel config file.
 1.131 28-Jun-2006  liamjfoy Add CARP to GENERIC kernel configs. CARP is not enabled by default.

ok: christos
 1.130 28-Mar-2006  pavel branches: 1.130.4;
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.129 05-Feb-2006  cube branches: 1.129.2; 1.129.4; 1.129.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.128 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.127 02-Feb-2006  reinoud branches: 1.127.2;
Add commented out UDF file-system entry in all GENERIC configurations.
 1.126 09-Dec-2005  elad branches: 1.126.2; 1.126.4;
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
 1.125 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.124 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.123 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.122 20-Aug-2005  tsutsui options<space><tab>
 1.121 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.120 19-Aug-2005  christos 64 bit inode changes.
 1.119 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.118 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.117 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.116 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.115 25-Jun-2005  rpaulo branches: 1.115.2;
Add file-system PTYFS (commented out) so that people know its existence.

Ok'ed by Christos Zoulas and Hubert Feyrer.
 1.114 09-Jun-2005  tsutsui - Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.

Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
 1.113 18-Feb-2005  dsl branches: 1.113.4;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.112 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.111 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.110 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.109 17-Jan-2005  cube branches: 1.109.2;
Add tap(4) support to a random^Wcarefully chosen set of kernel configs.
All those kernels have a line for both tun and bridge, and if either is
commented out, tap is commented out also. With the exception of i386's
GENERIC_TINY.

XXX: we _need_ some way of making this more simple.
 1.108 05-Jan-2005  tsutsui branches: 1.108.2;
options<space><tab>
 1.107 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.106 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.105 28-Aug-2004  thorpej Remove the last vestiges of COMPAT_NOLABEL. It's been 10 years; label
your disks already.
 1.104 18-Jul-2004  tsutsui Add options COMPAT_20.
 1.103 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.102 28-Jun-2004  bouyer Add options P1003_1B_SEMAPHORE
to all GENERIC-like kernel config files where SYSV* options were already
present (commented out if the SYSV* options are commented out).
Fix lib/25897 and lib/25898.
 1.101 26-Jun-2004  abs Add (commented out) ALTQ options to all GENERIC-like files
 1.100 22-Jun-2004  itojun have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
 1.99 18-Jun-2004  christos ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM
 1.98 16-Jun-2004  christos Add pseudo-device ptm on all the generic flavored kernels.
 1.97 22-Nov-2003  tsutsui branches: 1.97.2;
Add an entry of "com0 at dio0 scode 9" so that /dev/ttyC0 and
compat symlink (/dev/tty0) are always reserved for DCA serial.
 1.96 08-Nov-2003  tsutsui Switch DCA and APCI serial devices to use MI com(4) driver.

DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.
 1.95 22-Sep-2003  cl add COMPAT_15/COMPAT_16
 1.94 01-Aug-2003  tsutsui Switch hp300 to MI SCSI with MI mb89352 SPC SCSI driver (at last),
and remove old hp300 MD oscsi support derived from 4.4BSD-Lite2.
 1.93 24-May-2003  gmcgarry branches: 1.93.2;
Clean-up the DIO bus. Includes two main changes:

1) Pass address and ipl locators at attachment;
2) Remove hack which made the internal HP-IB controller
look like a DIO device.

The hack to allow the nhpib driver to support internal and DIO
controllers appears to be a leftover from 4.3BD where it was not
possible to have a driver attach to different busses. NetBSD has
supported bus-dependent attachments for a long time.
 1.92 26-Apr-2003  ragge Add pseudo-device ksyms.
 1.91 10-Apr-2003  christos Bye Bye UCONSOLE
 1.90 27-Feb-2003  perseant Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
 1.89 22-Dec-2002  gmcgarry Make the DMA controller a separate device attached to intio. Intio
devices can use the DMA controller too.
 1.88 22-Nov-2002  wiz Fix typo (responsiness -> responsiveness).
 1.87 18-Oct-2002  junyoung Add NEW_BUFQ_STRATEGY (disabled by default).
 1.86 14-Oct-2002  elric Added commented out cgd(4)s to GENERIC configs.
 1.85 06-Oct-2002  provos add SYSTRACE; approved perry.
 1.84 25-Sep-2002  martti Add one space between "#option" and "<tab>IPFILTER_DEFAULT_BLOCK"
 1.83 20-Sep-2002  martti Added (commented out) IPFILTER_DEFAULT_BLOCK.
 1.82 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.81 17-Jun-2002  lukem 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.80 07-May-2002  gmcgarry branches: 1.80.2; 1.80.4;
Make more featureful.
 1.79 25-Apr-2002  atatat 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.78 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.77 23-Feb-2002  gmcgarry Cleanup options for binary compatibility. HPUX and SUNOS are known to work.
 1.76 27-Jan-2002  jdolecek add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
 1.75 19-Jan-2002  oster Add new RF_* options for RAIDframe bits that are no longer built by default.

While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
 1.74 28-Dec-2001  martin Add PPPoE to all generic kernels that should be able to use it.
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
 1.73 14-Dec-2001  gmcgarry Use bootp, to match the recent change to the bootblocks.
 1.72 14-Dec-2001  gmcgarry Add a blurb to the top of all GENERIC files. This serves three purposes:
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
 1.71 23-Nov-2001  atatat The bridge(4) pseudo-device no longer requires the port to
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
 1.70 20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.69 17-Nov-2001  gmcgarry Update for new RTC and HIL attachments.
 1.68 01-Sep-2001  atatat branches: 1.68.6;
Comment out bridge pseudo devices from ports that don't
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
 1.67 01-Sep-2001  atatat Add bridge pseudo devices to GENERIC configs
 1.66 08-Jul-2001  abs branches: 1.66.2;
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
 1.65 30-Jun-2001  darcy Add System V semaphore resource limits to each GENERIC file that has an
option for System V semaphores. It appears that there are no overrides
in the code and each file has the following added.

options SYSVSEM # System V semaphores
+#options SEMMNI=10 # number of semaphore identifiers
+#options SEMMNS=60 # number of semaphores in system
+#options SEMUME=10 # max number of undo entries per process
+#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V shared memory

If anyone thinks that this is incorrect for any of these files, please
correct it.

Note - the i386 port was not forgotten. It was done separately.
 1.64 02-Jan-2001  simonb Add ELF support.

Thanks to Steve Woodford for his help!
 1.63 19-Dec-2000  tsutsui Remove "rnd is EXPERIMENTAL" comments.
 1.62 19-Dec-2000  bouyer Add pseudo-device vlan
 1.61 04-Oct-2000  itojun enable rnd device. they are now mandatory for ssh/sshd support,
so it makes more sense to enable it.
please disable them if there's any issues, but in that case, in-tree
ssh/sshd won't work.
 1.60 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.59 13-Aug-2000  itojun move "options PULLDOWN_TEST" into sys/sys/mbuf.h (in #ifdef _KERNEL),
as it is no wthe default setting for everyone.

the reason we still use the name "PULLDOWN_TEST" while it is now default:
kame code sharing.
 1.58 27-Jul-2000  mason Moving to a default of 64 PTYs.
 1.57 30-Jun-2000  itojun add PULLDOWN_TEST for all the platforms.
XXX should be moved to somewhere else when stabilized
 1.56 22-Jun-2000  fvdl Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
 1.55 14-Jun-2000  veego branches: 1.55.2;
Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
 1.54 19-Apr-2000  itojun branches: 1.54.2;
add stf pseudo interface (commented out due to possible security risks)
 1.53 29-Feb-2000  simonb Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
 1.52 26-Feb-2000  oster Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
 1.51 12-Feb-2000  thorpej Nuke NKMEMCLUSTERS.
 1.50 23-Jan-2000  hubertf Add commented out "ident"-command
 1.49 21-Nov-1999  itojun bring in content of GENERIC.v6 into GENERIC.
remove GENERIC.v6 file (as it is part of GENERIC now).

"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only). We may need to think about it again.

if you have problem compiling with INET6 on archs I do not have access to,
please contact me.

XXX what to do with arch/arm32/SHARK{,.v6}?
 1.48 15-Nov-1999  fvdl Add commented out option SOFTDEP to all GENERIC kernels.
 1.47 31-Jul-1999  thorpej branches: 1.47.2; 1.47.8;
Add HP385.
 1.46 29-Jul-1999  augustss It's time to be COMPAT_14.
 1.45 20-Jul-1999  christos enable PPP_BSDCOMP, PPP_DEFLATE, PPP_FILTER, PFIL_HOOKS, IPFILTER_LOG
on the GENERIC kernels that had them commented out.
XXX: Please note, that not all the kernels have all the options defined!
 1.44 19-Apr-1999  kleink Add COMPAT_SVR4 for m68k.
 1.43 15-Dec-1998  itohy branches: 1.43.2; 1.43.4;
Added options COMPAT_LINUX and EXEC_ELF32 as comments
to GENERIC configuration files.
 1.42 25-Nov-1998  hwr Add (commented out) 'gre' pseudo device line. Feedback is welcome.
Inspired by Klaus Klein.
 1.41 16-Nov-1998  oster Added a (commented out) configuration line for the RAIDframe device driver.
 1.40 28-Aug-1998  thorpej Use NFS_BOOT_BOOTPARAMS until we change the boot program to use DHCP
 1.39 26-Jun-1998  lukem remove options FIFO; it's now the default
 1.38 18-Mar-1998  bouyer Add commented out "options FFS_EI"
 1.37 01-Dec-1997  kleink Add COMPAT_13.
 1.36 20-Nov-1997  fair add pseudo-device rnd, commented out
 1.35 17-Nov-1997  lukem * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
 1.34 23-Aug-1997  mjacob branches: 1.34.4;
add a before tab to SCSIVERBOSE
 1.33 20-Aug-1997  mjacob add commented out reference SCSIVERBOSE option
 1.32 12-May-1997  thorpej branches: 1.32.4;
Add the following drivers:
- frodo at intio
- dnkbd at frodo (commented out until integrated)
- apci at frodo
 1.31 07-May-1997  lukem whitespacos i missed
 1.30 07-May-1997  lukem cleanup unecessary quotage of options
 1.29 06-May-1997  lukem be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
 1.28 27-Apr-1997  thorpej Update for new SPU options.
 1.27 31-Mar-1997  thorpej Build these kernels with full debugging symbols.
 1.26 18-Feb-1997  mrg comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter. minor format
 1.25 02-Feb-1997  thorpej branches: 1.25.4;
Add "options LKM", suggested by Klaus Klein <kleink@layla.inka.de>.
 1.24 02-Feb-1997  thorpej Oops, need PFIL_HOOKS.
 1.23 31-Jan-1997  thorpej Gah, missed another NFSCLIENT -> NFS.
 1.22 31-Jan-1997  thorpej Adopt for new file system and root spec grammar.
 1.21 30-Jan-1997  scottr Add DIOVERBOSE per Jason; clean up formatting for some options.
 1.20 30-Jan-1997  thorpej Update for new-style config.
 1.19 20-Jan-1997  scottr Remove obsolete timezone specification
 1.18 07-Jan-1997  mrg branches: 1.18.2;
use pseudo-device ipfilter, not ipl.
 1.17 06-Jan-1997  thorpej Add PFIL_HOOKS and ipl pseudo-device.
 1.16 11-Dec-1996  thorpej Fix typo in comment.
 1.15 09-Dec-1996  thorpej Add EXEC_SCRIPT (I don't even want to know how I forgot it before...)
 1.14 15-Oct-1996  thorpej Don't need "options GENERIC" anymore.
 1.13 03-Oct-1996  thorpej Add EXEC_AOUT to all kernels.
 1.12 10-Sep-1996  thorpej Document COMPAT_M68K4K, but leave it disabled by default.
 1.11 25-Aug-1996  thorpej Add the United Kingdom and Swedish HIL keyboard maps to the kernels
used in the binary snapshots.
 1.10 22-Aug-1996  thorpej Add COMPAT_12 to all kernels, and COMPAT_11 to a few as well.
 1.9 24-Feb-1996  thorpej branches: 1.9.4;
Completely rework how the console is probed. Console probing no longer
requires pre-autoconfigured devices. Fix up some prototypes. Part of the
long journey towards new config. (GETTING THERE!)
 1.8 29-Dec-1995  thorpej Enable COMPAT_HPUX by default. It's still not 100% yet, but it doesn't
seem to really hurt anything, either. Makes it easier for folks using
binary snapshots only to try it out.

GENERIC: now that the PT map allocation is fixed, increase the default
maxusers to 32.
 1.7 28-Nov-1995  thorpej Note the new status of COMPAT_HPUX, but keep is disabled by default.
 1.6 10-Oct-1995  thorpej Add another dca and grf
 1.5 02-Oct-1995  thorpej Add mt0.
 1.4 21-Sep-1995  thorpej Add 4 vnds to each, add 4 ccds to GENERIC, update BASALT to match
current reality.
 1.3 18-Aug-1995  thorpej Bring this up to speed.
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 18-Jul-1994  mycroft branches: 1.1.2;
Add some missing options to GENERIC, and rename.
 1.1.2.2 18-Jul-1994  mycroft Add some missing options to GENERIC, and rename.
 1.1.2.1 18-Jul-1994  mycroft file GENERIC was added on branch netbsd-1-0 on 1994-07-18 07:15:46 +0000
 1.9.4.2 25-Aug-1996  thorpej Add COMPAT_11 to the kernels used in the binary snapshots.
 1.9.4.1 25-Aug-1996  thorpej Pull up from trunk:

Add the United Kingdom and Swedish HIL keyboard maps to the kernels
used in the binary snapshots.
 1.18.2.1 30-Jan-1997  thorpej update from trunk
 1.25.4.1 11-Mar-1997  is merge in changes from Trunk.
 1.32.4.2 27-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.32.4.1 23-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.34.4.1 20-Nov-1997  mellon Pull rev 1.36 up from trunk (fair)
 1.43.4.2 02-Aug-1999  thorpej Update from trunk.
 1.43.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.43.2.1 03-Jun-2000  he Apply patch (requested by he):
Disable the UNION file system, to avoid a repeat of the 1.4.1
and 1.4.2 LAST_MINUTE changes. It is reportedly buggy, and can
be used by ordinary users to crash the system.
 1.47.8.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.47.8.1 21-Dec-1999  wrstuden Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".
 1.47.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.47.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.54.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.55.2.4 01-May-2001  he Pull up revisions 1.62-1.63 (requested by he):
Add pseudo-device vlan.
Make sure "rnd is EXPERIMENTAL" comment is removed.
 1.55.2.3 04-Oct-2000  itojun pullup (approved by releng-1-5)

enable rnd device. they are now mandatory for ssh/sshd support,
so it makes more sense to enable it.
please disable them if there's any issues, but in that case, in-tree
ssh/sshd won't work.

cvs rdiff -r1.166 -r1.167 syssrc/sys/arch/alpha/conf/GENERIC
cvs rdiff -r1.149 -r1.150 syssrc/sys/arch/amiga/conf/GENERIC
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/arm26/conf/GENERIC
cvs rdiff -r1.72 -r1.73 syssrc/sys/arch/atari/conf/GENERIC
cvs rdiff -r1.60 -r1.61 syssrc/sys/arch/hp300/conf/GENERIC
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/luna68k/conf/GENERIC
cvs rdiff -r1.35 -r1.36 syssrc/sys/arch/next68k/conf/GENERIC
cvs rdiff -r1.32 -r1.33 syssrc/sys/arch/ofppc/conf/GENERIC
cvs rdiff -r1.73 -r1.74 syssrc/sys/arch/sun3/conf/GENERIC
cvs rdiff -r1.80 -r1.81 syssrc/sys/arch/vax/conf/GENERIC
cvs rdiff -r1.52 -r1.53 syssrc/sys/arch/x68k/conf/GENERIC
 1.55.2.2 11-Aug-2000  mason Move to default of 64 PTYs in GENERIC kernel config.
Requested by mason, approved by jhawk.
 1.55.2.1 23-Jun-2000  fvdl As on the trunk, update these for the move of ffs_softdep.c into the
kernel source itself. Remove prefix construction, and add the SOFTDEP
option to GENERIC kernels.
 1.66.2.7 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.66.2.6 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.66.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.66.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.66.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.66.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.66.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.68.6.9 29-Dec-2002  thorpej Sync with HEAD.
 1.68.6.8 11-Dec-2002  thorpej Sync with HEAD.
 1.68.6.7 11-Nov-2002  nathanw Catch up to -current
 1.68.6.6 18-Oct-2002  nathanw Catch up to -current.
 1.68.6.5 20-Jun-2002  nathanw Catch up to -current.
 1.68.6.4 17-Apr-2002  nathanw Catch up to -current.
 1.68.6.3 28-Feb-2002  nathanw Catch up to -current.
 1.68.6.2 08-Jan-2002  nathanw Catch up to -current.
 1.68.6.1 01-Sep-2001  nathanw file GENERIC was added on branch nathanw_sa on 2002-01-08 00:24:30 +0000
 1.80.4.2 24-Oct-2002  lukem Pull up upgrade to IPfilter 3.4.29 (requested by martti in ticket #905).
Affected files & revisions:

dist/ipf/HISTORY 1.14
dist/ipf/fils.c 1.17-1.21
dist/ipf/ipf.c 1.11-1.13
dist/ipf/ipfs.c 1.8-1.10
dist/ipf/ipft_ef.c 1.6-1.7
dist/ipf/ipft_td.c 1.6-1.7
dist/ipf/ipft_tx.c 1.7-1.8
dist/ipf/ipmon.c 1.12-1.17
dist/ipf/ipnat.c 1.11-1.12
dist/ipf/ipsend/ip_var.h 1.2
dist/ipf/ipsend/ipsend.c 1.8
dist/ipf/ipsend/iptests.c 1.5
dist/ipf/ipt.c 1.8-1.10
dist/ipf/kmem.c 1.8-1.10
dist/ipf/man/ipf.4 1.10
dist/ipf/man/ipf.5 1.8
dist/ipf/man/ipftest.1 1.3
dist/ipf/man/ipmon.8 1.10
dist/ipf/man/ipnat.5 1.9-1.10
dist/ipf/man/ipnat.8 1.4
dist/ipf/misc.c 1.7
dist/ipf/natparse.c 1.10
dist/ipf/parse.c 1.13
dist/ipf/printnat.c 1.8-1.10
dist/ipf/relay.c 1.5-1.6
dist/ipf/rules/example.9 1.2
etc/rc.d/ipnat 1.8
regress/sys/kern/ipf/Makefile 1.3-1.4
regress/sys/kern/ipf/dotest6 1.2
regress/sys/kern/ipf/expected/f13 1.1.1.2
regress/sys/kern/ipf/expected/i12 1.1.1.1
regress/sys/kern/ipf/expected/ni3 1.1.1.1
regress/sys/kern/ipf/expected/ni5 1.2
regress/sys/kern/ipf/input/f13 1.1.1.2
regress/sys/kern/ipf/input/ipv6.1 1.1.1.1
regress/sys/kern/ipf/input/ni3 1.1.1.1
regress/sys/kern/ipf/regress/i12 1.1.1.1
regress/sys/kern/ipf/regress/ipv6.1 1.1.1.1
regress/sys/kern/ipf/regress/ni3.ipf 1.1.1.1
regress/sys/kern/ipf/regress/ni3.nat 1.1.1.1
sys/arch/alpha/conf/ALPHA 1.169,1.171
sys/arch/amiga/conf/GENERIC 1.185-1.186
sys/arch/arc/conf/GENERIC 1.71-1.72
sys/arch/atari/conf/GENERIC.in 1.24-1.25
sys/arch/cats/conf/GENERIC 1.31-1.32
sys/arch/cobalt/conf/GENERIC 1.34-1.35
sys/arch/hp300/conf/GENERIC 1.83-1.84
sys/arch/i386/conf/CARDBUS 1.66-1.67
sys/arch/i386/conf/GENERIC 1.510,1.512
sys/arch/i386/conf/GENERIC_LAPTOP 1.58-1.59
sys/arch/i386/conf/GENERIC_PS2TINY 1.19-1.20
sys/arch/i386/conf/GENERIC_TINY 1.47-1.48
sys/arch/luna68k/conf/GENERIC 1.33-1.33
sys/arch/mac68k/conf/GENERIC 1.130-1.131
sys/arch/mac68k/conf/GENERICSBC 1.21-1.22
sys/arch/mac68k/conf/SMALLRAM 1.4-1.5
sys/arch/macppc/conf/GENERIC 1.142-1.143
sys/arch/mipsco/conf/GENERIC 1.21-1.22
sys/arch/mmeye/conf/GENERIC 1.44-1.45
sys/arch/news68k/conf/GENERIC 1.36-1.37
sys/arch/news68k/conf/GENERIC_TINY 1.18-1.19
sys/arch/newsmips/conf/GENERIC 1.50-1.51
sys/arch/ofppc/conf/GENERIC 1.56-1.57
sys/arch/pmax/conf/GENERIC 1.103-1.104
sys/arch/prep/conf/GENERIC 1.55-1.56
sys/arch/sbmips/conf/GENERIC 1.11-1.12
sys/arch/sgimips/conf/GENERIC 1.7-1.8
sys/arch/sparc/conf/GENERIC 1.138-1.139
sys/arch/sparc64/conf/GENERIC32 1.46-1.47
sys/arch/vax/conf/GENERIC 1.102-1.103
sys/arch/x68k/conf/ALL 1.55-1.56
sys/arch/x68k/conf/GENERIC 1.80-1.81
sys/lkm/netinet/if_ipl/mln_ipl.c 1.29
sys/netinet/fil.c 1.57-1.58
sys/netinet/ip_auth.c 1.29-1.30
sys/netinet/ip_compat.h 1.30-1.31
sys/netinet/ip_fil.c 1.81-1.86
sys/netinet/ip_fil.h 1.46-1.49
sys/netinet/ip_frag.c 1.33-1.34
sys/netinet/ip_frag.h 1.18
sys/netinet/ip_ftp_pxy.c 1.25-1.26
sys/netinet/ip_h323_pxy.c 1.5-1.6
sys/netinet/ip_log.c 1.22-1.23
sys/netinet/ip_nat.c 1.51-1.53
sys/netinet/ip_nat.h 1.27
sys/netinet/ip_netbios_pxy.c 1.4
sys/netinet/ip_proxy.c 1.35-1.36
sys/netinet/ip_proxy.h 1.18
sys/netinet/ip_state.c 1.41-1.42
sys/netinet/ip_state.h 1.23
sys/netinet/ipl.h 1.14
 1.80.4.1 01-Aug-2002  lukem Pull up revision 1.81 (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.80.2.1 14-Jul-2002  gehenna catch up with -current.
 1.93.2.12 11-Dec-2005  christos Sync with head.
 1.93.2.11 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.93.2.10 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.93.2.9 15-Feb-2005  skrll Sync with HEAD.
 1.93.2.8 04-Feb-2005  skrll Sync with HEAD.
 1.93.2.7 24-Jan-2005  skrll Sync with HEAD.
 1.93.2.6 17-Jan-2005  skrll Sync with HEAD.
 1.93.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.93.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.93.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.93.2.2 03-Sep-2004  skrll Sync with HEAD
 1.93.2.1 03-Aug-2004  skrll Sync with HEAD
 1.97.2.4 11-Aug-2007  bouyer Pull up following revision(s) (requested by adrianp in ticket #11356):
sys/arch/acorn32/conf/GENERIC 1.80 via patch
sys/arch/amd64/conf/GENERIC 1.154 via patch
sys/arch/amiga/conf/GENERIC.in 1.61 via patch
sys/arch/arc/conf/GENERIC 1.148 via patch
sys/arch/atari/conf/GENERIC.in 1.68 via patch
sys/arch/cats/conf/GENERIC 1.116 via patch
sys/arch/hp300/conf/GENERIC 1.141 via patch
sys/arch/hp700/conf/GENERIC patch
sys/arch/i386/conf/GENERIC 1.840 via patch
sys/arch/i386/conf/GENERIC_LAPTOP 1.239 via patch
sys/arch/i386/conf/GENERIC.MPACPI patch
sys/arch/mac68k/conf/GENERIC 1.182 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x 1.68 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x 1.66 via patch
sys/arch/sparc/conf/GENERIC 1.200 via patch
sys/arch/sparc64/conf/GENERIC32 patch
sys/arch/xen/conf/GENERIC patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.97.2.3 15-Jul-2004  he branches: 1.97.2.3.2; 1.97.2.3.4;
Pull up revision 1.103 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.97.2.2 02-Jul-2004  he Pull up revision 1.102 (requested by bouyer in ticket #573):
Add options P1003_1B_SEMAPHORE to all GENERIC-like kernel
config files where SYSV* options were already present
(commented out if the SYSV* options are commented out).
Fixes PR#25897 and PR#25898.
 1.97.2.1 30-Jun-2004  jdc Pull up revision 1.101 (requested by abs in ticket #567).

Add (commented out) ALTQ options to all GENERIC-like files
 1.97.2.3.4.1 11-Aug-2007  bouyer Pull up following revision(s) (requested by adrianp in ticket #11356):
sys/arch/acorn32/conf/GENERIC 1.80 via patch
sys/arch/amd64/conf/GENERIC 1.154 via patch
sys/arch/amiga/conf/GENERIC.in 1.61 via patch
sys/arch/arc/conf/GENERIC 1.148 via patch
sys/arch/atari/conf/GENERIC.in 1.68 via patch
sys/arch/cats/conf/GENERIC 1.116 via patch
sys/arch/hp300/conf/GENERIC 1.141 via patch
sys/arch/hp700/conf/GENERIC patch
sys/arch/i386/conf/GENERIC 1.840 via patch
sys/arch/i386/conf/GENERIC_LAPTOP 1.239 via patch
sys/arch/i386/conf/GENERIC.MPACPI patch
sys/arch/mac68k/conf/GENERIC 1.182 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x 1.68 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x 1.66 via patch
sys/arch/sparc/conf/GENERIC 1.200 via patch
sys/arch/sparc64/conf/GENERIC32 patch
sys/arch/xen/conf/GENERIC patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.97.2.3.2.1 11-Aug-2007  bouyer Pull up following revision(s) (requested by adrianp in ticket #11356):
sys/arch/acorn32/conf/GENERIC 1.80 via patch
sys/arch/amd64/conf/GENERIC 1.154 via patch
sys/arch/amiga/conf/GENERIC.in 1.61 via patch
sys/arch/arc/conf/GENERIC 1.148 via patch
sys/arch/atari/conf/GENERIC.in 1.68 via patch
sys/arch/cats/conf/GENERIC 1.116 via patch
sys/arch/hp300/conf/GENERIC 1.141 via patch
sys/arch/hp700/conf/GENERIC patch
sys/arch/i386/conf/GENERIC 1.840 via patch
sys/arch/i386/conf/GENERIC_LAPTOP 1.239 via patch
sys/arch/i386/conf/GENERIC.MPACPI patch
sys/arch/mac68k/conf/GENERIC 1.182 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x 1.68 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x 1.66 via patch
sys/arch/sparc/conf/GENERIC 1.200 via patch
sys/arch/sparc64/conf/GENERIC32 patch
sys/arch/xen/conf/GENERIC patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.108.2.1 29-Apr-2005  kent sync with -current
 1.109.2.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.109.2.1 12-Feb-2005  yamt sync with head.
 1.113.4.4 28-Aug-2007  ghen Pull up following revision(s) (requested by adrianp in ticket #1826):
sys/arch/hp300/conf/GENERIC: revision 1.141 via patch
sys/arch/amd64/conf/GENERIC: revision 1.154 via patch
sys/arch/cats/conf/GENERIC: revision 1.116 via patch
sys/arch/arc/conf/GENERIC: revision 1.148 via patch
sys/arch/acorn32/conf/GENERIC: revision 1.80 via patch
sys/arch/sparc/conf/GENERIC: revision 1.200 via patch
sys/arch/sparc64/conf/GENERIC: revision 1.88 via patch
sys/arch/atari/conf/GENERIC.in: revision 1.68 via patch
sys/arch/amiga/conf/GENERIC: revision 1.248 via patch
sys/arch/i386/conf/GENERIC.MPACPI: patch
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.239 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.66 via patch
sys/arch/i386/conf/GENERIC: revision 1.840 via patch
sys/arch/amiga/conf/GENERIC.in: revision 1.61 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.68 via patch
sys/arch/mac68k/conf/GENERIC: revision 1.182 via patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net&#64;
Ok'ed by core&#64;
 1.113.4.3 05-Nov-2005  tron branches: 1.113.4.3.2; 1.113.4.3.4;
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.113.4.2 14-Aug-2005  riz Pull up revision 1.117 (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.113.4.1 18-Jul-2005  riz Pull up revision 1.116 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.113.4.3.4.1 28-Aug-2007  ghen Pull up following revision(s) (requested by adrianp in ticket #1826):
sys/arch/hp300/conf/GENERIC: revision 1.141 via patch
sys/arch/amd64/conf/GENERIC: revision 1.154 via patch
sys/arch/cats/conf/GENERIC: revision 1.116 via patch
sys/arch/arc/conf/GENERIC: revision 1.148 via patch
sys/arch/acorn32/conf/GENERIC: revision 1.80 via patch
sys/arch/sparc/conf/GENERIC: revision 1.200 via patch
sys/arch/sparc64/conf/GENERIC: revision 1.88 via patch
sys/arch/atari/conf/GENERIC.in: revision 1.68 via patch
sys/arch/amiga/conf/GENERIC: revision 1.248 via patch
sys/arch/i386/conf/GENERIC.MPACPI: patch
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.239 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.66 via patch
sys/arch/i386/conf/GENERIC: revision 1.840 via patch
sys/arch/amiga/conf/GENERIC.in: revision 1.61 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.68 via patch
sys/arch/mac68k/conf/GENERIC: revision 1.182 via patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.113.4.3.2.1 28-Aug-2007  ghen Pull up following revision(s) (requested by adrianp in ticket #1826):
sys/arch/hp300/conf/GENERIC: revision 1.141 via patch
sys/arch/amd64/conf/GENERIC: revision 1.154 via patch
sys/arch/cats/conf/GENERIC: revision 1.116 via patch
sys/arch/arc/conf/GENERIC: revision 1.148 via patch
sys/arch/acorn32/conf/GENERIC: revision 1.80 via patch
sys/arch/sparc/conf/GENERIC: revision 1.200 via patch
sys/arch/sparc64/conf/GENERIC: revision 1.88 via patch
sys/arch/atari/conf/GENERIC.in: revision 1.68 via patch
sys/arch/amiga/conf/GENERIC: revision 1.248 via patch
sys/arch/i386/conf/GENERIC.MPACPI: patch
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.239 via patch
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.66 via patch
sys/arch/i386/conf/GENERIC: revision 1.840 via patch
sys/arch/amiga/conf/GENERIC.in: revision 1.61 via patch
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.68 via patch
sys/arch/mac68k/conf/GENERIC: revision 1.182 via patch
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.115.2.5 21-Jan-2008  yamt sync with head
 1.115.2.4 15-Nov-2007  yamt sync with head.
 1.115.2.3 03-Sep-2007  yamt sync with head.
 1.115.2.2 30-Dec-2006  yamt sync with head.
 1.115.2.1 21-Jun-2006  yamt sync with head.
 1.126.4.1 09-Sep-2006  rpaulo sync with head
 1.126.2.1 18-Feb-2006  yamt sync with head.
 1.127.2.1 22-Apr-2006  simonb Sync with head.
 1.129.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.129.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.129.2.3 03-Sep-2006  yamt sync with head.
 1.129.2.2 11-Aug-2006  yamt sync with head
 1.129.2.1 01-Apr-2006  yamt sync with head.
 1.130.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.132.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.132.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.137.4.1 10-Dec-2006  yamt sync with head.
 1.137.2.1 18-Nov-2006  ad Sync with head.
 1.138.18.1 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.138.16.2 03-Oct-2007  garbled Sync with HEAD
 1.138.16.1 26-Jun-2007  garbled Sync with HEAD.
 1.138.10.1 11-Jul-2007  mjf Sync with head.
 1.138.8.4 03-Dec-2007  ad Sync with HEAD.
 1.138.8.3 20-Aug-2007  ad Sync with HEAD.
 1.138.8.2 15-Jul-2007  ad Sync with head.
 1.138.8.1 09-Jun-2007  ad Sync with head.
 1.138.2.2 25-Aug-2007  liamjfoy Pull up following revision(s) (requested by adrianp in ticket #820):
sys/arch/hp300/conf/GENERIC: revision 1.141
sys/arch/alpha/conf/GENERIC: revision 1.315
sys/arch/amd64/conf/GENERIC: revision 1.154
sys/arch/cats/conf/GENERIC: revision 1.116
sys/arch/arc/conf/GENERIC: revision 1.148
sys/arch/acorn32/conf/GENERIC: revision 1.80
sys/arch/sparc/conf/GENERIC: revision 1.200
sys/arch/sparc64/conf/GENERIC: revision 1.88
sys/arch/atari/conf/GENERIC.in: revision 1.68
sys/arch/amiga/conf/GENERIC: revision 1.248
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.239
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.66
sys/arch/i386/conf/GENERIC: revision 1.840
sys/arch/amiga/conf/GENERIC.in: revision 1.61
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.68
sys/arch/mac68k/conf/GENERIC: revision 1.182
Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@
 1.138.2.1 05-Jun-2007  bouyer Pull up following revision(s) (requested by martin in ticket #699):
sys/arch/hpcmips/conf/GENERIC: revision 1.196
sys/arch/hp700/conf/GENERIC: revision 1.74
sys/arch/i386/conf/GENERIC: revision 1.831
sys/arch/next68k/conf/GENERIC: revision 1.108
sys/arch/alpha/conf/GENERIC: revision 1.313
sys/arch/arc/conf/GENERIC: revision 1.146
sys/arch/cats/conf/GENERIC: revision 1.115
sys/arch/ews4800mips/conf/GENERIC: revision 1.18
sys/arch/landisk/conf/GENERIC: revision 1.8 via patch
sys/arch/sparc64/conf/GENERIC: revision 1.85
sys/arch/pmax/conf/GENERIC: revision 1.152
sys/arch/iyonix/conf/GENERIC: revision 1.38 via patch
sys/arch/amiga/conf/GENERIC: revision 1.245
sys/arch/vax/conf/GENERIC: revision 1.157
sys/arch/prep/conf/GENERIC: revision 1.135
sys/arch/pc532/conf/GENERIC: revision 1.70
sys/arch/sbmips/conf/GENERIC: revision 1.61
sys/arch/mipsco/conf/GENERIC: revision 1.65
sys/arch/cobalt/conf/GENERIC: revision 1.108
sys/arch/ofppc/conf/GENERIC: revision 1.98
sys/arch/amd64/conf/GENERIC: revision 1.148
sys/arch/acorn26/conf/GENERIC: revision 1.50
sys/arch/dreamcast/conf/GENERIC: revision 1.78
sys/arch/mac68k/conf/GENERIC: revision 1.181
sys/arch/hp300/conf/GENERIC: revision 1.139
sys/arch/mmeye/conf/GENERIC: revision 1.88
sys/arch/news68k/conf/GENERIC: revision 1.88
sys/arch/mvme68k/conf/GENERIC: revision 1.71
sys/arch/acorn32/conf/GENERIC: revision 1.79
sys/arch/sparc/conf/GENERIC: revision 1.199
sys/arch/luna68k/conf/GENERIC: revision 1.78
sys/arch/bebox/conf/GENERIC: revision 1.105
sys/arch/macppc/conf/GENERIC: revision 1.256 via patch
sys/arch/x68k/conf/GENERIC: revision 1.134
sys/arch/sun3/conf/GENERIC: revision 1.138
sys/arch/newsmips/conf/GENERIC: revision 1.98
Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).
 1.140.8.2 04-Nov-2007  jmcneill Sync with HEAD.
 1.140.8.1 09-Aug-2007  jmcneill Sync with HEAD.
 1.140.4.1 15-Aug-2007  skrll Sync with HEAD.
 1.140.2.1 07-Aug-2007  matt Sync with HEAD.
 1.141.6.1 13-Nov-2007  bouyer Sync with HEAD
 1.141.2.2 09-Jan-2008  matt sync with HEAD
 1.141.2.1 06-Nov-2007  matt sync with HEAD
 1.143.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.143.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.145.16.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.145.16.1 19-Oct-2008  haad Sync with HEAD.
 1.145.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.145.10.3 11-Aug-2010  yamt sync with head.
 1.145.10.2 11-Mar-2010  yamt sync with head
 1.145.10.1 04-May-2009  yamt sync with head.
 1.145.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.145.6.1 28-Sep-2008  mjf Sync with HEAD.
 1.147.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.151.2.3 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.151.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.151.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.152.2.4 31-May-2011  rmind sync with head
 1.152.2.3 21-Apr-2011  rmind sync with head
 1.152.2.2 05-Mar-2011  rmind sync with head
 1.152.2.1 30-May-2010  rmind sync with head
 1.159.4.3 17-Feb-2011  bouyer Sync with HEAD
 1.159.4.2 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.159.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.159.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.167.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.167.2.3 23-Jan-2013  yamt sync with head
 1.167.2.2 30-Oct-2012  yamt sync with head
 1.167.2.1 17-Apr-2012  yamt sync with head
 1.168.2.2 11-Mar-2012  mrg sync to latest -current
 1.168.2.1 18-Feb-2012  mrg merge to -current.
 1.169.8.1 22-May-2018  martin Apply patch requested by maxv in ticket #1500:

* disable compat_svr4 and compat_svr4_32 everywhere
* disable compat_ibcs2 everywhere but on Vax
* remove the svr4/svr4_32/ibcs2/freebsd entries from the autoload list
 1.169.6.1 22-May-2018  martin Apply patch requested by maxv in ticket #1500:

* disable compat_svr4 and compat_svr4_32 everywhere
* disable compat_ibcs2 everywhere but on Vax
* remove the svr4/svr4_32/ibcs2/freebsd entries from the autoload list
 1.169.2.2 22-May-2018  martin Apply patch requested by maxv in ticket #1500:

* disable compat_svr4 and compat_svr4_32 everywhere
* disable compat_ibcs2 everywhere but on Vax
* remove the svr4/svr4_32/ibcs2/freebsd entries from the autoload list
 1.169.2.1 21-May-2014  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1058):
sys/arch/hp300/conf/files.hp300: revision 1.88
sys/arch/hp300/include/autoconf.h: revision 1.13
sys/dev/ic/sti.c: revision 1.17
sys/arch/hp300/dev/frodo.c: revision 1.31
sys/arch/hp300/conf/GENERIC: revision 1.173
sys/arch/hp300/hp300/machdep.c: revision 1.229
sys/arch/hp300/dev/frodo.c: revision 1.32
sys/arch/hp300/hp300/autoconf.c: revision 1.102
sys/arch/hp300/dev/frodoreg.h: revision 1.5
sys/arch/hp300/stand/common/ite_sti.c: revision 1.1
sys/arch/hp300/stand/common/itevar.h: revision 1.16
sys/arch/hp300/hp300/autoconf.c: revision 1.105
sys/arch/hp300/dev/sti_sgcvar.h: revision 1.1
sys/arch/hp300/stand/common/apci.c: revision 1.12
sys/arch/hp300/stand/common/apci.c: revision 1.13
sys/arch/hp300/dev/dnkbd.c: revision 1.6
sys/arch/hp300/dev/dnkbd.c: revision 1.7
sys/arch/hp300/stand/inst/version: revision 1.12
sys/arch/hp300/dev/com_frodo.c: revision 1.9
sys/arch/hp300/stand/common/ite.c: revision 1.17
sys/arch/hp300/conf/GENERIC: revision 1.181
sys/arch/hp300/dev/sti_sgc.c: revision 1.1
sys/arch/hp300/stand/common/dnkbd.c: revision 1.13
sys/arch/hp300/dev/sti_sgc.c: revision 1.2
sys/dev/ic/stivar.h: revision 1.8
sys/arch/hp300/dev/rtc.c: revision 1.21
sys/arch/hp300/conf/INSTALL: revision 1.56
sys/arch/hp300/conf/INSTALL: revision 1.58
sys/arch/hp300/stand/uboot/version: revision 1.19
sys/arch/hp300/stand/common/samachdep.h: revision 1.17
sys/arch/hp300/stand/common/clock.c: revision 1.12
sys/arch/hp300/dev/mcclock_frodo.c: revision 1.1
sys/arch/hp300/stand/Makefile.buildboot: revision 1.34
sys/arch/hp300/conf/files.hp300: revision 1.87
Add sti at sgc framebuffer.
Ported from OpenBSD by kiyohara@.
Fix a botch on switching from apci (and dca) to MI com(4) 10 years ago.
I.e. fix apci device address per FRODO_BASE macro change
in frodoreg.h rev 1.2. Now bootloader works with serial console
on HP425e (which has only com at frodo).
Thanks to miod@openbsd for providing his 425e.
Add sti(4) at sgc screen console support. From (the late) OpenBSD/hp300.
Tested on HP9000/425e, which was sent from Miod Vallat and
demonstrated at Open Source unConference 2014 Kagawa.
Check the service switch on 425e to select apci serial console.
Taken from OpenBSD/hp300. See the following comment for details:
> * Check the service switch. On the 425e, this is a physical
> * switch, unlike other frodo-based machines, so we can use it
> * as a serial vs internal video selector, since the PROM can not
> * be configured for serial console.
Add proper RealTime Clock support for HP9000/425e.
As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.
Tested on HP425e (with mcclock) and HP362 (with old rtc).
Add RTC support for HP9000/425e to bootloader too.
Also put several cleanup:
- make local functions and variables static
- use proper variable types
- some KNF
Note it turns out that extreme slowness of netboot on hp300 is
caused by the too slow access of the traditional RTC chip at intio
(i.e. netboot on 425e is so much faster than others). Oh well.
Add proper consinit(9) support for sti(4) at sgc framebuffer on hp300.
The cnattach functions for sti(4) and service switch check method
for 425e in com_frodo.c are taken from OpenBSD.
The strategy how to choose the console device in hp300_cninit() is
quite diverged from 4.4BSD and OpenBSD so it's tweaked by me.
Also put several changes in sti_sgc.c to reduce diffs from OpenBSD/hp300.
Tested on 425e and 362 (which still uses gendiofb(4), not sti(4)).
XXX: sti(4) requires uvm_km_alloc(9) and uvm_map_protect(9)
to copy and call ROM functions on the executable memory region, so
it can be called before UVM and related initializations are complete.
Probably it's time to consider about MI "deferred consinit()" API
in init_main.c (or elsewhere) for modern complicated VM system...
Also fix the apci device address in dnkbd.c as apci.c rev 1.12:
http://mail-index.netbsd.org/source-changes/2014/04/10/msg053940.html
Finally dnkbd(4) is confirmed working at least on bootloader.
Thanks again to Miod Vallat.
Make the Apollo Domain keyboard actually work.
Tested on HP9000/425e and the keyboard model A1630-82001 R2 (RX-60857-HW)
provided by Miod Vallat. Mouse support needs more work.
Pull random notes on the Apollo Domain keyboard from ancient PR/3528.
Bump versions to denote recent 425e related changes.
Probe mcclock only on 425e to avoid an extra "not configured" message.
Add and enable sti(4) at sgc in install kernels for 425e.
Tested on both serial console and framebuffer console.
(switched by the service switch on the back panel)
 1.171.2.5 03-Dec-2017  jdolecek update from HEAD
 1.171.2.4 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.171.2.3 23-Jun-2013  tls resync from head
 1.171.2.2 25-Feb-2013  tls resync with head
 1.171.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.178.2.2 18-May-2014  rmind sync with head
 1.178.2.1 28-Aug-2013  rmind sync with head
 1.180.2.1 10-Aug-2014  tls Rebase.
 1.184.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.184.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.184.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.184.2.1 29-Aug-2014  martin Pull up following revision(s) (requested by tsutsui in ticket #62):
sys/arch/hp300/conf/files.hp300: revision 1.89
share/man/man4/arcofi.4: revision 1.1
share/man/man4/arcofi.4: revision 1.2
share/man/man4/Makefile: revision 1.617
sys/arch/hp300/hp300/intr.c: revision 1.41
sys/conf/files: revision 1.1100
sys/arch/hp300/hp300/locore.s: revision 1.171
distrib/sets/lists/man/mi: revision 1.1486
sys/dev/ic/arcofivar.h: revision 1.1
sys/arch/hp300/conf/majors.hp300: revision 1.26
sys/arch/hp300/dev/arcofi_dio.c: revision 1.1
sys/arch/hp300/conf/GENERIC: revision 1.188
sys/dev/ic/arcofi.c: revision 1.1
Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.
The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.
The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
Add a man page for arcofi(4) driver. From OpenBSD.
Fix date.
 1.190.2.3 28-Aug-2017  skrll Sync with HEAD
 1.190.2.2 05-Feb-2017  skrll Sync with HEAD
 1.190.2.1 22-Sep-2015  skrll Sync with HEAD
 1.191.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.194.8.1 26-Jan-2018  martin Pull up following revision(s) (requested by sevan in ticket #510):
sys/arch/sun3/conf/GENERIC3X: revision 1.130
sys/arch/sparc64/conf/GENERIC: revision 1.203
sys/arch/news68k/conf/LIBERO: revision 1.66
sys/arch/amiga/conf/DRACO: revision 1.185
sys/arch/evbarm/conf/MV2120: revision 1.35
sys/arch/x68k/conf/GENERIC: revision 1.187
sys/arch/rs6000/conf/GENERIC: revision 1.39
sys/arch/news68k/conf/GENERIC_TINY: revision 1.86
sys/arch/i386/conf/XEN3_DOMU: revision 1.88
sys/arch/iyonix/conf/GENERIC: revision 1.97
sys/arch/evbarm64/conf/A64EMUL: revision 1.11
sys/arch/mvme68k/conf/GENERIC: revision 1.98
sys/arch/acorn32/conf/GENERIC: revision 1.124
sys/arch/i386/conf/XEN3_DOM0: revision 1.125
sys/arch/cobalt/conf/INSTALL: revision 1.65
sys/arch/macppc/conf/GENERIC_601: revision 1.16
sys/arch/hppa/conf/GENERIC: revision 1.17
sys/arch/amiga/conf/GENERIC.in: revision 1.137
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.33
sys/arch/netwinder/conf/GENERIC: revision 1.134
sys/arch/amd64/conf/XEN3_DOMU: revision 1.83
sys/arch/mac68k/conf/GENERIC: revision 1.225
sys/arch/arc/conf/RPC44: revision 1.54
sys/arch/mipsco/conf/GENERIC: revision 1.92
sys/arch/cats/conf/GENERIC: revision 1.166
sys/arch/amd64/conf/XEN3_DOM0: revision 1.145
sys/arch/amigappc/conf/GENERIC: revision 1.33
sys/arch/sun3/conf/GENERIC: revision 1.176
sys/arch/news68k/conf/GENERIC: revision 1.130
sys/arch/hpcsh/conf/GENERIC: revision 1.110
sys/arch/hp300/conf/GENERIC: revision 1.198
sys/arch/atari/conf/GENERIC.in: revision 1.115
sys/arch/sparc/conf/MRCOFFEE: revision 1.54
sys/arch/evbppc/conf/EXPLORA451: revision 1.62
sys/arch/cesfic/conf/GENERIC: revision 1.69
sys/arch/vax/conf/GENERIC: revision 1.204
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.115
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.112
sys/arch/sparc/conf/GENERIC: revision 1.258
sys/arch/next68k/conf/GENERIC: revision 1.145
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.34
sys/arch/prep/conf/GENERIC: revision 1.185
sys/arch/amiga/conf/INSTALL: revision 1.129
sys/arch/newsmips/conf/GENERIC: revision 1.133
sys/arch/cobalt/conf/GENERIC: revision 1.156
sys/arch/sun2/conf/GENERIC: revision 1.99
sys/arch/luna68k/conf/INSTALL: revision 1.25
sys/arch/amigappc/conf/NULL: revision 1.53
sys/arch/acorn26/conf/GENERIC: revision 1.85
sys/arch/vax/conf/VAX780: revision 1.25
sys/arch/luna68k/conf/GENERIC: revision 1.125
sys/arch/ews4800mips/conf/GENERIC: revision 1.56
sys/arch/macppc/conf/POWERMAC_G5: revision 1.29
sys/arch/arc/conf/GENERIC: revision 1.189
sys/arch/macppc/conf/MAMBO: revision 1.27
sys/arch/acorn32/conf/EB7500ATX: revision 1.64
sys/arch/pmax/conf/GENERIC: revision 1.196
sys/arch/pmax/conf/GENERIC64: revision 1.28
sys/arch/amiga/conf/GENERIC: revision 1.319
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.55
sys/arch/macppc/conf/GENERIC: revision 1.339
sys/arch/emips/conf/GENERIC: revision 1.21
sys/arch/sandpoint/conf/GENERIC: revision 1.97
sys/arch/landisk/conf/GENERIC: revision 1.58
sys/arch/bebox/conf/GENERIC: revision 1.157
sys/arch/alpha/conf/GENERIC: revision 1.379
Alternate buffer queue strategies no longer considered experimental, update
description.
Discussed on tech-kern
http://mail-index.netbsd.org/tech-kern/2018/01/21/msg023002.html
 1.198.4.1 10-Jun-2019  christos Sync with HEAD
 1.198.2.2 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.198.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.206.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.207.6.1 31-May-2021  cjep sync with head
 1.207.4.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.212.2.1 02-Aug-2025  perseant Sync with HEAD
 1.10 18-Jul-1994  mycroft Clean up deleted files.
 1.9 18-Jul-1994  cgd add COMPAT_44
 1.8 03-Jul-1994  mycroft branches: 1.8.2;
Switch to Motorola emulator.
 1.7 23-May-1994  mycroft Merge with 4.4-Lite.
 1.6 04-May-1994  mycroft HPUXCOMPAT -> COMPAT_HPUX
 1.5 09-Mar-1994  ws Make FFS optional
 1.4 30-Aug-1993  deraadt pagers are now options, not pseudo-devices
 1.3 07-Jul-1993  cgd everybody needs a vnode pager...
 1.2 29-May-1993  cgd change kernel names where necessary, also, other minor hacks
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.8.2.1 18-Jul-1994  cgd updates from trunk
 1.3 21-Nov-1999  itojun bring in content of GENERIC.v6 into GENERIC.
remove GENERIC.v6 file (as it is part of GENERIC now).

"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only). We may need to think about it again.

if you have problem compiling with INET6 on archs I do not have access to,
please contact me.

XXX what to do with arch/arm32/SHARK{,.v6}?
 1.2 09-Jul-1999  thorpej branches: 1.2.2; 1.2.8;
Add examples for including the kernel crypto bits from either crypto-us
or crypto-intl, commented out, with instructions to use only one, and
adjust the prefix as necessary.
 1.1 01-Jul-1999  itojun branches: 1.1.2;
kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
(source code will be committed soon)
 1.1.2.3 02-Aug-1999  thorpej Update from trunk.
 1.1.2.2 01-Jul-1999  thorpej Sync w/ -current.
 1.1.2.1 01-Jul-1999  thorpej file GENERIC.v6 was added on branch chs-ubc2 on 1999-07-01 23:07:13 +0000
 1.2.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.16 08-Feb-2002  gmcgarry Remove old, custom files.
 1.15 27-Jan-2002  jdolecek add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
 1.14 20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.13 17-Nov-2001  gmcgarry Update for new RTC and HIL attachments.
 1.12 08-Jul-2001  abs branches: 1.12.2; 1.12.8;
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
 1.11 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.10 12-Feb-2000  thorpej Nuke NKMEMCLUSTERS.
 1.9 31-Jul-1999  thorpej branches: 1.9.2;
Add HP385.
 1.8 29-Jul-1999  augustss It's time to be COMPAT_14.
 1.7 26-Jun-1998  lukem branches: 1.7.10;
remove options FIFO; it's now the default
 1.6 05-Jan-1998  perry RCSID Police.
 1.5 22-Dec-1997  thorpej Add COMPAT_13.
 1.4 17-Nov-1997  lukem * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
 1.3 02-Nov-1997  carrel All hail HAYDON!
 1.2 06-May-1997  lukem branches: 1.2.8;
be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
 1.1 02-Feb-1997  carrel My config files. To quote from thorpej: "for kicks".
 1.2.8.1 02-Nov-1997  mellon Pull rev 1.3 up from trunk
 1.7.10.1 02-Aug-1999  thorpej Update from trunk.
 1.9.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.12.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.12.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.12.8.1 08-Jul-2001  nathanw file HAYDON was added on branch nathanw_sa on 2002-01-08 00:24:30 +0000
 1.12.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.12.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.12.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.12 18-Jul-1994  mycroft Clean up deleted files.
 1.11 03-Jul-1994  mycroft Switch to Motorola emulator.
 1.10 23-May-1994  mycroft Merge with 4.4-Lite.
 1.9 23-May-1994  mycroft `clock' is no longer a device.
 1.8 17-May-1994  cgd no SYSVSHM
 1.7 04-May-1994  mycroft HPUXCOMPAT -> COMPAT_HPUX
 1.6 09-Mar-1994  ws Make FFS optional
 1.5 21-Dec-1993  brezak Add pseudo-device vn
 1.4 30-Aug-1993  deraadt pagers are now options, not pseudo-devices
 1.3 07-Aug-1993  cgd squish KGDB options
 1.2 29-May-1993  cgd change kernel names where necessary, also, other minor hacks
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.72 01-May-2025  tsutsui Add sti(4) support for 9000/362 and 9000/382 on-board framebuffers.

Mostly pulled from OpenBSD/hp300.

This supersedes old and dumb gendiofb. Currently there is no mmap
or cmap (palette) support, but I'll investigate how Bt474 RAMDAC
should be handled.

Tested on 382 with 640x480 and 1024x768 variants, and 362 with 640x480.
No visible regression on 425e (EVRX) and 425t (CRX).
 1.71 29-Jan-2024  christos branches: 1.71.2;
PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.70 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.69 29-May-2021  tsutsui Reduce diffs from GENERIC for maintainability.

No functional change intended.
 1.68 29-May-2021  tsutsui Reduce maxusers to 8 as GENERIC.

Should be pulled up to netbsd-9 and netbsd-8.
 1.67 29-May-2021  tsutsui Add missed 'nhpib at intio' for internal HP-IB. Found on testing HPDisk.

Also fix comments for HP-IB devices.
Should be pulled up to netbsd-8 and netbsd-9.
 1.66 12-Dec-2020  tsutsui branches: 1.66.4; 1.66.6;
Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.
Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.
 1.65 27-Sep-2020  roy branches: 1.65.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.64 14-Mar-2019  thorpej branches: 1.64.4;
G/C "MAPPECOPY". It is the deadest of wood, and never actually worked in
NetBSD.
 1.63 01-Aug-2018  maxv Unreference IPF/PF from all the config files, and enable NPF instead when
wanted. This also fixes some inconsistencies I saw in several files (eg
IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
 1.62 14-Sep-2017  mrg branches: 1.62.2; 1.62.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.61 28-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 1.
 1.60 23-Aug-2014  dholland branches: 1.60.2; 1.60.12;
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.59 16-Aug-2014  apb Add commented out "#options COMPAT_70" to all kernel configuration
files that already had commented out "#options COMPAT_60".
 1.58 30-Apr-2014  tsutsui Add and enable sti(4) at sgc in install kernels for 425e.

Tested on both serial console and framebuffer console.
(switched by the service switch on the back panel)
 1.57 29-Apr-2014  tsutsui Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.

On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4). In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)

Should be pulled up to all netbsd-6* branches.
 1.56 19-Apr-2014  tsutsui Add proper RealTime Clock support for HP9000/425e.

As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.

Tested on HP425e (with mcclock) and HP362 (with old rtc).
 1.55 30-Jun-2013  rmind branches: 1.55.4;
G/C PFIL_HOOKS from the kernel configs.
 1.54 05-Jun-2013  christos branches: 1.54.2;
remove obsolete networking options
 1.53 27-Apr-2013  christos the bogus number police
 1.52 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.51 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.50 17-Oct-2012  apb Add commented out "#options COMPAT_60" to all kernel configuration files
that already had commented out "#options COMPAT_50".
 1.49 17-Aug-2012  abs branches: 1.49.2;
Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

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

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

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

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
 1.48 18-Dec-2011  dholland branches: 1.48.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.47 22-Nov-2011  tls branches: 1.47.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.46 30-Jun-2011  wiz branches: 1.46.2;
dependant -> dependent
 1.45 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.44 12-Feb-2011  tsutsui Pull basic SGC bus attachment from OpenBSD to test devices.
Disabled by default since there is no SGC drivers yet.
 1.43 12-Feb-2011  tsutsui Add dumb framebuffer (no acceleration, no colormap) support
for HP362 and HP382.

Tested on A1473-69510 (HP362 VGA-res) and A1474-69511 (HP382 mid-res).
 1.42 06-Feb-2011  tsutsui Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.41 16-Apr-2010  pooka branches: 1.41.2; 1.41.4;
Remove unused count (invariably "4") from pseudo-device fss.
 1.40 08-Feb-2010  joerg branches: 1.40.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.39 12-Jan-2009  tsutsui branches: 1.39.4;
Add options COMPAT_50.
 1.38 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.36 31-Jul-2008  simonb branches: 1.36.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.35 17-Oct-2007  garbled branches: 1.35.16; 1.35.20; 1.35.22; 1.35.26;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.34 25-Jun-2007  tsutsui branches: 1.34.10;
Add options COMPAT_40.
 1.33 02-Oct-2006  chs branches: 1.33.8; 1.33.10; 1.33.16;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.32 20-Jul-2006  tsutsui branches: 1.32.4; 1.32.6;
Identify models HP362 and HP382. From OpenBSD, tested on my HP382.

Note now options HP362 and options HP382 are required for these models
in your kernel config file.
 1.31 21-Mar-2006  tsutsui Disable KERNFS since installer will use dmesg(8).
 1.30 05-Feb-2006  cube branches: 1.30.2; 1.30.4; 1.30.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.29 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.28 07-Dec-2005  tsutsui branches: 1.28.2; 1.28.4; 1.28.6;
Remove obsolete options VNODE_OP_NOINLINE.
 1.27 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.26 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.25 19-Aug-2005  christos 64 bit inode changes.
 1.24 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.23 18-Feb-2005  dsl branches: 1.23.4; 1.23.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.22 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.21 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.20 05-Jan-2005  tsutsui branches: 1.20.2; 1.20.4;
options<space><tab>
 1.19 10-Nov-2004  christos Add COMPAT_BSDPTY to the rest of the config files.
 1.18 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.17 28-Aug-2004  thorpej Remove the last vestiges of COMPAT_NOLABEL. It's been 10 years; label
your disks already.
 1.16 18-Jul-2004  tsutsui Add options COMPAT_20.
 1.15 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.14 22-Nov-2003  tsutsui branches: 1.14.2;
Add an entry of "com0 at dio0 scode 9" so that /dev/ttyC0 and
compat symlink (/dev/tty0) are always reserved for DCA serial.
 1.13 08-Nov-2003  tsutsui Switch DCA and APCI serial devices to use MI com(4) driver.

DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.
 1.12 22-Sep-2003  cl add COMPAT_15/COMPAT_16
 1.11 06-Sep-2003  itojun add rnd(4) device to installation media.
necessary for many purposes, including password seeding, tcp sequence number,
and more. see tech-security
 1.10 01-Aug-2003  tsutsui Switch hp300 to MI SCSI with MI mb89352 SPC SCSI driver (at last),
and remove old hp300 MD oscsi support derived from 4.4BSD-Lite2.
 1.9 22-Dec-2002  gmcgarry branches: 1.9.2;
Make the DMA controller a separate device attached to intio. Intio
devices can use the DMA controller too.
 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 07-May-2002  gmcgarry branches: 1.6.2;
FPSP required. Noted by Michael Wolfson.
 1.5 25-Apr-2002  atatat 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 17-Mar-2002  gmcgarry Include MFS in the INSTALL kernel for the miniroot install.
 1.2 23-Feb-2002  gmcgarry branches: 1.2.2; 1.2.8;
Don't need printer support during installation.
 1.1 10-Feb-2002  gmcgarry Up-to-date kernels for installation media.
 1.2.8.5 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.8.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.8.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.2.8.1 23-Feb-2002  jdolecek file INSTALL was added on branch kqueue on 2002-03-16 15:57:32 +0000
 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 23-Feb-2002  nathanw file INSTALL was added on branch nathanw_sa on 2002-02-28 04:09:22 +0000
 1.6.2.1 16-Jul-2002  gehenna catch up with -current.
 1.9.2.11 11-Dec-2005  christos Sync with head.
 1.9.2.10 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.9 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.9.2.8 15-Feb-2005  skrll Sync with HEAD.
 1.9.2.7 04-Feb-2005  skrll Sync with HEAD.
 1.9.2.6 17-Jan-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.14.2.1 15-Jul-2004  he Pull up revision 1.15 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.20.4.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.20.4.1 12-Feb-2005  yamt sync with head.
 1.20.2.1 29-Apr-2005  kent sync with -current
 1.23.6.3 03-Sep-2007  yamt sync with head.
 1.23.6.2 30-Dec-2006  yamt sync with head.
 1.23.6.1 21-Jun-2006  yamt sync with head.
 1.23.4.1 18-Jul-2005  riz Pull up revision 1.24 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.28.6.1 22-Apr-2006  simonb Sync with head.
 1.28.4.1 09-Sep-2006  rpaulo sync with head
 1.28.2.1 18-Feb-2006  yamt sync with head.
 1.30.6.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.30.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.30.2.2 11-Aug-2006  yamt sync with head
 1.30.2.1 01-Apr-2006  yamt sync with head.
 1.32.6.1 22-Oct-2006  yamt sync with head
 1.32.4.1 18-Nov-2006  ad Sync with head.
 1.33.16.1 26-Jun-2007  garbled Sync with HEAD.
 1.33.10.1 11-Jul-2007  mjf Sync with head.
 1.33.8.1 15-Jul-2007  ad Sync with head.
 1.34.10.1 06-Nov-2007  matt sync with HEAD
 1.35.26.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.35.26.1 19-Oct-2008  haad Sync with HEAD.
 1.35.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.35.20.3 11-Aug-2010  yamt sync with head.
 1.35.20.2 11-Mar-2010  yamt sync with head
 1.35.20.1 04-May-2009  yamt sync with head.
 1.35.16.2 17-Jan-2009  mjf Sync with HEAD.
 1.35.16.1 28-Sep-2008  mjf Sync with HEAD.
 1.36.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.39.4.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.40.2.3 21-Apr-2011  rmind sync with head
 1.40.2.2 05-Mar-2011  rmind sync with head
 1.40.2.1 30-May-2010  rmind sync with head
 1.41.4.3 17-Feb-2011  bouyer Sync with HEAD
 1.41.4.2 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.41.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.41.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.46.2.3 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.46.2.2 30-Oct-2012  yamt sync with head
 1.46.2.1 17-Apr-2012  yamt sync with head
 1.47.2.1 18-Feb-2012  mrg merge to -current.
 1.48.2.2 21-May-2014  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1058):
sys/arch/hp300/conf/files.hp300: revision 1.88
sys/arch/hp300/include/autoconf.h: revision 1.13
sys/dev/ic/sti.c: revision 1.17
sys/arch/hp300/dev/frodo.c: revision 1.31
sys/arch/hp300/conf/GENERIC: revision 1.173
sys/arch/hp300/hp300/machdep.c: revision 1.229
sys/arch/hp300/dev/frodo.c: revision 1.32
sys/arch/hp300/hp300/autoconf.c: revision 1.102
sys/arch/hp300/dev/frodoreg.h: revision 1.5
sys/arch/hp300/stand/common/ite_sti.c: revision 1.1
sys/arch/hp300/stand/common/itevar.h: revision 1.16
sys/arch/hp300/hp300/autoconf.c: revision 1.105
sys/arch/hp300/dev/sti_sgcvar.h: revision 1.1
sys/arch/hp300/stand/common/apci.c: revision 1.12
sys/arch/hp300/stand/common/apci.c: revision 1.13
sys/arch/hp300/dev/dnkbd.c: revision 1.6
sys/arch/hp300/dev/dnkbd.c: revision 1.7
sys/arch/hp300/stand/inst/version: revision 1.12
sys/arch/hp300/dev/com_frodo.c: revision 1.9
sys/arch/hp300/stand/common/ite.c: revision 1.17
sys/arch/hp300/conf/GENERIC: revision 1.181
sys/arch/hp300/dev/sti_sgc.c: revision 1.1
sys/arch/hp300/stand/common/dnkbd.c: revision 1.13
sys/arch/hp300/dev/sti_sgc.c: revision 1.2
sys/dev/ic/stivar.h: revision 1.8
sys/arch/hp300/dev/rtc.c: revision 1.21
sys/arch/hp300/conf/INSTALL: revision 1.56
sys/arch/hp300/conf/INSTALL: revision 1.58
sys/arch/hp300/stand/uboot/version: revision 1.19
sys/arch/hp300/stand/common/samachdep.h: revision 1.17
sys/arch/hp300/stand/common/clock.c: revision 1.12
sys/arch/hp300/dev/mcclock_frodo.c: revision 1.1
sys/arch/hp300/stand/Makefile.buildboot: revision 1.34
sys/arch/hp300/conf/files.hp300: revision 1.87
Add sti at sgc framebuffer.
Ported from OpenBSD by kiyohara@.
Fix a botch on switching from apci (and dca) to MI com(4) 10 years ago.
I.e. fix apci device address per FRODO_BASE macro change
in frodoreg.h rev 1.2. Now bootloader works with serial console
on HP425e (which has only com at frodo).
Thanks to miod@openbsd for providing his 425e.
Add sti(4) at sgc screen console support. From (the late) OpenBSD/hp300.
Tested on HP9000/425e, which was sent from Miod Vallat and
demonstrated at Open Source unConference 2014 Kagawa.
Check the service switch on 425e to select apci serial console.
Taken from OpenBSD/hp300. See the following comment for details:
> * Check the service switch. On the 425e, this is a physical
> * switch, unlike other frodo-based machines, so we can use it
> * as a serial vs internal video selector, since the PROM can not
> * be configured for serial console.
Add proper RealTime Clock support for HP9000/425e.
As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.
Tested on HP425e (with mcclock) and HP362 (with old rtc).
Add RTC support for HP9000/425e to bootloader too.
Also put several cleanup:
- make local functions and variables static
- use proper variable types
- some KNF
Note it turns out that extreme slowness of netboot on hp300 is
caused by the too slow access of the traditional RTC chip at intio
(i.e. netboot on 425e is so much faster than others). Oh well.
Add proper consinit(9) support for sti(4) at sgc framebuffer on hp300.
The cnattach functions for sti(4) and service switch check method
for 425e in com_frodo.c are taken from OpenBSD.
The strategy how to choose the console device in hp300_cninit() is
quite diverged from 4.4BSD and OpenBSD so it's tweaked by me.
Also put several changes in sti_sgc.c to reduce diffs from OpenBSD/hp300.
Tested on 425e and 362 (which still uses gendiofb(4), not sti(4)).
XXX: sti(4) requires uvm_km_alloc(9) and uvm_map_protect(9)
to copy and call ROM functions on the executable memory region, so
it can be called before UVM and related initializations are complete.
Probably it's time to consider about MI "deferred consinit()" API
in init_main.c (or elsewhere) for modern complicated VM system...
Also fix the apci device address in dnkbd.c as apci.c rev 1.12:
http://mail-index.netbsd.org/source-changes/2014/04/10/msg053940.html
Finally dnkbd(4) is confirmed working at least on bootloader.
Thanks again to Miod Vallat.
Make the Apollo Domain keyboard actually work.
Tested on HP9000/425e and the keyboard model A1630-82001 R2 (RX-60857-HW)
provided by Miod Vallat. Mouse support needs more work.
Pull random notes on the Apollo Domain keyboard from ancient PR/3528.
Bump versions to denote recent 425e related changes.
Probe mcclock only on 425e to avoid an extra "not configured" message.
Add and enable sti(4) at sgc in install kernels for 425e.
Tested on both serial console and framebuffer console.
(switched by the service switch on the back panel)
 1.48.2.1 21-May-2014  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1057):
sys/arch/hp300/conf/RAMDISK: revision 1.14
sys/arch/hp300/conf/INSTALL: revision 1.57
Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.
On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4). In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)
Should be pulled up to all netbsd-6* branches.
Disable options NVNODE, NBUF and BUFPAGES in the RAMDISK kernel.
These options were specified in the INSTALL kernel for 4MB machines,
but nowadays even the INSTALL kernel would not boot on such machines
and the RAMDISK kernel assumes the target machine has more memories.
Furthermore, these options makes extracting binary sets much slower
and also could cause "wapbl_register_deallocation: out of resources"
panic during extracting binaries into a 32GB SSD with 4KB fragments.
Should be pulled up to netbsd-6* branches.
 1.49.2.4 03-Dec-2017  jdolecek update from HEAD
 1.49.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.49.2.2 23-Jun-2013  tls resync from head
 1.49.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.54.2.2 18-May-2014  rmind sync with head
 1.54.2.1 28-Aug-2013  rmind sync with head
 1.55.4.1 10-Aug-2014  tls Rebase.
 1.60.12.1 05-Jun-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1680):

sys/arch/hp300/conf/INSTALL: revision 1.67
sys/arch/hp300/conf/INSTALL: revision 1.68

Add missed 'nhpib at intio' for internal HP-IB. Found on testing HPDisk.
Also fix comments for HP-IB devices.
Should be pulled up to netbsd-8 and netbsd-9.

Reduce maxusers to 8 as GENERIC.
Should be pulled up to netbsd-9 and netbsd-8.
 1.60.2.1 28-Aug-2017  skrll Sync with HEAD
 1.62.4.1 10-Jun-2019  christos Sync with HEAD
 1.62.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.64.4.2 05-Jun-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1280):

sys/arch/hp300/conf/INSTALL: revision 1.67
sys/arch/hp300/conf/INSTALL: revision 1.68

Add missed 'nhpib at intio' for internal HP-IB. Found on testing HPDisk.
Also fix comments for HP-IB devices.
Should be pulled up to netbsd-8 and netbsd-9.

Reduce maxusers to 8 as GENERIC.
Should be pulled up to netbsd-9 and netbsd-8.
 1.64.4.1 14-Dec-2020  martin Pull up following revision(s) (requested by tsutsui in ticket #1152):

sys/arch/hp300/conf/RAMDISK: revision 1.16
sys/arch/hp300/conf/INSTALL: revision 1.66

Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.

Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.
 1.65.2.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.66.6.1 31-May-2021  cjep sync with head
 1.66.4.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.71.2.1 02-Aug-2025  perseant Sync with HEAD
 1.14 08-Feb-2002  gmcgarry Remove old, custom files.
 1.13 27-Jan-2002  jdolecek add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
 1.12 20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.11 17-Nov-2001  gmcgarry Update for new RTC and HIL attachments.
 1.10 08-Jul-2001  abs branches: 1.10.2; 1.10.8;
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
 1.9 24-Sep-2000  jdolecek don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.8 12-Feb-2000  thorpej Nuke NKMEMCLUSTERS.
 1.7 29-Jul-1999  augustss branches: 1.7.2;
It's time to be COMPAT_14.
 1.6 26-Jun-1998  lukem branches: 1.6.10;
remove options FIFO; it's now the default
 1.5 05-Jan-1998  perry RCSID Police.
 1.4 22-Dec-1997  thorpej Add COMPAT_13.
 1.3 17-Nov-1997  lukem * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
 1.2 06-May-1997  lukem be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
 1.1 02-Feb-1997  carrel My config files. To quote from thorpej: "for kicks".
 1.6.10.1 02-Aug-1999  thorpej Update from trunk.
 1.7.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.10.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.10.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.10.8.1 08-Jul-2001  nathanw file KARLA was added on branch nathanw_sa on 2002-01-08 00:24:30 +0000
 1.10.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.10.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.10.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.28 02-Apr-2001  hpeyerl This machine hasn't existed for some time.
 1.27 24-Sep-2000  jdolecek branches: 1.27.2;
don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
 1.26 12-Feb-2000  thorpej Nuke NKMEMCLUSTERS.
 1.25 29-Jul-1999  augustss branches: 1.25.2;
It's time to be COMPAT_14.
 1.24 26-Jun-1998  lukem branches: 1.24.10;
remove options FIFO; it's now the default
 1.23 19-May-1998  hpeyerl duh. need SYSV* stuff.
 1.22 21-Dec-1997  hpeyerl update for correct SPU type and COMPAT_13.
 1.21 17-Nov-1997  lukem * add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
* fix up use of 'options<SPACE><TAB>'
 1.20 07-May-1997  lukem cleanup unecessary quotage of options
 1.19 06-May-1997  lukem be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
 1.18 16-Mar-1997  hpeyerl Lager is now config.new. ya ya, I've been busy.
 1.17 12-Mar-1997  thorpej Enable COMPAT_M68K4K.
 1.16 20-Jan-1997  scottr Remove obsolete timezone specification
 1.15 11-Dec-1996  thorpej branches: 1.15.2;
Fix typo in comment.
 1.14 09-Dec-1996  thorpej Add EXEC_SCRIPT (I don't even want to know how I forgot it before...)
 1.13 21-Oct-1996  hpeyerl Force some drive mappings for reasons I won't get into.
 1.12 03-Oct-1996  thorpej Add EXEC_AOUT to all kernels.
 1.11 10-Sep-1996  thorpej Document COMPAT_M68K4K, but leave it disabled by default.
 1.10 22-Aug-1996  thorpej Add COMPAT_12 to all kernels, and COMPAT_11 to a few as well.
 1.9 26-May-1996  hpeyerl Update to reflect reality (such as it is).
 1.8 28-Mar-1995  hpeyerl Update to reflect reality.
 1.7 24-Jan-1995  hpeyerl NULLFS
 1.6 23-Jan-1995  hpeyerl options GATEWAY.
 1.5 26-Oct-1994  cgd new RCS ID format.
 1.4 04-Oct-1994  hpeyerl begone 'softcar' begone!
hello 'ppp'.
goodbye 'ccd'.
 1.3 03-Jul-1994  mycroft Switch to Motorola emulator.
 1.2 27-Jun-1994  hpeyerl woops. Not OLD_DISKLABEL
 1.1 24-Jun-1994  hpeyerl Changes for ccd.
 1.15.2.1 30-Jan-1997  thorpej update from trunk
 1.24.10.1 02-Aug-1999  thorpej Update from trunk.
 1.25.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.25.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.27.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.3 15-May-1996  thorpej These haven't been kept up to date...
 1.2 26-Oct-1994  cgd new RCS ID format.
 1.1 18-Jul-1994  mycroft branches: 1.1.2;
Add some missing options to GENERIC, and rename.
 1.1.2.2 18-Jul-1994  mycroft Add some missing options to GENERIC, and rename.
 1.1.2.1 18-Jul-1994  mycroft file LINT was added on branch netbsd-1-0 on 1994-07-18 07:15:48 +0000
 1.6 18-Jul-1994  mycroft Clean up deleted files.
 1.5 23-May-1994  mycroft `clock' is no longer a device.
 1.4 04-May-1994  mycroft HPUXCOMPAT -> COMPAT_HPUX
 1.3 09-Mar-1994  ws Make FFS optional
 1.2 29-May-1993  cgd change kernel names where necessary, also, other minor hacks
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.95 21-Aug-2019  skrll Fix the pmap_bootstrap.o dependency (it was spelt pmap_boostrap.o before)
 1.94 22-Sep-2018  rin - Determine KERN_AS automatically depending on whether OPT_MODULAR is
set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
 1.93 25-Feb-2018  mrg branches: 1.93.2; 1.93.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.
 1.92 06-Sep-2015  uebayasi Declare dependency on fpsp.o via newly introduced ${MD_LIBS} instead of
${MD_OBJS}.

${MD_OBJS} should be used only for objects that must be linked first (i.e.,
start code). Objects have to be compiled following common compile rules,
and have to be generated into common places (i.e., top of kernel build
directory).

${MD_LIBS} defines libraries that are built by separate makefiles, under
separate directories. `Makefile.kern.inc' doesn't know intermediate library
objects.
 1.91 31-Aug-2015  uebayasi Fix build of .s files.
 1.90 15-Apr-2015  mrg remove various HAVE_GCC=45 fragments.
 1.89 09-Jul-2011  mrg branches: 1.89.12; 1.89.30;
apply -Wno-cast-qual upon diofb.c.
 1.88 21-Jan-2011  joerg Switch remaining platforms to modern CPP for assembler.
 1.87 11-Dec-2005  christos branches: 1.87.100; 1.87.106; 1.87.108;
merge ktrace-lwp.
 1.86 31-May-2005  christos s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
 1.85 04-Jun-2004  thorpej Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
 1.84 26-Nov-2002  thorpej branches: 1.84.6; 1.84.10;
The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.
 1.83 04-Jun-2002  thorpej Don't use -traditional-cpp if HAVE_GCC3.
 1.82 09-Dec-2001  atatat branches: 1.82.8;
Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
 1.81 20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.80 26-Oct-2001  jmc branches: 1.80.2;
Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
 1.79 23-Oct-2001  thorpej branches: 1.79.2;
Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
 1.78 29-May-2001  mrg branches: 1.78.2;
define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
 1.77 17-Dec-2000  jdolecek branches: 1.77.2;
delete obsolete comment
 1.76 09-May-2000  hubertf Add "install" target, so "make install" after building the kernel
does something useful. The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
 1.75 09-May-2000  thorpej HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
 1.74 01-Feb-2000  tsutsui Revert STRIPPROG -> STRIP
 1.73 24-Jan-2000  tron Add "dependall" target for comfort.
 1.72 19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.71 19-Jan-2000  tsutsui Change STRIPFLAGS=-g for cross-toolchains.
 1.70 26-Jul-1999  cgd branches: 1.70.2;
be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
 1.69 09-Jul-1999  mrg clean up a bit after jason :)

- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
$INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
 1.68 15-Jan-1999  thorpej branches: 1.68.4;
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
 1.67 15-Jan-1999  thorpej Don't define "mc68020". Nothing uses it.
 1.66 08-Jan-1999  augustss Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
 1.65 15-Oct-1998  drochner change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
 1.64 05-Sep-1998  lukem distclean is a synonym for cleandir
 1.63 31-May-1998  thorpej Specify a non-profiling C rule.
 1.62 12-Apr-1998  tv Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
 1.61 12-Nov-1997  thorpej Make sure CPP, AR, AS, and RANLIB are defined.
 1.60 12-Nov-1997  thorpej Define LORDER, NM, and TSORT here, like we do the rest of the tools.
 1.59 03-Oct-1997  lukem branches: 1.59.2;
define SIZE?=size, and use ${SIZE} instead of size. makes cross
compilation easier
 1.58 30-Sep-1997  christos PR/4162: Chris Jones: make cleandir does not work properly; it does not
remove the object files and the .depend file in the kernel build directory.
 1.57 12-Sep-1997  mycroft The FPCOPROC option no longer exists.
 1.56 12-Sep-1997  mycroft Fix an error from when Locore.c was removed.
 1.55 12-Jul-1997  leo branches: 1.55.2;
Generate assym.h dependencies when making 'depend'.
 1.54 01-Apr-1997  scottr Specify more aggressive warning options for C code.
 1.53 16-Mar-1997  thorpej Remove reference to Locore.c
 1.52 14-Mar-1997  mycroft Put the genassym.sh output in a temp file, and mv -f it, in case
it fails spectacularly and doesn't clean up. Also, don't depend genassym.c
(since it no longer exists), and remove dependencies for genassym.o (since it
no longer exists).
 1.51 13-Mar-1997  thorpej Use genassym.sh to facilitate cross compiling.
 1.50 04-Feb-1997  perry Nuke some options GENERIC residue.
 1.49 04-Feb-1997  perry Nuke some GENERIC residue.
 1.48 01-Feb-1997  thorpej - Garbage-collect a kludge necessary when we were using old config.
- Synch the "clean" rule with the i386 port's.
- Add a commented-out rule for generating assym.h w/ the new genassym.sh.
Some slight changes need to be made to genassym.h to make it work with
m68k, so we can't use it just yet.
 1.47 26-Jan-1997  hpeyerl ::->: :-)
 1.46 06-Jan-1997  thorpej branches: 1.46.2;
Kludge newvers rule, so that it works with old and new config.
 1.45 01-Dec-1996  jonathan * Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
Lets users over-ride with makeoptions COPTS="..." in kernel config files.

Leave `mandatory' flags (like -msoft-float which on m68k enforces no
FP in kernel) in CFLAGS.
 1.44 09-Sep-1996  mycroft Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
 1.43 31-Aug-1996  mycroft Wrap the default definition of `S' in `.ifndef'.
 1.42 12-Aug-1996  mycroft Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
 1.41 10-Aug-1996  mycroft * Add a HOSTED_C_C variable, which strips `-p', `-pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
 1.40 10-Aug-1996  mycroft * Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
 1.39 11-May-1996  mycroft Make `make depend' work for libraries.
 1.38 01-Mar-1996  scottr Don't try to make dependencies for SFILES if it isn't defined.
 1.37 29-Feb-1996  cgd Do not build vnode_if.[ch] for each kernel. Build them once, like the
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
 1.36 26-Feb-1996  mycroft Define build programs with `?=', so they can be overridden with `makeoptions'.
 1.35 09-Feb-1996  mycroft Fix mkdep problems due to missing flags.
 1.34 03-Feb-1996  mycroft config.old uses vers.o, not newvers.
 1.33 03-Feb-1996  mycroft Use `-traditional-cpp' when building .s and .S files.
 1.32 02-Feb-1996  mycroft config.old doesn't grok %SFILES.
 1.31 02-Feb-1996  mycroft Clone these, and fix many bugs.
 1.30 02-Feb-1996  mycroft assym.s -> assym.h
(Some ports did this already.)
 1.29 01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.28 22-Oct-1995  thorpej We no longer need -fno-builtin; syscall namespace has been cleaned up a bit.
 1.27 18-Oct-1995  thorpej Recompile genassym if the Makefile changes.
 1.26 19-Sep-1995  thorpej branches: 1.26.2;
Compile the kernel with -fno-builtin.
 1.25 05-Aug-1995  mycroft Remove vnode_if.[ch] when cleaning.
 1.24 24-Jul-1995  mycroft Add -Werror.
 1.23 24-Jun-1995  christos Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
so libraries can use the clean target too
- Add genassym to the clean targets
 1.22 16-May-1995  jtc Removing -DKERNEL, transition to _KERNEL has been completed
 1.21 23-Mar-1995  jtc Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
 1.20 26-Oct-1994  cgd new RCS ID format.
 1.19 18-Sep-1994  mycroft Make genassym depend on genassym.c
 1.18 18-Jul-1994  mycroft Add some missing options to GENERIC, and rename.
 1.17 05-Jul-1994  mycroft branches: 1.17.2;
Add FPSP magic.
 1.16 16-Jun-1994  hpeyerl Fix for vnode_if
 1.15 08-Jun-1994  mycroft Build vnode_if.o.
 1.14 23-May-1994  mycroft Merge with 4.4-Lite.
 1.13 16-Apr-1994  cgd kill symbols.{raw,sort}; no longer necessary, with kvm dbs.
 1.12 25-Jan-1994  brezak Set text address at 0
 1.11 10-Jan-1994  mycroft Nuke args to newvers.sh.
 1.10 06-Jan-1994  mycroft Don't know why LOAD_ADDRESS was ever here, but it's toast.
 1.9 13-Oct-1993  cgd deal with libkern
 1.8 16-Aug-1993  mycroft Remove *netbsd, not *vmunix.
 1.7 14-Aug-1993  mycroft Note new location of pte.h, and don't strip kernel by default.
 1.6 31-Jul-1993  mycroft Add RCS indentifiers.
 1.5 07-Jul-1993  cgd deal with make/shell strangenesses, and fix newvers problem
 1.4 29-May-1993  cgd update for "arch"
 1.3 27-May-1993  deraadt compile directory has moved, relative paths change
-DKERNEL in Makefile, not in genassym.c, same as i386
 1.2 18-May-1993  cgd pseudo-update for new config changes
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.17.2.2 06-Oct-1994  mycroft Update from trunk.
 1.17.2.1 18-Jul-1994  cgd from trunk, per charles.
 1.26.2.2 22-Oct-1995  thorpej Update from trunk; No longer need -fno-builtin.
 1.26.2.1 18-Oct-1995  thorpej Update from trunk; recompile genassym if Makefile changes.
 1.46.2.1 30-Jan-1997  thorpej update from trunk
 1.55.2.2 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.55.2.1 16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.59.2.1 12-Nov-1997  thorpej Pull up "make sure tools are defined" changes from trunk.
 1.68.4.1 02-Aug-1999  thorpej Update from trunk.
 1.70.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.70.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.77.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.78.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.78.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.79.2.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.80.2.4 11-Dec-2002  thorpej Sync with HEAD.
 1.80.2.3 20-Jun-2002  nathanw Catch up to -current.
 1.80.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.80.2.1 26-Oct-2001  nathanw file Makefile.hp300 was added on branch nathanw_sa on 2002-01-08 00:24:30 +0000
 1.82.8.1 14-Jul-2002  gehenna catch up with -current.
 1.84.10.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.84.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.84.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.84.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.84.6.1 03-Aug-2004  skrll Sync with HEAD
 1.87.108.1 08-Feb-2011  bouyer Sync with HEAD
 1.87.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.87.100.1 05-Mar-2011  rmind sync with head
 1.89.30.2 22-Sep-2015  skrll Sync with HEAD
 1.89.30.1 06-Jun-2015  skrll Sync with HEAD
 1.89.12.1 03-Dec-2017  jdolecek update from HEAD
 1.93.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.93.4.1 10-Jun-2019  christos Sync with HEAD
 1.93.2.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.2 30-Jan-1997  thorpej These files are no longer needed.
 1.1 17-Dec-1996  thorpej branches: 1.1.2;
Snapshot of new config for NetBSD/hp300. This isn't quite finished yet.
We're about 75% there. SCSI and HP-IB are not yet supported in a new
config kernel; some autoconfiguration hackery has to be done there, yet.
These changes are enough to network boot a diskless kernel.

New config glue is enabled with the "NEWCONFIG" kernel option. If that
option is not present, an old config kernel will be built. Any kernel
configured with config(8) will automatically pick up the NEWCONFIG
option from std.hp300.
 1.1.2.1 14-Jan-1997  thorpej Snapshot of work-in-progress, committed to private branch.

These changes implement machine-independent root device and file system
selection. Notable features:

- All ports behave in a consistent manner regarding root
device selection.
- No more "options GENERIC"; all kernels have the ability
to boot with RB_ASKNAME to select root device and file system
type.
- Root file system type can be wildcarded; a machine-independent
function will try all possible file systems for the selected
root device until one succeeds.
- If the root file system fails to mount, the operator will
be given the chance to select a new root device and file
system type, rather than having the machine simply panic.
- nfs_mountroot() no longer panics if any part of the NFS
mount process fails; it now returns an error, giving the
operator a chance to recover.
- New, more consistent, config(8) grammar. The constructs:

config netbsd swap generic
config netbsd root on nfs

have been replaced with:

config netbsd root on ? type ?
config netbsd root on ? type nfs

Additionally, the operator may select or wildcard root file
system type in the kernel configuration file:

config netbsd root on cd0a type cd9660

config(8) now requires that a "root" specification be
made. "root" may be wired down or wildcarded. "swap" and
"dump" specifications are optional, and follow previous
semantics.

- config(8) has a new "file-system" keyword, used to configure
file systems into the kernel. Eventually, this will be used
to generate the default vfssw[].

- "options NFSCLIENT" is obsolete, and is replaced by
"file-system NFS". "options NFSSERVER" still exists, since
NFS server support is independent of the NFS file system
client.

- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
will be removed; all information is now generated by config(8).

As of this commit, all ports except arm32 have been updated to use
the new setroot(). Only SPARC, i386, and Alpha ports have been
tested at this time. Port masters should test these changes on their
ports, and report any problems back to me.

More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().
 1.8 15-May-1996  thorpej These haven't been kept up to date...
 1.7 26-Oct-1994  cgd new RCS ID format.
 1.6 23-May-1994  mycroft `clock' is no longer a device.
 1.5 04-May-1994  mycroft HPUXCOMPAT -> COMPAT_HPUX
 1.4 09-Mar-1994  ws Make FFS optional
 1.3 30-Aug-1993  deraadt pagers are now options, not pseudo-devices
 1.2 29-May-1993  cgd change kernel names where necessary, also, other minor hacks
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.16 12-Dec-2020  tsutsui Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.
Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.
 1.15 29-Dec-2015  christos branches: 1.15.22; 1.15.30;
Holiday food satiation.
 1.14 29-Apr-2014  tsutsui branches: 1.14.4;
Disable options NVNODE, NBUF and BUFPAGES in the RAMDISK kernel.

These options were specified in the INSTALL kernel for 4MB machines,
but nowadays even the INSTALL kernel would not boot on such machines
and the RAMDISK kernel assumes the target machine has more memories.
Furthermore, these options makes extracting binary sets much slower
and also could cause "wapbl_register_deallocation: out of resources"
panic during extracting binaries into a 32GB SSD with 4KB fragments.

Should be pulled up to netbsd-6* branches.
 1.13 23-Nov-2010  hannken branches: 1.13.8; 1.13.14; 1.13.18; 1.13.22; 1.13.32;
Remove unused count from pseudo-device md.
 1.12 06-Feb-2009  jym branches: 1.12.6;
Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

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

Reviewed by abs@ in private mail.
 1.11 26-May-2008  he branches: 1.11.6;
Bump ramdisk size from 1.5M to 1.6M to compensate for recent bloat.
 1.10 23-Feb-2003  he branches: 1.10.104; 1.10.106; 1.10.108; 1.10.110;
Bump ramdisk image size from 1444k to 1500k.
 1.9 23-Jan-2003  jdolecek ramdisk image overflew, bump by 4K
 1.8 22-Apr-2002  gmcgarry Bump ramdisk size.
 1.7 02-Apr-2002  gmcgarry cosmetic formatting
 1.6 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.5 17-Mar-2002  gmcgarry Include MFS in the INSTALL kernel for the miniroot install.
 1.4 10-Mar-2002  lukem branches: 1.4.2;
* 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.3 23-Feb-2002  gmcgarry branches: 1.3.2;
Trim down to 1.2MB ramdisk for booting on 4MB machines.
 1.2 13-Feb-2002  gmcgarry Bump ramdisk to 2MB.
 1.1 10-Feb-2002  gmcgarry Up-to-date kernels for installation media.
 1.3.2.5 20-Jun-2002  nathanw Catch up to -current.
 1.3.2.4 17-Apr-2002  nathanw Catch up to -current.
 1.3.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.2.1 23-Feb-2002  nathanw file RAMDISK was added on branch nathanw_sa on 2002-02-28 04:09:23 +0000
 1.4.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.4.2.1 10-Mar-2002  jdolecek file RAMDISK was added on branch kqueue on 2002-03-16 15:57:33 +0000
 1.10.110.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.10.108.1 04-May-2009  yamt sync with head.
 1.10.106.1 04-Jun-2008  yamt sync with head
 1.10.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.6.1 03-Mar-2009  skrll Sync with HEAD.
 1.12.6.1 05-Mar-2011  rmind sync with head
 1.13.32.1 10-Aug-2014  tls Rebase.
 1.13.22.1 18-May-2014  rmind sync with head
 1.13.18.2 03-Dec-2017  jdolecek update from HEAD
 1.13.18.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.14.1 21-May-2014  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1057):
sys/arch/hp300/conf/RAMDISK: revision 1.14
sys/arch/hp300/conf/INSTALL: revision 1.57
Add "pseudo-device wsmux" in INSTALL (and RAMDISK) kernels.
On NetBSD/hp300, hilkbd(4) is probed in config_interrupts(9)
so it's always attached after wsdisplay(4). In that case,
wskbd can't be used as a console input device without wsmux(4).
(i.e. keyboard didn't work on installer using screen console)
Should be pulled up to all netbsd-6* branches.
Disable options NVNODE, NBUF and BUFPAGES in the RAMDISK kernel.
These options were specified in the INSTALL kernel for 4MB machines,
but nowadays even the INSTALL kernel would not boot on such machines
and the RAMDISK kernel assumes the target machine has more memories.
Furthermore, these options makes extracting binary sets much slower
and also could cause "wapbl_register_deallocation: out of resources"
panic during extracting binaries into a 32GB SSD with 4KB fragments.
Should be pulled up to netbsd-6* branches.
 1.13.8.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.14.4.1 19-Mar-2016  skrll Sync with HEAD
 1.15.30.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.15.22.1 14-Dec-2020  martin Pull up following revision(s) (requested by tsutsui in ticket #1152):

sys/arch/hp300/conf/RAMDISK: revision 1.16
sys/arch/hp300/conf/INSTALL: revision 1.66

Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.

Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.
 1.4 10-Aug-1993  mycroft Clean up deleted files.
 1.3 07-Aug-1993  mycroft Add PANICWAIT.
 1.2 07-Aug-1993  mycroft Add RCS identifier.
 1.1 07-Aug-1993  mycroft Add config file for my test machine.
 1.5 28-Apr-1995  cgd rename files files for new config/config.old naming
 1.4 07-Jan-1995  mycroft Add mt.
 1.3 17-Aug-1994  mycroft vn --> vnd
 1.2 24-Jun-1994  hpeyerl branches: 1.2.2;
Changes for ccd.
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.2.2.1 17-Aug-1994  mycroft update from trunk
 1.5 30-Jan-1997  thorpej These files are no longer needed.
 1.4 07-Jan-1995  mycroft Add mt.
 1.3 17-Aug-1994  mycroft vn --> vnd
 1.2 24-Jun-1994  hpeyerl branches: 1.2.2;
Changes for ccd.
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.2.2.1 17-Aug-1994  mycroft update from trunk
 1.98 01-May-2025  tsutsui Add sti(4) support for 9000/362 and 9000/382 on-board framebuffers.

Mostly pulled from OpenBSD/hp300.

This supersedes old and dumb gendiofb. Currently there is no mmap
or cmap (palette) support, but I'll investigate how Bt474 RAMDAC
should be handled.

Tested on 382 with 640x480 and 1024x768 variants, and 362 with 640x480.
No visible regression on 425e (EVRX) and 425t (CRX).
 1.97 18-Jan-2024  thorpej branches: 1.97.2;
Make the M68K_MMU_* defines real kernel options, available in opt_m68k_arch.h.
For 68030, 68040, and 68060, infer M68K_MMU_MOTOROLA. For 68010 and 68020, it
must be an explicit option (set in std.${MACHINE} or, in the case of hp300,
inferred from the specific model option).
 1.96 18-Jan-2024  thorpej Rather than testing for and defining the M680x0 CPU option in
hp300spu.h, make the individual model options (e.g. HP320, HP425,
etc.) declare a dependency on the correponding M680x0 options.
This makes them appear correctly in opt_m68k_arch.h rather than
having to pull in all of <machine/cpu.h>.
 1.95 16-Jan-2024  thorpej Switch hp300 over to the common interrupt dispatch code.

XXX There are still some things to fix up here, but it's no worse
than it was before (the problems date back to when we flattened
the device interrupt levels into IPL_VM).
 1.94 13-Jan-2024  thorpej Switch hp300 over to the common m68k vector table.
 1.93 09-Jan-2024  thorpej Remove duplicated / slightly-tweaked loadustp() (load user segment table)
routines from all of the m68k ports using the shared pmap. Instead, in
pmap_init(), set up a function pointer to the appropriate mmu_load_urp*()
function in mmu_subr.s.
 1.92 18-Feb-2019  thorpej Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950. (Thanks!)
 1.91 19-Dec-2018  maxv Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
 1.90 25-Feb-2018  mrg branches: 1.90.2; 1.90.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.
 1.89 24-Aug-2014  tsutsui Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.

The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.

The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
 1.88 20-Apr-2014  tsutsui branches: 1.88.2;
Add proper consinit(9) support for sti(4) at sgc framebuffer on hp300.

The cnattach functions for sti(4) and service switch check method
for 425e in com_frodo.c are taken from OpenBSD.
The strategy how to choose the console device in hp300_cninit() is
quite diverged from 4.4BSD and OpenBSD so it's tweaked by me.

Also put several changes in sti_sgc.c to reduce diffs from OpenBSD/hp300.

Tested on 425e and 362 (which still uses gendiofb(4), not sti(4)).

XXX: sti(4) requires uvm_km_alloc(9) and uvm_map_protect(9)
to copy and call ROM functions on the executable memory region, so
it can be called before UVM and related initializations are complete.
Probably it's time to consider about MI "deferred consinit()" API
in init_main.c (or elsewhere) for modern complicated VM system...
 1.87 19-Apr-2014  tsutsui Add proper RealTime Clock support for HP9000/425e.

As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.

Tested on HP425e (with mcclock) and HP362 (with old rtc).
 1.86 16-Aug-2013  tsutsui branches: 1.86.2;
Make FPU_EMULATE work on NetBSD/hp300. Commented out by default in GENERIC.

Tested on HP9000/362 without optional MC68882 FPU in its socket.
 1.85 12-Jun-2011  rmind branches: 1.85.2; 1.85.8; 1.85.12; 1.85.16;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
 1.84 21-May-2011  tsutsui branches: 1.84.2;
Add sti at sgc configuration for SGC EVRX framebuffers found on
some later HP4xx models. Untested, and disabled in GENERIC for now.
 1.83 18-Feb-2011  tsutsui sgc takes slot, not scode.
 1.82 12-Feb-2011  tsutsui Pull Apollo Domain keyboard and mouse support from OpenBSD.
Untested (no hardware), but no bad sideeffect on 425t without Domain keyboard.

This is the last portion of "new hp300 kernel features" submitted in
PR port-hp300/3528 back in 1997, and I think finally we can close it.
 1.81 12-Feb-2011  tsutsui Pull basic SGC bus attachment from OpenBSD to test devices.
Disabled by default since there is no SGC drivers yet.
 1.80 12-Feb-2011  tsutsui Add dumb framebuffer (no acceleration, no colormap) support
for HP362 and HP382.

Tested on A1473-69510 (HP362 VGA-res) and A1474-69511 (HP382 mid-res).
 1.79 06-Feb-2011  tsutsui Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.78 31-Dec-2007  ad branches: 1.78.32; 1.78.38; 1.78.40;
Remove COMPAT_HPUX.
 1.77 03-Dec-2007  ad branches: 1.77.6;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.76 04-Mar-2007  tsutsui branches: 1.76.2; 1.76.18; 1.76.20; 1.76.26;
Make hp300 use common m68k/softintr.c.
 1.75 20-Jul-2006  tsutsui branches: 1.75.10;
Identify models HP362 and HP382. From OpenBSD, tested on my HP382.

Note now options HP362 and options HP382 are required for these models
in your kernel config file.
 1.74 11-Dec-2005  christos branches: 1.74.4; 1.74.8;
merge ktrace-lwp.
 1.73 07-Dec-2004  chs branches: 1.73.12;
use the m68k-common procfs_machdep.c on all m68k platforms.
 1.72 14-Sep-2004  jdolecek do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed
 1.71 28-Aug-2004  thorpej Remove the last vestiges of COMPAT_NOLABEL. It's been 10 years; label
your disks already.
 1.70 07-Jul-2004  mycroft Move spc into the MI area.
 1.69 08-Nov-2003  tsutsui Switch DCA and APCI serial devices to use MI com(4) driver.

DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.
 1.68 01-Aug-2003  tsutsui Switch hp300 to MI SCSI with MI mb89352 SPC SCSI driver (at last),
and remove old hp300 MD oscsi support derived from 4.4BSD-Lite2.
 1.67 27-Jul-2003  thorpej Since everyone uses clock_subr.c (or should, if they don't currently),
list it in conf/files instead of in every port's files.*.
 1.66 28-Jun-2003  he branches: 1.66.2;
Defflag PANICBUTTON, now that machdep.h includes opt_panicbutton.h.
 1.65 24-May-2003  gmcgarry Clean-up the DIO bus. Includes two main changes:

1) Pass address and ipl locators at attachment;
2) Remove hack which made the internal HP-IB controller
look like a DIO device.

The hack to allow the nhpib driver to support internal and DIO
controllers appears to be a leftover from 4.3BD where it was not
possible to have a driver attach to different busses. NetBSD has
supported bus-dependent attachments for a long time.
 1.64 06-Mar-2003  thorpej * No need for an interface attribute on "dma".
* Take the "dma" attribute off fhpib and nhpib, so that leaving out "dma"
causes a compile-time error, rather than a run-time crash.
 1.63 22-Dec-2002  gmcgarry Make the DMA controller a separate device attached to intio. Intio
devices can use the DMA controller too.
 1.62 05-Nov-2002  chs merge pmap.c for all 4k-page motorola-MMU (or compatible) m68k platforms.
 1.61 03-Nov-2002  chs use a merged sys_machdep.c for all the motorola-MMU m68k platforms.
 1.60 03-Nov-2002  chs merge all the m68k copies of kgdb_machdep.c.
 1.59 02-Nov-2002  chs enhance the common m68k db_memrw.c to handle read-only kernel text
and switch all the motorola-MMU m68k platforms to use it.
 1.58 26-Oct-2002  jdolecek now that mem_no is emitted by config(8), there is no reason to keep
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
 1.57 20-Oct-2002  chs merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
- use m68k/cacheops.*, remove duplicates from cpu.h.
- centralize a few declarations in (all the copies of) cpu.h.
- define M68K_VAC on platforms which have a VAC.
- switch the sun platforms to the (now common) proc_trampoline().
- do the phys_map thang on the sun platforms too, no reason not to.
 1.56 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.55 23-Feb-2002  gmcgarry branches: 1.55.8;
Recognise md as a valid root device. And since md disks don't get
device_register()'d, don't go looking on our device list for them.
Ramdisk kernel now boot.
 1.54 21-Jan-2002  jdolecek Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).
 1.53 14-Dec-2001  gmcgarry Arrange in correct order.
 1.52 08-Dec-2001  gmcgarry softintr(9) interface for hp300
 1.51 02-Dec-2001  gmcgarry Don't use dev/cninit.c, since we have our own custom implementation.
 1.50 28-Nov-2001  lukem - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
 1.49 20-Nov-2001  lukem - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
 1.48 20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.47 17-Nov-2001  gmcgarry Update for new RTC and HIL attachments.
 1.46 11-Oct-2001  tsutsui branches: 1.46.4;
hp300 now uses dev/clock_subr.c.
 1.45 18-Jun-2001  christos branches: 1.45.2;
Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.
 1.44 17-Jan-2001  fvdl branches: 1.44.2;
Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
 1.43 02-Jan-2001  simonb Add ELF support.

Thanks to Steve Woodford for his help!
 1.42 14-Mar-2000  oster Add the RAIDframe device major to the machine-dependent config files
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
 1.41 31-Jul-1999  thorpej branches: 1.41.2;
defopt HP385.
 1.40 07-Jun-1999  thorpej Only declare block major numbers for devices which can be the root device.
 1.39 19-Apr-1999  kleink Add COMPAT_SVR4 for m68k.
 1.38 15-Dec-1998  itohy branches: 1.38.4;
Added COMPAT_LINUX support.
 1.37 21-Jul-1998  drochner adapt to LANCE driver split
 1.36 15-Jul-1998  thorpej Remove the raw HYPERchannel kludge.
 1.35 31-May-1998  thorpej Build pmap_boostrap.o without profiling; we can't call mcount before the
mmu is enabled!
 1.34 16-Feb-1998  thorpej Remove "class" declarations, and add "devclass" declarations where
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
 1.33 01-Feb-1998  is Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.
 1.32 12-Jan-1998  thorpej Put SPU options in opt_spuconf.h, add device classes.
 1.31 11-Jan-1998  thorpej Add bus_space.c
 1.30 05-Oct-1997  carrel Bring sunos compat files in when COMPAT_SUNOS defined
 1.29 21-Sep-1997  thorpej Glue in memory_disk_hooks.
 1.28 12-May-1997  thorpej branches: 1.28.4;
Add apci driver glue.
 1.27 05-May-1997  thorpej - Make "USELEDS" a defopt'd option, so we can generate dependencies on
it. Conditionally compile leds.c on USELEDS.
- Rearrange mainbus and intio declarations slightly.
- Add declaration for the forthcoming "frodo" driver.
 1.26 27-Apr-1997  thorpej Generate option headers for SPU type options, so that we may generate
dependencies on them.
 1.25 14-Apr-1997  thorpej Rearrange the interrupt code slightly:
- place all interrupt-related macros, prototypes, etc. into <machine/intr.h>,
like other ports.
- rename isrlink/isrunlink/isrinit, etc. intr_establish/intr_disestablish/
intr_init, etc., and move to intr.c for naming consistency.
- don't call intr_init() twice.
 1.24 09-Apr-1997  thorpej - Remove redundant file directives
- Pull in m68k/m68k/sig_machdep.c
 1.23 17-Mar-1997  gwr Separate bcopy and copypage stuff from copy.s
 1.22 30-Jan-1997  scottr Add missing major number decls, from Klaus Klein (closes PR 3165).
 1.21 30-Jan-1997  thorpej Garbage-collect some uneeded stuff now that we're new config only.
 1.20 17-Dec-1996  thorpej Snapshot of new config for NetBSD/hp300. This isn't quite finished yet.
We're about 75% there. SCSI and HP-IB are not yet supported in a new
config kernel; some autoconfiguration hackery has to be done there, yet.
These changes are enough to network boot a diskless kernel.

New config glue is enabled with the "NEWCONFIG" kernel option. If that
option is not present, an old config kernel will be built. Any kernel
configured with config(8) will automatically pick up the NEWCONFIG
option from std.hp300.
 1.19 28-Apr-1995  cgd rename files files for new config/config.old naming
 1.18 11-Apr-1995  mellon Reference cninit.c as well as cons.c
 1.17 08-Feb-1995  mycroft Include common m68k version of copy.s.
 1.16 07-Jan-1995  mycroft Add mt.
 1.15 26-Oct-1994  cgd new RCS ID format.
 1.14 03-Jun-1994  hpeyerl Tell config we need .h files for sd/ct/rd/st
 1.13 25-May-1994  mycroft Add some stuff.
 1.12 23-May-1994  mycroft `clock' is no longer a device.
 1.11 04-May-1994  mycroft HPUXCOMPAT -> COMPAT_HPUX
 1.10 06-Feb-1994  mycroft Fix typo.
 1.9 06-Feb-1994  mycroft Use common version of cons.c.
 1.8 08-Jan-1994  cgd trim files which are now common.
 1.7 06-Jan-1994  mycroft Implement procfs stubs.
 1.6 21-Dec-1993  brezak Use machine independant vn.c
 1.5 07-Jul-1993  cgd sd and st are "device-driver" under new scheme
 1.4 29-May-1993  cgd make it work with new config. still needs some cleanup
 1.3 20-May-1993  deraadt First cut at cpu independent disklabels.
There will be niggly little details no doubt..
 1.2 18-May-1993  cgd pseudo-update for new config changes
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.28.4.2 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.28.4.1 29-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.38.4.2 02-Aug-1999  thorpej Update from trunk.
 1.38.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.41.2.3 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.41.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.41.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.44.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.45.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.45.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.45.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.45.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.46.4.6 29-Dec-2002  thorpej Sync with HEAD.
 1.46.4.5 11-Nov-2002  nathanw Catch up to -current
 1.46.4.4 17-Sep-2002  nathanw Catch up to -current.
 1.46.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.46.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.46.4.1 11-Oct-2001  nathanw file files.hp300 was added on branch nathanw_sa on 2002-01-08 00:24:31 +0000
 1.55.8.2 17-May-2002  gehenna Remove old block majors list.
 1.55.8.1 16-May-2002  gehenna Include the list of block/character major numbers.
 1.66.2.5 18-Dec-2004  skrll Sync with HEAD.
 1.66.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.66.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.66.2.2 03-Sep-2004  skrll Sync with HEAD
 1.66.2.1 03-Aug-2004  skrll Sync with HEAD
 1.73.12.4 21-Jan-2008  yamt sync with head
 1.73.12.3 07-Dec-2007  yamt sync with head
 1.73.12.2 03-Sep-2007  yamt sync with head.
 1.73.12.1 30-Dec-2006  yamt sync with head.
 1.74.8.1 11-Aug-2006  yamt sync with head
 1.74.4.1 09-Sep-2006  rpaulo sync with head
 1.75.10.1 12-Mar-2007  rmind Sync with HEAD.
 1.76.26.2 18-Feb-2008  mjf Sync with HEAD.
 1.76.26.1 08-Dec-2007  mjf Sync with HEAD.
 1.76.20.1 09-Jan-2008  matt sync with HEAD
 1.76.18.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.76.2.1 03-Dec-2007  ad Sync with HEAD.
 1.77.6.1 02-Jan-2008  bouyer Sync with HEAD
 1.78.40.3 05-Mar-2011  bouyer Sync with HEAD
 1.78.40.2 17-Feb-2011  bouyer Sync with HEAD
 1.78.40.1 08-Feb-2011  bouyer Sync with HEAD
 1.78.38.1 06-Jun-2011  jruoho Sync with HEAD.
 1.78.32.3 31-May-2011  rmind sync with head
 1.78.32.2 05-Mar-2011  rmind sync with head
 1.78.32.1 18-Mar-2010  rmind Unify /dev/{mem,kmem,zero,null} implementations in MI code. Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.
 1.84.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.85.16.2 18-May-2014  rmind sync with head
 1.85.16.1 28-Aug-2013  rmind sync with head
 1.85.12.2 03-Dec-2017  jdolecek update from HEAD
 1.85.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.85.8.1 21-May-2014  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1058):
sys/arch/hp300/conf/files.hp300: revision 1.88
sys/arch/hp300/include/autoconf.h: revision 1.13
sys/dev/ic/sti.c: revision 1.17
sys/arch/hp300/dev/frodo.c: revision 1.31
sys/arch/hp300/conf/GENERIC: revision 1.173
sys/arch/hp300/hp300/machdep.c: revision 1.229
sys/arch/hp300/dev/frodo.c: revision 1.32
sys/arch/hp300/hp300/autoconf.c: revision 1.102
sys/arch/hp300/dev/frodoreg.h: revision 1.5
sys/arch/hp300/stand/common/ite_sti.c: revision 1.1
sys/arch/hp300/stand/common/itevar.h: revision 1.16
sys/arch/hp300/hp300/autoconf.c: revision 1.105
sys/arch/hp300/dev/sti_sgcvar.h: revision 1.1
sys/arch/hp300/stand/common/apci.c: revision 1.12
sys/arch/hp300/stand/common/apci.c: revision 1.13
sys/arch/hp300/dev/dnkbd.c: revision 1.6
sys/arch/hp300/dev/dnkbd.c: revision 1.7
sys/arch/hp300/stand/inst/version: revision 1.12
sys/arch/hp300/dev/com_frodo.c: revision 1.9
sys/arch/hp300/stand/common/ite.c: revision 1.17
sys/arch/hp300/conf/GENERIC: revision 1.181
sys/arch/hp300/dev/sti_sgc.c: revision 1.1
sys/arch/hp300/stand/common/dnkbd.c: revision 1.13
sys/arch/hp300/dev/sti_sgc.c: revision 1.2
sys/dev/ic/stivar.h: revision 1.8
sys/arch/hp300/dev/rtc.c: revision 1.21
sys/arch/hp300/conf/INSTALL: revision 1.56
sys/arch/hp300/conf/INSTALL: revision 1.58
sys/arch/hp300/stand/uboot/version: revision 1.19
sys/arch/hp300/stand/common/samachdep.h: revision 1.17
sys/arch/hp300/stand/common/clock.c: revision 1.12
sys/arch/hp300/dev/mcclock_frodo.c: revision 1.1
sys/arch/hp300/stand/Makefile.buildboot: revision 1.34
sys/arch/hp300/conf/files.hp300: revision 1.87
Add sti at sgc framebuffer.
Ported from OpenBSD by kiyohara@.
Fix a botch on switching from apci (and dca) to MI com(4) 10 years ago.
I.e. fix apci device address per FRODO_BASE macro change
in frodoreg.h rev 1.2. Now bootloader works with serial console
on HP425e (which has only com at frodo).
Thanks to miod@openbsd for providing his 425e.
Add sti(4) at sgc screen console support. From (the late) OpenBSD/hp300.
Tested on HP9000/425e, which was sent from Miod Vallat and
demonstrated at Open Source unConference 2014 Kagawa.
Check the service switch on 425e to select apci serial console.
Taken from OpenBSD/hp300. See the following comment for details:
> * Check the service switch. On the 425e, this is a physical
> * switch, unlike other frodo-based machines, so we can use it
> * as a serial vs internal video selector, since the PROM can not
> * be configured for serial console.
Add proper RealTime Clock support for HP9000/425e.
As the OpenBSD/hp300 page says 425e doesn't have the traditional
RTC at intio (as it also lacks DCA 16550 serial at intio?),
but after a few hour investigation it turns out that
425e uses mc146818 compatible calendar clock in
the Apollo "frodo" utility chip and the frodo chip on
425e actually has the 32kHz OSC and is actually backed up
by the onboard lithium battery.
Tested on HP425e (with mcclock) and HP362 (with old rtc).
Add RTC support for HP9000/425e to bootloader too.
Also put several cleanup:
- make local functions and variables static
- use proper variable types
- some KNF
Note it turns out that extreme slowness of netboot on hp300 is
caused by the too slow access of the traditional RTC chip at intio
(i.e. netboot on 425e is so much faster than others). Oh well.
Add proper consinit(9) support for sti(4) at sgc framebuffer on hp300.
The cnattach functions for sti(4) and service switch check method
for 425e in com_frodo.c are taken from OpenBSD.
The strategy how to choose the console device in hp300_cninit() is
quite diverged from 4.4BSD and OpenBSD so it's tweaked by me.
Also put several changes in sti_sgc.c to reduce diffs from OpenBSD/hp300.
Tested on 425e and 362 (which still uses gendiofb(4), not sti(4)).
XXX: sti(4) requires uvm_km_alloc(9) and uvm_map_protect(9)
to copy and call ROM functions on the executable memory region, so
it can be called before UVM and related initializations are complete.
Probably it's time to consider about MI "deferred consinit()" API
in init_main.c (or elsewhere) for modern complicated VM system...
Also fix the apci device address in dnkbd.c as apci.c rev 1.12:
http://mail-index.netbsd.org/source-changes/2014/04/10/msg053940.html
Finally dnkbd(4) is confirmed working at least on bootloader.
Thanks again to Miod Vallat.
Make the Apollo Domain keyboard actually work.
Tested on HP9000/425e and the keyboard model A1630-82001 R2 (RX-60857-HW)
provided by Miod Vallat. Mouse support needs more work.
Pull random notes on the Apollo Domain keyboard from ancient PR/3528.
Bump versions to denote recent 425e related changes.
Probe mcclock only on 425e to avoid an extra "not configured" message.
Add and enable sti(4) at sgc in install kernels for 425e.
Tested on both serial console and framebuffer console.
(switched by the service switch on the back panel)
 1.85.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.86.2.1 10-Aug-2014  tls Rebase.
 1.88.2.1 29-Aug-2014  martin Pull up following revision(s) (requested by tsutsui in ticket #62):
sys/arch/hp300/conf/files.hp300: revision 1.89
share/man/man4/arcofi.4: revision 1.1
share/man/man4/arcofi.4: revision 1.2
share/man/man4/Makefile: revision 1.617
sys/arch/hp300/hp300/intr.c: revision 1.41
sys/conf/files: revision 1.1100
sys/arch/hp300/hp300/locore.s: revision 1.171
distrib/sets/lists/man/mi: revision 1.1486
sys/dev/ic/arcofivar.h: revision 1.1
sys/arch/hp300/conf/majors.hp300: revision 1.26
sys/arch/hp300/dev/arcofi_dio.c: revision 1.1
sys/arch/hp300/conf/GENERIC: revision 1.188
sys/dev/ic/arcofi.c: revision 1.1
Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.
The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.
The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
Add a man page for arcofi(4) driver. From OpenBSD.
Fix date.
 1.90.4.1 10-Jun-2019  christos Sync with HEAD
 1.90.2.1 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.97.2.1 02-Aug-2025  perseant Sync with HEAD
 1.31 30-Jan-1997  thorpej These files are no longer needed.
 1.30 05-Jan-1997  thorpej Oops, build dio.o in the old config case, too. Pointed out by
Dave Carrel <carrel@cisco.com>.
 1.29 15-Oct-1996  thorpej Use the hp300 version of db_memrw.c (forgot to commit this change the
other day).
 1.28 07-Sep-1996  thorpej Don't `config-dependent' machdep.c; we already depend on the Makefile,
which accomplishes the same thing.
 1.27 10-Jun-1996  thorpej Add "needs-count" to the `ac' driver so an ac.h file gets generated.
 1.26 07-May-1996  thorpej branches: 1.26.4;
Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
 1.25 24-Feb-1996  thorpej Completely rework how the console is probed. Console probing no longer
requires pre-autoconfigured devices. Fix up some prototypes. Part of the
long journey towards new config. (GETTING THERE!)
 1.24 22-Feb-1996  gwr Add m68k/db_memrw.c
 1.23 14-Feb-1996  thorpej Compile the new interrupt handling code.
 1.22 08-Jan-1996  thorpej Oops, compile hpux_machdep.c if COMPAT_HPUX. Forgetfulness pointed
out by Dave Carrel.
 1.21 28-Nov-1995  thorpej Compile compat/hpux/hpux_exec.c and compat/hpux/hpux_file.c if COMPAT_HPUX
is defined.
 1.20 18-Aug-1995  thorpej Haven't had hpfplib for a long time.
 1.19 10-May-1995  christos Fixed compat hpux files.
 1.18 11-Apr-1995  mellon Reference cninit.c as well as cons.c
 1.17 08-Feb-1995  mycroft Include common m68k version of copy.s.
 1.16 07-Jan-1995  mycroft Add mt.
 1.15 26-Oct-1994  cgd new RCS ID format.
 1.14 03-Jun-1994  hpeyerl Tell config we need .h files for sd/ct/rd/st
 1.13 25-May-1994  mycroft Add some stuff.
 1.12 23-May-1994  mycroft `clock' is no longer a device.
 1.11 04-May-1994  mycroft HPUXCOMPAT -> COMPAT_HPUX
 1.10 06-Feb-1994  mycroft Fix typo.
 1.9 06-Feb-1994  mycroft Use common version of cons.c.
 1.8 08-Jan-1994  cgd trim files which are now common.
 1.7 06-Jan-1994  mycroft Implement procfs stubs.
 1.6 21-Dec-1993  brezak Use machine independant vn.c
 1.5 07-Jul-1993  cgd sd and st are "device-driver" under new scheme
 1.4 29-May-1993  cgd make it work with new config. still needs some cleanup
 1.3 20-May-1993  deraadt First cut at cpu independent disklabels.
There will be niggly little details no doubt..
 1.2 18-May-1993  cgd pseudo-update for new config changes
 1.1 13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.26.4.1 10-Jun-1996  thorpej Update from trunk:

Add "needs-count" to the `ac' driver so an ac.h file gets generated.
 1.29 04-Apr-2020  jdolecek mark nsmb major obsolete
 1.28 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.27 19-Dec-2018  maxv Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
 1.26 24-Aug-2014  tsutsui branches: 1.26.18; 1.26.20;
Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.

The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.

The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
 1.25 30-Jun-2011  wiz branches: 1.25.12; 1.25.28;
dependant -> dependent
 1.24 06-Mar-2011  tsutsui Remove trailing spaces.
 1.23 06-Feb-2011  tsutsui Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.

- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
and I can't confirm that 362 and 382 actually have SGC bus.
(I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
once after keycode with NoSymbol problem is addressed.
(We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
 1.22 12-Nov-2008  ad branches: 1.22.8; 1.22.10; 1.22.12;
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.21 31-Dec-2007  ad branches: 1.21.6; 1.21.10; 1.21.16; 1.21.18;
Remove systrace. Ok core@.
 1.20 24-Nov-2006  wiz branches: 1.20.28; 1.20.34; 1.20.42;
s/independant/independent/, from Zafer.
 1.19 11-Dec-2005  christos branches: 1.19.20; 1.19.22;
merge ktrace-lwp.
 1.18 17-Sep-2005  yamt make VMSWAP optional again.
 1.17 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.16 30-Jul-2005  yamt defflag VMSWAP.
 1.15 10-May-2005  jdolecek branches: 1.15.2;
assign major for nsmb(4)
 1.14 10-Dec-2003  jmc Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
 1.13 08-Nov-2003  tsutsui Switch DCA and APCI serial devices to use MI com(4) driver.

DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.
 1.12 24-Oct-2003  jdolecek add major for 'ses' for archs which have the other scsi devices
 1.11 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major
range
 1.10 10-Oct-2003  jdolecek update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
 1.9 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.8 22-Aug-2003  itojun create /dev/crypto
 1.7 01-Aug-2003  tsutsui Add majors for MI SCSI devices (cd, ch, ss, and uk).
 1.6 01-Aug-2003  tsutsui Reserve some major numbers for wscons, as per comments in hp300/conf.c
(which is in Attic) rev 1.47.
 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.hp300 was initially added on branch gehenna-devsw.
 1.1.2.3 14-Jul-2002  gehenna catch up with -current.
 1.1.2.2 30-May-2002  gehenna Add $NetBSD$
 1.1.2.1 16-May-2002  gehenna Add the list of block/character majors.
 1.2.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.hp300 was added on branch nathanw_sa on 2002-09-17 21:14:27 +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.hp300 was added on branch kqueue on 2002-10-10 18:32:36 +0000
 1.4.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 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.15.2.3 21-Jan-2008  yamt sync with head
 1.15.2.2 30-Dec-2006  yamt sync with head.
 1.15.2.1 21-Jun-2006  yamt sync with head.
 1.19.22.1 10-Dec-2006  yamt sync with head.
 1.19.20.1 12-Jan-2007  ad Sync with head.
 1.20.42.1 02-Jan-2008  bouyer Sync with HEAD
 1.20.34.1 18-Feb-2008  mjf Sync with HEAD.
 1.20.28.1 09-Jan-2008  matt sync with HEAD
 1.21.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.21.16.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.21.10.1 04-May-2009  yamt sync with head.
 1.21.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.22.12.1 08-Feb-2011  bouyer Sync with HEAD
 1.22.10.1 06-Jun-2011  jruoho Sync with HEAD.
 1.22.8.2 21-Apr-2011  rmind sync with head
 1.22.8.1 05-Mar-2011  rmind sync with head
 1.25.28.1 29-Aug-2014  martin Pull up following revision(s) (requested by tsutsui in ticket #62):
sys/arch/hp300/conf/files.hp300: revision 1.89
share/man/man4/arcofi.4: revision 1.1
share/man/man4/arcofi.4: revision 1.2
share/man/man4/Makefile: revision 1.617
sys/arch/hp300/hp300/intr.c: revision 1.41
sys/conf/files: revision 1.1100
sys/arch/hp300/hp300/locore.s: revision 1.171
distrib/sets/lists/man/mi: revision 1.1486
sys/dev/ic/arcofivar.h: revision 1.1
sys/arch/hp300/conf/majors.hp300: revision 1.26
sys/arch/hp300/dev/arcofi_dio.c: revision 1.1
sys/arch/hp300/conf/GENERIC: revision 1.188
sys/dev/ic/arcofi.c: revision 1.1
Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.
The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.
The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
Add a man page for arcofi(4) driver. From OpenBSD.
Fix date.
 1.25.12.1 03-Dec-2017  jdolecek update from HEAD
 1.26.20.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.26.20.1 10-Jun-2019  christos Sync with HEAD
 1.26.18.1 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.11 19-Sep-2010  tsutsui - add m68k/conf/std.m68k, which includes common standard options for m68k,
options EXEC_ELF32, EXEC_SCRIPTS, and CPU_IN_CKSUM for md cpu_in_cksum.c
- make all m68k ports include common arch/m68k/conf/std.m68k
from MD std.${MACHINE}
 1.10 11-Dec-2005  christos branches: 1.10.78; 1.10.98; 1.10.100;
merge ktrace-lwp.
 1.9 17-Sep-2005  yamt include "conf/std".
 1.8 02-Jan-2001  simonb branches: 1.8.24; 1.8.40;
Add ELF support.

Thanks to Steve Woodford for his help!
 1.7 22-Jun-2000  fvdl Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
 1.6 15-Nov-1999  fvdl branches: 1.6.4;
Add

prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix

to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
 1.5 12-Sep-1999  chs branches: 1.5.2; 1.5.8;
eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
 1.4 24-Mar-1999  mrg clean up kernel/config files files for machVM lossage.
 1.3 04-May-1998  thorpej Switch to UVM.
 1.2 30-Jan-1997  thorpej Garbage-collect some uneeded stuff now that we're new config only.
 1.1 17-Dec-1996  thorpej Snapshot of new config for NetBSD/hp300. This isn't quite finished yet.
We're about 75% there. SCSI and HP-IB are not yet supported in a new
config kernel; some autoconfiguration hackery has to be done there, yet.
These changes are enough to network boot a diskless kernel.

New config glue is enabled with the "NEWCONFIG" kernel option. If that
option is not present, an old config kernel will be built. Any kernel
configured with config(8) will automatically pick up the NEWCONFIG
option from std.hp300.
 1.5.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.5.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.6.4.1 23-Jun-2000  fvdl As on the trunk, update these for the move of ffs_softdep.c into the
kernel source itself. Remove prefix construction, and add the SOFTDEP
option to GENERIC kernels.
 1.8.40.1 21-Jun-2006  yamt sync with head.
 1.8.24.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.10.100.1 05-Mar-2011  rmind sync with head
 1.10.98.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.10.78.1 09-Oct-2010  yamt sync with head

RSS XML Feed