Home | History | Annotate | only in /src/sys/arch/hpcmips
History log of /src/sys/arch/hpcmips
RevisionDateAuthorComments
 1.4 06-Jan-2003  lukem Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

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

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

Per lengthy discussion with Andrew Brown.
 1.3 23-Feb-2001  uch branches: 1.3.8;
I forgot to move Makefile.
 1.2 12-Mar-2000  takemura Add makefile to install hpcfb.h.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 12-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.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.3.8.1 07-Jan-2003  thorpej Sync with HEAD.
 1.2 18-Feb-2000  mycroft branches: 1.2.6;
Actually, it looks like the mouse is there.
 1.1 18-Feb-2000  mycroft Document some things that are missing.
 1.2.6.2 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.2.6.1 18-Feb-2000  bouyer file TODO was added on branch thorpej_scsipi on 2000-11-20 20:45:42 +0000
 1.2 06-Jan-2003  lukem Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

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

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

Per lengthy discussion with Andrew Brown.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.20;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.20.1 07-Jan-2003  thorpej Sync with HEAD.
 1.1 06-Jan-2003  lukem branches: 1.1.2;
Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

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

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

Per lengthy discussion with Andrew Brown.
 1.1.2.2 07-Jan-2003  thorpej Sync with HEAD.
 1.1.2.1 06-Jan-2003  thorpej file Makefile was added on branch nathanw_sa on 2003-01-07 21:08:44 +0000
 1.248 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.247 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.246 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.245 29-Jun-2021  nia Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
 1.244 12-Jan-2021  skrll branches: 1.244.4;
Turn on DIAGNOSTIC to help track down problem in hpcmips test runs
 1.243 01-Aug-2020  maxv branches: 1.243.2;
Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.242 16-May-2020  maya Remove uyap, USB YAP phone firmware loader.

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

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

Proposed with no objections on netbsd-users on 13 April 2020
 1.241 29-Jan-2020  maya remove urio(4), a driver for the Rio500 MP3 player.

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

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

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

Proposed on tech-kern a month ago.
 1.240 26-Apr-2019  sevan branches: 1.240.4;
Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.239 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.238 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.237 25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.236 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.235 14-Sep-2017  mrg branches: 1.235.2; 1.235.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.234 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.233 13-Dec-2016  christos wildcard speaker attachments, now that we can handle many of them.
 1.232 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.231 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.230 19-Mar-2016  gdt branches: 1.230.2;
Disable uscanner in all kernel configs

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

(Compile-tested only, but there are multiple reports of this being the
right approach.)
 1.229 16-Nov-2014  manu branches: 1.229.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.228 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.227 11-Oct-2014  uebayasi Missing midi attachment.
 1.226 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.225 16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.224 20-Jul-2014  alnsn branches: 1.224.2;
Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.223 30-Jun-2013  rmind branches: 1.223.4;
G/C PFIL_HOOKS from the kernel configs.
 1.222 05-Jun-2013  christos branches: 1.222.2;
remove obsolete networking options
 1.221 27-Apr-2013  christos the bogus number police
 1.220 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.219 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.218 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.217 17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.216 05-Jun-2012  abs branches: 1.216.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.215 18-Dec-2011  dholland branches: 1.215.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.214 22-Nov-2011  tls branches: 1.214.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.213 06-Mar-2011  bouyer branches: 1.213.4;
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.212 23-Nov-2010  hannken branches: 1.212.2; 1.212.4;
Remove unused count from pseudo-device md.
 1.211 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.210 29-Apr-2010  chs enable TMPFS in all GENERICs that have MFS enabled.
 1.209 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.208 07-Mar-2010  plunky branches: 1.208.2;
add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels
 1.207 05-Dec-2009  pooka branches: 1.207.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.206 24-Jan-2009  mrg add COMPAT_50 to all the configs with COMPAT_40.
 1.205 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

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

Proposed on tech-kern@.
 1.203 10-Aug-2008  tls branches: 1.203.2;
Add accept filters to GENERIC kernels where they exist.
 1.202 31-Jul-2008  simonb Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.201 30-May-2008  tsutsui branches: 1.201.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.200 30-Jan-2008  tsutsui branches: 1.200.6; 1.200.8; 1.200.10; 1.200.12;
Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
 1.199 26-Jan-2008  tsutsui Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.

The "-mips2" option seems to imply "-mdivide-traps" and
gcc4 with the option generates "teq" instruction on division ops,
but teq is not supported by TX39xx CPUs.

The problem is reported and the fix (-mdevide-breaks) is
provided by Risto Sainio. Tested on his PenCentra 200,
and also tested on Telios HC-AJ2 by nakayama@.

This should be pulled up to netbsd-4.
 1.198 31-Dec-2007  ad Remove systrace. Ok core@.
 1.197 17-Oct-2007  garbled branches: 1.197.2; 1.197.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.196 04-Jun-2007  martin branches: 1.196.10;
Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).
 1.195 14-Mar-2007  drochner branches: 1.195.6;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.194 11-Nov-2006  jmmv branches: 1.194.2; 1.194.4; 1.194.8; 1.194.10; 1.194.12;
Remove tmpfs's experimental status. OK'ed by core@.
 1.193 26-Aug-2006  christos branches: 1.193.2; 1.193.4;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.192 26-Aug-2006  tsutsui Remove obsolete #options VERIFIED_EXEC, found by grep(1).
 1.191 14-Aug-2006  skrll s/adpater/adapter/

Prompted by PR/34195
 1.190 12-Aug-2006  christos Disable SYSTRACE by default on all kernels (discussed with core)
 1.189 31-Jul-2006  hubertf branches: 1.189.2;
spc(4) can also attach to pcmcia(4), as was already in hpcmips/GENERIC
for quite some time. Add it to all systems that have pcmcia SCSI.

Pointed out by Bj�rn Johannesson <rherdware@yahoo.com> in private mail,
OK'd by matt@
 1.188 26-Jul-2006  cube Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
already an attachment to the interface attribute (atapi and scsi).

Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
 1.187 28-Jun-2006  liamjfoy Add CARP to GENERIC kernel configs. CARP is not enabled by default.

ok: christos
 1.186 28-Mar-2006  pavel branches: 1.186.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.185 28-Mar-2006  tsutsui Fix isaportoffset for SHARP_TRIPAD and VADEM_CLIO_C.
Patch from Matthew Orgass on port-hpcmips, as part of PR port-hpcmips/28228.
 1.184 22-Feb-2006  hira branches: 1.184.2; 1.184.4; 1.184.6;
Fix typo (Prolofic -> Prolific).
 1.183 05-Feb-2006  cube Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.182 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.181 02-Feb-2006  reinoud branches: 1.181.2;
Add commented out UDF file-system entry in all GENERIC configurations.
 1.180 09-Dec-2005  elad branches: 1.180.2; 1.180.4;
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
 1.179 07-Dec-2005  tsutsui Remove obsolete options VNODE_OP_NOINLINE.
 1.178 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.177 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.176 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.175 19-Aug-2005  christos 64 bit inode changes.
 1.174 05-Aug-2005  skrll Add (commented out) ucycom to various kernel configs.
 1.173 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.172 30-Jul-2005  nakayama Add LCD and battery control support for Sharp Telios series.
 1.171 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.170 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.169 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.168 25-Jun-2005  rpaulo branches: 1.168.2;
Add file-system PTYFS (commented out) so that people know its existence.

Ok'ed by Christos Zoulas and Hubert Feyrer.
 1.167 04-May-2005  hamajima OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.166 15-Apr-2005  itohy Add ukyopon(4).
 1.165 25-Feb-2005  simonb branches: 1.165.2;
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
 1.164 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.163 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.162 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.161 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.160 10-Nov-2004  christos branches: 1.160.4; 1.160.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.159 23-Oct-2004  augustss s/uax/axe/
 1.158 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.157 13-Aug-2004  uch use HCAJ, HCVJ group instead of HCAJ1, HCVJ1C_JP
 1.156 08-Aug-2004  mycroft Enable DDB history by default.
 1.155 08-Aug-2004  mycroft xi -> xirc,com,xi
 1.154 07-Aug-2004  mycroft Add mhzc and spc.
 1.153 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.152 01-Jul-2004  uch fix iochip configuration.
reported by Alexander Frolkin <avf@ox.compsoc.net>
 1.151 26-Jun-2004  abs Add (commented out) ALTQ options to all GENERIC-like files
 1.150 22-Jun-2004  itojun have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
 1.149 18-Jun-2004  christos ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM
 1.148 16-Jun-2004  christos Add pseudo-device ptm on all the generic flavored kernels.
 1.147 15-Apr-2004  tv Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.146 03-Apr-2004  sato enable speaker port 12 for NEC MCCS series.
reported by http://www.jp.netbsd.org/ja/JP/ml/port-hpcmips-ja/200207/msg00078.html.
 1.145 27-Dec-2003  shin branches: 1.145.2;
fix indentation.
 1.144 27-Dec-2003  shin Add MobilePro 880 (MC/R730A), MC/R730 support for USB/"pci".
Addresses PR/23654.
 1.143 27-Dec-2003  shin Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags.
Addresses PR/23653.
 1.142 25-Oct-2003  simonb Add COMPAT_16 where missing.
Remove the unused COMPAT_15.
Comment out/remove COMPAT_* from INSTALL kernels.
 1.141 18-Oct-2003  lukem Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.140 08-Oct-2003  bouyer Add atabus
 1.139 22-Aug-2003  itojun add udav*
 1.138 26-Apr-2003  ragge branches: 1.138.2;
Add pseudo-device ksyms.
 1.137 10-Apr-2003  christos Bye Bye UCONSOLE
 1.136 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.135 16-Feb-2003  augustss Add uax(4) (and url(4) in some cases).
 1.134 15-Dec-2002  takemura Added Vrc4173PIU. (touch panel interface unit on Vrc4173)
 1.133 27-Nov-2002  shin comment 'makeoptions DEFGP="-G nn"' to resolve gp-size overflow.
even NULLCONF requires "-G 0".
fix PR kern/19184.
 1.132 17-Nov-2002  takemura Added xi to GENERIC. (PR port-hpcmips/19059)
 1.131 14-Oct-2002  elric Added commented out cgd(4)s to GENERIC configs.
 1.130 06-Oct-2002  provos add SYSTRACE; approved perry.
 1.129 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.128 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.127 30-May-2002  greg Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
 1.126 11-May-2002  takemura branches: 1.126.2; 1.126.4;
BUGFIX: Xhpc dumps core on SigmarionII.
Attached MQ200 video controller at PCI bus.
 1.125 11-May-2002  takemura Enabeled OHCI USB controller on MobilePro 800.
 1.124 06-May-2002  takemura Added ukphy to use USB ethernet adopters.
 1.123 04-May-2002  takemura Fixed line order. It was strange.
 1.122 04-May-2002  takemura Fixed PC Card slot support.
 1.121 03-May-2002  takemura Enable USB support for MC-R700.
 1.120 27-Apr-2002  shin * make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
 1.119 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.118 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.117 09-Apr-2002  shin renumber IT310 staff.
 1.116 07-Apr-2002  shin add Fujitsu INTERTOP CX310 support.
 1.115 26-Mar-2002  shin enable NFSSERVER.
 1.114 25-Mar-2002  shin reduce GP size.
 1.113 25-Mar-2002  shin enable kloader.
 1.112 23-Mar-2002  shin add LKM.
 1.111 22-Mar-2002  takemura Added Vrc4172 USB OHCI for Pencentra 130.
 1.110 10-Mar-2002  takemura Attached vrpiu at vrc4173bcu.
 1.109 10-Mar-2002  takemura Attached vrkiu at vrc4173bcu.
 1.108 05-Mar-2002  simonb Remove HPCMIPS_FLUSHCACHE_XXX debug code.
 1.107 11-Feb-2002  takemura Added Vr4122 and Vr4131 support to GENERIC configuration.
 1.106 11-Feb-2002  takemura Added vr4102ip.
 1.105 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.104 26-Jan-2002  takemura Adjusted GP size.
 1.103 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.102 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.101 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.100 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.99 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.98 21-Nov-2001  uch increase the value of maxusers to 16.
 1.97 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.96 13-Nov-2001  augustss branches: 1.96.2;
The wsmux pseudo device does not need a count anymore.
 1.95 10-Nov-2001  sato MCR-300/310/320/330/for Docomo have same PWCTL_LCDLIGHT, PWCTL_LCD port.
 1.94 01-Sep-2001  atatat branches: 1.94.4;
Comment out bridge pseudo devices from ports that don't
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
 1.93 01-Sep-2001  atatat Add bridge pseudo devices to GENERIC configs
 1.92 11-Jun-2001  enami branches: 1.92.2;
Cosmetic changes:
- Use tab instead of many spaces
- options<SPC><TAB>
 1.91 06-May-2001  takemura Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
 1.90 06-May-2001  hubertf vlan does not belong to group of IPv6 pseudo-devices
 1.89 05-May-2001  shin change maxusers 8 -> 10.
without this change, 'make build' will fail.
 1.88 21-Apr-2001  sato - fix comment for MCR/530.
- add MCR/530A(MobilePro780) PWCTL_COM0 device.
- add MC-R520A(MobilePro770) BTN_COVER device,
but commented because of no checking.
- add MC/R530A(MobilePro780) BTN_COVER device,
but commented because of no checking.
 1.87 20-Apr-2001  sato enlarge MSGBUFSIZE for -v option.
 1.86 20-Apr-2001  sato options<TAB><TAB> -> options<SPACE><TAB>
 1.85 11-Apr-2001  sato opt_vr41x1.h -> opt_vr41xx.h.
add 'options VR41XX' and kill 'options VR41X1'.

add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.

GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
 1.84 03-Apr-2001  sato add vrc4172pwm for MC-R510, MC-R520.
 1.83 25-Mar-2001  takemura Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.82 24-Mar-2001  sato add vrc4172pwm for MC/R520A(MobilePro770)
 1.81 13-Mar-2001  sato comment out:options WSDISPLAY_DEFAULTSCREENS=4
 1.80 11-Mar-2001  takemura Apply 'CF hack' to all model of Cassiopeia E series.
 1.79 02-Mar-2001  sato branches: 1.79.2;
add MC/R430(copy of MC/R530)
 1.78 27-Feb-2001  sato add vrc4172pwm for MC/R530A, MC-R700.
 1.77 26-Feb-2001  sato register vrc4172pwm driver for MC/R530 etc..
 1.76 29-Dec-2000  mycroft Add ray at pcmcia.
 1.75 22-Dec-2000  sato fix MC/R530's COM0 power GPIO port number.
 1.74 20-Dec-2000  matt Add Aironet.
 1.73 19-Dec-2000  bouyer Add pseudo-device vlan
 1.72 03-Dec-2000  takemura Add #UVMHIST line (commented out).
 1.71 21-Oct-2000  takemura BUGFIX: PCKBD_LAYOUT had not been effective.
 1.70 03-Oct-2000  sato vr41xx LED unit driver.
 1.69 02-Oct-2000  sato experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak,
 1.68 27-Sep-2000  shin add 'options VNODE_OP_NOINLINE' to reduce size.
 1.67 27-Sep-2000  sato add DoCoMo sigmarion cover button.
 1.66 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.65 21-Sep-2000  takemura skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.64 10-Sep-2000  sato add SPEAKER pwctl device for several machines.
 1.63 27-Aug-2000  sato add pwctl PWCTL_LCD, PWCTL_LCDLIGHT for NEC_MCR_FORDOCOMO, NEC_MCR_500.
 1.62 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.61 30-Jul-2000  takemura Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.)
 1.60 27-Jul-2000  mason Moving to a default of 64 PTYs.
 1.59 22-Jul-2000  takemura Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.58 20-Jul-2000  jeffs kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
 1.57 02-Jul-2000  takemura Experimental APM compatible power management.
 1.56 30-Jun-2000  itojun add PULLDOWN_TEST for all the platforms.
XXX should be moved to somewhere else when stabilized
 1.55 22-Jun-2000  fvdl Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
 1.54 17-Jun-2000  shin branches: 1.54.2;
for size reduction.
out:
SCSIVERBOSE
QUOTA
ccd

we support CD-ROM drives, so CD9660 is necessary.
in:
CD9660
 1.53 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.52 03-Jun-2000  takemura Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
 1.51 17-May-2000  shin branches: 1.51.2;
delete undefined 'NEC_MCR_4XX'.
 1.50 15-May-2000  sato NEC MC-CS LIGHT button.
NEC MC-R430 COM0 power.
CASIO E55 COM0 power.
CASIO E55 LIGHT button.
 1.49 04-May-2000  takemura Add some lines to support ATAPI and SCSI devices.
This makes the kernel 60KB bigger.
 1.48 04-May-2000  takemura Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.47 28-Apr-2000  shin delete obsolete 'options MIPS_16K_PAGE'.
 1.46 27-Apr-2000  uch fix comment.
 1.45 25-Apr-2000  uch remove COMPAT_386BSD_MBRPART
remove COMAPT_13, COMPAT_14. hpcmips appears NetBSD 1.5.
 1.44 19-Apr-2000  itojun add stf pseudo interface (commented out due to possible security risks)
 1.43 09-Apr-2000  takemura Add pseudo device 'rnd' for /dev/random.
 1.42 03-Apr-2000  sato MCR-300, MC-CS LCD on/off port.
 1.41 30-Mar-2000  sato add MC-CS backlight control.
 1.40 14-Mar-2000  uch sync with fb->hpcfb, btnmgr changes.
 1.39 13-Mar-2000  sato add BTN_COVER for MC-R520.
 1.38 13-Mar-2000  sato add PWCTL_LCDLIGHT for MC-R300
 1.37 12-Mar-2000  takemura Add wsmux device which is real device in /dev.
 1.36 12-Mar-2000  takemura Change btnmgr to wskbd device from pseudo device.
 1.35 12-Mar-2000  takemura New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.34 11-Mar-2000  shin configure controller 0 only (workaround for phantom PCIC).
 1.33 08-Mar-2000  takemura GENERIC configration includes Cassiopeia E-55 CF card support.
 1.32 05-Mar-2000  takemura Delete #ifdef USE_RASTERCONS lines, which are not used.
 1.31 19-Feb-2000  jun On [port-hpcmips-ja@jp.netbsd.org:1764]
suz@hpc.bs1.fc.nec.co.jp (Koji Suzuki) writes
Sample configration for cassipeia E-55 & E-500
// wdc1 line deleted from original.
 1.30 17-Feb-2000  mycroft Fix obvious typo.
 1.29 12-Feb-2000  shin delete NKMEMCLUSTERS from configuration files.
 1.28 11-Feb-2000  takemura Add com0's power control ID.
 1.27 10-Feb-2000  sato - add GPIO related comments.
- add IBM WorkPad z50 buttons.
 1.26 31-Jan-2000  shin add BTN_COVER for MC-R700, MC/R730.
 1.25 27-Jan-2000  sato - add MC-R510 & MC-R530 cover button.
- add MC-R530 application dial button.
- add comment for no RTC_OFFSET.
 1.24 23-Jan-2000  hubertf Add commented out "ident"-command
 1.23 20-Jan-2000  wrstuden Add overlay to kernel configs.
 1.22 09-Jan-2000  shin add options for sysinst (memory disk size etc.)
 1.21 09-Jan-2000  shin add Vadem Clio and Sharp Tripad
 1.20 01-Jan-2000  shin add MSDOSFS
delete redundant kernel 'config' lines.
add new option '-b={wd0,sd0,nfs}' to change boot device.
 1.19 28-Dec-1999  takemura VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
 1.18 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.17 29-Nov-1999  shin add Fujitsu INTERTOP CX300.
 1.16 28-Nov-1999  takemura Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.15 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.14 21-Nov-1999  shin add MCCS comctrl (GPIO 14)
add IBM WorkPad z50
 1.13 20-Nov-1999  jun merge GENERIC.v6 to GENERIC
 1.12 15-Nov-1999  fvdl Add commented out option SOFTDEP to all GENERIC kernels.
 1.11 04-Nov-1999  sato GENERIC_JP include GENERIC.
 1.10 03-Nov-1999  enami Use tabs to indent.
 1.9 03-Nov-1999  enami Do options<space><tab> magic.
 1.8 02-Nov-1999  takemura Wsdisplay use small font, VT220 8x10.
 1.7 30-Oct-1999  uch fix comment.
 1.6 30-Oct-1999  enami remove unnecessary quotation.
 1.5 30-Oct-1999  enami replace tab in ascii figure with space.
 1.4 24-Oct-1999  takemura Wsdisplay and wskbd are supported as a console device.
 1.3 18-Oct-1999  enami branches: 1.3.2; 1.3.4;
Remove options FIFO and MULTICAST. They aren't optional.
 1.2 25-Sep-1999  shin branches: 1.2.2;
[new options]

options MIPS3_4100 /* VR4100 core */
options MIPS_16K_PAGE /* enable kernel support for 16k pages */
options SOFTFLOAT /* No FPU; avoid touching FPU registers */
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.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.3.4.1 15-Nov-1999  fvdl Sync with -current
 1.3.2.7 23-Apr-2001  bouyer Sync with HEAD.
 1.3.2.6 21-Apr-2001  bouyer Sync with HEAD
 1.3.2.5 27-Mar-2001  bouyer Sync with HEAD.
 1.3.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.3.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.3.2.2 08-Dec-2000  bouyer Sync with HEAD.
 1.3.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.51.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.54.2.7 06-May-2001  he Pull up revision 1.90 (requested by hubertf):
Visually separate the vlan(4) device from the IPv6 devices.
 1.54.2.6 01-May-2001  he Pull up revision 1.73 (requested by he):
Add pseudo-device vlan.
Make sure "rnd is EXPERIMENTAL" comment is removed.
 1.54.2.5 13-Mar-2001  he Pull up revision 1.80 (requested by takemura):
Enable Compact Flash card conftoller (wdc) on all models of
CASSIOPEIA E series, not only E-55. Fixes PR#11791.
 1.54.2.4 02-Oct-2000  takemura Pull up revision 1.63 (approved by jhawk)

Enable LCD backlight control on NEC MobileGear II for DoCoMo
and NEC MobileGear MC-R500.
 1.54.2.3 23-Aug-2000  takemura Pull up revision 1.62 (Approved by jhawk and thorpej)

> 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.

NOTE: This pull-up equals 'sync with current' because previous pull-up
contains modification between 1.54-1.61 by my mistake.
 1.54.2.2 06-Aug-2000  takemura Pull up revision 1.61 (requested by takemura)

Add apmdev, hpcapm and mq200video.
 1.54.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.79.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.79.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.92.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.92.2.6 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.92.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.92.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.92.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.92.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.92.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.94.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.96.2.10 19-Dec-2002  thorpej Sync with HEAD.
 1.96.2.9 11-Dec-2002  thorpej Sync with HEAD.
 1.96.2.8 18-Oct-2002  nathanw Catch up to -current.
 1.96.2.7 20-Jun-2002  nathanw Catch up to -current.
 1.96.2.6 17-Apr-2002  nathanw Catch up to -current.
 1.96.2.5 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.96.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.96.2.3 11-Jan-2002  nathanw More catchup.
 1.96.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.96.2.1 13-Nov-2001  nathanw file GENERIC was added on branch nathanw_sa on 2002-01-08 00:24:56 +0000
 1.126.4.6 26-Oct-2005  jmc Pullup (via patch) requested in ticket #5754 by itohy

Provide a backport for ukyopon(4) and pullup umodem(4) updates.
 1.126.4.5 12-Mar-2004  jmc Pullup rev 1.144 (requested by shin in ticket #1587)

Add MobilePro 880 (MC/R730A), MC/R730 support for USB/pci.
 1.126.4.4 12-Mar-2004  jmc Pullup rev 1.143 (requested by shin in ticket #1586)

Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags.
 1.126.4.3 12-Dec-2002  he Pull up revision 1.132 (requested by takemura in ticket #997):
Add ``xi'' to GENERIC. Fixes PR#19059.
 1.126.4.2 01-Aug-2002  lukem Pull up revision 1.128 (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.126.4.1 30-May-2002  tv Pull up revision 1.127 (requested by greg in ticket #77):
Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
 1.126.2.2 14-Jul-2002  gehenna catch up with -current.
 1.126.2.1 30-May-2002  gehenna Catch up with -current.
 1.138.2.12 11-Dec-2005  christos Sync with head.
 1.138.2.11 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.138.2.10 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.138.2.9 15-Feb-2005  skrll Sync with HEAD.
 1.138.2.8 04-Feb-2005  skrll Sync with HEAD.
 1.138.2.7 14-Nov-2004  skrll Sync with HEAD.
 1.138.2.6 02-Nov-2004  skrll Sync with HEAD.
 1.138.2.5 21-Sep-2004  skrll Fix the sync with head I botched.
 1.138.2.4 18-Sep-2004  skrll Sync with HEAD.
 1.138.2.3 25-Aug-2004  skrll Sync with HEAD.
 1.138.2.2 12-Aug-2004  skrll Sync with HEAD.
 1.138.2.1 03-Aug-2004  skrll Sync with HEAD
 1.145.2.3 15-Jul-2004  he branches: 1.145.2.3.2;
Pull up revision 1.153 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.145.2.2 30-Jun-2004  jdc Pull up revision 1.151 (requested by abs in ticket #567).

Add (commented out) ALTQ options to all GENERIC-like files
 1.145.2.1 18-Apr-2004  jmc Pullup rev 1.147 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.145.2.3.2.2 21-Jul-2005  riz Pull up revision 1.166 (requested by itohy in ticket #1430):
Add ukyopon(4).
 1.145.2.3.2.1 16-May-2005  riz Pull up revision 1.167 (requested by hamajima in ticket #1500):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.160.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.160.6.1 12-Feb-2005  yamt sync with head.
 1.160.4.1 29-Apr-2005  kent sync with -current
 1.165.2.5 14-Aug-2005  riz Pull up revision 1.170 (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.165.2.4 04-Aug-2005  tron Pull up revision 1.172 (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.165.2.3 18-Jul-2005  riz Pull up revision 1.169 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.165.2.2 07-May-2005  tron Pull up revision 1.167 (requested by hamajima in ticket #247):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.165.2.1 17-Apr-2005  tron Pull up revision 1.166 (requested by itohy in ticket #160):
Add ukyopon(4).
 1.168.2.5 04-Feb-2008  yamt sync with head.
 1.168.2.4 21-Jan-2008  yamt sync with head
 1.168.2.3 03-Sep-2007  yamt sync with head.
 1.168.2.2 30-Dec-2006  yamt sync with head.
 1.168.2.1 21-Jun-2006  yamt sync with head.
 1.180.4.1 09-Sep-2006  rpaulo sync with head
 1.180.2.2 01-Mar-2006  yamt sync with head.
 1.180.2.1 18-Feb-2006  yamt sync with head.
 1.181.2.1 22-Apr-2006  simonb Sync with head.
 1.184.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.184.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.184.2.3 03-Sep-2006  yamt sync with head.
 1.184.2.2 11-Aug-2006  yamt sync with head
 1.184.2.1 01-Apr-2006  yamt sync with head.
 1.186.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.189.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.189.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.193.4.1 10-Dec-2006  yamt sync with head.
 1.193.2.1 18-Nov-2006  ad Sync with head.
 1.194.12.2 03-Jun-2008  skrll Sync with netbsd-4.
 1.194.12.1 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.194.10.1 11-Jul-2007  mjf Sync with head.
 1.194.8.2 09-Jun-2007  ad Sync with head.
 1.194.8.1 10-Apr-2007  ad Sync with head.
 1.194.4.1 24-Mar-2007  yamt sync with head.
 1.194.2.3 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1066):
sys/arch/hpcmips/conf/MPC303: revision 1.48
sys/arch/hpcmips/conf/LROUTER: revision 1.36
sys/arch/hpcmips/conf/TX3912: revision 1.69
sys/arch/hpcmips/conf/TX3922: revision 1.81
sys/arch/hpcmips/conf/TX3922: revision 1.82
sys/arch/hpcmips/conf/VR41XX: revision 1.43
sys/arch/hpcmips/conf/GENERIC: revision 1.200
Add options COMPAT_16, COMPAT_20 and COMPAT_30 to non-GENERIC kernels.
Requested by Risto Sainio in PR port-hpcmips/37911.
Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
 1.194.2.2 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1065):
sys/arch/mips/mips/locore_mips1.S: revision 1.64
sys/arch/hpcmips/conf/TX3912: revision 1.68
sys/arch/hpcmips/conf/TX3922: revision 1.80
sys/arch/hpcmips/conf/GENERIC: revision 1.199
sys/arch/hpcmips/tx/tx39power.c: revision 1.18
sys/arch/mips/mips/cache_tx39.c: revision 1.6
Make these TX39xx stuff compile without "-mips2" option.
TX39xx has a sync instruction, but it doesn't support all mips2 instructions.
Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.
 1.194.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.195.6.1 26-Jun-2007  garbled Sync with HEAD.
 1.196.10.3 23-Mar-2008  matt sync with HEAD
 1.196.10.2 09-Jan-2008  matt sync with HEAD
 1.196.10.1 06-Nov-2007  matt sync with HEAD
 1.197.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.197.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.200.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.200.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.200.10.3 11-Aug-2010  yamt sync with head.
 1.200.10.2 11-Mar-2010  yamt sync with head
 1.200.10.1 04-May-2009  yamt sync with head.
 1.200.8.1 04-Jun-2008  yamt sync with head
 1.200.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.200.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.200.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.201.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.201.4.1 19-Oct-2008  haad Sync with HEAD.
 1.203.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.203.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.207.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.207.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.208.2.3 21-Apr-2011  rmind sync with head
 1.208.2.2 05-Mar-2011  rmind sync with head
 1.208.2.1 30-May-2010  rmind sync with head
 1.212.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.212.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.213.4.3 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.213.4.2 30-Oct-2012  yamt sync with head
 1.213.4.1 17-Apr-2012  yamt sync with head
 1.214.2.1 18-Feb-2012  mrg merge to -current.
 1.215.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.216.2.4 03-Dec-2017  jdolecek update from HEAD
 1.216.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.216.2.2 23-Jun-2013  tls resync from head
 1.216.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.222.2.1 28-Aug-2013  rmind sync with head
 1.223.4.1 10-Aug-2014  tls Rebase.
 1.224.2.2 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.224.2.1 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.229.2.2 05-Feb-2017  skrll Sync with HEAD
 1.229.2.1 22-Apr-2016  skrll Sync with HEAD
 1.230.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.235.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.235.4.1 10-Jun-2019  christos Sync with HEAD
 1.235.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.240.4.1 29-Feb-2020  ad Sync with head.
 1.243.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.244.4.1 01-Aug-2021  thorpej Sync with HEAD.
 1.2 20-Nov-1999  jun merge GENERIC.v6 to GENERIC
 1.1 05-Oct-1999  jun branches: 1.1.2; 1.1.8;
GENERIC.v6 -- IPv6 variant of GENERIC. should be in GENERIC.
 1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.10 17-Jan-2000  sato - no need
-- rtc inherit offset from WinCE.
-- keymap set by plat id.
 1.9 04-Nov-1999  sato GENERIC_JP include GENERIC.
 1.8 03-Nov-1999  enami Use tabs to indent.
 1.7 03-Nov-1999  enami Do options<space><tab> magic.
 1.6 30-Oct-1999  uch fix comment.
 1.5 30-Oct-1999  enami remove unnecessary quotation.
 1.4 30-Oct-1999  enami replace tab in ascii figure with space.
 1.3 18-Oct-1999  enami branches: 1.3.2; 1.3.4;
Remove options FIFO and MULTICAST. They aren't optional.
 1.2 25-Sep-1999  shin branches: 1.2.2;
[new options]

options MIPS3_4100 /* VR4100 core */
options MIPS_16K_PAGE /* enable kernel support for 16k pages */
options SOFTFLOAT /* No FPU; avoid touching FPU registers */
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.4.1 15-Nov-1999  fvdl Sync with -current
 1.3.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.3 25-Mar-2002  shin this document is obsoleted.
 1.2 24-Sep-1999  enami branches: 1.2.16; 1.2.20;
Suggest to upgrade config(8).
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.20.1 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.16.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.13 06-Feb-2009  jym 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.12 02-Oct-2006  chs branches: 1.12.56; 1.12.64;
remove MALLOC_NOINLINE, it doesn't do anything anymore.
 1.11 05-Feb-2006  cube branches: 1.11.14; 1.11.16;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.10 10-Apr-2003  he branches: 1.10.18; 1.10.30; 1.10.32; 1.10.34;
Expand the miniroot by 256KB, so that this builds again.
 1.9 24-Sep-2002  shin 'options USERCONF' is already in TX3912.
 1.8 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.7 09-Jul-2002  mycroft Remove VNODE_OP_NOINLINE, which is already in TX3912.
 1.6 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.5 12-Apr-2002  gmcgarry branches: 1.5.2;
Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.4 02-Apr-2002  lukem Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
 1.3 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.2 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.1 22-Apr-2001  shin branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12;
add config files for installation.
 1.1.12.6 18-Oct-2002  nathanw Catch up to -current.
 1.1.12.5 01-Aug-2002  nathanw Catch up to -current.
 1.1.12.4 17-Apr-2002  nathanw Catch up to -current.
 1.1.12.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.12.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.12.1 22-Apr-2001  nathanw file INSTALL_TX3912 was added on branch nathanw_sa on 2002-02-28 04:09:52 +0000
 1.1.6.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.1.6.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.6.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 23-Apr-2001  bouyer Sync with HEAD.
 1.1.2.1 22-Apr-2001  bouyer file INSTALL_TX3912 was added on branch thorpej_scsipi on 2001-04-23 09:41:43 +0000
 1.5.2.1 16-Jul-2002  gehenna catch up with -current.
 1.10.34.1 22-Apr-2006  simonb Sync with head.
 1.10.32.1 09-Sep-2006  rpaulo sync with head
 1.10.30.1 18-Feb-2006  yamt sync with head.
 1.10.18.2 30-Dec-2006  yamt sync with head.
 1.10.18.1 21-Jun-2006  yamt sync with head.
 1.11.16.1 22-Oct-2006  yamt sync with head
 1.11.14.1 18-Nov-2006  ad Sync with head.
 1.12.64.1 03-Mar-2009  skrll Sync with HEAD.
 1.12.56.1 04-May-2009  yamt sync with head.
 1.4 25-Mar-2002  shin TX3922 is supported by GENERIC.
 1.3 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.2 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.1 22-Apr-2001  shin branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12;
add config files for installation.
 1.1.12.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.12.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.12.1 22-Apr-2001  nathanw file INSTALL_TX3922 was added on branch nathanw_sa on 2002-02-28 04:09:53 +0000
 1.1.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.6.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.6.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 23-Apr-2001  bouyer Sync with HEAD.
 1.1.2.1 22-Apr-2001  bouyer file INSTALL_TX3922 was added on branch thorpej_scsipi on 2001-04-23 09:41:43 +0000
 1.17 30-Aug-2015  uebayasi A makeoptions `DEFWARNINGS', forcibly disabling all ${CC} warnings, is only
used by hpcmips's NULLCONF, which doesn't even build for other causes.

If some source doen't build and needs a workaround, that should be deal with
by modifying per-file ${CC} options (e.g. COPTS.foo.c+=-fno-xxx). Let's not
use DEFWARNINGS any longer.
 1.16 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.15 20-Jul-2014  alnsn branches: 1.15.4;
Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.14 22-Nov-2011  tls branches: 1.14.8; 1.14.22;

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

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.
 1.13 02-Mar-2011  ahoka branches: 1.13.4;
Resolve build failures caused by local use of "device flash" in config.
 1.12 23-Nov-2010  hannken branches: 1.12.2; 1.12.4;
Remove unused count from pseudo-device md.
 1.11 06-Feb-2009  jym branches: 1.11.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.10 06-Feb-2009  jym Fix some whitespace and indentation. No functional change.
 1.9 04-Feb-2006  rpaulo branches: 1.9.72; 1.9.80;
bpfilter doesn't accept count anymore.
 1.8 07-Dec-2005  tsutsui branches: 1.8.2; 1.8.4; 1.8.6;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.7 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.6 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.5 18-Feb-2005  dsl branches: 1.5.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.4 10-Nov-2004  christos branches: 1.4.4; 1.4.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.3 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.2 29-Dec-2003  igy branches: 1.2.2;
using compile option "-G 0" (default)
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.6 11-Dec-2005  christos Sync with head.
 1.1.2.5 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.1.2.4 14-Nov-2004  skrll Sync with HEAD.
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.2.2.1 15-Jul-2004  he Pull up revision 1.3 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.4.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.4.4.1 29-Apr-2005  kent sync with -current
 1.5.6.1 21-Jun-2006  yamt sync with head.
 1.8.6.1 22-Apr-2006  simonb Sync with head.
 1.8.4.1 09-Sep-2006  rpaulo sync with head
 1.8.2.1 18-Feb-2006  yamt sync with head.
 1.9.80.1 03-Mar-2009  skrll Sync with HEAD.
 1.9.72.1 04-May-2009  yamt sync with head.
 1.11.6.1 05-Mar-2011  rmind sync with head
 1.12.4.1 05-Mar-2011  bouyer Sync with HEAD
 1.12.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.13.4.1 17-Apr-2012  yamt sync with head
 1.14.22.1 10-Aug-2014  tls Rebase.
 1.14.8.2 03-Dec-2017  jdolecek update from HEAD
 1.14.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.4.1 22-Sep-2015  skrll Sync with HEAD
 1.58 22-Sep-2024  andvar Add PMAP_NO_PV_UNCACHED and ENABLE_MIPS_4KB_PAGE options to LROUTER and MPC303
configs to restore the build. I didn't receive definite answer if adding them
would be a correct approach, but it solves the build problem for these non
autobuild kernel configs and other 41xx configs have these two options as well.
 1.57 01-Aug-2018  maxv branches: 1.57.36;
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.56 14-Sep-2017  mrg branches: 1.56.2; 1.56.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.55 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.54 23-Aug-2014  dholland branches: 1.54.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.53 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.52 30-Jun-2013  rmind branches: 1.52.4;
G/C PFIL_HOOKS from the kernel configs.
 1.51 05-Jun-2013  christos branches: 1.51.2;
remove obsolete networking options
 1.50 27-Apr-2013  christos the bogus number police
 1.49 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.48 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.47 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.46 18-Dec-2011  dholland branches: 1.46.6;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.45 22-Nov-2011  tls branches: 1.45.2;

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

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

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.43 23-Nov-2010  hannken branches: 1.43.2; 1.43.4;
Remove unused count from pseudo-device md.
 1.42 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.41 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.40 05-Dec-2009  pooka branches: 1.40.2; 1.40.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.39 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.38 31-Jul-2008  simonb branches: 1.38.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.37 30-May-2008  tsutsui branches: 1.37.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.36 30-Jan-2008  tsutsui branches: 1.36.6; 1.36.8; 1.36.10; 1.36.12;
Add options COMPAT_16, COMPAT_20 and COMPAT_30 as well as GENERIC.
Requested by Risto Sainio in PR port-hpcmips/37911.
 1.35 16-Sep-2006  gdamore branches: 1.35.4; 1.35.20; 1.35.30; 1.35.36;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.34 26-Aug-2006  christos branches: 1.34.2;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.33 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.32 05-Feb-2006  cube branches: 1.32.2; 1.32.4; 1.32.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.31 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.30 07-Dec-2005  tsutsui branches: 1.30.2; 1.30.4; 1.30.6;
Remove obsolete options VNODE_OP_NOINLINE.
 1.29 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.28 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.27 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.26 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.25 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.24 18-Feb-2005  dsl branches: 1.24.4; 1.24.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.23 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.22 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.21 10-Nov-2004  christos branches: 1.21.4; 1.21.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.20 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.19 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.18 15-Apr-2004  tv Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.17 23-Dec-2003  hamajima branches: 1.17.2;
only aceride nedds in L-Router
 1.16 14-Dec-2003  thorpej Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).
 1.15 13-Dec-2003  thorpej Split out the Silicon Image SATALink support into its own driver,
"satalink".
 1.14 13-Dec-2003  sekiya Remove MIPS3_L2CACHE_ABSENT.
 1.13 18-Oct-2003  lukem Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.12 08-Oct-2003  bouyer Add new per-chip pciide drivers.
 1.11 08-Oct-2003  bouyer Add atabus
 1.10 10-Apr-2003  christos branches: 1.10.2;
Bye Bye UCONSOLE
 1.9 27-Nov-2002  shin comment 'makeoptions DEFGP="-G nn"' to resolve gp-size overflow.
even NULLCONF requires "-G 0".
fix PR kern/19184.
 1.8 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.7 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.6 25-Apr-2002  atatat branches: 1.6.2; 1.6.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.5 12-Apr-2002  gmcgarry Add commented-out USERCONF option. Mainly useful for install media
and can be optionally enabled based on miniroot and ramdisk size
requirements.
 1.4 27-Jan-2002  takemura branches: 1.4.2; 1.4.4;
Added vripif.
 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 26-Jan-2002  takemura Adjusted GP size.
 1.1 18-Jan-2002  shin add support for LASER5 L-Router.
 1.4.4.6 11-Dec-2002  thorpej Sync with HEAD.
 1.4.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.4.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.4.4.3 17-Apr-2002  nathanw Catch up to -current.
 1.4.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.1 27-Jan-2002  nathanw file LROUTER was added on branch nathanw_sa on 2002-02-28 04:09:53 +0000
 1.4.2.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.4.2.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.4.2.1 27-Jan-2002  jdolecek file LROUTER was added on branch kqueue on 2002-02-11 20:08:03 +0000
 1.6.4.1 01-Aug-2002  lukem Pull up revision 1.7 (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.6.2.1 14-Jul-2002  gehenna catch up with -current.
 1.10.2.9 11-Dec-2005  christos Sync with head.
 1.10.2.8 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.10.2.7 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.10.2.6 15-Feb-2005  skrll Sync with HEAD.
 1.10.2.5 04-Feb-2005  skrll Sync with HEAD.
 1.10.2.4 14-Nov-2004  skrll Sync with HEAD.
 1.10.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.10.2.1 03-Aug-2004  skrll Sync with HEAD
 1.17.2.2 15-Jul-2004  he Pull up revision 1.19 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.17.2.1 18-Apr-2004  jmc Pullup rev 1.18 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.21.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.21.6.1 12-Feb-2005  yamt sync with head.
 1.21.4.1 29-Apr-2005  kent sync with -current
 1.24.6.3 04-Feb-2008  yamt sync with head.
 1.24.6.2 30-Dec-2006  yamt sync with head.
 1.24.6.1 21-Jun-2006  yamt sync with head.
 1.24.4.1 18-Jul-2005  riz Pull up revision 1.25 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.30.6.1 22-Apr-2006  simonb Sync with head.
 1.30.4.1 09-Sep-2006  rpaulo sync with head
 1.30.2.1 18-Feb-2006  yamt sync with head.
 1.32.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.32.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.32.2.2 03-Sep-2006  yamt sync with head.
 1.32.2.1 01-Apr-2006  yamt sync with head.
 1.34.2.1 18-Nov-2006  ad Sync with head.
 1.35.36.1 18-Feb-2008  mjf Sync with HEAD.
 1.35.30.1 23-Mar-2008  matt sync with HEAD
 1.35.20.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.35.4.1 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1066):
sys/arch/hpcmips/conf/MPC303: revision 1.48
sys/arch/hpcmips/conf/LROUTER: revision 1.36
sys/arch/hpcmips/conf/TX3912: revision 1.69
sys/arch/hpcmips/conf/TX3922: revision 1.81
sys/arch/hpcmips/conf/TX3922: revision 1.82
sys/arch/hpcmips/conf/VR41XX: revision 1.43
sys/arch/hpcmips/conf/GENERIC: revision 1.200
Add options COMPAT_16, COMPAT_20 and COMPAT_30 to non-GENERIC kernels.
Requested by Risto Sainio in PR port-hpcmips/37911.
Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
 1.36.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.36.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.36.10.3 11-Aug-2010  yamt sync with head.
 1.36.10.2 11-Mar-2010  yamt sync with head
 1.36.10.1 04-May-2009  yamt sync with head.
 1.36.8.1 04-Jun-2008  yamt sync with head
 1.36.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.36.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.36.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.37.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.37.4.1 19-Oct-2008  haad Sync with HEAD.
 1.38.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.40.4.3 21-Apr-2011  rmind sync with head
 1.40.4.2 05-Mar-2011  rmind sync with head
 1.40.4.1 30-May-2010  rmind sync with head
 1.40.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.40.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.43.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.43.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.44.4.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.44.4.1 17-Apr-2012  yamt sync with head
 1.45.2.1 18-Feb-2012  mrg merge to -current.
 1.46.6.3 03-Dec-2017  jdolecek update from HEAD
 1.46.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.46.6.1 23-Jun-2013  tls resync from head
 1.51.2.1 28-Aug-2013  rmind sync with head
 1.52.4.1 10-Aug-2014  tls Rebase.
 1.54.2.1 22-Sep-2015  skrll Sync with HEAD
 1.56.4.1 10-Jun-2019  christos Sync with HEAD
 1.56.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.57.36.1 02-Aug-2025  perseant Sync with HEAD
 1.71 22-Sep-2024  andvar Add PMAP_NO_PV_UNCACHED and ENABLE_MIPS_4KB_PAGE options to LROUTER and MPC303
configs to restore the build. I didn't receive definite answer if adding them
would be a correct approach, but it solves the build problem for these non
autobuild kernel configs and other 41xx configs have these two options as well.
 1.70 01-Aug-2018  maxv branches: 1.70.36;
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.69 14-Sep-2017  mrg branches: 1.69.2; 1.69.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.68 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.67 23-Aug-2014  dholland branches: 1.67.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.66 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.65 05-Jun-2013  christos branches: 1.65.6;
remove obsolete networking options
 1.64 27-Apr-2013  christos the bogus number police
 1.63 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.62 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.61 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.60 05-Jun-2012  abs branches: 1.60.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.59 18-Dec-2011  dholland branches: 1.59.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.58 22-Nov-2011  tls branches: 1.58.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.57 06-Mar-2011  bouyer branches: 1.57.4;
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.56 23-Nov-2010  hannken branches: 1.56.2; 1.56.4;
Remove unused count from pseudo-device md.
 1.55 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.54 07-Mar-2010  plunky branches: 1.54.2;
add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels
 1.53 05-Dec-2009  pooka branches: 1.53.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.52 06-Feb-2009  jym 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.51 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.50 31-Jul-2008  simonb branches: 1.50.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.49 30-May-2008  tsutsui branches: 1.49.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.48 30-Jan-2008  tsutsui branches: 1.48.6; 1.48.8; 1.48.10; 1.48.12;
Add options COMPAT_16, COMPAT_20 and COMPAT_30 as well as GENERIC.
Requested by Risto Sainio in PR port-hpcmips/37911.
 1.47 14-Mar-2007  drochner branches: 1.47.16; 1.47.22;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.46 26-Aug-2006  christos branches: 1.46.6; 1.46.8; 1.46.12; 1.46.14; 1.46.16;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.45 14-Aug-2006  skrll s/adpater/adapter/

Prompted by PR/34195
 1.44 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.43 28-Mar-2006  tsutsui Fix isaportoffset for SHARP_TRIPAD and VADEM_CLIO_C.
Patch from Matthew Orgass on port-hpcmips, as part of PR port-hpcmips/28228.
 1.42 05-Feb-2006  cube branches: 1.42.2; 1.42.4; 1.42.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.41 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.40 07-Dec-2005  tsutsui branches: 1.40.2; 1.40.4; 1.40.6;
Remove obsolete options VNODE_OP_NOINLINE.
 1.39 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.38 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.37 05-Aug-2005  skrll Add (commented out) ucycom to various kernel configs.
 1.36 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.35 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.34 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.33 18-Feb-2005  dsl branches: 1.33.4; 1.33.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.32 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.31 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.30 10-Nov-2004  christos branches: 1.30.4; 1.30.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.29 23-Oct-2004  augustss s/uax/axe/
 1.28 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.27 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.26 15-Apr-2004  tv Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.25 13-Dec-2003  sekiya branches: 1.25.2;
Remove MIPS3_L2CACHE_ABSENT.
 1.24 18-Oct-2003  lukem Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.23 08-Oct-2003  bouyer Add atabus
 1.22 10-Apr-2003  christos branches: 1.22.2;
Bye Bye UCONSOLE
 1.21 16-Feb-2003  augustss Add uax(4) (and url(4) in some cases).
 1.20 27-Nov-2002  shin comment 'makeoptions DEFGP="-G nn"' to resolve gp-size overflow.
even NULLCONF requires "-G 0".
fix PR kern/19184.
 1.19 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.18 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.17 25-Apr-2002  atatat branches: 1.17.2; 1.17.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.16 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.15 25-Mar-2002  shin vrpiu needs wsmouse.
 1.14 10-Mar-2002  takemura Attached vrpiu at vrc4173bcu.
 1.13 10-Mar-2002  takemura Attached vrkiu at vrc4173bcu.
 1.12 05-Mar-2002  simonb Remove HPCMIPS_FLUSHCACHE_XXX debug code.
 1.11 27-Jan-2002  takemura Added vripif.
 1.10 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.9 26-Jan-2002  takemura Adjusted GP size.
 1.8 20-Jan-2002  shin bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0).
 1.7 13-Jan-2002  takemura Fixed vrpciu with config_hook PCI interrupt handling.
 1.6 05-Jan-2002  takemura DoCoMo SigmationII support (Experimental)
You must turn on HPCMIPS_L1CACHE_DISABLE option.
 1.5 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.4 21-Nov-2001  uch increase the value of maxusers to 16.
 1.3 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.2 13-Nov-2001  augustss branches: 1.2.2;
The wsmux pseudo device does not need a count anymore.
 1.1 13-Jun-2001  enami branches: 1.1.2; 1.1.4;
Add minimal support for vr4122/vrc4173 pci.
 1.1.4.6 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.4.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.4.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.2.9 11-Dec-2002  thorpej Sync with HEAD.
 1.2.2.8 18-Oct-2002  nathanw Catch up to -current.
 1.2.2.7 20-Jun-2002  nathanw Catch up to -current.
 1.2.2.6 17-Apr-2002  nathanw Catch up to -current.
 1.2.2.5 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.3 11-Jan-2002  nathanw More catchup.
 1.2.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 13-Nov-2001  nathanw file MPC303 was added on branch nathanw_sa on 2002-01-08 00:24:57 +0000
 1.17.4.1 01-Aug-2002  lukem Pull up revision 1.18 (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.17.2.1 14-Jul-2002  gehenna catch up with -current.
 1.22.2.10 11-Dec-2005  christos Sync with head.
 1.22.2.9 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.22.2.8 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.22.2.7 15-Feb-2005  skrll Sync with HEAD.
 1.22.2.6 04-Feb-2005  skrll Sync with HEAD.
 1.22.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.22.2.4 02-Nov-2004  skrll Sync with HEAD.
 1.22.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.22.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.22.2.1 03-Aug-2004  skrll Sync with HEAD
 1.25.2.2 15-Jul-2004  he Pull up revision 1.27 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.25.2.1 18-Apr-2004  jmc Pullup rev 1.26 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.30.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.30.6.1 12-Feb-2005  yamt sync with head.
 1.30.4.1 29-Apr-2005  kent sync with -current
 1.33.6.4 04-Feb-2008  yamt sync with head.
 1.33.6.3 03-Sep-2007  yamt sync with head.
 1.33.6.2 30-Dec-2006  yamt sync with head.
 1.33.6.1 21-Jun-2006  yamt sync with head.
 1.33.4.1 18-Jul-2005  riz Pull up revision 1.34 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.40.6.1 22-Apr-2006  simonb Sync with head.
 1.40.4.1 09-Sep-2006  rpaulo sync with head
 1.40.2.1 18-Feb-2006  yamt sync with head.
 1.42.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.42.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.42.2.2 03-Sep-2006  yamt sync with head.
 1.42.2.1 01-Apr-2006  yamt sync with head.
 1.46.16.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.46.14.1 11-Jul-2007  mjf Sync with head.
 1.46.12.1 10-Apr-2007  ad Sync with head.
 1.46.8.1 24-Mar-2007  yamt sync with head.
 1.46.6.1 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1066):
sys/arch/hpcmips/conf/MPC303: revision 1.48
sys/arch/hpcmips/conf/LROUTER: revision 1.36
sys/arch/hpcmips/conf/TX3912: revision 1.69
sys/arch/hpcmips/conf/TX3922: revision 1.81
sys/arch/hpcmips/conf/TX3922: revision 1.82
sys/arch/hpcmips/conf/VR41XX: revision 1.43
sys/arch/hpcmips/conf/GENERIC: revision 1.200
Add options COMPAT_16, COMPAT_20 and COMPAT_30 to non-GENERIC kernels.
Requested by Risto Sainio in PR port-hpcmips/37911.
Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
 1.47.22.1 18-Feb-2008  mjf Sync with HEAD.
 1.47.16.1 23-Mar-2008  matt sync with HEAD
 1.48.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.48.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.48.10.3 11-Aug-2010  yamt sync with head.
 1.48.10.2 11-Mar-2010  yamt sync with head
 1.48.10.1 04-May-2009  yamt sync with head.
 1.48.8.1 04-Jun-2008  yamt sync with head
 1.48.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.48.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.48.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.49.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.49.4.1 19-Oct-2008  haad Sync with HEAD.
 1.50.2.2 03-Mar-2009  skrll Sync with HEAD.
 1.50.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.53.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.54.2.3 21-Apr-2011  rmind sync with head
 1.54.2.2 05-Mar-2011  rmind sync with head
 1.54.2.1 30-May-2010  rmind sync with head
 1.56.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.56.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.57.4.3 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.57.4.2 30-Oct-2012  yamt sync with head
 1.57.4.1 17-Apr-2012  yamt sync with head
 1.58.2.1 18-Feb-2012  mrg merge to -current.
 1.59.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.60.2.3 03-Dec-2017  jdolecek update from HEAD
 1.60.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.60.2.1 23-Jun-2013  tls resync from head
 1.65.6.1 10-Aug-2014  tls Rebase.
 1.67.2.1 22-Sep-2015  skrll Sync with HEAD
 1.69.4.1 10-Jun-2019  christos Sync with HEAD
 1.69.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.70.36.1 02-Aug-2025  perseant Sync with HEAD
 1.12 29-Dec-2000  mycroft No reason for this to be checked in any more.
 1.11 27-Sep-2000  shin branches: 1.11.2;
apply 'hpckbd' change.
 1.10 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.9 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.8 26-Mar-2000  mycroft branches: 1.8.2;
Add IPsec.
 1.7 23-Mar-2000  mycroft Add awi.
 1.6 20-Mar-2000  mycroft Need CD9660 now...
 1.5 19-Mar-2000  mycroft Add esp at pcmcia.
 1.4 14-Mar-2000  uch sync with fb->hpcfb, btnmgr changes.
 1.3 25-Feb-2000  mycroft Only pay attention to controller 1 on the pcic. It appears that on this
machine it mirrors (but is not usable as) controller 0.
XXX Need to find a way to detect this automatically.
 1.2 19-Feb-2000  mycroft Enable DDB history.
 1.1 18-Feb-2000  mycroft Somewhat scaled-down config for a WorkPad.
Uses WSEMUL_SUN so I can get multi-line scrolling.
 1.8.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.11.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.11.2.2 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.11.2.1 27-Sep-2000  bouyer file MURUROA was added on branch thorpej_scsipi on 2000-11-20 20:45:43 +0000
 1.20 20-Dec-2000  matt Start using the common mips/conf/Makefile.mips
 1.19 17-Dec-2000  jdolecek delete obsolete comment
 1.18 21-May-2000  soren branches: 1.18.4;
Also share BE ldscripts.
 1.17 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.16 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.15 08-May-2000  uch -G 24 -> -G 20. TX3922 kernel became bigger.
 1.14 25-Mar-2000  uch -G 30 -> -G 24
 1.13 07-Mar-2000  shin add '%INCLUDES'.
 1.12 05-Mar-2000  takemura Change bus_addr_t and bus_size_t from u_int32_t to u_long.
Add -Werror option to kernel Makefile.
 1.11 04-Mar-2000  uch Make it easier to cross-compile with this. moreover.
 1.10 24-Feb-2000  mycroft Make it easier to cross-compile with this.
 1.9 01-Feb-2000  tsutsui Revert STRIPPROG -> STRIP
 1.8 24-Jan-2000  tron Add "dependall" target for comfort.
 1.7 19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.6 13-Jan-2000  shin change '-G 32' to '-G 30' to avoid overflow(TX3912).
 1.5 09-Jan-2000  shin add options for sysinst (memory disk size etc.)
 1.4 01-Jan-2000  shin Change COPTS to "-Os -mmemcpy" for size reduction.
Suggested by Simon Burge.
 1.3 01-Jan-2000  shin compile kernel with
-mips2 -G 32
for size reduction. Suggested by Castor Fu.
 1.2 21-Nov-1999  uch TX3912/3922 support
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.1.1.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.18.4.1 14-Feb-2002  he Apply patch (requested by shin):
Make kernel link by reducing gpsize (-G linker option).
 1.3 15-Apr-2004  tv Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.2 06-Apr-2004  tv Allow the codegen option to be specified in the config file rather than
being fixed at -mips2, by setting "makeoptions MIPSFLAGS".
 1.1 20-Dec-2000  matt branches: 1.1.2; 1.1.26; 1.1.28;
Start using the common mips/conf/Makefile.mips
 1.1.28.2 18-Apr-2004  jmc Pullup rev 1.3 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.1.28.1 07-Apr-2004  jmc Pullup rev 1.2 (requested by tv in ticket #75)

Allow the codegen option to be specified in the config file rather than
being fixed at -mips2, by setting "makeoptions MIPSFLAGS"
 1.1.26.1 03-Aug-2004  skrll Sync with HEAD
 1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.1 20-Dec-2000  bouyer file Makefile.hpcmips.inc was added on branch thorpej_scsipi on 2001-01-05 17:34:17 +0000
 1.2 04-Feb-2001  takemura Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
 1.1 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.24 30-Aug-2015  uebayasi A makeoptions `DEFWARNINGS', forcibly disabling all ${CC} warnings, is only
used by hpcmips's NULLCONF, which doesn't even build for other causes.

If some source doen't build and needs a workaround, that should be deal with
by modifying per-file ${CC} options (e.g. COPTS.foo.c+=-fno-xxx). Let's not
use DEFWARNINGS any longer.
 1.23 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.22 07-Dec-2005  tsutsui branches: 1.22.122; 1.22.142;
Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.21 18-Feb-2005  dsl branches: 1.21.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.20 10-Nov-2004  christos branches: 1.20.4; 1.20.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.19 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.18 15-Apr-2004  tv Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.17 27-Nov-2002  shin branches: 1.17.6; 1.17.8;
comment 'makeoptions DEFGP="-G nn"' to resolve gp-size overflow.
even NULLCONF requires "-G 0".
fix PR kern/19184.
 1.16 22-Jun-2002  ross a "no" token was added recently, so we must now quote any "no" symbols
no => "no"
 1.15 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.14 25-Apr-2002  atatat branches: 1.14.2; 1.14.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.13 26-Jan-2002  takemura Adjusted GP size.
 1.12 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.11 11-Dec-2001  shin compilation fix.
 1.10 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.9 11-Apr-2001  sato branches: 1.9.2; 1.9.8;
opt_vr41x1.h -> opt_vr41xx.h.
add 'options VR41XX' and kill 'options VR41X1'.

add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.

GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
 1.8 27-Sep-2000  shin branches: 1.8.2;
apply 'hpckbd' change.
 1.7 16-Mar-2000  shin add 'makeoptions CWARNFLAGS=""' to override CWARNFLAGS?= -Werror.
 1.6 14-Mar-2000  uch sync with fb->hpcfb, btnmgr changes.
 1.5 12-Feb-2000  shin delete NKMEMCLUSTERS from configuration files.
 1.4 09-Jan-2000  shin add options for sysinst (memory disk size etc.)
 1.3 21-Nov-1999  shin add wscons to compile
 1.2 25-Sep-1999  shin branches: 1.2.2; 1.2.8;
[new options]

options MIPS3_4100 /* VR4100 core */
options MIPS_16K_PAGE /* enable kernel support for 16k pages */
options SOFTFLOAT /* No FPU; avoid touching FPU registers */
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.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.8.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.9.8.7 11-Dec-2002  thorpej Sync with HEAD.
 1.9.8.6 01-Aug-2002  nathanw Catch up to -current.
 1.9.8.5 20-Jun-2002  nathanw Catch up to -current.
 1.9.8.4 28-Feb-2002  nathanw Catch up to -current.
 1.9.8.3 11-Jan-2002  nathanw More catchup.
 1.9.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.9.8.1 11-Apr-2001  nathanw file NULLCONF was added on branch nathanw_sa on 2002-01-08 00:24:57 +0000
 1.9.2.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.9.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.9.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.9.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.4.1 01-Aug-2002  lukem Pull up revision 1.15 (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.14.2.2 16-Jul-2002  gehenna catch up with -current.
 1.14.2.1 14-Jul-2002  gehenna catch up with -current.
 1.17.8.2 15-Jul-2004  he Pull up revision 1.19 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.17.8.1 18-Apr-2004  jmc Pullup rev 1.18 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.17.6.6 11-Dec-2005  christos Sync with head.
 1.17.6.5 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.17.6.4 14-Nov-2004  skrll Sync with HEAD.
 1.17.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.17.6.1 03-Aug-2004  skrll Sync with HEAD
 1.20.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.20.4.1 29-Apr-2005  kent sync with -current
 1.21.6.1 21-Jun-2006  yamt sync with head.
 1.22.142.1 22-Sep-2015  skrll Sync with HEAD
 1.22.122.1 03-Dec-2017  jdolecek update from HEAD
 1.21 23-Nov-2010  hannken Remove unused count from pseudo-device md.
 1.20 06-Feb-2009  jym branches: 1.20.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.19 05-Feb-2006  cube branches: 1.19.72; 1.19.80;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.18 10-Apr-2003  he branches: 1.18.18; 1.18.30; 1.18.32; 1.18.34;
Expand the miniroot by 256KB, so that this builds again.
 1.17 27-Apr-2002  shin * make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
 1.16 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.15 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.14 22-Apr-2001  shin branches: 1.14.2; 1.14.8;
add Serial Line IP (sl).
 1.13 11-Mar-2000  shin branches: 1.13.6;
configure controller 0 only (workaround for phantom PCIC).
 1.12 12-Feb-2000  shin change ramdisk size.
 1.11 21-Jan-2000  shin change miniroot size.
 1.10 09-Jan-2000  shin add options for sysinst (memory disk size etc.)
 1.9 23-Nov-1999  shin RAMDISK = GENERIC + md
 1.8 03-Nov-1999  enami Use tabs to indent.
 1.7 03-Nov-1999  enami Do options<space><tab> magic.
 1.6 30-Oct-1999  uch fix comment.
 1.5 30-Oct-1999  enami remove unnecessary quotation.
 1.4 30-Oct-1999  enami replace tab in ascii figure with space.
 1.3 18-Oct-1999  enami branches: 1.3.2; 1.3.4;
Remove options FIFO and MULTICAST. They aren't optional.
 1.2 25-Sep-1999  shin branches: 1.2.2;
[new options]

options MIPS3_4100 /* VR4100 core */
options MIPS_16K_PAGE /* enable kernel support for 16k pages */
options SOFTFLOAT /* No FPU; avoid touching FPU registers */
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.4.1 15-Nov-1999  fvdl Sync with -current
 1.3.2.2 23-Apr-2001  bouyer Sync with HEAD.
 1.3.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.13.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.14.8.4 20-Jun-2002  nathanw Catch up to -current.
 1.14.8.3 17-Apr-2002  nathanw Catch up to -current.
 1.14.8.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.14.8.1 22-Apr-2001  nathanw file RAMDISK was added on branch nathanw_sa on 2002-04-01 07:40:23 +0000
 1.14.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.14.2.1 16-Mar-2002  jdolecek Catch up with -current.
 1.18.34.1 22-Apr-2006  simonb Sync with head.
 1.18.32.1 09-Sep-2006  rpaulo sync with head
 1.18.30.1 18-Feb-2006  yamt sync with head.
 1.18.18.1 21-Jun-2006  yamt sync with head.
 1.19.80.1 03-Mar-2009  skrll Sync with HEAD.
 1.19.72.1 04-May-2009  yamt sync with head.
 1.20.6.1 05-Mar-2011  rmind sync with head
 1.89 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.88 14-Sep-2017  mrg branches: 1.88.2; 1.88.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.87 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.86 23-Aug-2014  dholland branches: 1.86.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.85 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.84 05-Jun-2013  christos branches: 1.84.6;
remove obsolete networking options
 1.83 27-Apr-2013  christos the bogus number police
 1.82 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.81 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.80 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.79 05-Jun-2012  abs branches: 1.79.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.78 18-Dec-2011  dholland branches: 1.78.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.77 22-Nov-2011  tls branches: 1.77.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.76 06-Mar-2011  bouyer branches: 1.76.4;
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.75 23-Nov-2010  hannken branches: 1.75.2; 1.75.4;
Remove unused count from pseudo-device md.
 1.74 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.73 05-Dec-2009  pooka branches: 1.73.2; 1.73.4;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.72 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.71 31-Jul-2008  simonb branches: 1.71.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.70 30-May-2008  tsutsui branches: 1.70.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.69 30-Jan-2008  tsutsui branches: 1.69.6; 1.69.8; 1.69.10; 1.69.12;
Add options COMPAT_16, COMPAT_20 and COMPAT_30 as well as GENERIC.
Requested by Risto Sainio in PR port-hpcmips/37911.
 1.68 26-Jan-2008  tsutsui Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.

The "-mips2" option seems to imply "-mdivide-traps" and
gcc4 with the option generates "teq" instruction on division ops,
but teq is not supported by TX39xx CPUs.

The problem is reported and the fix (-mdevide-breaks) is
provided by Risto Sainio. Tested on his PenCentra 200,
and also tested on Telios HC-AJ2 by nakayama@.

This should be pulled up to netbsd-4.
 1.67 26-Aug-2006  christos branches: 1.67.6; 1.67.22; 1.67.32; 1.67.38;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.66 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.65 05-Feb-2006  cube branches: 1.65.2; 1.65.4; 1.65.6;
Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.64 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.63 07-Dec-2005  tsutsui branches: 1.63.2; 1.63.4; 1.63.6;
Remove obsolete options VNODE_OP_NOINLINE.
 1.62 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.61 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.60 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.59 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.58 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.57 18-Feb-2005  dsl branches: 1.57.4; 1.57.6;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.56 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.55 10-Nov-2004  christos branches: 1.55.4; 1.55.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.54 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.53 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.52 02-Jul-2004  uch add KLOADER
 1.51 01-Jul-2004  uch fix iochip configuration.
reported by Alexander Frolkin <avf@ox.compsoc.net>
 1.50 15-Apr-2004  tv Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.49 18-Oct-2003  lukem branches: 1.49.2;
Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.48 11-Oct-2003  shin fix typo.
 1.47 08-Oct-2003  bouyer Add atabus
 1.46 10-Apr-2003  christos branches: 1.46.2;
Bye Bye UCONSOLE
 1.45 27-Nov-2002  shin comment 'makeoptions DEFGP="-G nn"' to resolve gp-size overflow.
even NULLCONF requires "-G 0".
fix PR kern/19184.
 1.44 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.43 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.42 25-Apr-2002  atatat branches: 1.42.2; 1.42.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.41 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.40 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.39 10-Mar-2002  lukem * rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
are now consistently named
* fold opt_mdsize.h into opt_md.h
 1.38 29-Jan-2002  uch clean up debug print and configuration.
 1.37 28-Jan-2002  uch decrease sbss,sdata section size.
 1.36 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.35 26-Jan-2002  takemura Adjusted GP size.
 1.34 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.33 21-Nov-2001  uch increase the value of maxusers to 16.
 1.32 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.31 13-Nov-2001  augustss branches: 1.31.2;
The wsmux pseudo device does not need a count anymore.
 1.30 13-Jun-2001  uch branches: 1.30.2;
(TX39) switch from TX local I/O manager to hpcio
 1.29 04-Jan-2001  sato branches: 1.29.2;
adapt resent config_hook.h
 1.28 22-Oct-2000  uch branches: 1.28.2;
new I/O modules framework for TX based system.
 1.27 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.26 27-Sep-2000  shin add 'options VNODE_OP_NOINLINE' to reduce size.
 1.25 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.24 21-Sep-2000  takemura skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.23 29-Jun-2000  shin enable SOFTDEP.
 1.22 14-Jun-2000  veego branches: 1.22.2;
Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
 1.21 08-May-2000  uch branches: 1.21.2;
implement 8bpp CLUT of Plum2, TX3912 video module.
 1.20 04-May-2000  takemura Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.19 02-May-2000  uch forgot to commit TX3912.
 1.18 27-Apr-2000  uch fix comment.
 1.17 25-Apr-2000  uch remove COMPAT_386BSD_MBRPART
remove COMAPT_13, COMPAT_14. hpcmips appears NetBSD 1.5.
 1.16 24-Apr-2000  uch add COMPAT_386BSD_MBRPART
 1.15 09-Apr-2000  uch add rnd, IPV6 etc.
 1.14 25-Mar-2000  uch cosmetic change.
 1.13 13-Mar-2000  uch sync with hpcfb.
 1.12 12-Mar-2000  uch sync with btnmgr change.
 1.11 27-Feb-2000  uch UCB1200 GPIO routines.
 1.10 12-Feb-2000  shin delete NKMEMCLUSTERS from configuration files.
 1.9 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.8 13-Jan-2000  uch TX39 IR module (connected to TX39 UARTB module)
 1.7 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.6 09-Jan-2000  shin add options for sysinst (memory disk size etc.)
 1.5 08-Jan-2000  uch TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
 1.4 07-Jan-2000  uch p7416buf and tc5165buf are merged.
 1.3 12-Dec-1999  uch branches: 1.3.2;
clean up
 1.2 08-Dec-1999  uch sync with skbd.
 1.1 21-Nov-1999  uch TX3912/3922 support
 1.3.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.21.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.22.2.1 18-Jul-2000  shin pullup revision 1.23, approved by thorpej.

- enable SOFTDEP by default.
 1.28.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.28.2.2 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.28.2.1 22-Oct-2000  bouyer file TX3912 was added on branch thorpej_scsipi on 2000-11-20 20:45:45 +0000
 1.29.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.30.2.6 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.30.2.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.30.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 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.31.2.9 11-Dec-2002  thorpej Sync with HEAD.
 1.31.2.8 18-Oct-2002  nathanw Catch up to -current.
 1.31.2.7 20-Jun-2002  nathanw Catch up to -current.
 1.31.2.6 17-Apr-2002  nathanw Catch up to -current.
 1.31.2.5 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.31.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.31.2.3 11-Jan-2002  nathanw More catchup.
 1.31.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.31.2.1 13-Nov-2001  nathanw file TX3912 was added on branch nathanw_sa on 2002-01-08 00:24:57 +0000
 1.42.4.1 01-Aug-2002  lukem Pull up revision 1.43 (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.42.2.1 14-Jul-2002  gehenna catch up with -current.
 1.46.2.8 11-Dec-2005  christos Sync with head.
 1.46.2.7 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.46.2.6 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.46.2.5 04-Feb-2005  skrll Sync with HEAD.
 1.46.2.4 14-Nov-2004  skrll Sync with HEAD.
 1.46.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.46.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.46.2.1 03-Aug-2004  skrll Sync with HEAD
 1.49.2.2 15-Jul-2004  he Pull up revision 1.53 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.49.2.1 18-Apr-2004  jmc Pullup rev 1.50 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.55.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.55.6.1 12-Feb-2005  yamt sync with head.
 1.55.4.1 29-Apr-2005  kent sync with -current
 1.57.6.3 04-Feb-2008  yamt sync with head.
 1.57.6.2 30-Dec-2006  yamt sync with head.
 1.57.6.1 21-Jun-2006  yamt sync with head.
 1.57.4.1 18-Jul-2005  riz Pull up revision 1.58 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.63.6.1 22-Apr-2006  simonb Sync with head.
 1.63.4.1 09-Sep-2006  rpaulo sync with head
 1.63.2.1 18-Feb-2006  yamt sync with head.
 1.65.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.65.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.65.2.2 03-Sep-2006  yamt sync with head.
 1.65.2.1 01-Apr-2006  yamt sync with head.
 1.67.38.1 18-Feb-2008  mjf Sync with HEAD.
 1.67.32.1 23-Mar-2008  matt sync with HEAD
 1.67.22.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.67.6.2 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1066):
sys/arch/hpcmips/conf/MPC303: revision 1.48
sys/arch/hpcmips/conf/LROUTER: revision 1.36
sys/arch/hpcmips/conf/TX3912: revision 1.69
sys/arch/hpcmips/conf/TX3922: revision 1.81
sys/arch/hpcmips/conf/TX3922: revision 1.82
sys/arch/hpcmips/conf/VR41XX: revision 1.43
sys/arch/hpcmips/conf/GENERIC: revision 1.200
Add options COMPAT_16, COMPAT_20 and COMPAT_30 to non-GENERIC kernels.
Requested by Risto Sainio in PR port-hpcmips/37911.
Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
 1.67.6.1 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1065):
sys/arch/mips/mips/locore_mips1.S: revision 1.64
sys/arch/hpcmips/conf/TX3912: revision 1.68
sys/arch/hpcmips/conf/TX3922: revision 1.80
sys/arch/hpcmips/conf/GENERIC: revision 1.199
sys/arch/hpcmips/tx/tx39power.c: revision 1.18
sys/arch/mips/mips/cache_tx39.c: revision 1.6
Make these TX39xx stuff compile without "-mips2" option.
TX39xx has a sync instruction, but it doesn't support all mips2 instructions.
Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.
 1.69.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.69.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.69.10.3 11-Aug-2010  yamt sync with head.
 1.69.10.2 11-Mar-2010  yamt sync with head
 1.69.10.1 04-May-2009  yamt sync with head.
 1.69.8.1 04-Jun-2008  yamt sync with head
 1.69.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.69.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.69.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.70.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.70.4.1 19-Oct-2008  haad Sync with HEAD.
 1.71.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.73.4.3 21-Apr-2011  rmind sync with head
 1.73.4.2 05-Mar-2011  rmind sync with head
 1.73.4.1 30-May-2010  rmind sync with head
 1.73.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.75.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.75.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.76.4.3 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.76.4.2 30-Oct-2012  yamt sync with head
 1.76.4.1 17-Apr-2012  yamt sync with head
 1.77.2.1 18-Feb-2012  mrg merge to -current.
 1.78.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.79.2.3 03-Dec-2017  jdolecek update from HEAD
 1.79.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.79.2.1 23-Jun-2013  tls resync from head
 1.84.6.1 10-Aug-2014  tls Rebase.
 1.86.2.1 22-Sep-2015  skrll Sync with HEAD
 1.88.4.1 10-Jun-2019  christos Sync with HEAD
 1.88.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.112 29-Jun-2021  nia Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
 1.111 16-May-2020  maya branches: 1.111.6;
Remove uyap, USB YAP phone firmware loader.

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

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

Proposed with no objections on netbsd-users on 13 April 2020
 1.110 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.109 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.108 25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.107 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.106 14-Sep-2017  mrg branches: 1.106.2; 1.106.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.105 13-Dec-2016  christos wildcard speaker attachments, now that we can handle many of them.
 1.104 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.103 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.102 19-Mar-2016  gdt branches: 1.102.2;
Disable uscanner in all kernel configs

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

(Compile-tested only, but there are multiple reports of this being the
right approach.)
 1.101 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.100 23-Aug-2014  dholland branches: 1.100.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.99 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.98 05-Jun-2013  christos branches: 1.98.6;
remove obsolete networking options
 1.97 27-Apr-2013  christos the bogus number police
 1.96 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.95 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.94 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.93 05-Jun-2012  abs branches: 1.93.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.92 18-Dec-2011  dholland branches: 1.92.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.91 22-Nov-2011  tls branches: 1.91.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.90 06-Mar-2011  bouyer branches: 1.90.4;
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.89 23-Nov-2010  hannken branches: 1.89.2; 1.89.4;
Remove unused count from pseudo-device md.
 1.88 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.87 07-Mar-2010  plunky branches: 1.87.2;
add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels
 1.86 05-Dec-2009  pooka branches: 1.86.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.85 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.84 31-Jul-2008  simonb branches: 1.84.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.83 30-May-2008  tsutsui branches: 1.83.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.82 30-Jan-2008  tsutsui branches: 1.82.6; 1.82.8; 1.82.10; 1.82.12;
Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
 1.81 30-Jan-2008  tsutsui Add options COMPAT_16, COMPAT_20 and COMPAT_30 as well as GENERIC.
Requested by Risto Sainio in PR port-hpcmips/37911.
 1.80 26-Jan-2008  tsutsui Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.

The "-mips2" option seems to imply "-mdivide-traps" and
gcc4 with the option generates "teq" instruction on division ops,
but teq is not supported by TX39xx CPUs.

The problem is reported and the fix (-mdevide-breaks) is
provided by Risto Sainio. Tested on his PenCentra 200,
and also tested on Telios HC-AJ2 by nakayama@.

This should be pulled up to netbsd-4.
 1.79 14-Mar-2007  drochner branches: 1.79.16; 1.79.22;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.78 26-Aug-2006  christos branches: 1.78.6; 1.78.8; 1.78.12; 1.78.14; 1.78.16;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.77 14-Aug-2006  skrll s/adpater/adapter/

Prompted by PR/34195
 1.76 26-Jul-2006  cube Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
already an attachment to the interface attribute (atapi and scsi).

Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
 1.75 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.74 22-Feb-2006  hira branches: 1.74.2; 1.74.4; 1.74.6;
Fix typo (Prolofic -> Prolific).
 1.73 05-Feb-2006  cube Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.72 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.71 07-Dec-2005  tsutsui branches: 1.71.2; 1.71.4; 1.71.6;
Remove obsolete options VNODE_OP_NOINLINE.
 1.70 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.69 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.68 05-Aug-2005  skrll Add (commented out) ucycom to various kernel configs.
 1.67 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.66 30-Jul-2005  nakayama Add LCD and battery control support for Sharp Telios series.
 1.65 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.64 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.63 15-Apr-2005  itohy branches: 1.63.2;
Add ukyopon(4).
 1.62 18-Feb-2005  dsl branches: 1.62.4;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.61 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.60 10-Nov-2004  christos branches: 1.60.4; 1.60.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.59 23-Oct-2004  augustss s/uax/axe/
 1.58 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.57 13-Aug-2004  uch use HCAJ, HCVJ group instead of HCAJ1, HCVJ1C_JP
 1.56 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.55 02-Jul-2004  uch add KLOADER
 1.54 01-Jul-2004  uch fix iochip configuration.
reported by Alexander Frolkin <avf@ox.compsoc.net>
 1.53 15-Apr-2004  tv Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.52 25-Oct-2003  mycroft branches: 1.52.2;
Fix atapibus definition.
 1.51 18-Oct-2003  lukem Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.50 08-Oct-2003  bouyer Add atabus
 1.49 10-Apr-2003  christos branches: 1.49.2;
Bye Bye UCONSOLE
 1.48 16-Feb-2003  augustss Add uax(4) (and url(4) in some cases).
 1.47 27-Nov-2002  shin comment 'makeoptions DEFGP="-G nn"' to resolve gp-size overflow.
even NULLCONF requires "-G 0".
fix PR kern/19184.
 1.46 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.45 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.44 25-Apr-2002  atatat branches: 1.44.2; 1.44.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.43 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.42 10-Feb-2002  wiz Update description for icsphy.
 1.41 29-Jan-2002  uch clean up debug print and configuration.
 1.40 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.39 26-Jan-2002  takemura Adjusted GP size.
 1.38 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.37 28-Dec-2001  augustss Update for new uhidev device attachment.
 1.36 21-Nov-2001  uch increase the value of maxusers to 16.
 1.35 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.34 13-Nov-2001  augustss branches: 1.34.2;
The wsmux pseudo device does not need a count anymore.
 1.33 14-Jun-2001  uch branches: 1.33.2;
fix hpcio configuration.
 1.32 13-Jun-2001  uch (TX39) switch from TX local I/O manager to hpcio
 1.31 16-Jan-2001  augustss branches: 1.31.2;
Add uyap.
 1.30 04-Jan-2001  sato add missing evtype.
 1.29 14-Nov-2000  augustss branches: 1.29.2;
Add uscanner.
 1.28 22-Oct-2000  uch new I/O modules framework for TX based system.
 1.27 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.26 27-Sep-2000  shin add 'options VNODE_OP_NOINLINE' to reduce size.
 1.25 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.24 21-Sep-2000  takemura skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.23 29-Jun-2000  shin enable SOFTDEP.
 1.22 14-Jun-2000  veego branches: 1.22.2;
Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
 1.21 08-May-2000  uch branches: 1.21.2;
implement 8bpp CLUT of Plum2, TX3912 video module.
 1.20 08-May-2000  augustss Add (sometimes commented out) MIIVERBOSE option.
 1.19 04-May-2000  takemura Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.18 02-May-2000  uch add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
 1.17 27-Apr-2000  uch fix comment.
 1.16 25-Apr-2000  uch remove COMPAT_386BSD_MBRPART
remove COMAPT_13, COMPAT_14. hpcmips appears NetBSD 1.5.
 1.15 24-Apr-2000  uch add COMPAT_386BSD_MBRPART
 1.14 10-Apr-2000  uch comment out SOFTDEP
add upl, uvisor.
 1.13 09-Apr-2000  uch add rnd, IPV6 etc.
 1.12 03-Apr-2000  augustss Add atapibus* at umass?
 1.11 25-Mar-2000  uch TOSHIBA TC6358TB(PLUM2) OHCI module support.
 1.10 13-Mar-2000  uch sync with hpcfb.
 1.9 12-Mar-2000  uch sync with btnmgr change.
 1.8 11-Mar-2000  shin configure controller 0 only (workaround for phantom PCIC).
 1.7 04-Mar-2000  uch sync with my latest.
 1.6 12-Feb-2000  shin delete NKMEMCLUSTERS from configuration files.
 1.5 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.4 09-Jan-2000  shin add options for sysinst (memory disk size etc.)
 1.3 12-Dec-1999  uch branches: 1.3.2;
Telios keyboard support.
 1.2 08-Dec-1999  uch sync with skbd.
 1.1 21-Nov-1999  uch TX3912/3922 support
 1.3.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.21.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.22.2.1 18-Jul-2000  shin pullup revision 1.23, approved by thorpej.

- enable SOFTDEP by default.
 1.29.2.5 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.29.2.4 05-Jan-2001  bouyer Sync with HEAD
 1.29.2.3 22-Nov-2000  bouyer Sync with HEAD.
 1.29.2.2 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.29.2.1 14-Nov-2000  bouyer file TX3922 was added on branch thorpej_scsipi on 2000-11-20 20:45:45 +0000
 1.31.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.33.2.6 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.33.2.5 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.33.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.33.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.33.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.33.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.34.2.8 11-Dec-2002  thorpej Sync with HEAD.
 1.34.2.7 18-Oct-2002  nathanw Catch up to -current.
 1.34.2.6 20-Jun-2002  nathanw Catch up to -current.
 1.34.2.5 17-Apr-2002  nathanw Catch up to -current.
 1.34.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.34.2.3 11-Jan-2002  nathanw More catchup.
 1.34.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.34.2.1 13-Nov-2001  nathanw file TX3922 was added on branch nathanw_sa on 2002-01-08 00:24:57 +0000
 1.44.4.2 26-Oct-2005  jmc Pullup (via patch) requested in ticket #5754 by itohy

Provide a backport for ukyopon(4) and pullup umodem(4) updates.
 1.44.4.1 01-Aug-2002  lukem Pull up revision 1.45 (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.44.2.1 14-Jul-2002  gehenna catch up with -current.
 1.49.2.10 11-Dec-2005  christos Sync with head.
 1.49.2.9 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.49.2.8 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.49.2.7 04-Feb-2005  skrll Sync with HEAD.
 1.49.2.6 14-Nov-2004  skrll Sync with HEAD.
 1.49.2.5 02-Nov-2004  skrll Sync with HEAD.
 1.49.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.49.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.49.2.2 25-Aug-2004  skrll Sync with HEAD.
 1.49.2.1 03-Aug-2004  skrll Sync with HEAD
 1.52.2.2 15-Jul-2004  he branches: 1.52.2.2.2;
Pull up revision 1.56 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.52.2.1 18-Apr-2004  jmc Pullup rev 1.53 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.52.2.2.2.1 21-Jul-2005  riz Pull up revision 1.63 (requested by itohy in ticket #1430):
Add ukyopon(4).
 1.60.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.60.6.1 12-Feb-2005  yamt sync with head.
 1.60.4.1 29-Apr-2005  kent sync with -current
 1.62.4.3 04-Aug-2005  tron Pull up revision 1.66 (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.62.4.2 18-Jul-2005  riz Pull up revision 1.64 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.62.4.1 17-Apr-2005  tron Pull up revision 1.63 (requested by itohy in ticket #160):
Add ukyopon(4).
 1.63.2.4 04-Feb-2008  yamt sync with head.
 1.63.2.3 03-Sep-2007  yamt sync with head.
 1.63.2.2 30-Dec-2006  yamt sync with head.
 1.63.2.1 21-Jun-2006  yamt sync with head.
 1.71.6.1 22-Apr-2006  simonb Sync with head.
 1.71.4.1 09-Sep-2006  rpaulo sync with head
 1.71.2.2 01-Mar-2006  yamt sync with head.
 1.71.2.1 18-Feb-2006  yamt sync with head.
 1.74.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.74.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.74.2.3 03-Sep-2006  yamt sync with head.
 1.74.2.2 11-Aug-2006  yamt sync with head
 1.74.2.1 01-Apr-2006  yamt sync with head.
 1.78.16.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.78.14.1 11-Jul-2007  mjf Sync with head.
 1.78.12.1 10-Apr-2007  ad Sync with head.
 1.78.8.1 24-Mar-2007  yamt sync with head.
 1.78.6.2 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1066):
sys/arch/hpcmips/conf/MPC303: revision 1.48
sys/arch/hpcmips/conf/LROUTER: revision 1.36
sys/arch/hpcmips/conf/TX3912: revision 1.69
sys/arch/hpcmips/conf/TX3922: revision 1.81
sys/arch/hpcmips/conf/TX3922: revision 1.82
sys/arch/hpcmips/conf/VR41XX: revision 1.43
sys/arch/hpcmips/conf/GENERIC: revision 1.200
Add options COMPAT_16, COMPAT_20 and COMPAT_30 to non-GENERIC kernels.
Requested by Risto Sainio in PR port-hpcmips/37911.
Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
 1.78.6.1 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1065):
sys/arch/mips/mips/locore_mips1.S: revision 1.64
sys/arch/hpcmips/conf/TX3912: revision 1.68
sys/arch/hpcmips/conf/TX3922: revision 1.80
sys/arch/hpcmips/conf/GENERIC: revision 1.199
sys/arch/hpcmips/tx/tx39power.c: revision 1.18
sys/arch/mips/mips/cache_tx39.c: revision 1.6
Make these TX39xx stuff compile without "-mips2" option.
TX39xx has a sync instruction, but it doesn't support all mips2 instructions.
Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.
 1.79.22.1 18-Feb-2008  mjf Sync with HEAD.
 1.79.16.1 23-Mar-2008  matt sync with HEAD
 1.82.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.82.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.82.10.3 11-Aug-2010  yamt sync with head.
 1.82.10.2 11-Mar-2010  yamt sync with head
 1.82.10.1 04-May-2009  yamt sync with head.
 1.82.8.1 04-Jun-2008  yamt sync with head
 1.82.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.82.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.82.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.83.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.83.4.1 19-Oct-2008  haad Sync with HEAD.
 1.84.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.86.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.87.2.3 21-Apr-2011  rmind sync with head
 1.87.2.2 05-Mar-2011  rmind sync with head
 1.87.2.1 30-May-2010  rmind sync with head
 1.89.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.89.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.90.4.3 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.90.4.2 30-Oct-2012  yamt sync with head
 1.90.4.1 17-Apr-2012  yamt sync with head
 1.91.2.1 18-Feb-2012  mrg merge to -current.
 1.92.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.93.2.3 03-Dec-2017  jdolecek update from HEAD
 1.93.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.93.2.1 23-Jun-2013  tls resync from head
 1.98.6.1 10-Aug-2014  tls Rebase.
 1.100.2.3 05-Feb-2017  skrll Sync with HEAD
 1.100.2.2 22-Apr-2016  skrll Sync with HEAD
 1.100.2.1 22-Sep-2015  skrll Sync with HEAD
 1.102.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.106.4.1 10-Jun-2019  christos Sync with HEAD
 1.106.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.111.6.1 01-Aug-2021  thorpej Sync with HEAD.
 1.77 09-Sep-2023  andvar add "midi* at midibus?" to hpmips VR41XX kernel config.
it is needed for umidi to build and makes this config to build as well.
 1.76 29-Jun-2021  nia Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
 1.75 16-May-2020  maya branches: 1.75.6;
Remove uyap, USB YAP phone firmware loader.

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

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

Proposed with no objections on netbsd-users on 13 April 2020
 1.74 29-Jan-2020  maya remove urio(4), a driver for the Rio500 MP3 player.

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

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

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

Proposed on tech-kern a month ago.
 1.73 13-Apr-2019  isaki branches: 1.73.6;
Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.72 06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.71 25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.70 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.69 14-Sep-2017  mrg branches: 1.69.2; 1.69.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.68 13-Dec-2016  christos wildcard speaker attachments, now that we can handle many of them.
 1.67 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.66 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.65 19-Mar-2016  gdt branches: 1.65.2;
Disable uscanner in all kernel configs

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

(Compile-tested only, but there are multiple reports of this being the
right approach.)
 1.64 21-Aug-2015  uebayasi Add `pseudo-device ksyms' where `options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
 1.63 23-Aug-2014  dholland branches: 1.63.2;
Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
 1.62 20-Jul-2014  alnsn Add commented out bpfjit options to mips kernels.
While here, add 2 missing RCS ids.
 1.61 30-Jun-2013  rmind branches: 1.61.4;
G/C PFIL_HOOKS from the kernel configs.
 1.60 05-Jun-2013  christos branches: 1.60.2;
remove obsolete networking options
 1.59 27-Apr-2013  christos the bogus number police
 1.58 27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.57 02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.56 01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.55 05-Jun-2012  abs branches: 1.55.2;
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.54 18-Dec-2011  dholland branches: 1.54.2;
WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.53 22-Nov-2011  tls branches: 1.53.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.52 06-Mar-2011  bouyer branches: 1.52.4;
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.51 23-Nov-2010  hannken branches: 1.51.2; 1.51.4;
Remove unused count from pseudo-device md.
 1.50 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.49 16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.48 07-Mar-2010  plunky branches: 1.48.2;
add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels
 1.47 05-Dec-2009  pooka branches: 1.47.2;
Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.
 1.46 24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.45 31-Jul-2008  simonb branches: 1.45.2;
Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.44 30-May-2008  tsutsui branches: 1.44.4;
Add options COMPAT_40 to files which have options COMPAT_30.
 1.43 30-Jan-2008  tsutsui branches: 1.43.6; 1.43.8; 1.43.10; 1.43.12;
Add options COMPAT_16, COMPAT_20 and COMPAT_30 as well as GENERIC.
Requested by Risto Sainio in PR port-hpcmips/37911.
 1.42 14-Mar-2007  drochner branches: 1.42.16; 1.42.22;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
 1.41 26-Aug-2006  christos branches: 1.41.6; 1.41.8; 1.41.12; 1.41.14; 1.41.16;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.40 14-Aug-2006  skrll s/adpater/adapter/

Prompted by PR/34195
 1.39 26-Jul-2006  cube Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
already an attachment to the interface attribute (atapi and scsi).

Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
 1.38 28-Mar-2006  pavel Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
 1.37 28-Mar-2006  tsutsui Fix isaportoffset for SHARP_TRIPAD and VADEM_CLIO_C.
Patch from Matthew Orgass on port-hpcmips, as part of PR port-hpcmips/28228.
 1.36 22-Feb-2006  hira branches: 1.36.2; 1.36.4; 1.36.6;
Fix typo (Prolofic -> Prolific).
 1.35 05-Feb-2006  cube Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
 1.34 04-Feb-2006  rpaulo bpfilter doesn't accept count anymore.
 1.33 07-Dec-2005  tsutsui branches: 1.33.2; 1.33.4; 1.33.6;
Remove obsolete options VNODE_OP_NOINLINE.
 1.32 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.31 11-Sep-2005  chs fix typo.
 1.30 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.29 05-Aug-2005  skrll Add (commented out) ucycom to various kernel configs.
 1.28 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.27 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.26 07-Jul-2005  tron Add (commented out) IPSEC_NAT_T option.
 1.25 15-Apr-2005  itohy branches: 1.25.2;
Add ukyopon(4).
 1.24 18-Feb-2005  dsl branches: 1.24.4;
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.23 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.22 10-Nov-2004  christos branches: 1.22.4; 1.22.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.21 23-Oct-2004  augustss s/uax/axe/
 1.20 04-Sep-2004  manu IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
 1.19 15-Jul-2004  atatat Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.18 15-Apr-2004  tv Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.17 03-Apr-2004  sato enable speaker port 12 for NEC MCCS series.
reported by http://www.jp.netbsd.org/ja/JP/ml/port-hpcmips-ja/200207/msg00078.html.
 1.16 27-Dec-2003  shin branches: 1.16.2;
Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags.
Addresses PR/23653.
 1.15 18-Oct-2003  lukem Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
 1.14 08-Oct-2003  bouyer Add atabus
 1.13 10-Apr-2003  christos branches: 1.13.2;
Bye Bye UCONSOLE
 1.12 16-Feb-2003  augustss Add uax(4) (and url(4) in some cases).
 1.11 27-Nov-2002  shin comment 'makeoptions DEFGP="-G nn"' to resolve gp-size overflow.
even NULLCONF requires "-G 0".
fix PR kern/19184.
 1.10 18-Sep-2002  lukem enable USERCONF by default; it's small and extremely useful to have available.
 1.9 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.8 25-Apr-2002  atatat branches: 1.8.2; 1.8.4;
Add the INCLUDE_CONFIG_FILE option to all config files. In config
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
 1.7 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.6 05-Mar-2002  simonb Remove HPCMIPS_FLUSHCACHE_XXX debug code.
 1.5 28-Feb-2002  uch Catch up with the latest vrip changes.
 1.4 29-Jan-2002  uch clean up debug print and configuration.
 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 26-Jan-2002  takemura Adjusted GP size.
 1.1 02-Jan-2002  uch branches: 1.1.2; 1.1.4;
VR41XX/TX3922 common kernel.
 1.1.4.7 11-Dec-2002  thorpej Sync with HEAD.
 1.1.4.6 18-Oct-2002  nathanw Catch up to -current.
 1.1.4.5 20-Jun-2002  nathanw Catch up to -current.
 1.1.4.4 17-Apr-2002  nathanw Catch up to -current.
 1.1.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.2 11-Jan-2002  nathanw More catchup.
 1.1.4.1 02-Jan-2002  nathanw file VR41XX was added on branch nathanw_sa on 2002-01-11 23:38:23 +0000
 1.1.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.1.2.6 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 02-Jan-2002  thorpej file VR41XX was added on branch kqueue on 2002-01-10 19:43:45 +0000
 1.8.4.3 26-Oct-2005  jmc Pullup (via patch) requested in ticket #5754 by itohy

Provide a backport for ukyopon(4) and pullup umodem(4) updates.
 1.8.4.2 12-Mar-2004  jmc Pullup rev 1.16 (requested by shin in ticket #1586)

Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags.
 1.8.4.1 01-Aug-2002  lukem Pull up revision 1.9 (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.8.2.1 14-Jul-2002  gehenna catch up with -current.
 1.13.2.9 11-Dec-2005  christos Sync with head.
 1.13.2.8 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.13.2.7 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.13.2.6 04-Feb-2005  skrll Sync with HEAD.
 1.13.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.13.2.4 02-Nov-2004  skrll Sync with HEAD.
 1.13.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1 03-Aug-2004  skrll Sync with HEAD
 1.16.2.2 15-Jul-2004  he branches: 1.16.2.2.2;
Pull up revision 1.19 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.16.2.1 18-Apr-2004  jmc Pullup rev 1.18 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.16.2.2.2.1 21-Jul-2005  riz Pull up revision 1.25 (requested by itohy in ticket #1430):
Add ukyopon(4).
 1.22.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.22.6.1 12-Feb-2005  yamt sync with head.
 1.22.4.1 29-Apr-2005  kent sync with -current
 1.24.4.2 18-Jul-2005  riz Pull up revision 1.26 (requested by tron in ticket #566):
Add (commented out) IPSEC_NAT_T option.
 1.24.4.1 17-Apr-2005  tron Pull up revision 1.25 (requested by itohy in ticket #160):
Add ukyopon(4).
 1.25.2.4 04-Feb-2008  yamt sync with head.
 1.25.2.3 03-Sep-2007  yamt sync with head.
 1.25.2.2 30-Dec-2006  yamt sync with head.
 1.25.2.1 21-Jun-2006  yamt sync with head.
 1.33.6.1 22-Apr-2006  simonb Sync with head.
 1.33.4.1 09-Sep-2006  rpaulo sync with head
 1.33.2.2 01-Mar-2006  yamt sync with head.
 1.33.2.1 18-Feb-2006  yamt sync with head.
 1.36.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.36.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.36.2.3 03-Sep-2006  yamt sync with head.
 1.36.2.2 11-Aug-2006  yamt sync with head
 1.36.2.1 01-Apr-2006  yamt sync with head.
 1.41.16.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.41.14.1 11-Jul-2007  mjf Sync with head.
 1.41.12.1 10-Apr-2007  ad Sync with head.
 1.41.8.1 24-Mar-2007  yamt sync with head.
 1.41.6.1 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1066):
sys/arch/hpcmips/conf/MPC303: revision 1.48
sys/arch/hpcmips/conf/LROUTER: revision 1.36
sys/arch/hpcmips/conf/TX3912: revision 1.69
sys/arch/hpcmips/conf/TX3922: revision 1.81
sys/arch/hpcmips/conf/TX3922: revision 1.82
sys/arch/hpcmips/conf/VR41XX: revision 1.43
sys/arch/hpcmips/conf/GENERIC: revision 1.200
Add options COMPAT_16, COMPAT_20 and COMPAT_30 to non-GENERIC kernels.
Requested by Risto Sainio in PR port-hpcmips/37911.
Add a definition for Fujitsu PenCentra 200 and enable wsmouse at ucbtp.
Tested and requested by Risto Sainio.
 1.42.22.1 18-Feb-2008  mjf Sync with HEAD.
 1.42.16.1 23-Mar-2008  matt sync with HEAD
 1.43.12.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.43.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.43.10.3 11-Aug-2010  yamt sync with head.
 1.43.10.2 11-Mar-2010  yamt sync with head
 1.43.10.1 04-May-2009  yamt sync with head.
 1.43.8.1 04-Jun-2008  yamt sync with head
 1.43.6.3 17-Jan-2009  mjf Sync with HEAD.
 1.43.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.43.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.44.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.44.4.1 19-Oct-2008  haad Sync with HEAD.
 1.45.2.1 19-Jan-2009  skrll Sync with HEAD.
 1.47.2.2 17-Aug-2010  uebayasi Sync with HEAD.
 1.47.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.48.2.3 21-Apr-2011  rmind sync with head
 1.48.2.2 05-Mar-2011  rmind sync with head
 1.48.2.1 30-May-2010  rmind sync with head
 1.51.4.1 08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.51.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.52.4.3 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.52.4.2 30-Oct-2012  yamt sync with head
 1.52.4.1 17-Apr-2012  yamt sync with head
 1.53.2.1 18-Feb-2012  mrg merge to -current.
 1.54.2.1 12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
 1.55.2.3 03-Dec-2017  jdolecek update from HEAD
 1.55.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.55.2.1 23-Jun-2013  tls resync from head
 1.60.2.1 28-Aug-2013  rmind sync with head
 1.61.4.1 10-Aug-2014  tls Rebase.
 1.63.2.3 05-Feb-2017  skrll Sync with HEAD
 1.63.2.2 22-Apr-2016  skrll Sync with HEAD
 1.63.2.1 22-Sep-2015  skrll Sync with HEAD
 1.65.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.69.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.69.4.1 10-Jun-2019  christos Sync with HEAD
 1.69.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.73.6.1 29-Feb-2020  ad Sync with head.
 1.75.6.1 01-Aug-2021  thorpej Sync with HEAD.
 1.110 23-May-2022  andvar s/controll/control/ in comments.
 1.109 21-Aug-2019  msaitoh Fix typo (s/contoller/controller/).
 1.108 20-Jul-2014  alnsn branches: 1.108.28;
Include sljit files.
 1.107 02-Oct-2012  christos branches: 1.107.10;
move common/bus_dma/ -> dev/bus_dma/
 1.106 24-Aug-2011  dyoung branches: 1.106.2; 1.106.12;
Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.
 1.105 16-Mar-2011  tsutsui Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU. Compile test only.
 1.104 02-Mar-2011  ahoka Resolve build failures caused by local use of "device flash" in config.
 1.103 21-Aug-2009  thorpej branches: 1.103.4; 1.103.6; 1.103.8;
Use bus_dmamem_common.
 1.102 20-Feb-2008  drochner branches: 1.102.10;
Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.101 10-Apr-2007  macallan branches: 1.101.14;
include files.wsfb
 1.100 24-Feb-2006  cube branches: 1.100.20; 1.100.24; 1.100.26;
Rework hpcapm(4) attachment definition so it is not required to attach at
mainbus, and convert its two users, hpcsh and hpcmips, to that.

Many thanks to Valeriy Ushakov and Ben Collver for testing.
 1.99 11-Dec-2005  christos branches: 1.99.2; 1.99.4; 1.99.6;
merge ktrace-lwp.
 1.98 30-Jul-2005  nakayama Add LCD and battery control support for Sharp Telios series.
 1.97 04-May-2005  hamajima branches: 1.97.2;
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.96 06-Jul-2004  uch branches: 1.96.10;
MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
 1.95 03-Jul-2004  uch hpcmips independent hpcapm part are moved to sys/dev/hpc/
hpcmips dependend part is separated to sys/arch/hpcmips/hpcapm_machdep.c
 1.94 28-May-2004  tsarna Refactor tpcalib and hpc* ports to make tpcalib MI, as discussed on tech-kern.
 1.93 25-Mar-2004  wiz branches: 1.93.4;
Backout previous -- this is not enough, config needs to be taught
how to reach partitions above h. Noted by Simon Burge, related to
PR 24905.
 1.92 25-Mar-2004  wiz Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
Addresses PR 24905 by Simon Burge.
 1.91 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.90 01-May-2003  igy branches: 1.90.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.89 15-Dec-2002  takemura Added Vrc4173PIU. (touch panel interface unit on Vrc4173)
 1.88 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.87 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.86 30-May-2002  greg Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
 1.85 11-May-2002  takemura branches: 1.85.2; 1.85.4;
BUGFIX: Xhpc dumps core on SigmarionII.
Attached MQ200 video controller at PCI bus.
 1.84 03-May-2002  takemura Enabled USB support for MC-R700.
 1.83 27-Apr-2002  shin * make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
 1.82 22-Apr-2002  augustss Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
 1.81 16-Apr-2002  thorpej * Move the mii_bitbang attribute into dev/mii/files.mii
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.
 1.80 23-Mar-2002  hamajima add VR4121 Audio Interface Unit
 1.79 22-Mar-2002  takemura Added Vrc4172 USB OHCI for Pencentra 130.
 1.78 13-Mar-2002  simonb All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
 1.77 10-Mar-2002  takemura Attached vrkiu at vrc4173bcu.
 1.76 06-Mar-2002  uch remove ite8181video's bivideo dependency.
 1.75 05-Mar-2002  simonb mips/mips/fp.S is in mips/conf/files.mips now.
 1.74 13-Feb-2002  uch add LCD debug routines.
 1.73 11-Feb-2002  takemura Added vr4122ip.
 1.72 11-Feb-2002  takemura Added vr4102ip.
 1.71 11-Feb-2002  takemura Added DMA Address unit and DMA Control unit. (not tested)
 1.70 10-Feb-2002  takemura Fixed locater id -> platform.
 1.69 29-Jan-2002  uch hpcmips support of kloader.
 1.68 27-Jan-2002  takemura Added vripif.
 1.67 26-Jan-2002  takemura Straightened vripvar.h
 1.66 04-Jan-2002  takemura Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
 1.65 23-Dec-2001  takemura Added SigmarionII serial port support.
(console onlty, interrupt is not supported)
 1.64 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.63 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.62 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.61 17-Sep-2001  uch branches: 1.61.4;
clean up "mainbus" related code.
 1.60 05-Sep-2001  sato branches: 1.60.2;
add option VR4131
 1.59 13-Jun-2001  uch branches: 1.59.2;
(TX39) switch from TX local I/O manager to hpcio
 1.58 13-Jun-2001  enami Add minimal support for vr4122/vrc4173 pci.
 1.57 13-Jun-2001  enami Generic softintr for hpcmips.
 1.56 06-May-2001  takemura Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
 1.55 30-Apr-2001  takemura Machine independent GPIO interface.
 1.54 11-Apr-2001  sato opt_vr41x1.h -> opt_vr41xx.h.
add 'options VR41XX' and kill 'options VR41X1'.

add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.

GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
 1.53 25-Mar-2001  takemura Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.52 26-Feb-2001  sato branches: 1.52.2;
register vrc4172pwm driver for MC/R530 etc..
 1.51 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.50 21-Feb-2001  uch hpc* common disksubr.c
 1.49 09-Feb-2001  uch sync with bicons change.
 1.48 05-Feb-2001  uch sync with platid_gen change.
 1.47 04-Feb-2001  takemura Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
 1.46 28-Jan-2001  uch Switch to MI md_root.c.
 1.45 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.44 21-Jan-2001  takemura Use rasops with 4bit depth.
 1.43 17-Jan-2001  fvdl 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.42 22-Oct-2000  uch new I/O modules framework for TX based system.
 1.41 17-Oct-2000  sato add new keyword "initvalue" on pwctl device.
if "initvalue 0", set the port initialy "off".
if "initvalue 1", set the port initialy "on".
otherwise keep initial value.
 1.40 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.39 03-Oct-2000  sato vr41xx LED unit driver.
 1.38 02-Oct-2000  sato experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak,
 1.37 21-Sep-2000  takemura skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.36 30-Jul-2000  takemura Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.)
 1.35 22-Jul-2000  takemura Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.34 02-Jul-2000  takemura Experimental APM compatible power management.
 1.33 11-Jun-2000  matt branches: 1.33.2;
Add latent entry for ochi usb devices on NEC MobilePro 800.
 1.32 08-May-2000  uch branches: 1.32.2;
implement 8bpp CLUT of Plum2, TX3912 video module.
 1.31 04-May-2000  takemura Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.30 02-May-2000  uch add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
 1.29 25-Mar-2000  uch TOSHIBA TC6358TB(PLUM2) OHCI module support.
 1.28 20-Mar-2000  takemura Built in video supports get/set color map.
 1.27 13-Mar-2000  uch no longer required.
 1.26 12-Mar-2000  takemura Change btnmgr to wskbd device from pseudo device.
 1.25 12-Mar-2000  takemura New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.24 05-Mar-2000  takemura Delete #ifdef USE_RASTERCONS lines, which are not used.
 1.23 03-Mar-2000  uch add device file interface for UCB1200
 1.22 27-Feb-2000  uch UCB1200 GPIO routines.
 1.21 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.20 28-Jan-2000  takemura CPU specific idle hook and VR idle routine.
 1.19 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.18 13-Jan-2000  uch TX39 IR module (connected to TX39 UARTB module)
 1.17 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.16 10-Jan-2000  takemura WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support.
 1.15 09-Jan-2000  shin add options for sysinst (memory disk size etc.)
 1.14 07-Jan-2000  uch p7416buf and tc5165buf are merged.
 1.13 28-Dec-1999  takemura VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
 1.12 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.11 12-Dec-1999  uch add Telios keyboard (tc5165buf) information.
 1.10 09-Dec-1999  sato - tail \n
- add needs-flag for vrbcu & vrpmu.
 1.9 08-Dec-1999  uch sync with skbd.
 1.8 04-Dec-1999  takemura You can push power key to reboot when halt in vr_reboot.
 1.7 28-Nov-1999  takemura Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.6 21-Nov-1999  uch TX3912/3922 support
 1.5 04-Nov-1999  takemura Move consinit() from findcons.c to machdep.c and remove file 'findcons.c.
Modify kernel boot options.
 1.4 03-Nov-1999  shin add rasops15, rasops16 to fb
 1.3 02-Nov-1999  takemura Wsdisplay use small font, VT220 8x10.
 1.2 24-Oct-1999  takemura Wsdisplay and wskbd are supported as a console device.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.6 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.2.5 27-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.1.1.1.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.32.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.33.2.1 06-Aug-2000  takemura Pull up revision 1.36 (requested by takemura)

Add apmdev, hpcapm and mq200video.
 1.52.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.52.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.59.2.6 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.59.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.59.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.59.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.59.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.59.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.60.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.61.4.9 19-Dec-2002  thorpej Sync with HEAD.
 1.61.4.8 11-Nov-2002  nathanw Catch up to -current
 1.61.4.7 17-Sep-2002  nathanw Catch up to -current.
 1.61.4.6 20-Jun-2002  nathanw Catch up to -current.
 1.61.4.5 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.61.4.4 28-Feb-2002  nathanw Catch up to -current.
 1.61.4.3 11-Jan-2002  nathanw More catchup.
 1.61.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.61.4.1 17-Sep-2001  nathanw file files.hpcmips was added on branch nathanw_sa on 2002-01-08 00:24:58 +0000
 1.85.4.1 30-May-2002  tv Pull up revision 1.86 (requested by greg in ticket #77):
Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
 1.85.2.3 30-May-2002  gehenna Catch up with -current.
 1.85.2.2 17-May-2002  gehenna Remove old block majors list.
 1.85.2.1 16-May-2002  gehenna Include the list of block/character major numbers.
 1.90.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.90.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.90.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.90.2.1 03-Aug-2004  skrll Sync with HEAD
 1.93.4.1 16-May-2005  riz Pull up revision 1.97 (requested by hamajima in ticket #1500):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.96.10.2 04-Aug-2005  tron Pull up revision 1.98 (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.96.10.1 07-May-2005  tron Pull up revision 1.97 (requested by hamajima in ticket #247):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.97.2.3 27-Feb-2008  yamt sync with head.
 1.97.2.2 03-Sep-2007  yamt sync with head.
 1.97.2.1 21-Jun-2006  yamt sync with head.
 1.99.6.1 22-Apr-2006  simonb Sync with head.
 1.99.4.1 09-Sep-2006  rpaulo sync with head
 1.99.2.1 01-Mar-2006  yamt sync with head.
 1.100.26.1 11-Jul-2007  mjf Sync with head.
 1.100.24.1 10-Apr-2007  ad Sync with head.
 1.100.20.1 15-Apr-2007  yamt sync with head.
 1.101.14.1 23-Mar-2008  matt sync with HEAD
 1.102.10.1 16-Sep-2009  yamt sync with head
 1.103.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.103.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.103.4.2 21-Apr-2011  rmind sync with head
 1.103.4.1 05-Mar-2011  rmind sync with head
 1.106.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.106.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.106.2.1 30-Oct-2012  yamt sync with head
 1.107.10.1 10-Aug-2014  tls Rebase.
 1.108.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4 23-Mar-2006  tsutsui Sync with hpcsh/conf/ioconf.incl.hpcsh rev 1.2:
> XXX: #undef SET before including <machine/config_hook.h>, which defines
> SET as a nickname for CONFIG_HOOK_SET to be used in kernel config files.
> Makes ioconf.c compile again.
 1.3 27-Jan-2002  takemura branches: 1.3.32; 1.3.46; 1.3.48; 1.3.50; 1.3.52; 1.3.54;
Added vripif.
 1.2 23-Dec-1999  takemura branches: 1.2.8; 1.2.12;
New button handler and power controller with configurable hooking mechanism.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.12.1 28-Feb-2002  nathanw Catch up to -current.
 1.2.8.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.3.54.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.3.52.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.50.1 01-Apr-2006  yamt sync with head.
 1.3.48.1 22-Apr-2006  simonb Sync with head.
 1.3.46.1 09-Sep-2006  rpaulo sync with head
 1.3.32.1 21-Jun-2006  yamt sync with head.
 1.36 29-Jun-2021  nia Remove uscanner(4) driver

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

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

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

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

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

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

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

Note that some of the things now explicitly listed as obsolete are
really ancient history. My scan went back as far as when the majors
files were added. (But not before that.)
 1.32 23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.31 30-Jun-2011  wiz branches: 1.31.52; 1.31.54;
dependant -> dependent
 1.30 27-Oct-2010  uebayasi Reserve an MI major for coming flash(4).

hpcmips defines one in MD majors, but it's not listed in
etc/etc.hpcmips/MAKEDEV.conf, so I assume actual files are never
created in users' filesystems.

Prompted By: pooka
 1.29 06-Mar-2010  plunky branches: 1.29.2;
use a MI major number for uhso(4) driver
(requested by mrg)
 1.28 06-Mar-2010  plunky add major device for usho(4) driver
 1.27 12-Nov-2008  ad branches: 1.27.6;
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.26 31-Dec-2007  ad branches: 1.26.6; 1.26.10; 1.26.16; 1.26.18;
Remove systrace. Ok core@.
 1.25 24-Nov-2006  wiz branches: 1.25.28; 1.25.34; 1.25.42;
s/independant/independent/, from Zafer.
 1.24 11-Dec-2005  christos branches: 1.24.20; 1.24.22;
merge ktrace-lwp.
 1.23 17-Sep-2005  yamt make VMSWAP optional again.
 1.22 31-Jul-2005  yamt revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
 1.21 30-Jul-2005  yamt defflag VMSWAP.
 1.20 10-May-2005  jdolecek branches: 1.20.2;
assign major for nsmb(4)
 1.19 10-Dec-2003  jmc Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
 1.18 24-Oct-2003  jdolecek add major for 'ses' for archs which have the other scsi devices
 1.17 22-Oct-2003  jdolecek add wsfont major to archs which have the other wscons devices
 1.16 21-Oct-2003  itojun backout previous; pf and crypto are moved to common majors range
 1.15 21-Oct-2003  itojun major for pf/crypto
 1.14 10-Oct-2003  jdolecek reassing majors for crypto and pf to use the newly defined MI major
range
 1.13 10-Oct-2003  jdolecek update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
 1.12 05-Oct-2003  jdolecek Add some framework for MI assignment of device majors - add sys/dev/majors
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.

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

Follows recent discussion on tech-kern@
 1.11 25-Aug-2003  he Remove duplicate entry for ``pf''.
 1.10 22-Aug-2003  itojun create /dev/crypto
 1.9 27-Jul-2003  itojun reserve cdev major # for PF. ok'ed by technical-exec
 1.8 01-May-2003  igy branches: 1.8.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.7 25-Apr-2003  ragge Add ksyms device major.
 1.6 31-Dec-2002  shin add PCI bus access device.
 1.5 28-Nov-2002  hamajima add midi and sequencer.
 1.4 14-Oct-2002  takemura Added APM device entry.
 1.3 04-Oct-2002  elric branches: 1.3.2;
assign majors for raw and cooked cgd's.
 1.2 06-Sep-2002  gehenna branches: 1.2.2;
Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 16-May-2002  gehenna branches: 1.1.2;
file majors.hpcmips 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.5 03-Jan-2003  thorpej Sync with HEAD.
 1.2.2.4 11-Dec-2002  thorpej Sync with HEAD.
 1.2.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.2.2.2 17-Sep-2002  nathanw Catch up to -current.
 1.2.2.1 06-Sep-2002  nathanw file majors.hpcmips was added on branch nathanw_sa on 2002-09-17 21:14:46 +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.hpcmips was added on branch kqueue on 2002-10-10 18:32:53 +0000
 1.8.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.2.1 03-Aug-2004  skrll Sync with HEAD
 1.20.2.3 21-Jan-2008  yamt sync with head
 1.20.2.2 30-Dec-2006  yamt sync with head.
 1.20.2.1 21-Jun-2006  yamt sync with head.
 1.24.22.1 10-Dec-2006  yamt sync with head.
 1.24.20.1 12-Jan-2007  ad Sync with head.
 1.25.42.1 02-Jan-2008  bouyer Sync with HEAD
 1.25.34.1 18-Feb-2008  mjf Sync with HEAD.
 1.25.28.1 09-Jan-2008  matt sync with HEAD
 1.26.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.26.16.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.26.10.1 04-May-2009  yamt sync with head.
 1.26.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.27.6.1 27-Oct-2010  uebayasi Move flash(4)/xmd(4) majors to MI, as suggested by Chuck Silvers.
 1.29.2.1 05-Mar-2011  rmind sync with head
 1.31.54.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.31.54.1 10-Jun-2019  christos Sync with HEAD
 1.31.52.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.33.6.1 29-Feb-2020  ad Sync with head.
 1.35.8.1 01-Aug-2021  thorpej Sync with HEAD.
 1.2 04-Feb-2001  takemura Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
 1.1 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.21 26-Jun-2021  rin Set VMSWAP_DEFAULT_PLAINTEXT for hpcarm and hpcmips, that suffer from
slow CPU as well as memory shortage.

For hpcsh, this option is already enabled by std.sh3.
 1.20 20-Feb-2011  matt branches: 1.20.72;
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.19 11-Dec-2005  christos branches: 1.19.96; 1.19.100; 1.19.106; 1.19.108;
merge ktrace-lwp.
 1.18 17-Sep-2005  yamt include "conf/std".
 1.17 30-Aug-2003  chs branches: 1.17.16;
add "makeoptions MACHINE_ARCH=..." in std.* for mips ports
where it is constant (to ease cross-building).
 1.16 09-Dec-2002  simonb branches: 1.16.6;
Remove the explicit `makeoptions MACHINE_ARCH="mipse{b,l}"' for kernel
builds and use the endianness of the toolchain being used to determine
the endianness of the kernel.
 1.15 11-Feb-2002  uch change kernel start address 0x80030000 to 0x80001000
 1.14 26-Jan-2002  takemura Adjusted GP size.
 1.13 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 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 23-Oct-2001  thorpej branches: 1.11.4;
For MIPS kernel Makefiles, don't set ENDIAN in std.${MACHINE}. Instead,
explicitly set MACHINE_ARCH to the appropriate thing. Makefile.mips will
then set all of the internal variables it needs to accordingly.
 1.10 17-Jan-2001  shin branches: 1.10.4;
- reduce GP size (20 -> 18).
 1.9 04-Jan-2001  shin - don't ignore DEFCOPTS (Makefile.mips).
- DEFCOPTS of hpcmips is "-Os -mmemcpy" (std.hpcmips).
 1.8 23-Dec-2000  enami Fix text address.
 1.7 20-Dec-2000  matt Start using the common mips/conf/Makefile.mips
 1.6 03-Dec-2000  matt Revert back to a machinearch (really cputype) of mips. Put ENDIAN back.
 1.5 22-Jun-2000  fvdl Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC.
 1.4 15-Nov-1999  fvdl branches: 1.4.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.3 27-Sep-1999  enami branches: 1.3.2; 1.3.8;
Remove DEVPAGER, SWAPPAGER and VNODEPAGER.
 1.2 25-Sep-1999  uch Remove obsolete option MIPS3_FLUSH.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.3.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.2.4 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.3.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.3.2.2 08-Dec-2000  bouyer Sync with HEAD.
 1.3.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.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.10.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.10.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.10.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.4.5 11-Dec-2002  thorpej Sync with HEAD.
 1.11.4.4 28-Feb-2002  nathanw Catch up to -current.
 1.11.4.3 11-Jan-2002  nathanw More catchup.
 1.11.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.11.4.1 23-Oct-2001  nathanw file std.hpcmips was added on branch nathanw_sa on 2002-01-08 00:24:58 +0000
 1.16.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.16.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.16.6.1 03-Aug-2004  skrll Sync with HEAD
 1.17.16.1 21-Jun-2006  yamt sync with head.
 1.19.108.1 05-Mar-2011  bouyer Sync with HEAD
 1.19.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.19.100.1 05-Mar-2011  rmind sync with head
 1.19.96.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.20.72.1 01-Aug-2021  thorpej Sync with HEAD.
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 04-May-2005  hamajima OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1 02-Jan-2002  uch branches: 1.1.2; 1.1.4; 1.1.20; 1.1.26; 1.1.34;
VR41XX/TX3922 common kernel.
 1.1.34.1 07-May-2005  tron Pull up revision 1.2 (requested by hamajima in ticket #247):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.26.1 16-May-2005  riz Pull up revision 1.2 (requested by hamajima in ticket #1500):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.20.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.2 11-Jan-2002  nathanw More catchup.
 1.1.4.1 02-Jan-2002  nathanw file std.hpcmips.tx39 was added on branch nathanw_sa on 2002-01-11 23:38:23 +0000
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 02-Jan-2002  thorpej file std.hpcmips.tx39 was added on branch kqueue on 2002-01-10 19:43:46 +0000
 1.12 11-Jul-2016  skrll Adapt to recent mips pmap changes
 1.11 11-Dec-2005  christos branches: 1.11.122; 1.11.142;
merge ktrace-lwp.
 1.10 13-Dec-2003  sekiya Remove MIPS3_L2CACHE_ABSENT.
 1.9 23-Mar-2002  hamajima branches: 1.9.10;
add VR4121 Audio Interface Unit
 1.8 23-Mar-2002  shin add MIPS3_NO_PV_UNCACHED.
 1.7 10-Mar-2002  takemura Attached vrpiu at vrc4173bcu.
 1.6 11-Feb-2002  takemura Added Vr4122 and Vr4131 support to GENERIC configuration.
 1.5 11-Feb-2002  takemura Added vr4102ip.
 1.4 11-Feb-2002  takemura Fixed dma register sizes.
 1.3 11-Feb-2002  takemura Added DMA Address unit and DMA Control unit. (not tested)
 1.2 27-Jan-2002  takemura Added vripif.
 1.1 02-Jan-2002  uch branches: 1.1.2; 1.1.4;
VR41XX/TX3922 common kernel.
 1.1.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.2 11-Jan-2002  nathanw More catchup.
 1.1.4.1 02-Jan-2002  nathanw file std.hpcmips.vr41 was added on branch nathanw_sa on 2002-01-11 23:38:23 +0000
 1.1.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 02-Jan-2002  thorpej file std.hpcmips.vr41 was added on branch kqueue on 2002-01-10 19:43:46 +0000
 1.9.10.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.10.2 18-Sep-2004  skrll Sync with HEAD.
 1.9.10.1 03-Aug-2004  skrll Sync with HEAD
 1.11.142.1 05-Oct-2016  skrll Sync with HEAD
 1.11.122.1 03-Dec-2017  jdolecek update from HEAD
 1.9 11-Jul-2016  skrll Adapt to recent mips pmap changes
 1.8 20-Feb-2011  matt branches: 1.8.14; 1.8.32;
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.7 16-Sep-2006  gdamore branches: 1.7.76; 1.7.80; 1.7.86; 1.7.88;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.6 11-Dec-2005  christos branches: 1.6.20;
merge ktrace-lwp.
 1.5 17-Sep-2005  yamt include "conf/std".
 1.4 15-Apr-2004  tv branches: 1.4.12;
Move -mips2 to CPUFLAGS in each kernel config file as suggested by mrg.
This matches the way other ports specify default CPU codegen options.
 1.3 13-Dec-2003  sekiya branches: 1.3.2;
Remove MIPS3_L2CACHE_ABSENT.
 1.2 30-Aug-2003  chs add "makeoptions MACHINE_ARCH=..." in std.* for mips ports
where it is constant (to ease cross-building).
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.2.1 18-Apr-2004  jmc Pullup rev 1.4 (requested by tv in ticket #147)

Move -mips2 to CPUFLAGS in each kernel config file.
 1.4.12.2 30-Dec-2006  yamt sync with head.
 1.4.12.1 21-Jun-2006  yamt sync with head.
 1.6.20.1 18-Nov-2006  ad Sync with head.
 1.7.88.1 05-Mar-2011  bouyer Sync with HEAD
 1.7.86.1 06-Jun-2011  jruoho Sync with HEAD.
 1.7.80.1 05-Mar-2011  rmind sync with head
 1.7.76.1 29-Jan-2010  matt Change mips kernel options SOFTFLOAT to FPEMUL. Allow a kernel to have
no FP emulation code. Fix insufficient SYMTAB_SPACE. When a kernel without
an FPU and with FPEMUL code, the application will trap with a SIGILL/ILL_ILLOPC
signal, not SIGSEGV/SEGV_MAPERR.
 1.8.32.1 05-Oct-2016  skrll Sync with HEAD
 1.8.14.1 03-Dec-2017  jdolecek update from HEAD
 1.2 23-Feb-2001  uch I forgot to move Makefile.
 1.1 12-Mar-2000  takemura branches: 1.1.6;
Add makefile to install hpcfb.h.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 12-Mar-2000  bouyer file Makefile was added on branch thorpej_scsipi on 2000-11-20 20:45:48 +0000
 1.7 09-Feb-2001  uch sync with bicons change.
 1.6 21-Jan-2001  takemura Built-in console driver supports 4bpp frame buffer.
 1.5 06-Mar-2000  thorpej - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
 1.4 30-Nov-1999  uch bicons_getc: calls vrkiu_getc() when vrkiu is configurated only.
 1.3 21-Nov-1999  uch when frame buffer address is not specified, don't try to access.
 1.2 02-Nov-1999  takemura Add new function, bicons_printf().
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.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.3 09-Feb-2001  uch sync with bicons change.
 1.2 02-Nov-1999  takemura Add new function, bicons_printf().
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.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.5 09-Feb-2001  uch sync with bicons change.
 1.4 08-Nov-2000  eeh Fix tty initialization. From Arne H Juul <arnej@fast.no>.
 1.3 02-Nov-2000  eeh Adapt to the new line discipline scheme.
 1.2 23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.1.1.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.2 09-Feb-2001  uch sync with bicons change.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 11-Feb-2001  bouyer Sync with HEAD.
 1.2 09-Feb-2001  uch sync with bicons change.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 11-Feb-2001  bouyer Sync with HEAD.
 1.18 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.17 15-Feb-2001  sato * show framebuffer address in boot time.
 1.16 21-Jan-2001  takemura Use rasops with 4bit depth.
 1.15 21-Jan-2001  takemura Built-in console driver supports 4bpp frame buffer.
 1.14 05-Jan-2001  sato - print debug message for WSDISPLAYIO_GETPARAM/WSDISPLAYIO_SETPARAM
when boot verbose mode.
for debuging LCD control and/or keyboard cmds.
 1.13 03-Dec-2000  takemura Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
 1.12 01-Oct-2000  takemura branches: 1.12.2;
Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
 1.11 10-Sep-2000  sato - not handle CONFIG_HOOK_POWERCONTROL events because the events
handled by lower lcd/lcdlight control device.
 1.10 22-Jul-2000  takemura Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.9 02-Jul-2000  takemura Experimental APM compatible power management.
 1.8 29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.7 26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.6 09-May-2000  shin branches: 1.6.4;
make it compile again (add #include's).
 1.5 20-Mar-2000  takemura Built in video supports get/set color map.
 1.4 20-Mar-2000  takemura Change color map and share color map data with kernel part.
 1.3 13-Mar-2000  uch sync with hpcfb.
 1.2 12-Mar-2000  takemura Bivideo utilize platid mechanisum for probing.
 1.1 12-Mar-2000  takemura New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.6.4.2 06-Aug-2000  takemura Pull up revisions 1.8-1.10 (requested by takemura)

Add power management hook.
 1.6.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.12.2.6 12-Mar-2001  bouyer Sync with HEAD.
 1.12.2.5 11-Feb-2001  bouyer Sync with HEAD.
 1.12.2.4 05-Jan-2001  bouyer Sync with HEAD
 1.12.2.3 08-Dec-2000  bouyer Sync with HEAD.
 1.12.2.2 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.2.1 01-Oct-2000  bouyer file bivideo.c was added on branch thorpej_scsipi on 2000-11-20 20:45:49 +0000
 1.3 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.2 22-Jul-2000  takemura branches: 1.2.2;
Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.1 12-Mar-2000  takemura branches: 1.1.4;
New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.1.4.1 06-Aug-2000  takemura Pull up revision 1.2 (requested by takemura)

Add bivideo_dont_attach for mq200video.
 1.2.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.2 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.2.2.1 22-Jul-2000  bouyer file bivideovar.h was added on branch thorpej_scsipi on 2000-11-20 20:45:49 +0000
 1.12 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.11 26-Jan-2001  sato * support more than 16 ids.
* check the event ids are in the table.
 1.10 01-Oct-2000  takemura branches: 1.10.2;
Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
 1.9 02-Jul-2000  takemura Experimental APM compatible power management.
 1.8 18-May-2000  sato branches: 1.8.4;
fix CONFIG_HOOK_BUTTONEVENT_CANCEL keycode.
 1.7 04-May-2000  takemura Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.6 30-Mar-2000  sato fix mapping.
 1.5 14-Mar-2000  sato some buttuns map to key codes which the button mean.
 1.4 13-Mar-2000  sato HPC/PsPC keyboard types.
 1.3 12-Mar-2000  takemura Change btnmgr to wskbd device from pseudo device.
 1.2 27-Feb-2000  uch UCB1200 GPIO routines.
 1.1 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.8.4.1 06-Aug-2000  takemura Pull up revision 1.9 (requested by takemura)

Map BUTTONEVENT_POWER-> PMEVENT_SUSPENDREQ for power management.
 1.10.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.10.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.10.2.2 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.2.1 01-Oct-2000  bouyer file btnmgr.c was added on branch thorpej_scsipi on 2000-11-20 20:45:50 +0000
 1.2 08-Dec-1999  uch Remove old keyboard driver for Compaq C.
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
 1.1 21-Nov-1999  uch Compaq C-series keyboard driver
 1.2 08-Dec-1999  uch Remove old keyboard driver for Compaq C.
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
 1.1 21-Nov-1999  uch Compaq C-series keyboard driver
 1.2 08-Dec-1999  uch Remove old keyboard driver for Compaq C.
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
 1.1 21-Nov-1999  uch Compaq C-series keyboard driver
 1.12 08-Dec-2018  thorpej Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.11 14-Mar-2008  cube branches: 1.11.90; 1.11.92;
Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend). Use proper types and ansify where appropriate.
 1.10 13-Jul-2006  gdamore branches: 1.10.34; 1.10.54; 1.10.58;
Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

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

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

Approved by core@. Fixes PR port-evbmips/32362.
 1.9 29-Mar-2006  thorpej branches: 1.9.4;
Use device_cfdata().
 1.8 11-Dec-2005  christos branches: 1.8.4; 1.8.6; 1.8.8; 1.8.10; 1.8.12;
merge ktrace-lwp.
 1.7 15-Jul-2003  lukem branches: 1.7.16;
__KERNEL_RCSID()
 1.6 14-Jun-2003  thorpej branches: 1.6.2;
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
 1.5 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.4 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3 14-Apr-2002  takemura Added bus probing to avoid bus error.
 1.2 05-Jan-2002  takemura branches: 1.2.2; 1.2.4;
Deleted verbose error message in probe routine to probe silently.
 1.1 04-Jan-2002  takemura Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
 1.2.4.4 18-Oct-2002  nathanw Catch up to -current.
 1.2.4.3 17-Apr-2002  nathanw Catch up to -current.
 1.2.4.2 11-Jan-2002  nathanw More catchup.
 1.2.4.1 05-Jan-2002  nathanw file com_hpcio.c was added on branch nathanw_sa on 2002-01-11 23:38:23 +0000
 1.2.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.2.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1 05-Jan-2002  thorpej file com_hpcio.c was added on branch kqueue on 2002-01-10 19:43:47 +0000
 1.6.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1 03-Aug-2004  skrll Sync with HEAD
 1.7.16.3 17-Mar-2008  yamt sync with head.
 1.7.16.2 30-Dec-2006  yamt sync with head.
 1.7.16.1 21-Jun-2006  yamt sync with head.
 1.8.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.8.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.8.8.2 11-Aug-2006  yamt sync with head
 1.8.8.1 01-Apr-2006  yamt sync with head.
 1.8.6.1 22-Apr-2006  simonb Sync with head.
 1.8.4.1 09-Sep-2006  rpaulo sync with head
 1.9.4.1 16-Jun-2006  gdamore com(4) attachment hacks. Note that these aren't as clean as they could be,
particularly com_hpcio.c, which has a custom bus_space which could probably
be eliminated. But _I_ don't have an hpcmips to test with. The compile of
MPC303 works, but GENERIC fails due to an error in tx39clock.c, so I'm
_not_ testing it. (But both files at least _compiled_.)
 1.10.58.1 03-Apr-2008  mjf Sync with HEAD.
 1.10.54.1 24-Mar-2008  keiichi sync with head.
 1.10.34.1 23-Mar-2008  matt sync with HEAD
 1.11.92.1 10-Jun-2019  christos Sync with HEAD
 1.11.90.1 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.1 04-Jan-2002  takemura branches: 1.1.2; 1.1.4;
Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
 1.1.4.2 11-Jan-2002  nathanw More catchup.
 1.1.4.1 04-Jan-2002  nathanw file com_hpciovar.h was added on branch nathanw_sa on 2002-01-11 23:38:24 +0000
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 04-Jan-2002  thorpej file com_hpciovar.h was added on branch kqueue on 2002-01-10 19:43:47 +0000
 1.16 13-Mar-2000  uch no longer required.
 1.15 05-Mar-2000  takemura Delete #ifdef USE_RASTERCONS lines, which are not used.
 1.14 27-Jan-2000  sato - fb_mmap(): treate about unaligned framebuffer memory (MC-R510).
 1.13 16-Jan-2000  uch disable noisy boot message.
 1.12 05-Jan-2000  takemura We can mmap frame buffer. Sorry, we had not been able to map it.
 1.11 16-Dec-1999  sato - support WSDISPLAYIO_GTYPE. (but currently return WSDISPLAY_TYPE_UNKNOWN.)
- support WSDISPLAYOP_GINFO. (but cmsize maybe not correct.. )
- not display kernel message when group 't' ioctl.
- support mmap()
 1.10 11-Dec-1999  takemura I've took 1 for i.
 1.9 06-Dec-1999  drochner update for changed struct wsdisplay_accessops:show_screen signature.
no functional changes
 1.8 25-Nov-1999  ad Fix date in copyright string.
 1.7 14-Nov-1999  takemura Support the frame buffer in which white pixel value is zero.
 1.6 03-Nov-1999  takemura Always override color table.
 1.5 02-Nov-1999  takemura Wsdisplay use small font, VT220 8x10.
 1.4 24-Oct-1999  takemura Fix argument type.
 1.3 24-Oct-1999  takemura Wsdisplay and wskbd are supported as a console device.
 1.2 26-Sep-1999  takemura branches: 1.2.2; 1.2.4; 1.2.6;
Add columns and rows infomation to attach message.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 15-Nov-1999  fvdl Sync with -current
 1.2.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.6 13-Mar-2000  uch no longer required.
 1.5 05-Mar-2000  takemura Delete #ifdef USE_RASTERCONS lines, which are not used.
 1.4 02-Nov-1999  takemura Wsdisplay use small font, VT220 8x10.
 1.3 24-Oct-1999  takemura Fix argument type.
 1.2 24-Oct-1999  takemura Wsdisplay and wskbd are supported as a console device.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.2 04-Nov-1999  takemura Move consinit() from findcons.c to machdep.c and remove file 'findcons.c.
Modify kernel boot options.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.3 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.2 05-Jan-2000  ad branches: 1.2.6;
- Update for changes to 'struct wsdisplay_font'.
- Add RCS Id string. This should probably be in 'othersrc'.
 1.1 02-Nov-1999  takemura branches: 1.1.4; 1.1.6;
Wsdisplay use small font, VT220 8x10.
 1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.4.2 15-Nov-1999  fvdl Sync with -current
 1.1.4.1 02-Nov-1999  fvdl file fontconv.c was added on branch fvdl-softdep on 1999-11-15 00:37:48 +0000
 1.2.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.2.6.2 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.2.6.1 05-Jan-2000  bouyer file fontconv.c was added on branch thorpej_scsipi on 2000-11-20 20:45:50 +0000
 1.18 03-Jul-2004  uch hpcmips independent hpcapm part are moved to sys/dev/hpc/
hpcmips dependend part is separated to sys/arch/hpcmips/hpcapm_machdep.c
 1.17 25-Oct-2003  mycroft Fix typo.
 1.16 25-Oct-2003  mycroft Token-pasting nits for GCC 3.
 1.15 15-Jul-2003  lukem __KERNEL_RCSID()
 1.14 02-Oct-2002  thorpej branches: 1.14.6;
Use CFATTACH_DECL().
 1.13 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.12 12-May-2002  takemura BUGFIX: SigmarionII can't resume.
Added config_hook_call_reverse() to call the hardpower hook of CMU
(Vr clock mask unit) before the hardpower hook of MQ200 video controller.
 1.11 11-Feb-2002  takemura Added vr4122ip.
 1.10 27-Jan-2002  takemura Don't call tx39power_suspend_cpu unless the CPU is TX.
 1.9 30-Dec-2001  takemura BUGFIX: It allocated only 44 bytes for hpcapm while the device needed
764 bytes.

it was really terrible.
 1.8 16-Sep-2001  uch branches: 1.8.4;
ANSIfy, KNF.
 1.7 05-Sep-2001  sato branches: 1.7.2;
add more battery event.
 1.6 04-Jan-2001  sato branches: 1.6.4;
handle pointer type event message and scaler type event message
for CONFIG_HOOK_PMEVENT_*.
 1.5 29-Dec-2000  sato * implimant CONFIG_HOOK_PMEVENT_BATTERY&CONFIG_HOOK_PMEVENT_AC
based apm state transition.
- change CONFIG_HOOK_PMEVENT_BATTERY message.
XXX: currentry none send these events.
 1.4 04-Oct-2000  uch branches: 1.4.2;
experimental power management support for TX3912/TX3922 based model.
 1.3 30-Jul-2000  takemura branches: 1.3.2;
Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.)
 1.2 22-Jul-2000  takemura Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.1 02-Jul-2000  takemura Experimental APM compatible power management.
 1.3.2.2 06-Aug-2000  takemura Pull up revisions 1.1-1.3 (new, requested by takemura)

new power management function.
 1.3.2.1 30-Jul-2000  takemura file hpcapm.c was added on branch netbsd-1-5 on 2000-08-06 03:51:59 +0000
 1.4.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.4.2.2 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.2.1 04-Oct-2000  bouyer file hpcapm.c was added on branch thorpej_scsipi on 2000-11-20 20:45:51 +0000
 1.6.4.6 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.6.4.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.4.4 16-Mar-2002  jdolecek Catch up with -current.
 1.6.4.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.6.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.4.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.7.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.8.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.8.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.8.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.8.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.8.4.1 16-Sep-2001  nathanw file hpcapm.c was added on branch nathanw_sa on 2002-01-08 00:24:59 +0000
 1.14.6.1 03-Aug-2004  skrll Sync with HEAD
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 20-Mar-2000  takemura branches: 1.1.6;
Change color map and share color map data with kernel part.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 20-Mar-2000  bouyer file hpccmap.c was added on branch thorpej_scsipi on 2000-11-20 20:45:51 +0000
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 20-Mar-2000  takemura branches: 1.1.6;
Change color map and share color map data with kernel part.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 20-Mar-2000  bouyer file hpccmap_gen.c was added on branch thorpej_scsipi on 2000-11-20 20:45:52 +0000
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 20-Mar-2000  takemura branches: 1.1.6;
Change color map and share color map data with kernel part.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 20-Mar-2000  bouyer file hpccmapvar.h was added on branch thorpej_scsipi on 2000-11-20 20:45:52 +0000
 1.39 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.38 02-Feb-2001  sato Copyright year.
 1.37 24-Jan-2001  sato * fix typo.
* change PWR_* handling to PWR_SOFT* handling, if these routines need to sleep.
 1.36 24-Jan-2001  sato delete unneed debug message.
 1.35 24-Jan-2001  sato revert one of 1.34 change.
> * emul/mapping infomation turn to per screen.
(my misunderstanding)
currently per device.
 1.34 24-Jan-2001  sato * support hpcfb_show_screens()'s cb and cbarg arguments. (HPCFB_MULTI)
* emul/mapping infomation turn to per screen.
* rename hpcfb_check_scroll() to hpcfb_check_update(). (HPCFB_JUMP)
* rename hpcfb_scroll_update() to hpcfb_update(). (HPCFB_JUMP)
* update experimental HPCFB_JUMP codes. (but not yet fix yet)
 1.33 05-Jan-2001  sato - fix WSDISPLAYIO_MODE_EMUL mode redrawing.
- avoid null pointer dereference.
- clean up hpcfb_show_screen().
 1.32 04-Jan-2001  sato Avoid null pointer dereference. dc_sc may be null on early stage.
 1.31 04-Jan-2001  enami Avoid null pointer dereference. dc_sc may be null on early stage.
 1.30 04-Jan-2001  enami Set HPCFB_DC_CURRENT bit in hpcfb_init() so that boot -d works.
 1.29 01-Jan-2001  sato re-disable experimental HPCFB_MULTI codes....
 1.28 30-Dec-2000  sato notify console polling mode or not to lower level video driver.
turn polling mode when console are polling mode.
disable redrawing when not EMUL mode.
 1.27 27-Dec-2000  sato fix typo.
 1.26 25-Dec-2000  sato make compilable for HPCFB_JUMP codes.
 1.25 25-Dec-2000  sato * add iodone&font entry in struct hpcfb_accessops.
* update HPCFB_JUMP codes.
* change tvram initialization out of hpcfb_init().
* use dc_fbaddr for switching screen (for HPCFB_MULTI codes).
 1.24 22-Dec-2000  sato * update HPCFB_MULTI codes
- check malloc() return value.
- disable multi screen feature when console is serial.
XXXX: bacause hpcfb multiscreen feature buggy in serial console.
 1.23 21-Dec-2000  sato - re-disable HPCFB_MULTI which enabled by my mistake.
- fix hpcfb_show_screen()'s cursor drawing when HPCFB_MULTI is enabled.
 1.22 20-Dec-2000  sato fix some HPCFB_MULTI related bugs.
- confusing some screens.
- save/resume problem

(but HPCFB_MULTI is not stabe yet)
 1.21 20-Dec-2000  sato fix bug hpcfb_redraw()'s argument all=1.
 1.20 12-Dec-2000  sato delete unused HPCFB_BSTORE codes.
 1.19 03-Dec-2000  takemura Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
 1.18 26-Nov-2000  sato hardware accelarate function parameters turn to dot base.
 1.17 24-Nov-2000  sato delete not HPCFB_TVOPTIM codes.
 1.16 24-Nov-2000  sato update experimental HPCFB_JUMP codes.
(but not completely yet)
 1.15 22-Oct-2000  uch branches: 1.15.2;
reorder color map adequately.
 1.14 01-Oct-2000  takemura Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
 1.13 12-Sep-2000  sato bzero allocated structutre initialy.
 1.12 11-Sep-2000  sato - delete some unused codes (but some experimental code is not deleted)
- add experimental HPCFB_JUMP code but it is not enabled.
 1.11 10-Sep-2000  takemura Introduce WSDISPLAY_NULLSCREEN to allow low level device to detach control
process. Hpcmips frame buffer driver(hpcfb) call wsdisplay_switch with
WSDISPLAY_NULLSCREEN to notify user process of suspend/resume event.
 1.10 30-Jul-2000  takemura Refresh screen when the system resume.
 1.9 22-Jul-2000  takemura Overwrite color map of rasops.
 1.8 29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.7 26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.6 08-May-2000  uch branches: 1.6.4;
add struct hpcfb_accessops to setclut method. TX3912 can't change
color map index (R:G:B = 3:3:2), so use this.
 1.5 02-May-2000  uch change hpfcb_cnattach interface to adopt current implementation.
 1.4 01-May-2000  takemura We should not report button down event while we don't know where it occur.
 1.3 03-Apr-2000  sato - virtual TEXT vram implimentation.
- optimize scroll.
- hardware accelerator hooking mechanism (initianly, maybe change..)
- multiscreen (some bugs, so currently disabled)
- if you want disable above codes, #define HPCFB_DISABLE.
 1.2 20-Mar-2000  takemura Change color map and share color map data with kernel part.
 1.1 12-Mar-2000  takemura New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.6.4.2 06-Aug-2000  takemura Pull up revisions 1.8-1.10 (requested by takemura)

Add power hook and refresh screen on resume.
 1.6.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.15.2.8 12-Mar-2001  bouyer Sync with HEAD.
 1.15.2.7 11-Feb-2001  bouyer Sync with HEAD.
 1.15.2.6 05-Jan-2001  bouyer Sync with HEAD
 1.15.2.5 13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.15.2.4 13-Dec-2000  bouyer Sync with HEAD (for UBC fixes)
 1.15.2.3 08-Dec-2000  bouyer Sync with HEAD.
 1.15.2.2 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.15.2.1 22-Oct-2000  bouyer file hpcfb.c was added on branch thorpej_scsipi on 2000-11-20 20:45:53 +0000
 1.3 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.2 03-Dec-2000  takemura Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
 1.1 12-Mar-2000  takemura branches: 1.1.6;
New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.1.6.4 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.3 08-Dec-2000  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 12-Mar-2000  bouyer file hpcfbio.h was added on branch thorpej_scsipi on 2000-11-20 20:45:53 +0000
 1.7 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.6 25-Dec-2000  sato * add iodone&font entry in struct hpcfb_accessops.
* update HPCFB_JUMP codes.
* change tvram initialization out of hpcfb_init().
* use dc_fbaddr for switching screen (for HPCFB_MULTI codes).
 1.5 26-Jun-2000  simonb branches: 1.5.2;
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.4 08-May-2000  uch branches: 1.4.4;
add struct hpcfb_accessops to setclut method. TX3912 can't change
color map index (R:G:B = 3:3:2), so use this.
 1.3 02-May-2000  uch change hpfcb_cnattach interface to adopt current implementation.
 1.2 03-Apr-2000  sato - virtual TEXT vram implimentation.
- optimize scroll.
- hardware accelerator hooking mechanism (initianly, maybe change..)
- multiscreen (some bugs, so currently disabled)
- if you want disable above codes, #define HPCFB_DISABLE.
 1.1 12-Mar-2000  takemura New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.4.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.5.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.5.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.5.2.2 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.5.2.1 26-Jun-2000  bouyer file hpcfbvar.h was added on branch thorpej_scsipi on 2000-11-20 20:45:54 +0000
 1.6 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.5 10-Jan-2001  sato dummy WSKBDIO_SETLEDS WSKBDIO_GETLEDS for wsconsctl(8)
 1.4 22-Oct-2000  uch branches: 1.4.2;
new I/O modules framework for TX based system.
 1.3 21-Oct-2000  takemura BUGFIX: PCKBD_LAYOUT had not been effective.
 1.2 01-Oct-2000  takemura Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
 1.1 21-Sep-2000  takemura skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.4.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.4.2.3 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.4.2.2 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.2.1 22-Oct-2000  bouyer file hpckbd.c was added on branch thorpej_scsipi on 2000-11-20 20:45:54 +0000
 1.7 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.6 19-Oct-2000  takemura branches: 1.6.2;
Swap reft and light key.
 1.5 04-Oct-2000  sato fix mistake of sigmarion cmdmap.
 1.4 02-Oct-2000  sato add sigmarion cmdmap and use it.
 1.3 01-Oct-2000  takemura Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
 1.2 27-Sep-2000  sato add DoCoMo sigmarion keymap.
 1.1 21-Sep-2000  takemura skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.6.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.6.2.2 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.2.1 19-Oct-2000  bouyer file hpckbdkeymap.h was added on branch thorpej_scsipi on 2000-11-20 20:45:54 +0000
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 21-Sep-2000  takemura branches: 1.1.2;
skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 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.1.2.1 21-Sep-2000  bouyer file hpckbdvar.h was added on branch thorpej_scsipi on 2000-11-20 20:45:55 +0000
 1.28 08-Dec-2023  andvar fix triple t typos in comment and debug message.
 1.27 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.26 25-Apr-2021  thorpej branches: 1.26.6;
it8368_attach_socket(): Pass the device_t to config_found(), not the
softc. This was missed due to a (void *) cast when the device_t / softc
split changes occurred.
 1.25 24-Apr-2021  thorpej branches: 1.25.2;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.24 27-Oct-2012  chs branches: 1.24.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.23 26-Jul-2011  dyoung branches: 1.23.2; 1.23.12;
Don't set the iobase and iosize members of pcmciabus_attach_args because
they're not used in any meaningful way.
 1.22 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.21 24-Dec-2005  perry branches: 1.21.74; 1.21.76; 1.21.78;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.20 11-Dec-2005  christos merge ktrace-lwp.
 1.19 28-Jun-2005  drochner branches: 1.19.2;
convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
 1.18 15-Jul-2003  lukem __KERNEL_RCSID()
 1.17 01-Jan-2003  thorpej branches: 1.17.2;
Use aprint_normal() for cfprint routines.
 1.16 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.15 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.14 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.13 03-May-2002  takemura Fixed debug print.
 1.12 29-Jan-2002  uch clean up debug print and configuration.
 1.11 15-Dec-2001  soren To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
 1.10 15-Sep-2001  uch branches: 1.10.4;
ANSIfy, KNF, change my copyright.
 1.9 08-May-2001  uch branches: 1.9.2; 1.9.4;
set allocatable PCMCIA I/O space size.
 1.8 12-Mar-2000  uch branches: 1.8.6; 1.8.8;
add WINCE_DEFAULT_SETTING and IT8368E_DESTRUCTIVE_CHECK for debug.
 1.7 03-Mar-2000  uch cosmetic change
 1.6 06-Jan-2000  uch implement IT8368 legacy attr mode. Mobilon requires it.
 1.5 03-Jan-2000  uch clean up boot message.
 1.4 30-Dec-1999  uch Before attach card, check card is detected.
 1.3 27-Dec-1999  uch Implement PCMCIA controller power up/reset.
 1.2 29-Nov-1999  uch branches: 1.2.2;
commet out non-working code.
 1.1 21-Nov-1999  uch ITE IT8368E PCMCIA controller
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.8.6.2 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.8.6.1 12-Mar-2000  bouyer file it8368.c was added on branch thorpej_scsipi on 2000-11-20 20:45:56 +0000
 1.9.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.9.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.9.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.9.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.9.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.4.6 03-Jan-2003  thorpej Sync with HEAD.
 1.10.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.10.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.10.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.10.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.10.4.1 15-Sep-2001  nathanw file it8368.c was added on branch nathanw_sa on 2002-01-08 00:24:59 +0000
 1.17.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.17.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.17.2.1 03-Aug-2004  skrll Sync with HEAD
 1.19.2.1 21-Jun-2006  yamt sync with head.
 1.21.78.1 16-May-2008  yamt sync with head.
 1.21.76.1 18-May-2008  yamt sync with head.
 1.21.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.23.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.23.2.1 30-Oct-2012  yamt sync with head
 1.24.52.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.25.2.1 13-May-2021  thorpej Sync with HEAD.
 1.26.6.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 15-Sep-2001  uch branches: 1.4.4; 1.4.122; 1.4.124; 1.4.126;
ANSIfy, KNF, change my copyright.
 1.3 12-Mar-2000  uch branches: 1.3.6; 1.3.8; 1.3.10;
add WINCE_DEFAULT_SETTING and IT8368E_DESTRUCTIVE_CHECK for debug.
 1.2 30-Dec-1999  uch Before attach card, check card is detected.
 1.1 21-Nov-1999  uch branches: 1.1.2;
ITE IT8368E PCMCIA controller
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.10.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.8.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.6.2 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.3.6.1 12-Mar-2000  bouyer file it8368reg.h was added on branch thorpej_scsipi on 2000-11-20 20:45:56 +0000
 1.4.126.1 16-May-2008  yamt sync with head.
 1.4.124.1 18-May-2008  yamt sync with head.
 1.4.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.4.4.1 15-Sep-2001  uch file it8368reg.h was added on branch nathanw_sa on 2001-09-15 12:47:06 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 06-Jan-2000  uch branches: 1.1.6; 1.1.8; 1.1.10;
implement IT8368 legacy attr mode. Mobilon requires it.
 1.1.10.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.8.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.6.2 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.1.6.1 06-Jan-2000  bouyer file it8368var.h was added on branch thorpej_scsipi on 2000-11-20 20:45:57 +0000
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file it8368var.h was added on branch nathanw_sa on 2001-09-15 12:47:06 +0000
 1.31 28-May-2022  andvar fix various typos, mainly in comments.
 1.30 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.29 24-Apr-2021  thorpej branches: 1.29.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.28 27-Oct-2012  chs branches: 1.28.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.27 18-Mar-2009  cegger branches: 1.27.12; 1.27.22;
bzero -> memset
 1.26 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.25 04-Mar-2007  christos branches: 1.25.44; 1.25.52; 1.25.58;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.24 24-Sep-2006  jmcneill branches: 1.24.4;
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
 1.23 26-May-2006  blymn branches: 1.23.6; 1.23.8;
Clean up bogus whitespace
 1.22 11-Dec-2005  christos branches: 1.22.4; 1.22.6; 1.22.8; 1.22.14;
merge ktrace-lwp.
 1.21 12-Dec-2004  abs branches: 1.21.10;
Fix comments regarding configration bounaries
 1.20 13-Nov-2003  chs eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed. however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors. most of
the callers of uvm_useracc() make the above incorrect assumption. the
rest are all misguided optimizations, which optimize for the case
where an operation will fail. we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors. since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
 1.19 15-Jul-2003  lukem __KERNEL_RCSID()
 1.18 06-Nov-2002  wiz branches: 1.18.6;
Fix typo. Reported by Jolan Luff in PR 18952.
 1.17 06-Aug-2002  itojun integer overflow. from silvio@qualys.com
 1.16 17-Mar-2002  atatat branches: 1.16.4; 1.16.6;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.15 16-Sep-2001  uch branches: 1.15.4;
ANSIfy, KNF.
 1.14 22-Jul-2001  takemura branches: 1.14.2;
You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
 1.13 17-Jul-2001  toshii "infomation" -> "information"
 1.12 11-Jun-2001  sato branches: 1.12.2;
not set HPCFB_SWAP_BYTE
 1.11 26-Mar-2001  sato o Change initialization for config_hook() base lcd control.
o Fix backlight control in case that light is controlable but not be
able to get status.
o change some verbose prints.
 1.10 12-Mar-2001  sato * assume backlight is on if backlight value cannot get.
* move the lcd control codes used config_hook_call()
in *_hardpower() to *_power().
 1.9 09-Mar-2001  sato support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
lcd on/off
 1.8 27-Feb-2001  sato branches: 1.8.2;
* add WSDISPLAYIO_PARAM_BACKLIGHT, WSDISPLAYIO_PARAM_CONTRAST,
WSDISPLAYIO_PARAM_BRIGHTNESS supports.
 1.7 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.6 15-Feb-2001  sato * show framebuffer address in boot time.
 1.5 23-Jan-2001  sato add 4bpp support (sync with mq200 rev1.6 -> 1.7)
 1.4 03-Dec-2000  takemura Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
 1.3 27-Oct-2000  sato branches: 1.3.2;
enlarge ITE8181_LCD_ON_SELF_DELAY.
 1.2 23-Oct-2000  sato - change constant to static variable for
ite8181 access delay parameter after lcd power on.
- ITE8181_WINCE_CMAP.
use presetting cmap by pbsdboot.exe(temporally)
 1.1 02-Oct-2000  sato experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak,
 1.3.2.7 27-Mar-2001  bouyer Sync with HEAD.
 1.3.2.6 12-Mar-2001  bouyer Sync with HEAD.
 1.3.2.5 11-Feb-2001  bouyer Sync with HEAD.
 1.3.2.4 08-Dec-2000  bouyer Sync with HEAD.
 1.3.2.3 22-Nov-2000  bouyer Sync with HEAD.
 1.3.2.2 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.3.2.1 27-Oct-2000  bouyer file ite8181.c was added on branch thorpej_scsipi on 2000-11-20 20:45:57 +0000
 1.8.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.8.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.12.2.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.12.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.12.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.12.2.1 03-Aug-2001  lukem update to -current
 1.14.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.15.4.4 11-Nov-2002  nathanw Catch up to -current
 1.15.4.3 13-Aug-2002  nathanw Catch up to -current.
 1.15.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.15.4.1 16-Sep-2001  nathanw file ite8181.c was added on branch nathanw_sa on 2002-04-01 07:40:24 +0000
 1.16.6.1 07-Aug-2002  lukem Pull up revision 1.17 (requested by itojun in ticket #616):
integer overflow. from silvio@qualys.com
 1.16.4.1 31-Aug-2002  gehenna catch up with -current.
 1.18.6.5 24-Jan-2005  skrll Adapt to branch.
 1.18.6.4 18-Dec-2004  skrll Sync with HEAD.
 1.18.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.18.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.18.6.1 03-Aug-2004  skrll Sync with HEAD
 1.21.10.3 03-Sep-2007  yamt sync with head.
 1.21.10.2 30-Dec-2006  yamt sync with head.
 1.21.10.1 21-Jun-2006  yamt sync with head.
 1.22.14.1 19-Jun-2006  chap Sync with head.
 1.22.8.1 26-Jun-2006  yamt sync with head.
 1.22.6.1 01-Jun-2006  kardel Sync with head.
 1.22.4.1 09-Sep-2006  rpaulo sync with head
 1.23.8.1 22-Oct-2006  yamt sync with head
 1.23.6.1 18-Nov-2006  ad Sync with head.
 1.24.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.25.58.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.25.52.1 28-Apr-2009  skrll Sync with HEAD.
 1.25.44.1 04-May-2009  yamt sync with head.
 1.27.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.27.12.1 30-Oct-2012  yamt sync with head
 1.28.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.29.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.6 05-Jul-2024  andvar Fix various typos in comments.
 1.5 03-Jul-2022  andvar branches: 1.5.10;
fix various typos in comments, mainly s/pallete/palette/.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 04-Jan-2004  wiz Spell controller with two ls. Inspired by miod@openbsd.
 1.2 10-Nov-2003  wiz Spell address with two d's. Inspired by similar changes in OpenBSD,
originating from Jonathon Gray and forwarded by jmc@openbsd.
 1.1 02-Oct-2000  sato branches: 1.1.2; 1.1.26;
experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak,
 1.1.26.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.26.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.26.1 03-Aug-2004  skrll Sync with HEAD
 1.1.2.2 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.1.2.1 02-Oct-2000  bouyer file ite8181reg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:02 +0000
 1.5.10.1 02-Aug-2025  perseant Sync with HEAD
 1.7 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.6 16-Sep-2001  uch branches: 1.6.4; 1.6.160; 1.6.170;
ANSIfy, KNF.
 1.5 26-Mar-2001  sato branches: 1.5.2; 1.5.4;
o Change initialization for config_hook() base lcd control.
o Fix backlight control in case that light is controlable but not be
able to get status.
o change some verbose prints.
 1.4 09-Mar-2001  sato support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
lcd on/off
 1.3 27-Feb-2001  sato branches: 1.3.2;
* add WSDISPLAYIO_PARAM_BACKLIGHT, WSDISPLAYIO_PARAM_CONTRAST,
WSDISPLAYIO_PARAM_BRIGHTNESS supports.
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 02-Oct-2000  sato branches: 1.1.2;
experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak,
 1.1.2.4 27-Mar-2001  bouyer Sync with HEAD.
 1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 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.1.2.1 02-Oct-2000  bouyer file ite8181var.h was added on branch thorpej_scsipi on 2000-11-20 20:46:02 +0000
 1.3.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.5.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.170.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.160.1 30-Oct-2012  yamt sync with head
 1.6.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.6.4.1 16-Sep-2001  uch file ite8181var.h was added on branch nathanw_sa on 2001-09-16 05:32:19 +0000
 1.16 07-Sep-2021  rin Make this compile again.

XXX
Unfortunately, kernel does not boot on TX3922-based machines...
 1.15 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.14 24-Apr-2021  thorpej branches: 1.14.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.13 27-Oct-2012  chs branches: 1.13.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.12 28-Apr-2008  martin branches: 1.12.34; 1.12.44;
Remove clause 3 and 4 from TNF licenses
 1.11 04-Mar-2006  peter branches: 1.11.68; 1.11.70; 1.11.72;
Fix a typo.
 1.10 11-Dec-2005  christos branches: 1.10.4; 1.10.6;
merge ktrace-lwp.
 1.9 15-Jul-2003  lukem branches: 1.9.16;
__KERNEL_RCSID()
 1.8 02-Oct-2002  thorpej branches: 1.8.6;
Use CFATTACH_DECL().
 1.7 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.6 29-Jan-2002  uch clean up debug print and configuration.
 1.5 15-Sep-2001  uch branches: 1.5.4;
ANSIfy, KNF, change my copyright.
 1.4 22-Feb-2001  uch branches: 1.4.2; 1.4.4;
hpc common files are moved to dev/hpc.
 1.3 21-Sep-2000  takemura branches: 1.3.2;
skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.2 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.1 08-Dec-1999  uch branches: 1.1.2;
MITUBISHI M38813 keyboard controller.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.3.2.2 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.3.2.1 21-Sep-2000  bouyer file m38813c.c was added on branch thorpej_scsipi on 2000-11-20 20:46:02 +0000
 1.4.4.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.4.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.5.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.5.4.1 15-Sep-2001  nathanw file m38813c.c was added on branch nathanw_sa on 2002-02-28 04:09:54 +0000
 1.8.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.6.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.10.6.1 22-Apr-2006  simonb Sync with head.
 1.10.4.1 09-Sep-2006  rpaulo sync with head
 1.11.72.1 16-May-2008  yamt sync with head.
 1.11.70.1 18-May-2008  yamt sync with head.
 1.11.68.1 02-Jun-2008  mjf Sync with HEAD.
 1.12.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.12.34.1 30-Oct-2012  yamt sync with head
 1.13.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.14.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 08-Dec-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
MITUBISHI M38813 keyboard controller.
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 08-Dec-1999  bouyer file m38813cvar.h was added on branch thorpej_scsipi on 2000-11-20 20:46:03 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file m38813cvar.h was added on branch nathanw_sa on 2001-09-15 12:47:06 +0000
 1.3 28-Jan-2001  uch Switch to MI md_root.c.
 1.2 09-Jan-2000  shin md_root.c: #include "opt_mdsize.h"
machdep.c: add 'ifdef' to compile without 'options DDB'
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.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.36 28-May-2022  andvar fixed typo with another typo in my last commit. fixing it again.
 1.35 28-May-2022  andvar fix various typos, mainly in comments.
 1.34 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.33 24-Apr-2021  thorpej branches: 1.33.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.32 26-Jun-2015  matt branches: 1.32.32;
Cleanup includes
 1.31 27-Oct-2012  chs branches: 1.31.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.30 18-Mar-2009  cegger branches: 1.30.12; 1.30.22;
bzero -> memset
 1.29 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.28 04-Mar-2007  christos branches: 1.28.44; 1.28.52; 1.28.58;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.27 24-Sep-2006  jmcneill branches: 1.27.4;
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
 1.26 26-May-2006  blymn branches: 1.26.6; 1.26.8;
Clean up bogus whitespace
 1.25 11-Dec-2005  christos branches: 1.25.4; 1.25.6; 1.25.8; 1.25.14;
merge ktrace-lwp.
 1.24 12-Dec-2004  abs branches: 1.24.10;
Fix comments regarding configration bounaries
 1.23 13-Nov-2003  chs eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed. however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors. most of
the callers of uvm_useracc() make the above incorrect assumption. the
rest are all misguided optimizations, which optimize for the case
where an operation will fail. we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors. since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
 1.22 15-Jul-2003  lukem __KERNEL_RCSID()
 1.21 06-Aug-2002  itojun branches: 1.21.6;
integer overflow. from silvio@qualys.com
 1.20 14-Apr-2002  takemura branches: 1.20.2; 1.20.4;
Fixed 8bpp problem of mq200.
 1.19 17-Mar-2002  atatat Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.18 16-Sep-2001  uch branches: 1.18.4;
ANSIfy, KNF.
 1.17 22-Jul-2001  takemura branches: 1.17.2;
You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
 1.16 17-Jul-2001  toshii "infomation" -> "information"
 1.15 11-Jun-2001  sato branches: 1.15.2;
not set HPCFB_SWAP_BYTE.
 1.14 26-Mar-2001  sato o Change initialization for config_hook() base lcd control.
o Fix backlight control in case that light is controlable but not be
able to get status.
o change some verbose prints.
 1.13 25-Mar-2001  takemura Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.12 12-Mar-2001  sato * assume backlight is on if backlight value cannot get.
* move the lcd control codes used config_hook_call()
in *_hardpower() to *_power().
 1.11 09-Mar-2001  sato support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
lcd on/off
 1.10 27-Feb-2001  sato branches: 1.10.2;
* add WSDISPLAYIO_PARAM_BACKLIGHT, WSDISPLAYIO_PARAM_CONTRAST,
WSDISPLAYIO_PARAM_BRIGHTNESS supports.
 1.9 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.8 15-Feb-2001  sato * show framebuffer address in boot time.
 1.7 21-Jan-2001  takemura Use rasops with 4bit depth.
 1.6 05-Jan-2001  sato - print debug message for WSDISPLAYIO_GETPARAM/WSDISPLAYIO_SETPARAM
when boot verbose mode.
for debuging LCD control and/or keyboard cmds.
 1.5 21-Dec-2000  sato fix sc->sc_fbconf.hf_offset calculation.
 1.4 03-Dec-2000  takemura Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
 1.3 26-Nov-2000  takemura You can map mq200 registers as well as frame buffer.
(This little change has already contains release 1.5 branch by my mistake)
 1.2 02-Oct-2000  sato branches: 1.2.2;
- DPRINTF -> VPRINTF for verbose.
- don't attach other video driver under hpcfb.
 1.1 22-Jul-2000  takemura branches: 1.1.2;
Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.1.2.3 04-Sep-2002  itojun pullup (itojun)

sys/arch/amiga/dev/grf_cv3d.c 1.11
sys/arch/hpcmips/dev/mq200.c 1.21
sys/arch/i386/i386/sys_machdep.c 1.64
sys/arch/luna68k/dev/lunafb.c 1.9
sys/arch/sparc/dev/bt_subr.c via patch
sys/arch/sparc64/dev/bt_subr.c via patch
sys/arch/sun3/dev/bt_subr.c via patch
sys/compat/ibcs2/ibcs2_stat.c 1.21-1.23
sys/dev/sun/bt_subr.c 1.3
sys/dev/tc/cfb.c 1.34
sys/dev/tc/sfb.c 1.53
sys/dev/tc/xcfb.c 1.29
integer overflow. reported by silvio@qualys.com
 1.1.2.2 06-Aug-2000  takemura Pull up revision 1.1 (new, requested by takemura)

New power management function and MQ200 video power management driver.
 1.1.2.1 22-Jul-2000  takemura file mq200.c was added on branch netbsd-1-5 on 2000-08-06 03:56:41 +0000
 1.2.2.7 27-Mar-2001  bouyer Sync with HEAD.
 1.2.2.6 12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.5 11-Feb-2001  bouyer Sync with HEAD.
 1.2.2.4 05-Jan-2001  bouyer Sync with HEAD
 1.2.2.3 08-Dec-2000  bouyer Sync with HEAD.
 1.2.2.2 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.2.2.1 02-Oct-2000  bouyer file mq200.c was added on branch thorpej_scsipi on 2000-11-20 20:46:04 +0000
 1.10.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.10.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.15.2.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.15.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.15.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.15.2.1 03-Aug-2001  lukem update to -current
 1.17.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.18.4.4 13-Aug-2002  nathanw Catch up to -current.
 1.18.4.3 17-Apr-2002  nathanw Catch up to -current.
 1.18.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.18.4.1 16-Sep-2001  nathanw file mq200.c was added on branch nathanw_sa on 2002-04-01 07:40:24 +0000
 1.20.4.1 07-Aug-2002  lukem Pull up revision 1.21 (requested by itojun in ticket #616):
integer overflow. from silvio@qualys.com
 1.20.2.1 31-Aug-2002  gehenna catch up with -current.
 1.21.6.5 24-Jan-2005  skrll Adapt to branch.
 1.21.6.4 18-Dec-2004  skrll Sync with HEAD.
 1.21.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.21.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.21.6.1 03-Aug-2004  skrll Sync with HEAD
 1.24.10.3 03-Sep-2007  yamt sync with head.
 1.24.10.2 30-Dec-2006  yamt sync with head.
 1.24.10.1 21-Jun-2006  yamt sync with head.
 1.25.14.1 19-Jun-2006  chap Sync with head.
 1.25.8.1 26-Jun-2006  yamt sync with head.
 1.25.6.1 01-Jun-2006  kardel Sync with head.
 1.25.4.1 09-Sep-2006  rpaulo sync with head
 1.26.8.1 22-Oct-2006  yamt sync with head
 1.26.6.1 18-Nov-2006  ad Sync with head.
 1.27.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.28.58.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.28.52.1 28-Apr-2009  skrll Sync with HEAD.
 1.28.44.1 04-May-2009  yamt sync with head.
 1.30.22.2 03-Dec-2017  jdolecek update from HEAD
 1.30.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.30.12.1 30-Oct-2012  yamt sync with head
 1.31.14.1 22-Sep-2015  skrll Sync with HEAD
 1.32.32.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.33.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.6 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.5 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.4 02-Oct-2002  thorpej branches: 1.4.146; 1.4.156;
Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 11-May-2002  takemura branches: 1.2.6; 1.2.8;
Just deleted junk lines.
 1.1 11-May-2002  takemura BUGFIX: Xhpc dumps core on SigmarionII.
Attached MQ200 video controller at PCI bus.
 1.2.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 11-May-2002  jdolecek file mq200_pci.c was added on branch kqueue on 2002-06-23 17:36:51 +0000
 1.2.6.3 18-Oct-2002  nathanw Catch up to -current.
 1.2.6.2 20-Jun-2002  nathanw Catch up to -current.
 1.2.6.1 11-May-2002  nathanw file mq200_pci.c was added on branch nathanw_sa on 2002-06-20 03:38:48 +0000
 1.4.156.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.146.1 30-Oct-2012  yamt sync with head
 1.7 05-Jul-2024  andvar fix various typos in comments and log messages, mainly s/hight/high/
s/hight/height/ and removing double m in time(ing).
 1.6 26-Mar-2014  christos branches: 1.6.66;
- kill sprintf
- fix unused
 1.5 11-Dec-2005  christos branches: 1.5.112; 1.5.122; 1.5.128;
merge ktrace-lwp.
 1.4 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.3 06-Apr-2004  tv Allow compilation without MQ200_DEBUG: mq200_clknames is used outside of
debugging-only code.
 1.2 15-Jul-2003  lukem branches: 1.2.2;
__KERNEL_RCSID()
 1.1 25-Mar-2001  takemura branches: 1.1.2; 1.1.4; 1.1.12; 1.1.28;
Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.1.28.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.28.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.28.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.28.1 03-Aug-2004  skrll Sync with HEAD
 1.1.12.2 25-Mar-2001  takemura Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.1.12.1 25-Mar-2001  takemura file mq200debug.c was added on branch nathanw_sa on 2001-03-25 13:06:54 +0000
 1.1.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.1.2.2 27-Mar-2001  bouyer Sync with HEAD.
 1.1.2.1 25-Mar-2001  bouyer file mq200debug.c was added on branch thorpej_scsipi on 2001-03-27 15:30:54 +0000
 1.2.2.1 07-Apr-2004  jmc Pullup rev 1.3 (requested by tv in ticket #76)

Allow compilation without MQ200_DEBUG: mq200_clknames is used outside of
debugging-only code.
 1.5.128.1 18-May-2014  rmind sync with head
 1.5.122.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.112.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.6.66.1 02-Aug-2025  perseant Sync with HEAD
 1.6 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.5 13-Jul-2007  kiyohara branches: 1.5.10;
There is a possibility that TLB-miss is caused in mq200_mdsetup().
 1.4 11-Dec-2005  christos branches: 1.4.24; 1.4.30; 1.4.38; 1.4.40;
merge ktrace-lwp.
 1.3 04-Oct-2003  imp branches: 1.3.16;
The Mobile Pro 780 is the same as the MobileGear II MC/R530. In fact,
its platform code is R530A. As such, the external video patches for
the R530 work for the '780. This gives a 640x480 video out (but only
the middle 240 pixels are used, to match the lcd resolution) on the
console and in X11.
 1.2 15-Jul-2003  lukem __KERNEL_RCSID()
 1.1 25-Mar-2001  takemura branches: 1.1.2; 1.1.4; 1.1.12; 1.1.28;
Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.1.28.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.28.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.28.1 03-Aug-2004  skrll Sync with HEAD
 1.1.12.2 25-Mar-2001  takemura Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.1.12.1 25-Mar-2001  takemura file mq200machdep.c was added on branch nathanw_sa on 2001-03-25 13:06:54 +0000
 1.1.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.1.2.2 27-Mar-2001  bouyer Sync with HEAD.
 1.1.2.1 25-Mar-2001  bouyer file mq200machdep.c was added on branch thorpej_scsipi on 2001-03-27 15:30:55 +0000
 1.3.16.1 03-Sep-2007  yamt sync with head.
 1.4.40.1 06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.4.38.1 03-Oct-2007  garbled Sync with HEAD
 1.4.30.1 15-Jul-2007  ad Sync with head.
 1.4.24.1 25-Nov-2007  xtraeme Pull up following revision(s) (requested by kiyohara in ticket #997):
sys/arch/hpcmips/dev/mq200machdep.c: revision 1.5
There is a possibility that TLB-miss is caused in mq200_mdsetup().
 1.5.10.1 06-Nov-2007  matt sync with HEAD
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.2 27-Dec-2003  takemura Initialized variables and added error handling in mq200_pllparam().
 1.1 25-Mar-2001  takemura branches: 1.1.2; 1.1.4; 1.1.12; 1.1.28;
Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.1.28.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.28.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.28.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.28.1 03-Aug-2004  skrll Sync with HEAD
 1.1.12.2 25-Mar-2001  takemura Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.1.12.1 25-Mar-2001  takemura file mq200priv.h was added on branch nathanw_sa on 2001-03-25 13:06:54 +0000
 1.1.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.1.2.2 27-Mar-2001  bouyer Sync with HEAD.
 1.1.2.1 25-Mar-2001  bouyer file mq200priv.h was added on branch thorpej_scsipi on 2001-03-27 15:30:55 +0000
 1.12 23-May-2024  andvar fix typos in comments.
 1.11 28-Feb-2010  snj Fight the ever-increasing size of src checkouts by spelling "useful"
without an extra l.
 1.10 11-Dec-2005  christos branches: 1.10.78; 1.10.98;
merge ktrace-lwp.
 1.9 12-Dec-2004  abs Fix comments regarding configration bounaries
 1.8 04-Jan-2004  wiz Spell controller with two ls. Inspired by miod@openbsd.
 1.7 11-May-2002  takemura branches: 1.7.10;
BUGFIX: Xhpc dumps core on SigmarionII.
Attached MQ200 video controller at PCI bus.
 1.6 25-Mar-2001  takemura branches: 1.6.2; 1.6.8;
Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.5 11-Mar-2001  takemura Fix definition of MQ200_GCR(n). This definition was quite bad!
 1.4 07-Jan-2001  takemura branches: 1.4.2;
Add some definitions.
 1.3 03-Dec-2000  takemura - CRT control exists only in GC01R.
- add some symbols.
- fix some typo.
 1.2 26-Nov-2000  takemura You can map mq200 registers as well as frame buffer.
(This little change has already contains release 1.5 branch by my mistake)
 1.1 22-Jul-2000  takemura branches: 1.1.2; 1.1.4;
Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.1.4.6 27-Mar-2001  bouyer Sync with HEAD.
 1.1.4.5 12-Mar-2001  bouyer Sync with HEAD.
 1.1.4.4 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.1.4.3 08-Dec-2000  bouyer Sync with HEAD.
 1.1.4.2 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.1.4.1 22-Jul-2000  bouyer file mq200reg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:04 +0000
 1.1.2.2 06-Aug-2000  takemura Pull up revision 1.1 (new, requested by takemura)

New power management function and MQ200 video power management driver.
 1.1.2.1 22-Jul-2000  takemura file mq200reg.h was added on branch netbsd-1-5 on 2000-08-06 03:56:42 +0000
 1.4.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.6.8.2 20-Jun-2002  nathanw Catch up to -current.
 1.6.8.1 25-Mar-2001  nathanw file mq200reg.h was added on branch nathanw_sa on 2002-06-20 03:38:48 +0000
 1.6.2.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.7.10.4 18-Dec-2004  skrll Sync with HEAD.
 1.7.10.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.10.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.10.1 03-Aug-2004  skrll Sync with HEAD
 1.10.98.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.10.78.1 11-Mar-2010  yamt sync with head
 1.7 21-Aug-2019  msaitoh Fix typo (s/contoller/controller/).
 1.6 11-Dec-2005  christos branches: 1.6.166;
merge ktrace-lwp.
 1.5 27-Dec-2003  takemura Initialized variables and added error handling in mq200_pllparam().
 1.4 15-Jul-2003  lukem __KERNEL_RCSID()
 1.3 27-Sep-2002  provos branches: 1.3.6;
remove trailing \n in panic(). approved perry.
 1.2 11-May-2002  takemura BUGFIX: Xhpc dumps core on SigmarionII.
Attached MQ200 video controller at PCI bus.
 1.1 25-Mar-2001  takemura branches: 1.1.2; 1.1.4; 1.1.6; 1.1.12;
Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.1.12.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.12.2 20-Jun-2002  nathanw Catch up to -current.
 1.1.12.1 25-Mar-2001  nathanw file mq200subr.c was added on branch nathanw_sa on 2002-06-20 03:38:49 +0000
 1.1.6.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.6.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.1.2.2 27-Mar-2001  bouyer Sync with HEAD.
 1.1.2.1 25-Mar-2001  bouyer file mq200subr.c was added on branch thorpej_scsipi on 2001-03-27 15:30:55 +0000
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.6.166.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.8 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.7 16-Sep-2001  uch branches: 1.7.4; 1.7.160; 1.7.170;
ANSIfy, KNF.
 1.6 26-Mar-2001  sato branches: 1.6.2; 1.6.4;
o Change initialization for config_hook() base lcd control.
o Fix backlight control in case that light is controlable but not be
able to get status.
o change some verbose prints.
 1.5 25-Mar-2001  takemura Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
 1.4 09-Mar-2001  sato support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
lcd on/off
 1.3 27-Feb-2001  sato branches: 1.3.2;
* add WSDISPLAYIO_PARAM_BACKLIGHT, WSDISPLAYIO_PARAM_CONTRAST,
WSDISPLAYIO_PARAM_BRIGHTNESS supports.
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 22-Jul-2000  takemura branches: 1.1.2; 1.1.4;
Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.1.4.4 27-Mar-2001  bouyer Sync with HEAD.
 1.1.4.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.4.2 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.1.4.1 22-Jul-2000  bouyer file mq200var.h was added on branch thorpej_scsipi on 2000-11-20 20:46:04 +0000
 1.1.2.2 06-Aug-2000  takemura Pull up revision 1.1 (new, requested by takemura)

New power management function and MQ200 video power management driver.
 1.1.2.1 22-Jul-2000  takemura file mq200var.h was added on branch netbsd-1-5 on 2000-08-06 03:56:42 +0000
 1.3.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.6.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.6.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.170.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.160.1 30-Oct-2012  yamt sync with head
 1.7.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.7.4.1 16-Sep-2001  uch file mq200var.h was added on branch nathanw_sa on 2001-09-16 05:32:19 +0000
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 10-Jan-2000  takemura branches: 1.1.6;
WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 10-Jan-2000  bouyer file mra.c was added on branch thorpej_scsipi on 2000-11-20 20:46:05 +0000
 1.9 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.8 24-Apr-2021  thorpej branches: 1.8.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.7 27-Oct-2012  chs branches: 1.7.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.6 04-Mar-2007  christos branches: 1.6.78; 1.6.88;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.5 12-Nov-2006  plunky branches: 1.5.4;
Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
 1.4 16-Apr-2006  nakayama branches: 1.4.8; 1.4.10;
Follow the ktrace-lwp merge.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
merge ktrace-lwp.
 1.2 09-May-2005  hamajima branches: 1.2.2; 1.2.4; 1.2.10;
Fix buttons arg of wsmouse_input().
Add hard power hook. disable at suspend, enable at resume.
 1.1 04-May-2005  hamajima branches: 1.1.2;
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.2.3 02-Sep-2005  riz Pull up following revision(s) (requested by hamajima in ticket #720):
sys/arch/hpcmips/dev/optpoint.c: revision 1.2
Fix buttons arg of wsmouse_input().
Add hard power hook. disable at suspend, enable at resume.
 1.1.2.2 07-May-2005  tron Pull up revision 1.1 (requested by hamajima in ticket #247):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.2.1 04-May-2005  tron file optpoint.c was added on branch netbsd-3 on 2005-05-07 11:34:57 +0000
 1.2.10.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.10.1 09-May-2005  skrll file optpoint.c was added on branch ktrace-lwp on 2005-11-10 13:56:27 +0000
 1.2.4.3 03-Sep-2007  yamt sync with head.
 1.2.4.2 30-Dec-2006  yamt sync with head.
 1.2.4.1 21-Jun-2006  yamt sync with head.
 1.2.2.3 31-Aug-2005  riz Pull up following revision(s) (requested by hamajima in ticket #5625):
sys/arch/hpcmips/dev/optpoint.c: revision 1.2
Fix buttons arg of wsmouse_input().
Add hard power hook. disable at suspend, enable at resume.
 1.2.2.2 16-May-2005  riz Pull up revision 1.1 (requested by hamajima in ticket #1500):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.2.2.1 09-May-2005  riz file optpoint.c was added on branch netbsd-2 on 2005-05-16 21:05:26 +0000
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.8.1 24-May-2006  yamt sync with head.
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.4.10.1 10-Dec-2006  yamt sync with head.
 1.4.8.1 18-Nov-2006  ad Sync with head.
 1.5.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.6.88.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.78.1 30-Oct-2012  yamt sync with head
 1.7.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.8.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.4 07-Jan-2000  uch p7416buf and tc5165buf are merged.
 1.3 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.2 08-Dec-1999  uch branches: 1.2.2;
fix typo.
 1.1 08-Dec-1999  uch Remove old keyboard driver for Compaq C.
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 07-Jan-2000  uch p7416buf and tc5165buf are merged.
 1.1 08-Dec-1999  uch branches: 1.1.2;
Remove old keyboard driver for Compaq C.
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 04-May-2000  takemura branches: 1.1.6;
Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 04-May-2000  bouyer file pckbd_encode.c was added on branch thorpej_scsipi on 2000-11-20 20:46:05 +0000
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 04-May-2000  takemura branches: 1.1.6;
Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 04-May-2000  bouyer file pckbd_encode.h was added on branch thorpej_scsipi on 2000-11-20 20:46:06 +0000
 1.20 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.19 24-Apr-2021  thorpej branches: 1.19.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.18 21-Nov-2020  thorpej branches: 1.18.2;
malloc(9) -> kmem(9)
 1.17 10-Nov-2019  chs branches: 1.17.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.16 02-Oct-2015  msaitoh branches: 1.16.18;
Fix comiple error. plum(4) is not PCI...
 1.15 02-Oct-2015  msaitoh PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.14 27-Oct-2012  chs branches: 1.14.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.13 28-Apr-2008  martin branches: 1.13.34; 1.13.44;
Remove clause 3 and 4 from TNF licenses
 1.12 11-Dec-2005  christos branches: 1.12.74; 1.12.76; 1.12.78;
merge ktrace-lwp.
 1.11 26-Aug-2005  drochner s/locdesc_t/int/g
 1.10 30-Jun-2005  drochner branches: 1.10.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.9 07-Nov-2003  he Set `reg' before using it to print the unrecognized value.
 1.8 26-Sep-2003  simonb Don't have a label as the last part of a compound statement (fixes a
gcc331 warning).
 1.7 15-Jul-2003  lukem __KERNEL_RCSID()
 1.6 02-Oct-2002  thorpej branches: 1.6.6;
Use CFATTACH_DECL().
 1.5 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.4 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.3 29-Jan-2002  uch clean up debug print and configuration.
 1.2 15-Sep-2001  uch branches: 1.2.4;
ANSIfy, KNF, change my copyright.
 1.1 21-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.12.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.12.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 21-Nov-1999  bouyer file plum.c was added on branch thorpej_scsipi on 2000-11-20 20:46:06 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.2.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.1 15-Sep-2001  nathanw file plum.c was added on branch nathanw_sa on 2002-02-28 04:09:54 +0000
 1.6.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.6.1 03-Aug-2004  skrll Sync with HEAD
 1.10.2.1 21-Jun-2006  yamt sync with head.
 1.12.78.1 16-May-2008  yamt sync with head.
 1.12.76.1 18-May-2008  yamt sync with head.
 1.12.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.13.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.13.34.1 30-Oct-2012  yamt sync with head
 1.14.14.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.16.18.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.17.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.18.2.7 05-Apr-2021  thorpej Decorate the problematic config_probe() calls (non-boolean return value)
with XXX.
 1.18.2.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.18.2.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.18.2.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.18.2.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.18.2.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.18.2.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.19.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.13 10-Sep-2023  andvar PLUM2 icu debug code uses dbg_bit_print, defined in hpcmips debug.h header file.
Thus rewrote code to use DPRINTF definition from it and include the header.

Fixes PLUMICUDEBUG enabled build.
 1.12 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.11 28-Apr-2008  martin branches: 1.11.34; 1.11.44;
Remove clause 3 and 4 from TNF licenses
 1.10 24-Dec-2005  perry branches: 1.10.74; 1.10.76; 1.10.78;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.9 11-Dec-2005  christos merge ktrace-lwp.
 1.8 15-Jul-2003  lukem branches: 1.8.16;
__KERNEL_RCSID()
 1.7 02-Oct-2002  thorpej branches: 1.7.6;
Use CFATTACH_DECL().
 1.6 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5 29-Jan-2002  uch clean up debug print and configuration.
 1.4 15-Sep-2001  uch branches: 1.4.4;
ANSIfy, KNF, change my copyright.
 1.3 26-Feb-2000  uch branches: 1.3.6; 1.3.8; 1.3.10;
fix lost interrupt bug.
 1.2 07-Dec-1999  uch branches: 1.2.2;
Fix iocorrect defines.
 1.1 21-Nov-1999  uch PLUM2(TC6358TB) TX3922 companion chip
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.10.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.10.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.3.10.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.8.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.6.2 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.3.6.1 26-Feb-2000  bouyer file plumicu.c was added on branch thorpej_scsipi on 2000-11-20 20:46:07 +0000
 1.4.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.4.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.1 15-Sep-2001  nathanw file plumicu.c was added on branch nathanw_sa on 2002-02-28 04:09:54 +0000
 1.7.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.6.1 03-Aug-2004  skrll Sync with HEAD
 1.8.16.1 21-Jun-2006  yamt sync with head.
 1.10.78.1 16-May-2008  yamt sync with head.
 1.10.76.1 18-May-2008  yamt sync with head.
 1.10.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.34.1 30-Oct-2012  yamt sync with head
 1.5 31-May-2022  andvar s/disbale/disable/ and s/enbale/enable/ in comments. also one more typo fix.
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 15-Sep-2001  uch branches: 1.3.4; 1.3.122; 1.3.124; 1.3.126;
ANSIfy, KNF, change my copyright.
 1.2 07-Dec-1999  uch branches: 1.2.2; 1.2.8; 1.2.10; 1.2.12;
Fix iocorrect defines.
 1.1 21-Nov-1999  uch PLUM2(TC6358TB) TX3922 companion chip
 1.2.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.2.8.2 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.2.8.1 07-Dec-1999  bouyer file plumicureg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:07 +0000
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.126.1 16-May-2008  yamt sync with head.
 1.3.124.1 18-May-2008  yamt sync with head.
 1.3.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.3.4.1 15-Sep-2001  uch file plumicureg.h was added on branch nathanw_sa on 2001-09-15 12:47:07 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 21-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 21-Nov-1999  bouyer file plumicuvar.h was added on branch thorpej_scsipi on 2000-11-20 20:46:08 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file plumicuvar.h was added on branch nathanw_sa on 2001-09-15 12:47:07 +0000
 1.19 24-Jan-2022  andvar s/begining/beginning/ in comments and messages.
 1.18 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.17 24-Apr-2021  thorpej branches: 1.17.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.16 21-Nov-2020  thorpej branches: 1.16.2;
malloc(9) -> kmem(9)
 1.15 10-Nov-2019  chs branches: 1.15.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.14 27-Oct-2012  chs branches: 1.14.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.13 28-Apr-2008  martin branches: 1.13.34; 1.13.44;
Remove clause 3 and 4 from TNF licenses
 1.12 11-Dec-2005  christos branches: 1.12.74; 1.12.76; 1.12.78;
merge ktrace-lwp.
 1.11 26-Aug-2005  drochner s/locdesc_t/int/g
 1.10 30-Jun-2005  drochner branches: 1.10.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.9 15-Jul-2003  lukem __KERNEL_RCSID()
 1.8 02-Oct-2002  thorpej branches: 1.8.6;
Use CFATTACH_DECL().
 1.7 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.6 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.5 29-Jan-2002  uch clean up debug print and configuration.
 1.4 15-Sep-2001  uch branches: 1.4.4;
ANSIfy, KNF, change my copyright.
 1.3 27-Feb-2000  uch branches: 1.3.6; 1.3.8; 1.3.10;
cosmetic changes
 1.2 07-Dec-1999  uch branches: 1.2.2;
supply power.
 1.1 21-Nov-1999  uch PLUM2(TC6358TB) TX3922 companion chip
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.10.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.10.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.3.10.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.8.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.6.2 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.3.6.1 27-Feb-2000  bouyer file plumiobus.c was added on branch thorpej_scsipi on 2000-11-20 20:46:08 +0000
 1.4.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.4.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.1 15-Sep-2001  nathanw file plumiobus.c was added on branch nathanw_sa on 2002-02-28 04:09:54 +0000
 1.8.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.6.1 03-Aug-2004  skrll Sync with HEAD
 1.10.2.1 21-Jun-2006  yamt sync with head.
 1.12.78.1 16-May-2008  yamt sync with head.
 1.12.76.1 18-May-2008  yamt sync with head.
 1.12.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.13.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.13.34.1 30-Oct-2012  yamt sync with head
 1.14.38.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.15.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.16.2.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.16.2.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.16.2.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.16.2.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.16.2.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.16.2.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.17.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.4 08-Dec-2023  andvar fix triple t typos in comment and debug message.
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 21-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 21-Nov-1999  bouyer file plumiobusreg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:09 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file plumiobusreg.h was added on branch nathanw_sa on 2001-09-15 12:47:07 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 21-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 21-Nov-1999  bouyer file plumiobusvar.h was added on branch thorpej_scsipi on 2000-11-20 20:46:09 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file plumiobusvar.h was added on branch nathanw_sa on 2001-09-15 12:47:07 +0000
 1.18 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.17 24-Apr-2021  thorpej branches: 1.17.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.16 21-Nov-2020  thorpej branches: 1.16.2;
malloc(9) -> kmem(9)
 1.15 23-Apr-2016  skrll branches: 1.15.30;
Merge nick-nhusb

- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
- kern/48308
- uhub status notification improvements
- umass(4) probe fix (applied to HEAD already)
- ohci(4) short transfer fix
 1.14 27-Oct-2012  chs branches: 1.14.12; 1.14.14; 1.14.18;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.13 20-Jul-2010  tsutsui branches: 1.13.8; 1.13.18;
Remove (possibly) unnecessary boundary arg from bus_space_alloc(9)
for DMA shared memory. PR port-hpcmips/43473 by Risto Sainio.
 1.12 03-Apr-2008  drochner branches: 1.12.4; 1.12.14; 1.12.24; 1.12.26;
update for device/softc split, thanks to Risto Sainio for testing
 1.11 04-Mar-2007  christos branches: 1.11.40;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.10 11-Dec-2005  christos branches: 1.10.26;
merge ktrace-lwp.
 1.9 26-Sep-2003  simonb branches: 1.9.16;
Cast through (void *) to appease gcc3.
 1.8 15-Jul-2003  lukem __KERNEL_RCSID()
 1.7 02-Oct-2002  thorpej branches: 1.7.6;
Use CFATTACH_DECL().
 1.6 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.4 15-Sep-2001  uch branches: 1.4.4;
ANSIfy, KNF, change my copyright.
 1.3 29-Jun-2000  mrg branches: 1.3.2; 1.3.4; 1.3.6;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.2 26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.1 25-Mar-2000  uch TOSHIBA TC6358TB(PLUM2) OHCI module support.
 1.3.6.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.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.2.2 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.3.2.1 29-Jun-2000  bouyer file plumohci.c was added on branch thorpej_scsipi on 2000-11-20 20:46:09 +0000
 1.4.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.4.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.4.4.1 15-Sep-2001  nathanw file plumohci.c was added on branch nathanw_sa on 2002-01-08 00:24:59 +0000
 1.7.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.6.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.1 03-Sep-2007  yamt sync with head.
 1.10.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.11.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.12.26.1 05-Mar-2011  rmind sync with head
 1.12.24.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.12.14.1 26-Nov-2010  riz Pull up following revision(s) (requested by tsutsui in ticket #1484):
sys/arch/hpcmips/dev/plumohci.c: revision 1.13
Remove (possibly) unnecessary boundary arg from bus_space_alloc(9)
for DMA shared memory. PR port-hpcmips/43473 by Risto Sainio.
 1.12.4.1 11-Aug-2010  yamt sync with head.
 1.13.18.2 03-Dec-2017  jdolecek update from HEAD
 1.13.18.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.13.8.1 30-Oct-2012  yamt sync with head
 1.14.18.1 06-Sep-2016  skrll First pass at netbsd-7 updated with USB code from HEAD
 1.14.14.4 05-Dec-2014  skrll Use int for return type for [eou]chi_init and motg_init.
 1.14.14.3 05-Dec-2014  skrll KNF. Remove ( ) from return statements.
 1.14.14.2 03-Dec-2014  skrll The grand renaming of structure members.

No functional change.
 1.14.14.1 03-Dec-2014  skrll Trailing whitespace.
 1.14.12.1 05-Apr-2017  snj Pull up following revision(s) (requested by skrll in ticket #1395):
share/man/man4/axe.4: netbsd-7-nhusb
share/man/man4/axen.4: netbsd-7-nhusb
share/man/man4/cdce.4: netbsd-7-nhusb
share/man/man4/uaudio.4: netbsd-7-nhusb
share/man/man4/ucom.4: netbsd-7-nhusb
share/man/man4/uep.4: netbsd-7-nhusb
share/man/man4/urtw.4: netbsd-7-nhusb
share/man/man4/usb.4: netbsd-7-nhusb
share/man/man4/uyap.4: netbsd-7-nhusb
share/man/man4/xhci.4: netbsd-7-nhusb
share/man/man9/usbdi.9: netbsd-7-nhusb
sys/arch/amd64/conf/ALL: netbsd-7-nhusb
sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb
sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb
sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb
sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb
sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb
sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb
sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb
sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb
sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb
sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb
sys/arch/arm/imx/files.imx23: netbsd-7-nhusb
sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb
sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb
sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb
sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb
sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb
sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb
sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb
sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb
sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb
sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb
sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb
sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb
sys/arch/i386/conf/ALL: netbsd-7-nhusb
sys/arch/i386/conf/GENERIC: netbsd-7-nhusb
sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb
sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb
sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb
sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb
sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb
sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb
sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb
sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb
sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb
sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb
sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb
sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb
sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb
sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb
sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb
sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb
sys/conf/files: netbsd-7-nhusb
sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb
sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb
sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb
sys/dev/ic/sl811hs.c: netbsd-7-nhusb
sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb
sys/dev/isa/slhci_isa.c: netbsd-7-nhusb
sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb
sys/dev/pci/ehci_pci.c: netbsd-7-nhusb
sys/dev/pci/ohci_pci.c: netbsd-7-nhusb
sys/dev/pci/uhci_pci.c: netbsd-7-nhusb
sys/dev/pci/xhci_pci.c: netbsd-7-nhusb
sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb
sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb
sys/dev/usb/TODO: netbsd-7-nhusb
sys/dev/usb/TODO.usbmp: netbsd-7-nhusb
sys/dev/usb/aubtfwl.c: netbsd-7-nhusb
sys/dev/usb/auvitek.c: netbsd-7-nhusb
sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb
sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb
sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb
sys/dev/usb/auvitek_video.c: netbsd-7-nhusb
sys/dev/usb/auvitekvar.h: netbsd-7-nhusb
sys/dev/usb/ehci.c: netbsd-7-nhusb
sys/dev/usb/ehcireg.h: netbsd-7-nhusb
sys/dev/usb/ehcivar.h: netbsd-7-nhusb
sys/dev/usb/emdtv.c: netbsd-7-nhusb
sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb
sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb
sys/dev/usb/emdtvvar.h: netbsd-7-nhusb
sys/dev/usb/ezload.c: netbsd-7-nhusb
sys/dev/usb/ezload.h: netbsd-7-nhusb
sys/dev/usb/files.usb: netbsd-7-nhusb
sys/dev/usb/hid.c: netbsd-7-nhusb
sys/dev/usb/hid.h: netbsd-7-nhusb
sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb
sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb
sys/dev/usb/if_atu.c: netbsd-7-nhusb
sys/dev/usb/if_atureg.h: netbsd-7-nhusb
sys/dev/usb/if_aue.c: netbsd-7-nhusb
sys/dev/usb/if_auereg.h: netbsd-7-nhusb
sys/dev/usb/if_axe.c: netbsd-7-nhusb
sys/dev/usb/if_axen.c: netbsd-7-nhusb
sys/dev/usb/if_axenreg.h: netbsd-7-nhusb
sys/dev/usb/if_axereg.h: netbsd-7-nhusb
sys/dev/usb/if_cdce.c: netbsd-7-nhusb
sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb
sys/dev/usb/if_cue.c: netbsd-7-nhusb
sys/dev/usb/if_cuereg.h: netbsd-7-nhusb
sys/dev/usb/if_kue.c: netbsd-7-nhusb
sys/dev/usb/if_kuereg.h: netbsd-7-nhusb
sys/dev/usb/if_otus.c: netbsd-7-nhusb
sys/dev/usb/if_otusvar.h: netbsd-7-nhusb
sys/dev/usb/if_rum.c: netbsd-7-nhusb
sys/dev/usb/if_rumreg.h: netbsd-7-nhusb
sys/dev/usb/if_rumvar.h: netbsd-7-nhusb
sys/dev/usb/if_run.c: netbsd-7-nhusb
sys/dev/usb/if_runvar.h: netbsd-7-nhusb
sys/dev/usb/if_smsc.c: netbsd-7-nhusb
sys/dev/usb/if_smscreg.h: netbsd-7-nhusb
sys/dev/usb/if_smscvar.h: netbsd-7-nhusb
sys/dev/usb/if_udav.c: netbsd-7-nhusb
sys/dev/usb/if_udavreg.h: netbsd-7-nhusb
sys/dev/usb/if_upgt.c: netbsd-7-nhusb
sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb
sys/dev/usb/if_upl.c: netbsd-7-nhusb
sys/dev/usb/if_ural.c: netbsd-7-nhusb
sys/dev/usb/if_uralreg.h: netbsd-7-nhusb
sys/dev/usb/if_uralvar.h: netbsd-7-nhusb
sys/dev/usb/if_url.c: netbsd-7-nhusb
sys/dev/usb/if_urlreg.h: netbsd-7-nhusb
sys/dev/usb/if_urndis.c: netbsd-7-nhusb
sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb
sys/dev/usb/if_urtw.c: netbsd-7-nhusb
sys/dev/usb/if_urtwn.c: netbsd-7-nhusb
sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb
sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb
sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb
sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb
sys/dev/usb/if_zyd.c: netbsd-7-nhusb
sys/dev/usb/if_zydreg.h: netbsd-7-nhusb
sys/dev/usb/irmce.c: netbsd-7-nhusb
sys/dev/usb/moscom.c: netbsd-7-nhusb
sys/dev/usb/motg.c: netbsd-7-nhusb
sys/dev/usb/motgvar.h: netbsd-7-nhusb
sys/dev/usb/ohci.c: netbsd-7-nhusb
sys/dev/usb/ohcireg.h: netbsd-7-nhusb
sys/dev/usb/ohcivar.h: netbsd-7-nhusb
sys/dev/usb/pseye.c: netbsd-7-nhusb
sys/dev/usb/slurm.c: netbsd-7-nhusb
sys/dev/usb/stuirda.c: netbsd-7-nhusb
sys/dev/usb/u3g.c: netbsd-7-nhusb
sys/dev/usb/uark.c: netbsd-7-nhusb
sys/dev/usb/uatp.c: netbsd-7-nhusb
sys/dev/usb/uaudio.c: netbsd-7-nhusb
sys/dev/usb/uberry.c: netbsd-7-nhusb
sys/dev/usb/ubsa.c: netbsd-7-nhusb
sys/dev/usb/ubsa_common.c: netbsd-7-nhusb
sys/dev/usb/ubsavar.h: netbsd-7-nhusb
sys/dev/usb/ubt.c: netbsd-7-nhusb
sys/dev/usb/uchcom.c: netbsd-7-nhusb
sys/dev/usb/ucom.c: netbsd-7-nhusb
sys/dev/usb/ucomvar.h: netbsd-7-nhusb
sys/dev/usb/ucycom.c: netbsd-7-nhusb
sys/dev/usb/udl.c: netbsd-7-nhusb
sys/dev/usb/udl.h: netbsd-7-nhusb
sys/dev/usb/udsbr.c: netbsd-7-nhusb
sys/dev/usb/udsir.c: netbsd-7-nhusb
sys/dev/usb/uep.c: netbsd-7-nhusb
sys/dev/usb/uftdi.c: netbsd-7-nhusb
sys/dev/usb/uftdireg.h: netbsd-7-nhusb
sys/dev/usb/ugen.c: netbsd-7-nhusb
sys/dev/usb/ugensa.c: netbsd-7-nhusb
sys/dev/usb/uhci.c: netbsd-7-nhusb
sys/dev/usb/uhcireg.h: netbsd-7-nhusb
sys/dev/usb/uhcivar.h: netbsd-7-nhusb
sys/dev/usb/uhid.c: netbsd-7-nhusb
sys/dev/usb/uhidev.c: netbsd-7-nhusb
sys/dev/usb/uhidev.h: netbsd-7-nhusb
sys/dev/usb/uhmodem.c: netbsd-7-nhusb
sys/dev/usb/uhso.c: netbsd-7-nhusb
sys/dev/usb/uhub.c: netbsd-7-nhusb
sys/dev/usb/uipad.c: netbsd-7-nhusb
sys/dev/usb/uipaq.c: netbsd-7-nhusb
sys/dev/usb/uirda.c: netbsd-7-nhusb
sys/dev/usb/uirdavar.h: netbsd-7-nhusb
sys/dev/usb/ukbd.c: netbsd-7-nhusb
sys/dev/usb/ukbdmap.c: netbsd-7-nhusb
sys/dev/usb/ukyopon.c: netbsd-7-nhusb
sys/dev/usb/ukyopon.h: netbsd-7-nhusb
sys/dev/usb/ulpt.c: netbsd-7-nhusb
sys/dev/usb/umass.c: netbsd-7-nhusb
sys/dev/usb/umass_isdata.c: netbsd-7-nhusb
sys/dev/usb/umass_isdata.h: netbsd-7-nhusb
sys/dev/usb/umass_quirks.c: netbsd-7-nhusb
sys/dev/usb/umass_quirks.h: netbsd-7-nhusb
sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb
sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb
sys/dev/usb/umassvar.h: netbsd-7-nhusb
sys/dev/usb/umcs.c: netbsd-7-nhusb
sys/dev/usb/umct.c: netbsd-7-nhusb
sys/dev/usb/umidi.c: netbsd-7-nhusb
sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb
sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb
sys/dev/usb/umodem.c: netbsd-7-nhusb
sys/dev/usb/umodem_common.c: netbsd-7-nhusb
sys/dev/usb/umodemvar.h: netbsd-7-nhusb
sys/dev/usb/ums.c: netbsd-7-nhusb
sys/dev/usb/uplcom.c: netbsd-7-nhusb
sys/dev/usb/urio.c: netbsd-7-nhusb
sys/dev/usb/urio.h: netbsd-7-nhusb
sys/dev/usb/usb.c: netbsd-7-nhusb
sys/dev/usb/usb.h: netbsd-7-nhusb
sys/dev/usb/usb_mem.c: netbsd-7-nhusb
sys/dev/usb/usb_mem.h: netbsd-7-nhusb
sys/dev/usb/usb_quirks.c: netbsd-7-nhusb
sys/dev/usb/usb_quirks.h: netbsd-7-nhusb
sys/dev/usb/usb_subr.c: netbsd-7-nhusb
sys/dev/usb/usbdevices.config: netbsd-7-nhusb
sys/dev/usb/usbdevs: netbsd-7-nhusb
sys/dev/usb/usbdevs.h: netbsd-7-nhusb
sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb
sys/dev/usb/usbdi.c: netbsd-7-nhusb
sys/dev/usb/usbdi.h: netbsd-7-nhusb
sys/dev/usb/usbdi_util.c: netbsd-7-nhusb
sys/dev/usb/usbdi_util.h: netbsd-7-nhusb
sys/dev/usb/usbdivar.h: netbsd-7-nhusb
sys/dev/usb/usbhid.h: netbsd-7-nhusb
sys/dev/usb/usbhist.h: netbsd-7-nhusb
sys/dev/usb/usbroothub.c: netbsd-7-nhusb
sys/dev/usb/usbroothub.h: netbsd-7-nhusb
sys/dev/usb/usbroothub_subr.c: delete
sys/dev/usb/usbroothub_subr.h: delete
sys/dev/usb/uscanner.c: netbsd-7-nhusb
sys/dev/usb/uslsa.c: netbsd-7-nhusb
sys/dev/usb/usscanner.c: netbsd-7-nhusb
sys/dev/usb/ustir.c: netbsd-7-nhusb
sys/dev/usb/uthum.c: netbsd-7-nhusb
sys/dev/usb/utoppy.c: netbsd-7-nhusb
sys/dev/usb/uts.c: netbsd-7-nhusb
sys/dev/usb/uvideo.c: netbsd-7-nhusb
sys/dev/usb/uvisor.c: netbsd-7-nhusb
sys/dev/usb/uvscom.c: netbsd-7-nhusb
sys/dev/usb/uyap.c: netbsd-7-nhusb
sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb
sys/dev/usb/uyurex.c: netbsd-7-nhusb
sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb
sys/dev/usb/xhci.c: netbsd-7-nhusb
sys/dev/usb/xhcireg.h: netbsd-7-nhusb
sys/dev/usb/xhcivar.h: netbsd-7-nhusb
sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb
sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb
sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb
sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb
sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb
sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb
sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb
sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb
sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb
sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb
sys/external/bsd/drm2/include/linux/err.h: delete
sys/external/bsd/drm2/include/linux/workqueue.h: delete
sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb
sys/external/bsd/drm2/linux/linux_work.c: delete
sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb
sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb
sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb
sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb
sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb
sys/modules/i915drmkms/Makefile: netbsd-7-nhusb
sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb
sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb
sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb
sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete
sys/rump/dev/lib/libusb/opt/opt_usb.h: delete
sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete
sys/sys/mbuf.h: netbsd-7-nhusb
usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb
usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb
Merge netbsd-7-nhusb:
- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
- kern/48308
- uhub status notification improvements
- umass(4) probe fix (applied to HEAD already)
- ohci(4) short transfer fix
- Change the SOFTINT level from NET to SERIAL for the USB softint handler.
This gives the callback a chance of running when another softint handler
at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of
the network stack.
- kern/49065 - ifconfig tun0 ... sequence locks up system / lockup:
softnet_lock held across usb xfr
- kern/50491 - unkillable wait in usbd_transfer while using usmsc0
on raspberry pi 2
- kern/51395 - USB Ethernet makes xhci hang
- Various improvements to slhci(4)
- Various improvements to dwc2(4)
 1.15.30.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.16.2.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.17.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 25-Mar-2000  uch branches: 1.1.6; 1.1.8; 1.1.10;
TOSHIBA TC6358TB(PLUM2) OHCI module support.
 1.1.10.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.8.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.6.2 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.1.6.1 25-Mar-2000  bouyer file plumohcireg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:10 +0000
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file plumohcireg.h was added on branch nathanw_sa on 2001-09-15 12:47:07 +0000
 1.32 10-Sep-2023  andvar return %#x specifier for pcihp->ioh and add (unsigned) cast instead,
as it is done everywhere in this code.
 1.31 10-Sep-2023  andvar Various fixes to (re)enable PLUMPCMCIA_DEBUG build:
remove brackets around DPRINTF params (that's leftover from custom definition).
pcihp->ioh expects %lx specifier, not %x.
constify char *width_names.
rename cardtype to type in one of DPRINTF argument's condition.
 1.30 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.29 24-Apr-2021  thorpej branches: 1.29.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.28 30-Jun-2016  skrll branches: 1.28.32;
Fix the unused fix
 1.27 26-Mar-2014  christos branches: 1.27.6;
- kill sprintf
- fix unused
 1.26 27-Oct-2012  chs branches: 1.26.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.25 26-Jul-2011  dyoung branches: 1.25.2; 1.25.12;
Don't set the iobase and iosize members of pcmciabus_attach_args because
they're not used in any meaningful way.
 1.24 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.23 15-Dec-2007  perry branches: 1.23.10; 1.23.18; 1.23.24;
__FUNCTION__ -> __func__
 1.22 17-Oct-2007  garbled branches: 1.22.4; 1.22.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.21 13-Jul-2007  he branches: 1.21.10;
Add a missing comma, and a missing return NULL if you fall off the
end of plumpcmcia_event_alloc().
 1.20 09-Jul-2007  ad Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.19 11-Dec-2005  christos branches: 1.19.30; 1.19.32; 1.19.38;
merge ktrace-lwp.
 1.18 28-Jun-2005  drochner branches: 1.18.2;
convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
 1.17 11-Aug-2004  mycroft Add a settype() function. Also clear the window enables when powering up or
down a socket, just to be safe. (I've had problems with WinCE trashing my CF
card if there's state left behind...)
 1.16 15-Jul-2003  lukem __KERNEL_RCSID()
 1.15 01-Jan-2003  thorpej branches: 1.15.2;
Use aprint_normal() for cfprint routines.
 1.14 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.13 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.12 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.11 01-Jun-2002  lukem SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
 1.10 29-Jan-2002  uch branches: 1.10.8;
clean up debug print and configuration.
 1.9 15-Dec-2001  soren To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
 1.8 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.7 15-Sep-2001  uch branches: 1.7.4;
ANSIfy, KNF, change my copyright.
 1.6 08-May-2001  uch branches: 1.6.2; 1.6.4;
set allocatable PCMCIA I/O space size.
 1.5 04-Oct-2000  uch branches: 1.5.2; 1.5.4;
experimental power management support for TX3912/TX3922 based model.
 1.4 27-Sep-2000  uch hot plug support.
 1.3 05-Mar-2000  takemura Change bus_addr_t and bus_size_t from u_int32_t to u_long.
Add -Werror option to kernel Makefile.
 1.2 07-Dec-1999  uch branches: 1.2.2;
Supply power before attaching socket.
 1.1 21-Nov-1999  uch PLUM2(TC6358TB) TX3922 companion chip
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.2.2 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.5.2.1 04-Oct-2000  bouyer file plumpcmcia.c was added on branch thorpej_scsipi on 2000-11-20 20:46:11 +0000
 1.6.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.6.2.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.6.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.6.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.4.6 03-Jan-2003  thorpej Sync with HEAD.
 1.7.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.7.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.7.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.7.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.7.4.1 15-Sep-2001  nathanw file plumpcmcia.c was added on branch nathanw_sa on 2002-01-08 00:25:00 +0000
 1.10.8.1 14-Jul-2002  gehenna catch up with -current.
 1.15.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.15.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.15.2.2 12-Aug-2004  skrll Sync with HEAD.
 1.15.2.1 03-Aug-2004  skrll Sync with HEAD
 1.18.2.2 21-Jan-2008  yamt sync with head
 1.18.2.1 03-Sep-2007  yamt sync with head.
 1.19.38.1 03-Oct-2007  garbled Sync with HEAD
 1.19.32.1 11-Jul-2007  mjf Sync with head.
 1.19.30.1 15-Jul-2007  ad Sync with head.
 1.21.10.2 09-Jan-2008  matt sync with HEAD
 1.21.10.1 06-Nov-2007  matt sync with HEAD
 1.22.8.1 02-Jan-2008  bouyer Sync with HEAD
 1.22.4.1 26-Dec-2007  ad Sync with head.
 1.23.24.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.23.18.1 28-Apr-2009  skrll Sync with HEAD.
 1.23.10.1 04-May-2009  yamt sync with head.
 1.25.12.3 03-Dec-2017  jdolecek update from HEAD
 1.25.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.25.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.25.2.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.25.2.1 30-Oct-2012  yamt sync with head
 1.26.2.1 18-May-2014  rmind sync with head
 1.27.6.1 09-Jul-2016  skrll Sync with HEAD
 1.28.32.1 23-Mar-2021  thorpej plumpcmcia has only a single interface attribute, so no need to
use config_found_ia().

While here, also fix an apparent bug left over from when device_t and
driver softcs were fully split ... config_found() takes a device_t, not
the associated softc. (Issue was masked by a case to "void *".)
 1.29.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 15-Sep-2001  uch branches: 1.4.4; 1.4.122; 1.4.124; 1.4.126;
ANSIfy, KNF, change my copyright.
 1.3 04-Oct-2000  uch branches: 1.3.2; 1.3.4; 1.3.6;
experimental power management support for TX3912/TX3922 based model.
 1.2 27-Sep-2000  uch hot plug support.
 1.1 21-Nov-1999  uch branches: 1.1.2;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.2.2 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.3.2.1 04-Oct-2000  bouyer file plumpcmciareg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:11 +0000
 1.4.126.1 16-May-2008  yamt sync with head.
 1.4.124.1 18-May-2008  yamt sync with head.
 1.4.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.4.4.1 15-Sep-2001  uch file plumpcmciareg.h was added on branch nathanw_sa on 2001-09-15 12:47:08 +0000
 1.15 07-Sep-2024  andvar Change duplicate PLUM_POWER_RESETC_IO5CL1 to PLUM_POWER_RESETC_IO5CL0.

I believe it was a typo, since plum_power_ioreset(pc) call states that
it is resetting high/low I/O bus and TC6358TB Technical Data (page 128)
describes the bit to be set for clearing I/O active low device signals.

pullups are likely not necessary, there are no known issues reported.

Reported by David Binderman. PR port-hpcmips/50688
 1.14 20-Dec-2023  thorpej branches: 1.14.2;
Remove unnecessary <sys/malloc.h>.
 1.13 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.12 28-Apr-2008  martin branches: 1.12.34; 1.12.44;
Remove clause 3 and 4 from TNF licenses
 1.11 11-Dec-2005  christos branches: 1.11.74; 1.11.76; 1.11.78;
merge ktrace-lwp.
 1.10 15-Jul-2003  lukem __KERNEL_RCSID()
 1.9 02-Oct-2002  thorpej branches: 1.9.6;
Use CFATTACH_DECL().
 1.8 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.7 29-Jan-2002  uch clean up debug print and configuration.
 1.6 15-Sep-2001  uch branches: 1.6.4;
ANSIfy, KNF, change my copyright.
 1.5 04-Oct-2000  uch branches: 1.5.2; 1.5.4; 1.5.6;
experimental power management support for TX3912/TX3922 based model.
 1.4 25-Mar-2000  uch TOSHIBA TC6358TB(PLUM2) OHCI module support.
 1.3 26-Feb-2000  uch change power up sequence.
 1.2 07-Dec-1999  uch branches: 1.2.2;
changing power up sequence.
disable all power before probing plum2 devices.
 1.1 21-Nov-1999  uch PLUM2(TC6358TB) TX3922 companion chip
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.6.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.2.2 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.5.2.1 04-Oct-2000  bouyer file plumpower.c was added on branch thorpej_scsipi on 2000-11-20 20:46:12 +0000
 1.6.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.6.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.6.4.1 15-Sep-2001  nathanw file plumpower.c was added on branch nathanw_sa on 2002-02-28 04:09:55 +0000
 1.9.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.9.6.1 03-Aug-2004  skrll Sync with HEAD
 1.11.78.1 16-May-2008  yamt sync with head.
 1.11.76.1 18-May-2008  yamt sync with head.
 1.11.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.12.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.12.34.1 30-Oct-2012  yamt sync with head
 1.14.2.1 02-Aug-2025  perseant Sync with HEAD
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 04-Oct-2000  uch branches: 1.3.2; 1.3.128; 1.3.130; 1.3.132;
experimental power management support for TX3912/TX3922 based model.
 1.2 07-Dec-1999  uch branches: 1.2.2;
changing power up sequence.
disable all power before probing plum2 devices.
 1.1 21-Nov-1999  uch PLUM2(TC6358TB) TX3922 companion chip
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.132.1 16-May-2008  yamt sync with head.
 1.3.130.1 18-May-2008  yamt sync with head.
 1.3.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.2.2 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.3.2.1 04-Oct-2000  bouyer file plumpowerreg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:12 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 04-Oct-2000  uch branches: 1.2.2; 1.2.128; 1.2.130; 1.2.132;
experimental power management support for TX3912/TX3922 based model.
 1.1 21-Nov-1999  uch branches: 1.1.2;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.132.1 16-May-2008  yamt sync with head.
 1.2.130.1 18-May-2008  yamt sync with head.
 1.2.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.2.2 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.2.2.1 04-Oct-2000  bouyer file plumpowervar.h was added on branch thorpej_scsipi on 2000-11-20 20:46:13 +0000
 1.4 24-Aug-2012  msaitoh Fix typos
 1.3 28-Apr-2008  martin branches: 1.3.34;
Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 21-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 21-Nov-1999  bouyer file plumreg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:13 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file plumreg.h was added on branch nathanw_sa on 2001-09-15 12:47:08 +0000
 1.3.34.1 30-Oct-2012  yamt sync with head
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 21-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 21-Nov-1999  bouyer file plumvar.h was added on branch thorpej_scsipi on 2000-11-20 20:46:14 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file plumvar.h was added on branch nathanw_sa on 2001-09-15 12:47:08 +0000
 1.46 26-Feb-2025  andvar Fix typos in comments, mainly s/calcurate/calculate/.
 1.45 10-Sep-2023  andvar branches: 1.45.6;
Remove custom DPRINTF/DPRINTFN definitions and reuse one defined in debug.h.
Remove "#undef PLUMVIDEODEBUG", it is not defined by default.

fixes PLUMVIDEODEBUG enabled build.
 1.44 16-Apr-2022  andvar s/setted/set/
 1.43 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.42 24-Apr-2021  thorpej branches: 1.42.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.41 27-Oct-2012  chs branches: 1.41.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.40 18-Mar-2009  cegger branches: 1.40.12; 1.40.22;
Ansify function definitions w/o arguments. Generated with sed.
 1.39 28-Apr-2008  martin branches: 1.39.8; 1.39.14;
Remove clause 3 and 4 from TNF licenses
 1.38 04-Mar-2007  christos branches: 1.38.40; 1.38.42; 1.38.44;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.37 11-Dec-2005  christos branches: 1.37.26;
merge ktrace-lwp.
 1.36 30-Jul-2005  nakayama Add LCD and battery control support for Sharp Telios series.
 1.35 12-Dec-2004  abs branches: 1.35.8; 1.35.10;
Fix comments regarding configration bounaries
 1.34 13-Nov-2003  chs eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed. however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors. most of
the callers of uvm_useracc() make the above incorrect assumption. the
rest are all misguided optimizations, which optimize for the case
where an operation will fail. we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors. since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
 1.33 25-Oct-2003  mycroft Eliminate nested functions.
(There are a billion better ways to abstract this...)
 1.32 15-Jul-2003  lukem __KERNEL_RCSID()
 1.31 02-Oct-2002  thorpej branches: 1.31.6;
Use CFATTACH_DECL().
 1.30 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.29 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.28 08-Jun-2002  yamt make auto const variables static.
(and space->tab)
 1.27 13-Apr-2002  takemura branches: 1.27.2;
Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
arch/hpcsh/dev/hd64461/hd64461video.c Rev. 1.7 to 1.8
arch/hpcmips/dev/plumvideo.c Rev. 1.23 to 1.24
arch/hpcmips/tx/tx3912video.c Rev. 1.24 to 1.25
 1.26 17-Mar-2002  atatat Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.25 06-Mar-2002  uch don't attach bivideo.
 1.24 19-Feb-2002  uch fix LCD byte-order setting.
 1.23 29-Jan-2002  uch clean up debug print and configuration.
 1.22 14-Nov-2001  thorpej branches: 1.22.2;
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.21 15-Sep-2001  uch branches: 1.21.2;
ANSIfy, KNF, change my copyright.
 1.20 05-Aug-2001  jdolecek branches: 1.20.2;
use unsigned variable types as appropriate
 1.19 22-Jul-2001  takemura You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
 1.18 21-May-2001  uch branches: 1.18.2;
fix WSDISPLAYIO_PUTCMAP bug.
 1.17 22-Feb-2001  uch branches: 1.17.2;
hpc common files are moved to dev/hpc.
 1.16 03-Dec-2000  takemura Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
 1.15 22-Oct-2000  uch branches: 1.15.2;
reverse color support.
 1.14 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.13 29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.12 26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.11 22-May-2000  uch branches: 1.11.4;
debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.10 21-May-2000  uch Get LCD size from PLUM2 Display control register.
 1.9 09-May-2000  uch fix WSDISPLAYIO_PUTCMAP return value.
 1.8 08-May-2000  uch implement 8bpp CLUT of Plum2, TX3912 video module.
 1.7 02-May-2000  uch add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
 1.6 03-Apr-2000  sato - virtual TEXT vram implimentation.
- optimize scroll.
- hardware accelerator hooking mechanism (initianly, maybe change..)
- multiscreen (some bugs, so currently disabled)
- if you want disable above codes, #define HPCFB_DISABLE.
 1.5 25-Mar-2000  uch TOSHIBA TC6358TB(PLUM2) OHCI module support.
 1.4 13-Mar-2000  uch sync with hpcfb.
 1.3 26-Feb-2000  uch change power up sequence.
 1.2 07-Dec-1999  uch branches: 1.2.2;
frame buffer device support.
 1.1 21-Nov-1999  uch PLUM2(TC6358TB) TX3922 companion chip
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.11.4.2 16-Aug-2001  tv Pullup [jdolecek]:

sys/arch/amiga/dev/grf_cl.c 1.26
sys/arch/amiga/dev/grfioctl.h 1.14
sys/arch/hpcmips/dev/plumvideo.c 1.20
sys/arch/macppc/dev/ofb.c 1.25
sys/arch/sparc/dev/cgtwo.c 1.35
sys/arch/sparc/include/fbio.h patch
sys/arch/sparc64/include/fbio.h patch
sys/arch/sun3/dev/cg2.c 1.14
sys/arch/sun3/include/fbio.h patch
sys/dev/pci/tga.c 1.35
sys/dev/tc/cfb.c 1.28
sys/dev/tc/mfb.c 1.27
sys/dev/tc/sfb.c 1.46
sys/dev/tc/sfbplus.c 1.10 via patch
sys/dev/tc/tfb.c 1.30
sys/dev/tc/xcfb.c 1.23
sys/net/if_ppp.c 1.71

Use unsigned variable types to make bounds checking more correct.
 1.11.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.15.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.15.2.3 08-Dec-2000  bouyer Sync with HEAD.
 1.15.2.2 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.15.2.1 22-Oct-2000  bouyer file plumvideo.c was added on branch thorpej_scsipi on 2000-11-20 20:46:15 +0000
 1.17.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.18.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.18.2.6 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.18.2.5 16-Mar-2002  jdolecek Catch up with -current.
 1.18.2.4 11-Feb-2002  jdolecek Sync w/ -current.
 1.18.2.3 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.18.2.2 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.18.2.1 03-Aug-2001  lukem update to -current
 1.20.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.21.2.1 06-Nov-2001  uch Update for the new cache code.
 1.22.2.6 18-Oct-2002  nathanw Catch up to -current.
 1.22.2.5 20-Jun-2002  nathanw Catch up to -current.
 1.22.2.4 17-Apr-2002  nathanw Catch up to -current.
 1.22.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.22.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.22.2.1 14-Nov-2001  nathanw file plumvideo.c was added on branch nathanw_sa on 2002-02-28 04:09:55 +0000
 1.27.2.1 14-Jul-2002  gehenna catch up with -current.
 1.31.6.6 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.31.6.5 24-Jan-2005  skrll Adapt to branch.
 1.31.6.4 18-Dec-2004  skrll Sync with HEAD.
 1.31.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.31.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.31.6.1 03-Aug-2004  skrll Sync with HEAD
 1.35.10.2 03-Sep-2007  yamt sync with head.
 1.35.10.1 21-Jun-2006  yamt sync with head.
 1.35.8.1 04-Aug-2005  tron Pull up revision 1.36 (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.37.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.38.44.2 04-May-2009  yamt sync with head.
 1.38.44.1 16-May-2008  yamt sync with head.
 1.38.42.1 18-May-2008  yamt sync with head.
 1.38.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.39.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.39.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.40.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.40.12.1 30-Oct-2012  yamt sync with head
 1.41.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.42.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.45.6.1 02-Aug-2025  perseant Sync with HEAD
 1.7 23-May-2024  andvar fix typos in comments.
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 04-Oct-2000  uch branches: 1.5.2; 1.5.128; 1.5.130; 1.5.132;
experimental power management support for TX3912/TX3922 based model.
 1.4 08-May-2000  uch implement 8bpp CLUT of Plum2, TX3912 video module.
 1.3 02-May-2000  uch add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
 1.2 25-Mar-2000  uch TOSHIBA TC6358TB(PLUM2) OHCI module support.
 1.1 21-Nov-1999  uch branches: 1.1.2;
PLUM2(TC6358TB) TX3922 companion chip
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.132.1 16-May-2008  yamt sync with head.
 1.5.130.1 18-May-2008  yamt sync with head.
 1.5.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.2.2 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.5.2.1 04-Oct-2000  bouyer file plumvideoreg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:15 +0000
 1.6 27-Sep-2000  uch remove obsolete files.
 1.5 04-May-2000  takemura Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.4 30-Apr-2000  uch skbd_ioctl (not implemented yet) returns -1 not 0.
 1.3 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.2 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.1 08-Dec-1999  uch branches: 1.1.2;
Remove old keyboard driver for Compaq C.
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8 27-Sep-2000  uch remove obsolete files.
 1.7 13-May-2000  uch change Telios keyboard map: KS_KP_Enter -> KS_Return
 1.6 27-Feb-2000  uch cosmetic changes
 1.5 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.4 14-Jan-2000  uch fix mobilon hc-4100 keymap.
 1.3 07-Jan-2000  uch p7416buf and tc5165buf are merged.
 1.2 12-Dec-1999  uch branches: 1.2.2;
Telios keyboard support.
 1.1 08-Dec-1999  uch Remove old keyboard driver for Compaq C.
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 27-Sep-2000  uch remove obsolete files.
 1.1 08-Dec-1999  uch branches: 1.1.2;
Remove old keyboard driver for Compaq C.
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.20 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.19 24-Apr-2021  thorpej branches: 1.19.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.18 09-Jun-2015  matt branches: 1.18.32;
#include <sys/cpu.h> and/or <mips/cpuregs.h> + other include fixes
 1.17 27-Oct-2012  chs branches: 1.17.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.16 28-Apr-2008  martin branches: 1.16.34; 1.16.44;
Remove clause 3 and 4 from TNF licenses
 1.15 17-Oct-2007  garbled branches: 1.15.16; 1.15.18; 1.15.20;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.14 09-Jul-2007  ad branches: 1.14.10;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.13 11-Dec-2005  christos branches: 1.13.30; 1.13.32; 1.13.38;
merge ktrace-lwp.
 1.12 15-Jul-2003  lukem branches: 1.12.16;
__KERNEL_RCSID()
 1.11 02-Oct-2002  thorpej branches: 1.11.6;
Use CFATTACH_DECL().
 1.10 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.9 29-Jan-2002  uch clean up debug print and configuration.
 1.8 15-Sep-2001  uch branches: 1.8.4;
ANSIfy, KNF, change my copyright.
 1.7 22-Feb-2001  uch branches: 1.7.2; 1.7.4;
hpc common files are moved to dev/hpc.
 1.6 21-Sep-2000  takemura branches: 1.6.2;
skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.5 23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.4 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.3 07-Jan-2000  uch p7416buf and tc5165buf are merged.
 1.2 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.1 12-Dec-1999  uch branches: 1.1.2;
SHARP Telios keyboard driver TOSHIBA TC5165 (tentative)
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.6.2.2 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.2.1 21-Sep-2000  bouyer file tc5165buf.c was added on branch thorpej_scsipi on 2000-11-20 20:46:16 +0000
 1.7.4.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.7.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.7.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.8.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.8.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.8.4.1 15-Sep-2001  nathanw file tc5165buf.c was added on branch nathanw_sa on 2002-02-28 04:09:55 +0000
 1.11.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.11.6.1 03-Aug-2004  skrll Sync with HEAD
 1.12.16.1 03-Sep-2007  yamt sync with head.
 1.13.38.1 03-Oct-2007  garbled Sync with HEAD
 1.13.32.1 11-Jul-2007  mjf Sync with head.
 1.13.30.1 15-Jul-2007  ad Sync with head.
 1.14.10.1 06-Nov-2007  matt sync with HEAD
 1.15.20.1 16-May-2008  yamt sync with head.
 1.15.18.1 18-May-2008  yamt sync with head.
 1.15.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.16.44.2 03-Dec-2017  jdolecek update from HEAD
 1.16.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.16.34.1 30-Oct-2012  yamt sync with head
 1.17.14.1 22-Sep-2015  skrll Sync with HEAD
 1.18.32.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.19.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 15-Sep-2001  uch branches: 1.2.4; 1.2.122; 1.2.124; 1.2.126;
ANSIfy, KNF, change my copyright.
 1.1 12-Dec-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
SHARP Telios keyboard driver TOSHIBA TC5165 (tentative)
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 12-Dec-1999  bouyer file tc5165bufvar.h was added on branch thorpej_scsipi on 2000-11-20 20:46:16 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.126.1 16-May-2008  yamt sync with head.
 1.2.124.1 18-May-2008  yamt sync with head.
 1.2.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.2.4.1 15-Sep-2001  uch file tc5165bufvar.h was added on branch nathanw_sa on 2001-09-15 12:47:08 +0000
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 31-May-2008  nakayama branches: 1.3.32; 1.3.42;
Change my license to 2 clause.
 1.2 11-Dec-2005  christos branches: 1.2.18; 1.2.76; 1.2.78; 1.2.80; 1.2.82;
merge ktrace-lwp.
 1.1 30-Jul-2005  nakayama branches: 1.1.2; 1.1.8;
Add LCD and battery control support for Sharp Telios series.
 1.1.8.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.8.1 30-Jul-2005  skrll file teliosio.c was added on branch ktrace-lwp on 2005-11-10 13:56:27 +0000
 1.1.2.2 04-Aug-2005  tron Pull up revision 1.1 (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.1.2.1 30-Jul-2005  tron file teliosio.c was added on branch netbsd-3 on 2005-08-04 18:30:30 +0000
 1.2.82.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.2.80.1 04-May-2009  yamt sync with head.
 1.2.78.1 04-Jun-2008  yamt sync with head
 1.2.76.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.18.2 21-Jun-2006  yamt sync with head.
 1.2.18.1 11-Dec-2005  yamt file teliosio.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:50 +0000
 1.3.42.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.32.1 30-Oct-2012  yamt sync with head
 1.3 31-May-2008  nakayama Change my license to 2 clause.
 1.2 11-Dec-2005  christos branches: 1.2.18; 1.2.76; 1.2.78; 1.2.80; 1.2.82;
merge ktrace-lwp.
 1.1 30-Jul-2005  nakayama branches: 1.1.2; 1.1.8;
Add LCD and battery control support for Sharp Telios series.
 1.1.8.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.8.1 30-Jul-2005  skrll file teliosioreg.h was added on branch ktrace-lwp on 2005-11-10 13:56:27 +0000
 1.1.2.2 04-Aug-2005  tron Pull up revision 1.1 (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.1.2.1 30-Jul-2005  tron file teliosioreg.h was added on branch netbsd-3 on 2005-08-04 18:30:30 +0000
 1.2.82.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.2.80.1 04-May-2009  yamt sync with head.
 1.2.78.1 04-Jun-2008  yamt sync with head
 1.2.76.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.18.2 21-Jun-2006  yamt sync with head.
 1.2.18.1 11-Dec-2005  yamt file teliosioreg.h was added on branch yamt-lazymbuf on 2006-06-21 14:51:50 +0000
 1.4 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.3 28-Feb-2000  takemura branches: 1.3.6;
WSMOUSE_SCALIBCOORDS had not worked because ioctrl code was wrong.
 1.2 12-Jan-2000  uch set limit value and local saved configuration. return -1 if calibration failed.
 1.1 10-Jan-2000  takemura WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support.
 1.3.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.3.6.2 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.3.6.1 28-Feb-2000  bouyer file tpcalib.c was added on branch thorpej_scsipi on 2000-11-20 20:46:17 +0000
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 10-Jan-2000  takemura branches: 1.1.6;
WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 10-Jan-2000  bouyer file tpcalibvar.h was added on branch thorpej_scsipi on 2000-11-20 20:46:18 +0000
 1.21 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.20 24-Apr-2021  thorpej branches: 1.20.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.19 27-Oct-2012  chs branches: 1.19.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.18 14-Mar-2009  dsl branches: 1.18.12; 1.18.22;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.17 28-Apr-2008  martin branches: 1.17.8; 1.17.14;
Remove clause 3 and 4 from TNF licenses
 1.16 11-Dec-2005  christos branches: 1.16.74; 1.16.76; 1.16.78;
merge ktrace-lwp.
 1.15 26-Aug-2005  drochner s/locdesc_t/int/g
 1.14 30-Jun-2005  drochner branches: 1.14.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.13 15-Jul-2003  lukem __KERNEL_RCSID()
 1.12 02-Oct-2002  thorpej branches: 1.12.6;
Use CFATTACH_DECL().
 1.11 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.10 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.9 08-Jun-2002  yamt constify.
 1.8 08-Jun-2002  yamt make auto const variables static.
(and space->tab)
 1.7 29-Jan-2002  uch branches: 1.7.8;
clean up debug print and configuration.
 1.6 15-Sep-2001  uch branches: 1.6.4;
ANSIfy, KNF, change my copyright.
 1.5 22-Oct-2000  uch branches: 1.5.2; 1.5.4; 1.5.6;
new I/O modules framework for TX based system.
 1.4 12-Mar-2000  uch recognize UCB1100 id.
 1.3 27-Feb-2000  uch UCB1200 GPIO support.
 1.2 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.1 08-Jan-2000  uch TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
 1.5.6.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.6.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.6.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.2.2 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.5.2.1 22-Oct-2000  bouyer file ucb1200.c was added on branch thorpej_scsipi on 2000-11-20 20:46:19 +0000
 1.6.4.4 18-Oct-2002  nathanw Catch up to -current.
 1.6.4.3 20-Jun-2002  nathanw Catch up to -current.
 1.6.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.6.4.1 15-Sep-2001  nathanw file ucb1200.c was added on branch nathanw_sa on 2002-02-28 04:09:55 +0000
 1.7.8.1 14-Jul-2002  gehenna catch up with -current.
 1.12.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1 03-Aug-2004  skrll Sync with HEAD
 1.14.2.1 21-Jun-2006  yamt sync with head.
 1.16.78.2 04-May-2009  yamt sync with head.
 1.16.78.1 16-May-2008  yamt sync with head.
 1.16.76.1 18-May-2008  yamt sync with head.
 1.16.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.17.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.17.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.18.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.18.12.1 30-Oct-2012  yamt sync with head
 1.19.52.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.19.52.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.19.52.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.19.52.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.19.52.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.19.52.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.20.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.8 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.7 15-Sep-2001  uch branches: 1.7.4; 1.7.122; 1.7.124; 1.7.126;
ANSIfy, KNF, change my copyright.
 1.6 22-May-2000  uch branches: 1.6.6; 1.6.8; 1.6.10;
debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.5 12-Mar-2000  uch recognize UCB1100 id.
 1.4 03-Mar-2000  uch add device file interface for UCB1200
 1.3 27-Feb-2000  uch UCB1200 GPIO support.
 1.2 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.1 08-Jan-2000  uch TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
 1.6.10.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.8.1 01-Oct-2001  fvdl Catch up with -current.
 1.6.6.2 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.6.1 22-May-2000  bouyer file ucb1200reg.h was added on branch thorpej_scsipi on 2000-11-20 20:46:19 +0000
 1.7.126.1 16-May-2008  yamt sync with head.
 1.7.124.1 18-May-2008  yamt sync with head.
 1.7.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.4.2 15-Sep-2001  uch ANSIfy, KNF, change my copyright.
 1.7.4.1 15-Sep-2001  uch file ucb1200reg.h was added on branch nathanw_sa on 2001-09-15 12:47:09 +0000
 1.6 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.5 28-Apr-2008  martin branches: 1.5.34; 1.5.44;
Remove clause 3 and 4 from TNF licenses
 1.4 22-Oct-2000  uch branches: 1.4.2; 1.4.128; 1.4.130; 1.4.132;
new I/O modules framework for TX based system.
 1.3 27-Feb-2000  uch UCB1200 GPIO support.
 1.2 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.1 08-Jan-2000  uch TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
 1.4.132.1 16-May-2008  yamt sync with head.
 1.4.130.1 18-May-2008  yamt sync with head.
 1.4.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.2.2 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.2.1 22-Oct-2000  bouyer file ucb1200var.h was added on branch thorpej_scsipi on 2000-11-20 20:46:20 +0000
 1.5.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5.34.1 30-Oct-2012  yamt sync with head
 1.12 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.11 28-Apr-2008  martin branches: 1.11.34; 1.11.44;
Remove clause 3 and 4 from TNF licenses
 1.10 15-Dec-2007  perry branches: 1.10.6; 1.10.8; 1.10.10;
__FUNCTION__ -> __func__
 1.9 11-Dec-2005  christos branches: 1.9.50; 1.9.60; 1.9.64;
merge ktrace-lwp.
 1.8 15-Jul-2003  lukem branches: 1.8.16;
__KERNEL_RCSID()
 1.7 02-Oct-2002  thorpej branches: 1.7.6;
Use CFATTACH_DECL().
 1.6 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5 29-Jan-2002  uch clean up debug print and configuration.
 1.4 15-Sep-2001  uch branches: 1.4.4;
ANSIfy, KNF, change my copyright.
 1.3 13-Jun-2001  uch branches: 1.3.2; 1.3.4;
(TX39) switch from TX local I/O manager to hpcio
 1.2 22-Oct-2000  uch branches: 1.2.2; 1.2.4;
new I/O modules framework for TX based system.
 1.1 27-Feb-2000  uch UCB1200 GPIO routines.
 1.2.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.2.2 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.2.2.1 22-Oct-2000  bouyer file ucbio.c was added on branch thorpej_scsipi on 2000-11-20 20:46:20 +0000
 1.3.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.3.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.4.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.1 15-Sep-2001  nathanw file ucbio.c was added on branch nathanw_sa on 2002-02-28 04:09:55 +0000
 1.7.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.6.1 03-Aug-2004  skrll Sync with HEAD
 1.8.16.1 21-Jan-2008  yamt sync with head
 1.9.64.1 02-Jan-2008  bouyer Sync with HEAD
 1.9.60.1 26-Dec-2007  ad Sync with head.
 1.9.50.1 09-Jan-2008  matt sync with HEAD
 1.10.10.1 16-May-2008  yamt sync with head.
 1.10.8.1 18-May-2008  yamt sync with head.
 1.10.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.34.1 30-Oct-2012  yamt sync with head
 1.2 22-Oct-2000  uch new I/O modules framework for TX based system.
 1.1 27-Feb-2000  uch UCB1200 GPIO routines.
 1.26 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.25 17-Dec-2016  riastradh branches: 1.25.28;
Omit needless nullmmap.

Convert the one user of it to nommap. No functional change to the
device driver, since uvm interpreted nullmmap just like nommap.

This slightly changes the uvm ABI so that the function pointer nullop
is no longer interpreted as non-mmappable. I do hereby declare that
I am surfing the kernel version bump from a few hours ago.
 1.24 26-Jun-2015  matt branches: 1.24.2;
Cleanup includes
 1.23 25-Jul-2014  dholland branches: 1.23.4;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.22 16-Mar-2014  dholland branches: 1.22.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.21 27-Oct-2012  chs branches: 1.21.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.20 23-Nov-2011  jmcneill branches: 1.20.8;
Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
the original ad-audiomp branch notes:

Add MP locking to the audio drivers.

Making the audio drivers MP safe is necessary before efforts
can be made to make the VM system MP safe.

The are two locks per device instance, an ISR lock and
a character device lock. The ISR lock replaces calls to
splaudio()/splx(), and will be held across calls to device
methods which were called at splaudio() before (e.g.
trigger_output). The character device lock is held across
calls to nearly all of the methods, excluding some only
used for initialization, e.g. get_locks.

Welcome to 5.99.57.
 1.19 12-Jun-2008  tsutsui branches: 1.19.30; 1.19.32;
Use device_lookup_private() to get softc.
 1.18 28-Apr-2008  martin branches: 1.18.2; 1.18.4;
Remove clause 3 and 4 from TNF licenses
 1.17 03-Dec-2007  ad branches: 1.17.14; 1.17.16; 1.17.18;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.16 11-Dec-2005  christos branches: 1.16.30; 1.16.48; 1.16.50; 1.16.56;
merge ktrace-lwp.
 1.15 15-Jul-2003  lukem branches: 1.15.16;
__KERNEL_RCSID()
 1.14 23-Oct-2002  jdolecek branches: 1.14.6;
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.13 10-Oct-2002  jdolecek replace empty ucbsndioctl()/ucbsndmmap() with nullioctl()/nullmmap()
 1.12 10-Oct-2002  jdolecek replace the somewhat strange poll routine with standard nopoll() (a.k.a
seltrue())
 1.11 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.10 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.9 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.8 29-Jan-2002  uch branches: 1.8.8;
clean up debug print and configuration.
 1.7 14-Nov-2001  thorpej branches: 1.7.2;
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.6 15-Sep-2001  uch branches: 1.6.2;
ANSIfy, KNF, change my copyright.
 1.5 26-Jun-2000  simonb branches: 1.5.2; 1.5.4; 1.5.6;
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.4 04-Mar-2000  uch branches: 1.4.4;
timeout when DMA interrupt lost.
 1.3 03-Mar-2000  uch add device file interface for UCB1200
 1.2 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.1 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.4.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.5.6.5 10-Oct-2002  jdolecek use nokqfilter (or seltrue_kqfilter()) for drivers which provide poll
routine very similar to seltrue(); the poll routines would be cleaned
up on trunk
 1.5.6.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.6.3 18-Jun-2002  jdolecek provide dummy ucbsndkqfilter()
 1.5.6.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.2 10-Oct-2001  fvdl Convert all remaining devices.
 1.5.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.2.2 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.5.2.1 26-Jun-2000  bouyer file ucbsnd.c was added on branch thorpej_scsipi on 2000-11-20 20:46:21 +0000
 1.6.2.1 06-Nov-2001  uch Update for the new cache code.
 1.7.2.5 11-Nov-2002  nathanw Catch up to -current
 1.7.2.4 18-Oct-2002  nathanw Catch up to -current.
 1.7.2.3 17-Sep-2002  nathanw Catch up to -current.
 1.7.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.7.2.1 14-Nov-2001  nathanw file ucbsnd.c was added on branch nathanw_sa on 2002-02-28 04:09:55 +0000
 1.8.8.1 17-May-2002  gehenna Add device switch.
 1.14.6.4 24-Jan-2005  skrll Adapt to branch.
 1.14.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.14.6.1 03-Aug-2004  skrll Sync with HEAD
 1.15.16.2 07-Dec-2007  yamt sync with head
 1.15.16.1 21-Jun-2006  yamt sync with head.
 1.16.56.1 08-Dec-2007  mjf Sync with HEAD.
 1.16.50.1 09-Jan-2008  matt sync with HEAD
 1.16.48.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.16.30.1 03-Dec-2007  ad Sync with HEAD.
 1.17.18.2 04-May-2009  yamt sync with head.
 1.17.18.1 16-May-2008  yamt sync with head.
 1.17.16.2 17-Jun-2008  yamt sync with head.
 1.17.16.1 18-May-2008  yamt sync with head.
 1.17.14.2 29-Jun-2008  mjf Sync with HEAD.
 1.17.14.1 02-Jun-2008  mjf Sync with HEAD.
 1.18.4.1 18-Jun-2008  simonb Sync with head.
 1.18.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.19.32.1 20-Nov-2011  jmcneill splaudio -> splvm
 1.19.30.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.19.30.2 30-Oct-2012  yamt sync with head
 1.19.30.1 17-Apr-2012  yamt sync with head
 1.20.8.3 03-Dec-2017  jdolecek update from HEAD
 1.20.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.8.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.21.2.1 18-May-2014  rmind sync with head
 1.22.2.1 10-Aug-2014  tls Rebase.
 1.23.4.2 05-Feb-2017  skrll Sync with HEAD
 1.23.4.1 22-Sep-2015  skrll Sync with HEAD
 1.24.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.25.28.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.24 10-Sep-2023  andvar rewrite UCBTPDEBUG to use DPRINTF/DPRINTFN definitions from debug.h.

No functional changes intended.
 1.23 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.22 24-Apr-2021  thorpej branches: 1.22.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.21 27-Oct-2012  chs branches: 1.21.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.20 16-Aug-2011  mbalmer branches: 1.20.2; 1.20.12;
Fix some typos.
 1.19 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.18 28-Apr-2008  martin branches: 1.18.8; 1.18.14;
Remove clause 3 and 4 from TNF licenses
 1.17 04-Mar-2007  christos branches: 1.17.40; 1.17.42; 1.17.44;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.16 12-Nov-2006  plunky branches: 1.16.4;
Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
 1.15 11-Dec-2005  christos branches: 1.15.20; 1.15.22;
merge ktrace-lwp.
 1.14 14-Aug-2004  uch branches: 1.14.12;
HCAJ1 -> HCVJ
 1.13 28-May-2004  tsarna Refactor tpcalib and hpc* ports to make tpcalib MI, as discussed on tech-kern.
 1.12 15-Jul-2003  lukem __KERNEL_RCSID()
 1.11 03-Jan-2003  takemura branches: 1.11.2;
Added new ioctl command, WSMOUSEIO_GETID to tell touch panel identifier
for tpctl(8).
 1.10 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.9 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.8 17-Mar-2002  atatat Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.7 29-Jan-2002  uch clean up debug print and configuration.
 1.6 15-Sep-2001  uch branches: 1.6.4;
ANSIfy, KNF, change my copyright.
 1.5 22-Feb-2001  uch branches: 1.5.2; 1.5.4;
hpc common files are moved to dev/hpc.
 1.4 22-May-2000  uch branches: 1.4.6;
debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.3 04-Mar-2000  uch adjust retry count for TX3922
 1.2 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.1 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.4.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.4.6.2 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.6.1 22-May-2000  bouyer file ucbtp.c was added on branch thorpej_scsipi on 2000-11-20 20:46:22 +0000
 1.5.4.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.4.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.6.4.5 07-Jan-2003  thorpej Sync with HEAD.
 1.6.4.4 18-Oct-2002  nathanw Catch up to -current.
 1.6.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.6.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.6.4.1 15-Sep-2001  nathanw file ucbtp.c was added on branch nathanw_sa on 2002-02-28 04:09:56 +0000
 1.11.2.5 24-Jan-2005  skrll Adapt to branch.
 1.11.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.11.2.2 25-Aug-2004  skrll Sync with HEAD.
 1.11.2.1 03-Aug-2004  skrll Sync with HEAD
 1.14.12.3 03-Sep-2007  yamt sync with head.
 1.14.12.2 30-Dec-2006  yamt sync with head.
 1.14.12.1 21-Jun-2006  yamt sync with head.
 1.15.22.1 10-Dec-2006  yamt sync with head.
 1.15.20.1 18-Nov-2006  ad Sync with head.
 1.16.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.17.44.2 04-May-2009  yamt sync with head.
 1.17.44.1 16-May-2008  yamt sync with head.
 1.17.42.1 18-May-2008  yamt sync with head.
 1.17.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.18.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.18.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.20.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.20.2.1 30-Oct-2012  yamt sync with head
 1.21.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.22.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.4 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.3 22-Oct-2000  uch branches: 1.3.2;
reverse color support.
 1.2 22-May-2000  uch debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.1 08-May-2000  uch implement 8bpp CLUT of Plum2, TX3912 video module.
 1.3.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.3.2.2 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.3.2.1 22-Oct-2000  bouyer file video_subr.c was added on branch thorpej_scsipi on 2000-11-20 20:46:22 +0000
 1.5 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.4 22-Oct-2000  uch branches: 1.4.2;
reverse color support.
 1.3 22-May-2000  uch debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.2 13-May-2000  uch fix #define RGB24(r, g, b)
 1.1 08-May-2000  uch implement 8bpp CLUT of Plum2, TX3912 video module.
 1.4.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.4.2.2 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.2.1 22-Oct-2000  bouyer file video_subr.h was added on branch thorpej_scsipi on 2000-11-20 20:46:23 +0000
 1.2 22-Feb-2001  uch hpc common files are moved to dev/hpc.
 1.1 02-Nov-1999  takemura branches: 1.1.4; 1.1.6; 1.1.12;
Wsdisplay use small font, VT220 8x10.
 1.1.12.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.12.2 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.1.12.1 02-Nov-1999  bouyer file vt220l8x10.h was added on branch thorpej_scsipi on 2000-11-20 20:46:24 +0000
 1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.4.2 15-Nov-1999  fvdl Sync with -current
 1.1.4.1 02-Nov-1999  fvdl file vt220l8x10.h was added on branch fvdl-softdep on 1999-11-15 00:37:49 +0000
 1.5 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.4 20-May-2000  shin fix platid_test source files.
 1.3 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.2 30-Nov-1999  uch make platid_test compile again.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.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.26 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.25 29-Jul-2012  mlelstv branches: 1.25.2;
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

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

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

Make cpu_rootconf(9) describe the calling order.
 1.24 20-Feb-2011  matt branches: 1.24.4; 1.24.10;
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.23 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.22 18-Mar-2009  cegger branches: 1.22.4; 1.22.6; 1.22.8;
Ansify function definitions w/o arguments. Generated with sed.
 1.21 12-Feb-2008  joerg branches: 1.21.10; 1.21.18; 1.21.24; 1.21.28;
Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.
 1.20 04-Jan-2008  ad Need sys/device.h
 1.19 05-Dec-2007  tsutsui branches: 1.19.4;
Use TAILQ_FIRST(3) and TAILQ_NEXT(3) macro.
 1.18 03-Dec-2007  ad branches: 1.18.2;
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.17 11-Dec-2005  christos branches: 1.17.30; 1.17.48; 1.17.50; 1.17.56;
merge ktrace-lwp.
 1.16 09-Jun-2005  jmc branches: 1.16.2;
Fix call to config_rootfound to pass -Wcast-qual
 1.15 23-Oct-2004  thorpej Centralize the declaration of booted_device and booted_partition.
 1.14 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.13 06-Sep-2002  gehenna branches: 1.13.6;
Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.12 31-Jan-2002  uch branches: 1.12.8;
clean up header file.
 1.11 16-Sep-2001  uch branches: 1.11.4;
rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.10 15-Sep-2001  uch remove unneeded #include
 1.9 15-Sep-2001  uch ANSIfy, KNF.
 1.8 13-Jun-2001  enami branches: 1.8.2; 1.8.4;
Generic softintr for hpcmips.
 1.7 01-Jun-2000  matt branches: 1.7.4;
Don't pass booted_* to findroot/getdevice, access them via the globals.
Also, make findroot static. This eliminates unneeded clearing of them
and make their use consistent among the ports.
 1.6 01-Jun-2000  matt Make booted_device global (and booted_parition for consitency).
Eliminate it from header files and other extern definitions.
 1.5 16-Jan-2000  uch branches: 1.5.2;
call config_hook_init before autoconfiguration.
initalize hr_mode.
 1.4 25-Sep-1999  takemura branches: 1.4.2;
Delete unnecessary comment which was for the variable, 'cold.
 1.3 25-Sep-1999  shin Delete 'cold'.
 1.2 16-Sep-1999  takemura Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.4.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.5.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.7.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.8.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.8.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.8.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.8.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.4.3 17-Sep-2002  nathanw Catch up to -current.
 1.11.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.11.4.1 16-Sep-2001  nathanw file autoconf.c was added on branch nathanw_sa on 2002-02-28 04:09:56 +0000
 1.12.8.1 17-May-2002  gehenna Replace the access to devsw table and the hard-coded major with devsw API.
 1.13.6.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.13.6.4 02-Nov-2004  skrll Sync with HEAD.
 1.13.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.6.1 03-Aug-2004  skrll Sync with HEAD
 1.16.2.3 27-Feb-2008  yamt sync with head.
 1.16.2.2 21-Jan-2008  yamt sync with head
 1.16.2.1 07-Dec-2007  yamt sync with head
 1.17.56.2 18-Feb-2008  mjf Sync with HEAD.
 1.17.56.1 08-Dec-2007  mjf Sync with HEAD.
 1.17.50.2 23-Mar-2008  matt sync with HEAD
 1.17.50.1 09-Jan-2008  matt sync with HEAD
 1.17.48.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.17.30.1 03-Dec-2007  ad Sync with HEAD.
 1.18.2.1 08-Dec-2007  ad Sync with head.
 1.19.4.1 08-Jan-2008  bouyer Sync with HEAD
 1.21.28.1 29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.21.24.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.21.18.1 28-Apr-2009  skrll Sync with HEAD.
 1.21.10.1 04-May-2009  yamt sync with head.
 1.22.8.2 05-Mar-2011  bouyer Sync with HEAD
 1.22.8.1 17-Feb-2011  bouyer Sync with HEAD
 1.22.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.22.4.1 05-Mar-2011  rmind sync with head
 1.24.10.1 08-Aug-2012  martin Pull up following revision(s) (requested by mlelstv in ticket #466):
sys/arch/amiga/amiga/autoconf.c: revision 1.113
sys/arch/rs6000/rs6000/autoconf.c: revision 1.4
sys/arch/emips/emips/autoconf.c: revision 1.6
sys/arch/sandpoint/sandpoint/autoconf.c: revision 1.27
sys/arch/evbmips/alchemy/autoconf.c: revision 1.18
sys/arch/sgimips/sgimips/autoconf.c: revision 1.43
sys/arch/atari/atari/autoconf.c: revision 1.63
sys/arch/powerpc/oea/ofw_autoconf.c: revision 1.17
sys/arch/mmeye/mmeye/autoconf.c: revision 1.9
distrib/sets/lists/comp/mi: revision 1.1771
sys/arch/mipsco/mipsco/autoconf.c: revision 1.25
sys/arch/iyonix/iyonix/autoconf.c: revision 1.14
sys/arch/hp300/hp300/autoconf.c: revision 1.100
sys/kern/init_main.c: revision 1.445
sys/arch/pmax/pmax/autoconf.c: revision 1.79
sys/arch/netwinder/netwinder/autoconf.c: revision 1.11
sys/arch/dreamcast/dreamcast/autoconf.c: revision 1.10
sys/arch/ibmnws/ibmnws/autoconf.c: revision 1.12
sys/arch/evbppc/ev64260/autoconf.c: revision 1.17
sys/arch/evbmips/gdium/autoconf.c: revision 1.5
sys/arch/algor/algor/autoconf.c: revision 1.21
share/man/man9/Makefile: revision 1.367
sys/arch/ews4800mips/ews4800mips/autoconf.c: revision 1.9
sys/arch/amigappc/amigappc/autoconf.c: revision 1.5
sys/arch/x86/x86/x86_autoconf.c: revision 1.65
sys/arch/acorn26/acorn26/autoconf.c: revision 1.9
sys/arch/mvmeppc/mvmeppc/autoconf.c: revision 1.13
sys/arch/vax/vax/autoconf.c: revision 1.94
sys/arch/usermode/dev/cpu.c: revision 1.72
sys/arch/evbppc/virtex/autoconf.c: revision 1.5
sys/arch/next68k/next68k/autoconf.c: revision 1.26
sys/arch/mac68k/mac68k/autoconf.c: revision 1.73
sys/arch/ia64/ia64/autoconf.c: revision 1.6
sys/arch/evbppc/obs405/obs405_autoconf.c: revision 1.6
share/man/man9/cpu_rootconf.9: revision 1.7
sys/arch/landisk/landisk/autoconf.c: revision 1.6
sys/arch/evbmips/malta/autoconf.c: revision 1.16
sys/arch/sun3/sun3/autoconf.c: revision 1.76
sys/arch/evbppc/explora/autoconf.c: revision 1.13
sys/arch/sun3/sun3/autoconf.c: revision 1.77
sys/arch/evbmips/loongson/autoconf.c: revision 1.3
sys/arch/evbmips/atheros/autoconf.c: revision 1.11
sys/arch/sparc64/sparc64/autoconf.c: revision 1.188
sys/arch/acorn32/acorn32/autoconf.c: revision 1.18
sys/arch/evbarm/evbarm/autoconf.c: revision 1.13
sys/arch/cobalt/cobalt/autoconf.c: revision 1.30
sys/arch/mvme68k/mvme68k/autoconf.c: revision 1.46
sys/arch/hp700/hp700/autoconf.c: revision 1.48
sys/arch/evbmips/adm5120/autoconf.c: revision 1.5
sys/arch/hpcmips/hpcmips/autoconf.c: revision 1.25
sys/arch/alpha/alpha/autoconf.c: revision 1.52
sys/arch/sparc/sparc/autoconf.c: revision 1.244
sys/arch/evbppc/pmppc/autoconf.c: revision 1.7
sys/arch/bebox/bebox/autoconf.c: revision 1.25
sys/arch/luna68k/luna68k/autoconf.c: revision 1.13
sys/arch/hpcarm/hpcarm/autoconf.c: revision 1.20
sys/arch/evbppc/walnut/autoconf.c: revision 1.21
sys/arch/cesfic/cesfic/autoconf.c: revision 1.26
sys/arch/cats/cats/autoconf.c: revision 1.17
sys/arch/x68k/x68k/autoconf.c: revision 1.67
sys/arch/news68k/news68k/autoconf.c: revision 1.21
sys/arch/arc/arc/autoconf.c: revision 1.34
sys/arch/evbsh3/evbsh3/autoconf.c: revision 1.11
sys/sys/conf.h: revision 1.143
sys/arch/evbmips/rasoc/autoconf.c: revision 1.3
sys/arch/hpcsh/hpcsh/autoconf.c: revision 1.26
sys/arch/sun68k/sun68k/autoconf.c: revision 1.29
sys/arch/evbmips/rmixl/autoconf.c: revision 1.6
sys/arch/zaurus/zaurus/autoconf.c: revision 1.12
sys/arch/xen/x86/autoconf.c: revision 1.15
sys/arch/evbppc/mpc85xx/autoconf.c: revision 1.6
sys/arch/shark/shark/autoconf.c: revision 1.18
sys/arch/prep/prep/autoconf.c: revision 1.25
sys/arch/newsmips/newsmips/autoconf.c: revision 1.36
sys/arch/sbmips/sbmips/autoconf.c: revision 1.8
Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.
No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().
Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().
Make cpu_rootconf(9) describe the calling order.
add rootconf(9) as a link to cpu_rootconf(9)
make this compile again
 1.24.4.1 30-Oct-2012  yamt sync with head
 1.25.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2 29-Jan-2002  uch clean up debug print and configuration.
 1.1 26-Jan-2002  takemura Straightened vripvar.h
 1.41 26-Jul-2022  andvar s/functin/function/ in copy pasted comment.
 1.40 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.39 11-Jun-2015  matt branches: 1.39.30;
Add struct pmap_limits and pm_{min,max}addr from uvm/pmap/map.h and use it to
store avail_start, avail_end, virtual_start, and virtual_end.
Remove iospace and let emips just bump pmap_limits.virtual_start to get the
VA space it needs.
pmap_segtab.c is almost identical to uvm/pmap/pmap_segtab.c now. It won't
be long until we switch to the uvm/pmap one.
 1.38 02-Oct-2012  christos branches: 1.38.14;
move common/bus_dma/ -> dev/bus_dma/
 1.37 26-Feb-2011  tsutsui branches: 1.37.4; 1.37.14;
Explicitly include <mips/locore.h> for wbflush().
 1.36 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.35 14-Dec-2009  matt branches: 1.35.4; 1.35.6; 1.35.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.34 21-Aug-2009  thorpej Use bus_dmamem_common.
 1.33 18-Mar-2009  cegger bzero -> memset
 1.32 04-Jun-2008  ad branches: 1.32.6; 1.32.12; 1.32.16;
vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.
 1.31 28-Apr-2008  martin branches: 1.31.2;
Remove clause 3 and 4 from TNF licenses
 1.30 07-Mar-2007  he branches: 1.30.40; 1.30.42; 1.30.44;
Change a cast from void* to char* when doing pointer arithmetic.
 1.29 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.28 16-Apr-2006  tsutsui branches: 1.28.14;
Mising -> Mixing
 1.27 01-Mar-2006  yamt branches: 1.27.2; 1.27.4; 1.27.6;
merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
 1.26 11-Dec-2005  christos branches: 1.26.2; 1.26.4; 1.26.6;
merge ktrace-lwp.
 1.25 24-Nov-2005  yamt bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!
 1.24 01-Apr-2005  yamt branches: 1.24.2; 1.24.8;
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
 1.23 09-Mar-2005  matt Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create). dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
 1.22 28-Nov-2004  thorpej branches: 1.22.4; 1.22.6;
bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811
 1.21 16-Sep-2004  rumble Correct a few comment typos that have propagated through the
tree.
 1.20 15-Jul-2003  lukem __KERNEL_RCSID()
 1.19 29-Jun-2003  fvdl branches: 1.19.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.18 28-Jun-2003  darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
 1.17 02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.16 02-Jun-2002  drochner move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
 1.15 06-Jan-2002  takemura branches: 1.15.8;
Added _hpcmips_bd_mem_alloc_range, which was written by Katsuomi Hamajima.
 1.14 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.13 14-Nov-2001  thorpej branches: 1.13.2;
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.12 28-Sep-2001  chs branches: 1.12.2;
don't depend on other headers to include sys/proc.h for us.
 1.11 15-Sep-2001  uch remove unneeded #include
 1.10 15-Sep-2001  uch ANSIfy, KNF.
 1.9 10-Sep-2001  chris Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.
 1.8 26-May-2001  chs branches: 1.8.2; 1.8.4;
replace vm_page_t with struct vm_page *.
 1.7 24-Apr-2001  thorpej Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative. It may be possible to
optimize these a little more.
 1.6 21-Mar-2001  soren s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.
 1.5 22-Oct-2000  uch branches: 1.5.2; 1.5.4;
fix comment. s/DECstation/hpcmips/
 1.4 29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.3 26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.2 26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.1 25-Mar-2000  uch branches: 1.1.4;
bus_dma. taken from pmax.
 1.1.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.5.4.2 21-Jun-2001  nathanw Catch up to -current.
 1.5.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.5.2.3 27-Mar-2001  bouyer Sync with HEAD.
 1.5.2.2 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.5.2.1 22-Oct-2000  bouyer file bus_dma.c was added on branch thorpej_scsipi on 2000-11-20 20:46:27 +0000
 1.8.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.8.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.12.2.1 06-Nov-2001  uch Update for the new cache code.
 1.13.2.5 20-Jun-2002  nathanw Catch up to -current.
 1.13.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.13.2.3 11-Jan-2002  nathanw More catchup.
 1.13.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.13.2.1 14-Nov-2001  nathanw file bus_dma.c was added on branch nathanw_sa on 2002-01-08 00:25:00 +0000
 1.15.8.1 14-Jul-2002  gehenna catch up with -current.
 1.19.2.8 11-Dec-2005  christos Sync with head.
 1.19.2.7 01-Apr-2005  skrll Sync with HEAD.
 1.19.2.6 19-Feb-2005  skrll Don't deref a NULL struct lwp *. This shouldn't happen, but...
 1.19.2.5 18-Dec-2004  skrll Sync with HEAD.
 1.19.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.19.2.2 03-Aug-2004  skrll Sync with HEAD
 1.19.2.1 02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.22.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.22.6.1 26-Jan-2005  yamt convert arch/hpcmips to new apis.
 1.22.4.1 29-Apr-2005  kent sync with -current
 1.24.8.1 29-Nov-2005  yamt sync with head.
 1.24.2.2 03-Sep-2007  yamt sync with head.
 1.24.2.1 21-Jun-2006  yamt sync with head.
 1.26.6.1 22-Apr-2006  simonb Sync with head.
 1.26.4.1 09-Sep-2006  rpaulo sync with head
 1.26.2.1 18-Feb-2006  yamt adapt bus_dma implementations.
 1.27.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.27.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.27.2.1 24-May-2006  yamt sync with head.
 1.28.14.1 12-Mar-2007  rmind Sync with HEAD.
 1.30.44.4 11-Mar-2010  yamt sync with head
 1.30.44.3 16-Sep-2009  yamt sync with head
 1.30.44.2 04-May-2009  yamt sync with head.
 1.30.44.1 16-May-2008  yamt sync with head.
 1.30.42.2 17-Jun-2008  yamt sync with head.
 1.30.42.1 18-May-2008  yamt sync with head.
 1.30.40.2 05-Jun-2008  mjf Sync with HEAD.

Also fix build.
 1.30.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.31.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.32.16.2 14-Jan-2010  matt more avail_end/avail_start changes
 1.32.16.1 26-Aug-2009  matt Fixup (all but mipsco) to deal the new realities in mipsland.
 1.32.12.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.32.6.1 28-Apr-2009  skrll Sync with HEAD.
 1.35.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.35.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.35.4.1 05-Mar-2011  rmind sync with head
 1.37.14.2 03-Dec-2017  jdolecek update from HEAD
 1.37.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.37.4.1 30-Oct-2012  yamt sync with head
 1.38.14.1 22-Sep-2015  skrll Sync with HEAD
 1.39.30.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.35 11-Feb-2024  andvar Fix few more typos in comments and log message:
s/butoon/button/
s/BUTTOM/BOTTOM/
s/communicaiton/communication/
s/recevice/receive/
s/regiion/region/
 1.34 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.33 09-Sep-2023  andvar relocate DPRINTF below to make sure that bpa is initialized.

fixes BUS_SPACE_DEBUG enabled build for hpcmips.
 1.32 11-Jul-2016  matt Use pmap_kenter flags to create cached/uncached entries.
#include <mips/locore.h> when appropriate
 1.31 27-Jan-2012  para branches: 1.31.6; 1.31.24;
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.30 26-Feb-2011  tsutsui branches: 1.30.4; 1.30.8;
Explicitly include <mips/locore.h> for wbflush().
 1.29 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.28 07-Nov-2009  cegger branches: 1.28.4; 1.28.6; 1.28.8;
Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
 1.27 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.26 28-Apr-2008  martin branches: 1.26.8; 1.26.14; 1.26.18;
Remove clause 3 and 4 from TNF licenses
 1.25 11-Dec-2005  christos branches: 1.25.74; 1.25.76; 1.25.78;
merge ktrace-lwp.
 1.24 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.23 01-Apr-2005  yamt merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
 1.22 15-Jul-2003  lukem branches: 1.22.8; 1.22.10;
__KERNEL_RCSID()
 1.21 02-Apr-2003  thorpej branches: 1.21.2;
Use PAGE_SIZE rather than NBPG.
 1.20 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.19 04-May-2002  takemura Fixed debug messages.
 1.18 14-Apr-2002  takemura Added bus probing to avoid bus error.
 1.17 02-Dec-2001  uch make this compile again.
 1.16 22-Nov-2001  takemura Fixed bus stuff to compile vrpciu.c (VR4131 CPU).
 1.15 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.14 14-Nov-2001  thorpej branches: 1.14.2;
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.13 17-Sep-2001  uch branches: 1.13.2;
clean up "mainbus" related code.
 1.12 16-Sep-2001  uch ANSIfy, KNF.
 1.11 15-Sep-2001  uch remove unneeded #include
 1.10 15-Sep-2001  uch ANSIfy, KNF.
 1.9 10-Sep-2001  chris Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.
 1.8 24-Apr-2001  thorpej branches: 1.8.2; 1.8.4;
Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative. It may be possible to
optimize these a little more.
 1.7 06-Jan-2001  toshii branches: 1.7.2;
Fix a typo in debug printf.
 1.6 29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.5 26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.4 02-Dec-1999  uch BUSSPACEDEBUG -> BUS_SPACE_DEBUG
 1.3 20-Nov-1999  uch allow to handle > 512MByte physical address
 1.2 20-Nov-1999  uch Add base offset to rend
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.1.1.1.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.7.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.8.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.8.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.8.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.13.2.1 06-Nov-2001  uch Update for the new cache code.
 1.14.2.5 18-Oct-2002  nathanw Catch up to -current.
 1.14.2.4 20-Jun-2002  nathanw Catch up to -current.
 1.14.2.3 17-Apr-2002  nathanw Catch up to -current.
 1.14.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.14.2.1 14-Nov-2001  nathanw file bus_space.c was added on branch nathanw_sa on 2002-01-08 00:25:01 +0000
 1.21.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.21.2.4 01-Apr-2005  skrll Sync with HEAD.
 1.21.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.21.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.21.2.1 03-Aug-2004  skrll Sync with HEAD
 1.22.10.1 26-Jan-2005  yamt convert arch/hpcmips to new apis.
 1.22.8.1 29-Apr-2005  kent sync with -current
 1.25.78.3 11-Mar-2010  yamt sync with head
 1.25.78.2 04-May-2009  yamt sync with head.
 1.25.78.1 16-May-2008  yamt sync with head.
 1.25.76.1 18-May-2008  yamt sync with head.
 1.25.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.26.18.1 15-Jan-2010  matt Get rid of most of the studly caps.
First to MULTIPROCESSOR support for pmap: move some pmap globals to cpu_info.
Define per-cpu ASID number spaces.
Remove some mips1/!mips1 difference in db_interface.c
Add mips32/64 knowledge to stacktrace.
 1.26.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.26.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.28.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.28.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.28.4.1 05-Mar-2011  rmind sync with head
 1.30.8.1 18-Feb-2012  mrg merge to -current.
 1.30.4.1 17-Apr-2012  yamt sync with head
 1.31.24.1 05-Oct-2016  skrll Sync with HEAD
 1.31.6.1 03-Dec-2017  jdolecek update from HEAD
 1.8 15-Dec-2007  perry __FUNCTION__ -> __func__
 1.7 24-Jan-2007  hubertf branches: 1.7.24; 1.7.32; 1.7.36;
Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

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

Thanks to martin@ for the input on testing.
 1.6 11-Dec-2005  christos branches: 1.6.20;
merge ktrace-lwp.
 1.5 15-Jul-2003  lukem branches: 1.5.16;
__KERNEL_RCSID()
 1.4 27-Sep-2002  provos branches: 1.4.6;
remove trailing \n in panic(). approved perry.
 1.3 14-Apr-2002  takemura Added bus probing to avoid bus error.
 1.2 02-Jan-2002  uch branches: 1.2.2; 1.2.4;
fix typo in comment.
 1.1 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.2.4.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.2.4.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.1 02-Jan-2002  thorpej file bus_space_notimpl.c was added on branch kqueue on 2002-01-10 19:43:58 +0000
 1.2.2.6 18-Oct-2002  nathanw Catch up to -current.
 1.2.2.5 17-Apr-2002  nathanw Catch up to -current.
 1.2.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.3 11-Jan-2002  nathanw More catchup.
 1.2.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 02-Jan-2002  nathanw file bus_space_notimpl.c was added on branch nathanw_sa on 2002-01-08 00:25:01 +0000
 1.4.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.6.1 03-Aug-2004  skrll Sync with HEAD
 1.5.16.2 21-Jan-2008  yamt sync with head
 1.5.16.1 26-Feb-2007  yamt sync with head.
 1.6.20.1 01-Feb-2007  ad Sync with head.
 1.7.36.1 02-Jan-2008  bouyer Sync with HEAD
 1.7.32.1 26-Dec-2007  ad Sync with head.
 1.7.24.1 09-Jan-2008  matt sync with HEAD
 1.5 09-Sep-2023  andvar s/reagion/region/ in called bus_space_read_region_stream_x method names.

relevant for hpcmips BUS_SPACE_HAS_REAL_STREAM_METHODS enabled build,
however it still fails due to other issues.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 15-Jul-2003  lukem __KERNEL_RCSID()
 1.2 14-Apr-2002  takemura branches: 1.2.10;
Added bus probing to avoid bus error.
 1.1 23-Dec-2001  takemura branches: 1.1.2; 1.1.4;
Added SigmarionII serial port support.
(console onlty, interrupt is not supported)
 1.1.4.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 23-Dec-2001  thorpej file bus_space_through.c was added on branch kqueue on 2002-01-10 19:43:58 +0000
 1.1.2.3 17-Apr-2002  nathanw Catch up to -current.
 1.1.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.2.1 23-Dec-2001  nathanw file bus_space_through.c was added on branch nathanw_sa on 2002-01-08 00:25:02 +0000
 1.2.10.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.10.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.10.1 03-Aug-2004  skrll Sync with HEAD
 1.22 16-Mar-2011  tsutsui Fix device_t/softc confusion.
(currently harmless since they are not split yet)
 1.21 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.20 18-Mar-2009  cegger branches: 1.20.4; 1.20.6; 1.20.8;
Ansify function definitions w/o arguments. Generated with sed.
 1.19 16-Sep-2006  gdamore branches: 1.19.58; 1.19.66; 1.19.72;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.18 11-Dec-2005  christos branches: 1.18.20;
merge ktrace-lwp.
 1.17 07-Aug-2003  agc branches: 1.17.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.16 31-Jan-2002  uch branches: 1.16.16;
update MINYEAR
 1.15 18-Sep-2001  uch branches: 1.15.4;
remove dev/dec/clockvar.h from hpcmips source tree.
 1.14 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.13 15-Sep-2001  uch remove unneeded #include
 1.12 15-Sep-2001  uch ANSIfy, KNF.
 1.11 18-Apr-2001  sato branches: 1.11.2; 1.11.4;
check platid if 'options VR41XX' and 'options TX39XX' are both defined.
XXX: currently this case is missconfiguration and not compilable.
XXX: because all codes are not supported this case yet.
 1.10 15-Jan-2001  sato branches: 1.10.2;
change MINYEAR to 2001.
 1.9 27-Oct-2000  sato correct comment.
 1.8 04-Jun-2000  cgd Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.7 24-Apr-2000  uch branches: 1.7.2;
remove #ifdef alpha
 1.6 10-Feb-2000  sato update MINYEAR.
 1.5 22-Dec-1999  uch Implement TX3912/22 clock/timer module.
 1.4 08-Dec-1999  uch don't define DEBUG in source code.
 1.3 07-Dec-1999  sato - fix typo.
- MINYEAR is 1999.
 1.2 19-Sep-1999  shin branches: 1.2.2; 1.2.8;
Bugfix: Initialize 'hz' to CLOCK_RATE.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.3 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.2.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.2.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.7.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.10.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.11.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.11.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.11.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.15.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.15.4.1 18-Sep-2001  nathanw file clock.c was added on branch nathanw_sa on 2002-02-28 04:09:56 +0000
 1.16.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.16.16.1 03-Aug-2004  skrll Sync with HEAD
 1.17.16.1 30-Dec-2006  yamt sync with head.
 1.18.20.1 18-Nov-2006  ad Sync with head.
 1.19.72.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.19.66.1 28-Apr-2009  skrll Sync with HEAD.
 1.19.58.1 04-May-2009  yamt sync with head.
 1.20.8.1 17-Feb-2011  bouyer Sync with HEAD
 1.20.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.20.4.2 21-Apr-2011  rmind sync with head
 1.20.4.1 05-Mar-2011  rmind sync with head
 1.22 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.21 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.20 19-Jul-2002  thorpej Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
be properly used by any misc. cloning device. While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
 1.19 17-Jun-2002  christos MD systrace gluons.
 1.18 23-Mar-2002  hamajima branches: 1.18.2;
add VR4121 Audio Interface Unit
 1.17 23-Mar-2002  shin add LKM.
 1.16 16-Mar-2002  martin Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
 1.15 12-Jan-2002  manu Added clockctl
 1.14 15-Sep-2001  uch branches: 1.14.4;
remove unneeded #include
 1.13 15-Sep-2001  uch ANSIfy, KNF.
 1.12 21-Mar-2001  lukem branches: 1.12.2; 1.12.4;
move duplicate definitions for:
pc, lpt, joy, ocis, apm, satlink, i4bctl, i4brbch, i4btel, i4btrc, i4b
from the port-specific arch/*/*/conf.c files into sys/conf.h
 1.11 14-Jan-2001  martin branches: 1.11.2;
The i4b raw b-channel devices actually do have an ioctl routine,
so better add this to the cdevsw entry.
Noted by Bruno Achauer.
 1.10 09-Jan-2001  martin When adding isdn devices I forgot to check chrtoblktbl.
Fix this know for the affected archs.
 1.9 08-Jan-2001  martin Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.
 1.8 23-Sep-2000  augustss Grab a major # for USB scanners.
 1.7 09-Apr-2000  takemura Delete needless #if.
 1.6 25-Mar-2000  uch enable USB staff.
 1.5 12-Mar-2000  takemura Add wsmux device which is real device in /dev.
 1.4 03-Mar-2000  uch add device file interface for UCB1200
 1.3 29-Feb-2000  augustss Add USB tty device.
 1.2 21-Nov-1999  uch TX3912/3922 support
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.3 27-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.1.1.1.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.11.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.12.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.12.2.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.12.2.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.12.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 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.14.4.7 11-Nov-2002  nathanw Catch up to -current
 1.14.4.6 17-Sep-2002  nathanw Catch up to -current.
 1.14.4.5 01-Aug-2002  nathanw Catch up to -current.
 1.14.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.14.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.14.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.14.4.1 15-Sep-2001  nathanw file conf.c was added on branch nathanw_sa on 2002-02-28 04:09:56 +0000
 1.18.2.3 21-Jul-2002  gehenna catch up with -current.
 1.18.2.2 14-Jul-2002  gehenna catch up with -current.
 1.18.2.1 16-May-2002  gehenna Bye block/character device swicth tables.
 1.4 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.3 10-Aug-2000  jeffs branches: 1.3.2;
Tweak printf format to compile with printf changes.
 1.2 16-Jan-2000  uch call config_hook_init before autoconfiguration.
initalize hr_mode.
 1.1 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.3.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.3.2.2 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.3.2.1 10-Aug-2000  bouyer file config_hook.c was added on branch thorpej_scsipi on 2000-11-20 20:46:34 +0000
 1.19 03-Mar-2022  riastradh mips: Use device_set_private for cpuN on older ports.

Specifically, for those that don't use cpu_attach_common of
mips_subr.c.
 1.18 26-Feb-2011  tsutsui Explicitly include <mips/locore.h> for mips_locoresw.
 1.17 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.16 14-Dec-2009  matt branches: 1.16.4; 1.16.6; 1.16.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.15 04-Jan-2008  ad branches: 1.15.10; 1.15.28;
Need sys/device.h
 1.14 11-Dec-2005  christos branches: 1.14.50; 1.14.56; 1.14.64;
merge ktrace-lwp.
 1.13 15-Jul-2003  lukem branches: 1.13.16;
__KERNEL_RCSID()
 1.12 02-Oct-2002  thorpej branches: 1.12.6;
Use CFATTACH_DECL().
 1.11 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.10 16-Sep-2001  uch branches: 1.10.4;
rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.9 15-Sep-2001  uch remove unneeded #include
 1.8 15-Sep-2001  uch ANSIfy, KNF.
 1.7 18-Apr-2001  sato branches: 1.7.2; 1.7.4;
check platid if 'options VR41XX' and 'options TX39XX' are both defined.
XXX: currently this case is missconfiguration and not compilable.
XXX: because all codes are not supported this case yet.
 1.6 11-Apr-2001  sato opt_vr41x1.h -> opt_vr41xx.h.
add 'options VR41XX' and kill 'options VR41X1'.

add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.

GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
 1.5 12-May-2000  shin branches: 1.5.6;
make it compile again with '-Werror'.
 1.4 10-May-2000  nisimura Adapt mips_locoresw[].
 1.3 02-Feb-2000  shin add '#ifdef VR41X1' for TX3900.
 1.2 28-Jan-2000  takemura CPU specific idle hook and VR idle routine.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.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.5.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.7.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.7.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.7.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.4.2 18-Oct-2002  nathanw Catch up to -current.
 1.10.4.1 16-Sep-2001  nathanw file cpu.c was added on branch nathanw_sa on 2002-10-18 02:37:10 +0000
 1.12.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1 03-Aug-2004  skrll Sync with HEAD
 1.13.16.1 21-Jan-2008  yamt sync with head
 1.14.64.1 08-Jan-2008  bouyer Sync with HEAD
 1.14.56.1 18-Feb-2008  mjf Sync with HEAD.
 1.14.50.1 09-Jan-2008  matt sync with HEAD
 1.15.28.3 23-Dec-2011  matt Change usage to cpu_identify(self, NULL);
 1.15.28.2 13-Jan-2010  matt Deal with new cpu_identity()
 1.15.28.1 26-Aug-2009  matt Fixup (all but mipsco) to deal the new realities in mipsland.
 1.15.10.1 11-Mar-2010  yamt sync with head
 1.16.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.16.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.16.4.1 05-Mar-2011  rmind sync with head
 1.8 21-Feb-2001  uch hpc* common disksubr.c
 1.7 22-Jan-2001  shin - sync with i386.
- this change fixes bogus ESRCH error bug in writedisklabel().
 1.6 20-Nov-2000  chs rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
 1.5 16-May-2000  thorpej Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc. Those
platforms should be changed to use device_register(). In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
 1.4 18-Jan-2000  thorpej Use b_cylinder as defined in sys/buf.h
 1.3 30-Oct-1999  uch include disk.h
 1.2 11-Oct-1999  shin branches: 1.2.2; 1.2.4;
sync with i386 (MBR)
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.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.2.4.1 15-Nov-1999  fvdl Sync with -current
 1.2.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.2.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.2.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 17-Feb-2020  sevan spelling
 1.5 16-Mar-2011  tsutsui branches: 1.5.48; 1.5.56; 1.5.60; 1.5.62;
Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU. Compile test only.
 1.4 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.3 18-Mar-2009  cegger branches: 1.3.4; 1.3.6; 1.3.8;
Ansify function definitions w/o arguments. Generated with sed.
 1.2 11-Dec-2005  christos branches: 1.2.78; 1.2.86; 1.2.92; 1.2.96;
merge ktrace-lwp.
 1.1 03-Jul-2004  uch branches: 1.1.2;
hpcmips independent hpcapm part are moved to sys/dev/hpc/
hpcmips dependend part is separated to sys/arch/hpcmips/hpcapm_machdep.c
 1.1.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.2 03-Aug-2004  skrll Sync with HEAD
 1.1.2.1 03-Jul-2004  skrll file hpcapm_machdep.c was added on branch ktrace-lwp on 2004-08-03 10:35:17 +0000
 1.2.96.1 29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.2.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.2.78.1 04-May-2009  yamt sync with head.
 1.3.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.3.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.4.2 21-Apr-2011  rmind sync with head
 1.3.4.1 05-Mar-2011  rmind sync with head
 1.5.62.1 29-Feb-2020  ad Sync with head.
 1.5.60.1 20-Feb-2020  martin Pull up following revision(s) (requested by sevan in ticket #712):

sys/arch/hpcmips/hpcmips/hpcapm_machdep.c: revision 1.6

spelling
 1.5.56.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.5.48.1 20-Feb-2020  martin Pull up following revision(s) (requested by sevan in ticket #1506):

sys/arch/hpcmips/hpcmips/hpcapm_machdep.c: revision 1.6

spelling
 1.21 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.20 26-Jun-2015  matt #include <mips/locore.h>
 1.19 09-Jun-2015  matt #include <sys/cpu.h> and/or <mips/cpuregs.h> + other include fixes
 1.18 20-Feb-2011  matt branches: 1.18.14; 1.18.32;
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.17 20-Dec-2010  matt branches: 1.17.2; 1.17.4;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.16 15-Dec-2009  mrg branches: 1.16.4;
convert all mips cpu_intr() to have the standard
(uint32_t, uint32_t, vaddr_t, uint32_t) signature.
 1.15 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.14 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.13 28-Apr-2008  martin branches: 1.13.8; 1.13.14; 1.13.18;
Remove clause 3 and 4 from TNF licenses
 1.12 04-Apr-2008  tsutsui branches: 1.12.2; 1.12.4;
Account ci_idepth in VR_INTR() and TX_INTR, rather than cpu_intr() in
hpcmips/interrupt.c. The latter one is used only on kernels configured for
multiple CPUs (i.e. kernels which have both options VR41XX and TX39XX).

Closes PR port-hpcmips/38139 from Risto Sainio.
 1.11 03-Dec-2007  ad branches: 1.11.14;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.10 21-Dec-2006  yamt branches: 1.10.6; 1.10.22; 1.10.24; 1.10.30;
merge yamt-splraiseipl branch.

- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
 1.9 11-Dec-2005  christos branches: 1.9.20; 1.9.22;
merge ktrace-lwp.
 1.8 15-Jul-2003  lukem branches: 1.8.16;
__KERNEL_RCSID()
 1.7 29-Jan-2002  uch branches: 1.7.16;
simpify.
 1.6 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.5 23-Nov-2001  uch add missing simple_lock_init.
 1.4 23-Sep-2001  uch branches: 1.4.4;
improve interrupt response.
 1.3 15-Sep-2001  uch switch from splvec to ipl_sr_bits.
 1.2 15-Sep-2001  uch remove unneeded #include
 1.1 13-Jun-2001  enami branches: 1.1.2; 1.1.4; 1.1.6;
Generic softintr for hpcmips.
 1.1.6.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.4.4 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.3 11-Jan-2002  nathanw More catchup.
 1.4.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.4.4.1 23-Sep-2001  nathanw file interrupt.c was added on branch nathanw_sa on 2002-01-08 00:25:02 +0000
 1.7.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.16.1 03-Aug-2004  skrll Sync with HEAD
 1.8.16.2 07-Dec-2007  yamt sync with head
 1.8.16.1 30-Dec-2006  yamt sync with head.
 1.9.22.1 22-Sep-2006  yamt fix softintr for following ports. (hopefully)
hpcmips
evbmips
algor
arc
ews4800mips
newsmips
 1.9.20.1 12-Jan-2007  ad Sync with head.
 1.10.30.1 08-Dec-2007  mjf Sync with HEAD.
 1.10.24.1 09-Jan-2008  matt sync with HEAD
 1.10.22.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.10.6.1 03-Dec-2007  ad Sync with HEAD.
 1.11.14.1 02-Jun-2008  mjf Sync with HEAD.
 1.12.4.3 11-Mar-2010  yamt sync with head
 1.12.4.2 04-May-2009  yamt sync with head.
 1.12.4.1 16-May-2008  yamt sync with head.
 1.12.2.1 18-May-2008  yamt sync with head.
 1.13.18.1 29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.13.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.16.4.1 05-Mar-2011  rmind sync with head
 1.17.4.1 05-Mar-2011  bouyer Sync with HEAD
 1.17.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.18.32.1 22-Sep-2015  skrll Sync with HEAD
 1.18.14.1 03-Dec-2017  jdolecek update from HEAD
 1.9 26-Jun-2015  matt #include <mips/locore.h>
 1.8 09-Jun-2015  matt #include <sys/cpu.h> and/or <mips/cpuregs.h> + other include fixes
 1.7 18-Mar-2009  cegger branches: 1.7.22; 1.7.40;
Ansify function definitions w/o arguments. Generated with sed.
 1.6 28-Apr-2008  martin branches: 1.6.8; 1.6.14;
Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 06-Jul-2004  uch MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
 1.3 15-Jul-2003  lukem __KERNEL_RCSID()
 1.2 11-Feb-2002  uch branches: 1.2.2; 1.2.4; 1.2.20;
add reset method.
 1.1 29-Jan-2002  uch hpcmips support of kloader.
 1.2.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.20.1 03-Aug-2004  skrll Sync with HEAD
 1.2.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.1 11-Feb-2002  nathanw file kloader_machdep.c was added on branch nathanw_sa on 2002-02-28 04:09:57 +0000
 1.2.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.2.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.2.2.1 11-Feb-2002  jdolecek file kloader_machdep.c was added on branch kqueue on 2002-02-11 20:08:07 +0000
 1.5.78.2 04-May-2009  yamt sync with head.
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.7.40.1 22-Sep-2015  skrll Sync with HEAD
 1.7.22.1 03-Dec-2017  jdolecek update from HEAD
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 11-Dec-2005  christos branches: 1.3.74; 1.3.76; 1.3.78;
merge ktrace-lwp.
 1.2 09-Jul-2004  uch set BEV bit before coping kernel.
set next kernel stack pointer.
 1.1 29-Jan-2002  uch branches: 1.1.2; 1.1.4; 1.1.20;
hpcmips support of kloader.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.4.1 29-Jan-2002  nathanw file kloader_tx39.S was added on branch nathanw_sa on 2002-02-28 04:09:57 +0000
 1.1.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1 29-Jan-2002  jdolecek file kloader_tx39.S was added on branch kqueue on 2002-02-11 20:08:07 +0000
 1.3.78.1 16-May-2008  yamt sync with head.
 1.3.76.1 18-May-2008  yamt sync with head.
 1.3.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 11-Dec-2005  christos branches: 1.3.74; 1.3.76; 1.3.78;
merge ktrace-lwp.
 1.2 09-Jul-2004  uch set BEV bit before coping kernel.
set next kernel stack pointer.
 1.1 29-Jan-2002  uch branches: 1.1.2; 1.1.4; 1.1.20;
hpcmips support of kloader.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.4.1 29-Jan-2002  nathanw file kloader_vr41.S was added on branch nathanw_sa on 2002-02-28 04:09:57 +0000
 1.1.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1 29-Jan-2002  jdolecek file kloader_vr41.S was added on branch kqueue on 2002-02-11 20:08:07 +0000
 1.3.78.1 16-May-2008  yamt sync with head.
 1.3.76.1 18-May-2008  yamt sync with head.
 1.3.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.8 11-Dec-2005  christos merge ktrace-lwp.
 1.7 31-May-2005  chs remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them.
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.5 24-Nov-2002  shin branches: 1.5.6;
wipe out all physical memory before hibernate/reset.
otherwise, WinCE will not boot on some machine (ex. IBM z50).
 1.4 31-Jan-2002  uch branches: 1.4.10;
remove unneeded code and data.
 1.3 16-Sep-2001  uch branches: 1.3.4;
rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.2 22-May-2000  uch branches: 1.2.6; 1.2.8;
fix comment.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.8.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.2.8.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.6.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.4.3 11-Dec-2002  thorpej Sync with HEAD.
 1.3.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.4.1 16-Sep-2001  nathanw file locore_machdep.S was added on branch nathanw_sa on 2002-02-28 04:09:57 +0000
 1.4.10.1 12-Dec-2002  he Pull up revision 1.5 (requested by shin in ticket #1013):
Wipe out all physical memory before hibernate/reset.
Otherwise, WinCE will not boot on some machines (e.g. IBM
z50).
 1.5.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.126 05-Mar-2024  thorpej Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.
 1.125 03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.124 06-Nov-2017  christos branches: 1.124.2; 1.124.4;
Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

ARCH_ELFSIZE: the size for userland binaries
KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.
 1.123 07-May-2017  skrll When compiled with DEBUG/DIAGNOSTIC memset uses the stack so don't ask
it to overwrite it. 64 bytes is enough stack for any memset.
 1.122 07-May-2017  skrll Trailing whitespace
 1.121 22-Dec-2016  cherry branches: 1.121.6;
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.
 1.120 30-Jun-2015  matt branches: 1.120.2;
Use cpu_startup_common()
 1.119 26-Mar-2014  christos branches: 1.119.6;
- kill sprintf
- fix unused
 1.118 25-Mar-2014  christos add missing include
 1.117 24-Mar-2014  christos use cpu_{g,s}etmodel
 1.116 28-Jul-2012  matt branches: 1.116.2; 1.116.4;
Fix -fno-common fallout.
 1.115 28-Jul-2012  matt Remove declartions of physmem
 1.114 20-Feb-2011  matt branches: 1.114.4;
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.113 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.112 15-Nov-2010  uebayasi branches: 1.112.2; 1.112.4;
curlwp needs sys/lwp.h.
 1.111 02-Mar-2010  pooka branches: 1.111.2;
Remove unnecessary #ifdef NFS.
 1.110 02-Mar-2010  pooka Remove fs_mfs.h from users because it is now unnecessary and don't
generate fs_mfs.h anymore.
 1.109 08-Feb-2010  joerg Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
 1.108 21-Jan-2010  pooka branches: 1.108.2;
Move arch-local variable to a better namespace to make build again.
 1.107 16-Dec-2009  matt Fix various build with the 32bit mips ports after the mips64 merge.
 1.106 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.105 27-Nov-2009  rmind - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.104 26-Nov-2009  matt Kill proc0paddr. Use lwp0.l_addr instead.
 1.103 18-Mar-2009  cegger bzero -> memset
 1.102 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.101 13-Feb-2009  apb Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
 1.100 19-Dec-2008  pgoyette branches: 1.100.2;
Store config(1)'s root filesystem type as a text string rather than
embedding the address of its xxx_mountroot() in swapnetbsd.c. This
permits booting of kernels with hard-wired filesystem type even if the
filesystem is in a loadable module (ie, not linked into the kernel
image).

Discussed on current-users. Tested on amd64 and i386 with both hard-
wired and '?' filesystem times, and on both modular and monolithic
kernels.

Thanks to pooka@ for code review and suggestions.

Addresses my PR kern/40167
 1.99 30-Nov-2008  martin As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.
 1.98 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

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

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

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

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
 1.96 02-Jul-2008  ad branches: 1.96.2; 1.96.4; 1.96.10;
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
 1.95 17-Oct-2007  garbled branches: 1.95.16; 1.95.20; 1.95.22; 1.95.24;
Merge the ppcoea-renovation branch to HEAD.

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

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

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

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.93 08-Mar-2007  he branches: 1.93.2; 1.93.4; 1.93.10;
Cast to char* before doing pointer arithmetic.
 1.92 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.91 22-Feb-2007  thorpej TRUE -> true, FALSE -> false
 1.90 09-Apr-2006  tsutsui branches: 1.90.14;
Remove declarations for cpu_model[] since it's in <sys/systm.h>.
 1.89 24-Dec-2005  perry branches: 1.89.4; 1.89.6; 1.89.8; 1.89.10; 1.89.12;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.88 11-Dec-2005  christos merge ktrace-lwp.
 1.87 25-Apr-2005  lukem branches: 1.87.2;
Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.
 1.86 13-Feb-2004  wiz branches: 1.86.8;
Uppercase CPU, plural is CPUs.
 1.85 30-Dec-2003  pk Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

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

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.
 1.84 26-Sep-2003  simonb Cast through (void *) to appease gcc3.
XXX1 - why does this "type-punned pointer" warning only affect little-
endian MIPS and not big-endian MIPS?!
XXX2 - too much duplicated code.
 1.83 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.82 01-May-2003  igy branches: 1.82.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.81 26-Apr-2003  ragge Call ksyms_init() instead of ddb_init() in case of
NKSYMS || defined(DDB) || defined(LKM)
 1.80 02-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.79 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.78 25-Aug-2002  thorpej Make nbuf, nswbuf, and bufpages unsigned. Make all operations on these
variables unsigned, and update places where their values are printed.
 1.77 20-Aug-2002  shin don't include same file twice.
 1.76 07-Aug-2002  gmcgarry Make file compile:
- garbage collect cpu_sysctl()
- fix pasto
- include uvm/uvm_extern.h
From FUKAUMI Naoki in PR 17850.
 1.75 04-Aug-2002  gmcgarry Merge cpu_sysctl() for all mips ports, based on powerpc and m68k precedent.

For now, only pmax implements CPU_BOOTED_KERNEL. Need to revisit.
 1.74 27-Apr-2002  shin branches: 1.74.2;
(forgot to commit this file...)

* make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
 1.73 25-Mar-2002  shin if root device is md, change KLOADER_KERNEL_PATH to "/mnt/netbsd".
 1.72 04-Mar-2002  simonb Don't use local extern declarations for the mountroot variable or
declare local prototypes for nfs_mountroot() or md_root_setconf().
 1.71 04-Mar-2002  simonb Don't "extern int cold;" - this is in <sys/kernel.h>.
 1.70 13-Feb-2002  uch add LCD debug routines.
 1.69 31-Jan-2002  uch clean up header file.
 1.68 31-Jan-2002  uch if RB_HALT is setted, don't load kernel.
 1.67 31-Jan-2002  uch call intr_init() after mips_vector_init(). intr_init use CPUISMIPS3 macro.
 1.66 29-Jan-2002  uch hpcmips support of kloader.
 1.65 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.64 10-Nov-2001  shin branches: 1.64.2;
make this compile without DDB.
 1.63 17-Sep-2001  uch branches: 1.63.2;
clean up "mainbus" related code.
 1.62 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.61 15-Sep-2001  uch switch from splvec to ipl_sr_bits.
 1.60 15-Sep-2001  uch remove unneeded #include
 1.59 15-Sep-2001  uch ANSIfy, KNF.
 1.58 10-Sep-2001  chris Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.
 1.57 03-Jul-2001  enami branches: 1.57.2; 1.57.4;
Adapt with recent md_root.c change; now you can put a root filesystem image
into separate file if boot loader allows.
 1.56 13-Jun-2001  enami Generic softintr for hpcmips.
 1.55 02-Jun-2001  chs replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
 1.54 30-May-2001  lukem add missing #include "opt_kgdb.h"
 1.53 24-Apr-2001  thorpej Do the first allocsys() pass (the pass that computes sizes) before
calling pmap_bootstrap(); pmap_bootstrap() needs some of the size
information computed by allocsys().
 1.52 24-Apr-2001  thorpej Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative. It may be possible to
optimize these a little more.
 1.51 23-Apr-2001  thorpej Call pmap_bootstrap() before calling uvm_pageboot_alloc(), so that
the kernel virtual address space bounds will be set up.
 1.50 23-Apr-2001  sato fix memcpy argument in SPEC_PLATFORM&BOOT_STANDALONE case.
 1.49 23-Apr-2001  sato set specified platid when BOOT_STANDALONE & SPEC_PLATFORM=xx specified.
 1.48 22-Apr-2001  thorpej Use uvm_pageboot_alloc() for early memory allocation, rather than
calling pmap_steal_memory() directly. On these platforms, since
uvm_pageboot_alloc() is a wrapper around pmap_steal_memory(), there
is no functional change. This is merely for API consistency.
 1.47 18-Apr-2001  sato check platid if 'options VR41XX' and 'options TX39XX' are both defined.
XXX: currently this case is missconfiguration and not compilable.
XXX: because all codes are not supported this case yet.
 1.46 11-Apr-2001  sato opt_vr41x1.h -> opt_vr41xx.h.
add 'options VR41XX' and kill 'options VR41X1'.

add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.

GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
 1.45 30-Mar-2001  uch fix comment.
 1.44 25-Mar-2001  uch recognize hpcboot.exe's ELF symbol table.
 1.43 23-Mar-2001  sato o add sysctl machdep.booted_kernel support.
o add sysctl machdep.root_devoce support.
 1.42 15-Mar-2001  chs eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
 1.41 09-Feb-2001  uch branches: 1.41.2;
I forgot to initialize bicons for hpcmips.
 1.40 09-Feb-2001  uch sync with bicons change.
 1.39 22-Jan-2001  jdolecek Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.
 1.38 15-Jan-2001  thorpej Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
 1.37 03-Dec-2000  takemura Cancel previous change and revert to revision 1.35.
You can't pmap_steal_memory to allocate proc0 bacase physical memory
detection calls badaddr which needs proc0.
 1.36 27-Nov-2000  soren Consistently use pmap_steal_memory() to allocate USPACE.
 1.35 05-Oct-2000  cgd clean up and consistency for CP0 Count, Compare, Wired, and Config
access function names and prototypes.
 1.34 24-Sep-2000  jdolecek add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
 1.33 13-Sep-2000  thorpej Add an align argument to uvm_map() and some callers of that
routine. Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.
 1.32 29-Jul-2000  jdolecek g/c RB_DFLTROOT

I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
 1.31 25-Jul-2000  jeffs Correct typo in comment.
 1.30 20-Jul-2000  jeffs kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
 1.29 14-Jul-2000  jeffs Use cpu_intr() definition from mips/cpu.h instead of local one.
 1.28 29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.27 26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.26 26-May-2000  thorpej branches: 1.26.4;
First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:

- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.

- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).

- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.

- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.

Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
 1.25 14-May-2000  shin clear CPU count register interrupt properly (VR4100).
 1.24 09-May-2000  shin deal with INT_MASK_REAL_DEV removal.
 1.23 15-Apr-2000  soda define `ssir' here, rather than misp/mips/trap.c (like other mips ports)
 1.22 11-Apr-2000  uch sync with new mips trap.c
 1.21 03-Apr-2000  sato - hpcmips_verbose
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
 1.20 25-Mar-2000  nisimura Make sure proc0 PCB has spl0 condition in CP0 status register field.

cpu_fork() mistakenly created processes forked by proc0, including
kthreads, in splhigh condition, because [1] proc0's PCB was zero
cleared during initialization, and [2] value 0 in status register
field made processes to have splhigh condition when CPU tick was
assigned for them. This mostly doesn't matter as forked processes
dive immediately into user mode through proc_trampoline code path,
however, kthreads never do that and remain in splhigh.

Reported by Ethan Solomita <ethan@geocast.com>.
 1.19 21-Feb-2000  shin support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
 1.18 10-Feb-2000  sato delete \n in cpu_model.
 1.17 10-Feb-2000  sato add machine model name to cpu_model.
 1.16 19-Jan-2000  thorpej Move callout initialization to a single location; no need to duplicate
that code all over the place.
 1.15 19-Jan-2000  msaitoh check whether tv_usec >= 1000000
 1.14 09-Jan-2000  shin md_root.c: #include "opt_mdsize.h"
machdep.c: add 'ifdef' to compile without 'options DDB'
 1.13 01-Jan-2000  shin add MSDOSFS
delete redundant kernel 'config' lines.
add new option '-b={wd0,sd0,nfs}' to change boot device.
 1.12 04-Dec-1999  ragge CL* discarding.
 1.11 04-Dec-1999  takemura Unify vr_reset and vr_powerdown.
 1.10 28-Nov-1999  sato PowerOff code. (not yet completely)
'halt -p' availavle.
not yet all power off...
cannot exit poweroff mode. (reset required..)
 1.9 28-Nov-1999  takemura Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.8 21-Nov-1999  uch TX3912/3922 support
 1.7 05-Nov-1999  sato branches: 1.7.2;
inherit WinCE timezone only when 'options RTC_OFFSET=..' is not specified.
 1.6 04-Nov-1999  takemura Move consinit() from findcons.c to machdep.c and remove file 'findcons.c.
Modify kernel boot options.
 1.5 04-Nov-1999  sato if rtc_offset is 0, rtc_offset inherit WindowsCE timezone.
 1.4 03-Nov-1999  takemura Remove disused lines, 'disable clock interrupts (until startrtclock()).
 1.3 27-Oct-1999  takemura Fix symbol names, Elf_e_indet and Elf_e_siz because sys/exec_elf.h was changed
again.
 1.2 27-Oct-1999  takemura Fix symbol names, Elf_e_indet and Elf_e_siz because sys/exec_elf.h was changed.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.7 23-Apr-2001  bouyer Sync with HEAD.
 1.1.1.1.2.6 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.2.5 27-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.2.4 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.2.3 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.1.1.1.2.2 08-Dec-2000  bouyer Sync with HEAD.
 1.1.1.1.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.7.2.2 05-Nov-1999  sato inherit WinCE timezone only when 'options RTC_OFFSET=..' is not specified.
 1.7.2.1 05-Nov-1999  sato file machdep.c was added on branch comdex-fall-1999 on 1999-11-05 03:27:55 +0000
 1.26.4.2 13-Aug-2000  jdolecek pullup from trunk (approved by thorpej):
retire RB_DFLTROOT, it's no longer used

revisions pulled up:
arch/i386/stand/lib/netbsd_opts.c 1.3
arch/i386/stand/biosboot/main.c 1.23
arch/i386/stand/dosboot/main.c 1.15
arch/i386/stand/netboot/main.c 1.6
arch/arc/arc/machdep.c 1.42
arch/bebox/stand/boot/boot.c 1.11
arch/hpcmips/hpcmips/machdep.c 1.32
arch/newsmips/newsmips/machdep.c 1.45
arch/pc532/stand/boot/boot.c 1.2
arch/pmax/pmax/machdep.c 1.178
arch/prep/stand/boot/boot.c 1.2
arch/sparc/sparc/autoconf.c 1.141
arch/sparc64/sparc64/autoconf.c 1.38
arch/x68k/stand/loadbsd/loadbsd.c 1.5
arch/mvme68k/stand/libsa/parse_args.c 1.6
compat/osf1/osf1_cvt.c 1.9
sys/reboot.h 1.17
 1.26.4.1 19-Jul-2000  jeffs Pull up cpu_intr() prototype + platform dependent machdeps.
(approved by thorepj).
 1.41.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.41.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.57.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.57.2.6 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.57.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.57.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.57.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.57.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.57.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.63.2.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.64.2.9 05-Oct-2002  gmcgarry LWPify
 1.64.2.8 27-Aug-2002  nathanw Catch up to -current.
 1.64.2.7 13-Aug-2002  nathanw Catch up to -current.
 1.64.2.6 24-Jun-2002  nathanw Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
 1.64.2.5 20-Jun-2002  nathanw Catch up to -current.
 1.64.2.4 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.64.2.3 28-Feb-2002  nathanw Catch up to -current.
 1.64.2.2 11-Jan-2002  nathanw More catchup.
 1.64.2.1 10-Nov-2001  nathanw file machdep.c was added on branch nathanw_sa on 2002-01-11 23:38:24 +0000
 1.74.2.1 31-Aug-2002  gehenna catch up with -current.
 1.82.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.82.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.82.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.82.2.1 03-Aug-2004  skrll Sync with HEAD
 1.86.8.1 29-Apr-2005  kent sync with -current
 1.87.2.3 03-Sep-2007  yamt sync with head.
 1.87.2.2 26-Feb-2007  yamt sync with head.
 1.87.2.1 21-Jun-2006  yamt sync with head.
 1.89.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.89.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.89.8.1 11-Apr-2006  yamt sync with head
 1.89.6.1 22-Apr-2006  simonb Sync with head.
 1.89.4.1 09-Sep-2006  rpaulo sync with head
 1.90.14.3 18-Apr-2007  ad - Further adaptations to MIPS for the yamt-idlelwp branch.
- Make curlwp a register variable on MIPS.
 1.90.14.2 12-Mar-2007  rmind Sync with HEAD.
 1.90.14.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.93.10.1 22-May-2007  matt Update to HEAD.
 1.93.4.1 11-Jul-2007  mjf Sync with head.
 1.93.2.1 27-May-2007  ad Sync with head.
 1.94.10.1 06-Nov-2007  matt sync with HEAD
 1.95.24.1 03-Jul-2008  simonb Sync with head.
 1.95.22.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.95.20.2 11-Mar-2010  yamt sync with head
 1.95.20.1 04-May-2009  yamt sync with head.
 1.95.16.2 17-Jan-2009  mjf Sync with HEAD.
 1.95.16.1 02-Jul-2008  mjf Sync with HEAD.
 1.96.10.7 14-Feb-2012  matt mem_cluster_cnt on mips is now a u_int.
 1.96.10.6 29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.96.10.5 21-Mar-2010  cliff mips_vector_init now takes an argument to specify splsw.
NULL specifies use the default 'std_splsw'
 1.96.10.4 01-Feb-2010  matt fix fallout from frame/trapframe merger.
 1.96.10.3 14-Jan-2010  matt more avail_end/avail_start changes
 1.96.10.2 07-Sep-2009  matt Deal with pcb_context being a label_t
 1.96.10.1 26-Aug-2009  matt Fixup (all but mipsco) to deal the new realities in mipsland.
 1.96.4.3 28-Apr-2009  skrll Sync with HEAD.
 1.96.4.2 03-Mar-2009  skrll Sync with HEAD.
 1.96.4.1 19-Jan-2009  skrll Sync with HEAD.
 1.96.2.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.100.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.108.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.111.2.1 05-Mar-2011  rmind sync with head
 1.112.4.2 05-Mar-2011  bouyer Sync with HEAD
 1.112.4.1 17-Feb-2011  bouyer Sync with HEAD
 1.112.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.114.4.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.114.4.1 30-Oct-2012  yamt sync with head
 1.116.4.1 18-May-2014  rmind sync with head
 1.116.2.2 03-Dec-2017  jdolecek update from HEAD
 1.116.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.119.6.3 28-Aug-2017  skrll Sync with HEAD
 1.119.6.2 05-Feb-2017  skrll Sync with HEAD
 1.119.6.1 22-Sep-2015  skrll Sync with HEAD
 1.120.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.121.6.1 11-May-2017  pgoyette Sync with HEAD
 1.124.4.1 10-Jun-2019  christos Sync with HEAD
 1.124.2.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.8 31-Jan-2002  uch clean up header file.
 1.7 17-Sep-2001  uch branches: 1.7.4;
clean up "mainbus" related code.
 1.6 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.5 24-Sep-2000  jdolecek branches: 1.5.2; 1.5.4;
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
 1.4 03-Apr-2000  sato - hpcmips_verbose
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
 1.3 28-Mar-2000  simonb Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.
 1.2 10-Feb-2000  sato add machine model name to cpu_model.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.5.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.7.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.7.4.1 17-Sep-2001  nathanw file machdep.h was added on branch nathanw_sa on 2002-02-28 04:09:57 +0000
 1.33 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.32 24-Apr-2021  thorpej branches: 1.32.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.31 20-Feb-2011  matt branches: 1.31.70;
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.30 04-Jan-2008  ad branches: 1.30.28; 1.30.32; 1.30.38; 1.30.40;
Need sys/device.h
 1.29 24-Feb-2006  cube branches: 1.29.44; 1.29.50; 1.29.58;
Rework hpcapm(4) attachment definition so it is not required to attach at
mainbus, and convert its two users, hpcsh and hpcmips, to that.

Many thanks to Valeriy Ushakov and Ben Collver for testing.
 1.28 11-Dec-2005  christos branches: 1.28.2; 1.28.4; 1.28.6;
merge ktrace-lwp.
 1.27 26-Aug-2005  drochner s/locdesc_t/int/g
 1.26 30-Jun-2005  drochner branches: 1.26.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.25 15-Jul-2003  lukem __KERNEL_RCSID()
 1.24 01-May-2003  igy branches: 1.24.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.23 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.22 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.21 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.20 27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.19 11-Feb-2002  takemura Added vr4122ip.
 1.18 11-Feb-2002  takemura Added vr4102ip.
 1.17 10-Feb-2002  takemura Fixed locater id -> platform.
 1.16 22-Nov-2001  takemura Fixed bus stuff to compile vrpciu.c (VR4131 CPU).
 1.15 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.14 17-Sep-2001  uch branches: 1.14.4;
clean up "mainbus" related code.
 1.13 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.12 15-Sep-2001  uch remove unneeded #include
 1.11 15-Sep-2001  uch ANSIfy, KNF.
 1.10 18-Apr-2001  sato branches: 1.10.2; 1.10.4;
check platid if 'options VR41XX' and 'options TX39XX' are both defined.
XXX: currently this case is missconfiguration and not compilable.
XXX: because all codes are not supported this case yet.
 1.9 11-Apr-2001  sato opt_vr41x1.h -> opt_vr41xx.h.
add 'options VR41XX' and kill 'options VR41X1'.

add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.

GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
 1.8 24-Aug-2000  uch branches: 1.8.2;
don't refer cf_unit.
undef __BROKEN_CONFIG_UNIT_USAGE
 1.7 22-Jul-2000  takemura Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.6 02-Jul-2000  takemura Experimental APM compatible power management.
 1.5 12-Mar-2000  takemura branches: 1.5.4;
Change btnmgr to wskbd device from pseudo device.
 1.4 12-Mar-2000  takemura Bivideo utilize platid mechanisum for probing.
 1.3 12-Mar-2000  takemura New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.2 21-Nov-1999  uch TX3912/3922 support
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.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.5.4.1 06-Aug-2000  takemura Pull up revision 1.7 (requested by takemura)
Add hpcapm.
 1.8.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.10.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.10.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.10.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.10.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.4.4 18-Oct-2002  nathanw Catch up to -current.
 1.14.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.14.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.14.4.1 17-Sep-2001  nathanw file mainbus.c was added on branch nathanw_sa on 2002-01-08 00:25:02 +0000
 1.24.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.24.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.24.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.24.2.1 03-Aug-2004  skrll Sync with HEAD
 1.26.2.2 21-Jan-2008  yamt sync with head
 1.26.2.1 21-Jun-2006  yamt sync with head.
 1.28.6.1 22-Apr-2006  simonb Sync with head.
 1.28.4.1 09-Sep-2006  rpaulo sync with head
 1.28.2.1 01-Mar-2006  yamt sync with head.
 1.29.58.1 08-Jan-2008  bouyer Sync with HEAD
 1.29.50.1 18-Feb-2008  mjf Sync with HEAD.
 1.29.44.1 09-Jan-2008  matt sync with HEAD
 1.30.40.1 05-Mar-2011  bouyer Sync with HEAD
 1.30.38.1 06-Jun-2011  jruoho Sync with HEAD.
 1.30.32.1 05-Mar-2011  rmind sync with head
 1.30.28.1 14-Jan-2010  matt device_t, CFATTACH_DECL_NEW, ansify, ...
 1.31.70.5 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.31.70.4 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.31.70.3 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.31.70.2 02-Apr-2021  thorpej config_found_ia() -> config_found() w/ CFARG_IATTR.
 1.31.70.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.32.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 11-Feb-2001  bouyer Sync with HEAD.
 1.5 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.4 28-Dec-2000  sato add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
 1.3 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.2 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.1.1.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.24 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.23 21-Oct-2000  takemura Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'.
 1.22 21-Sep-2000  sato Add NEC MC/R330.
Add DoCoMo sigmarion.
 1.21 03-Jun-2000  takemura Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
 1.20 22-May-2000  uch branches: 1.20.2;
Add SHARP Telios HC-VJ1C and Mobilon HC-4500 entries.
 1.19 20-May-2000  takemura Add two items:
NEC MobilePro 780 (MC/R530A)
NEC MobilePro 880 (MC/R730A)
 1.18 30-Mar-2000  jun add MobilePro700
 1.17 14-Feb-2000  jun add Sharp HC-1200
 1.16 06-Feb-2000  takemura Delete dupicated 'z50'.
 1.15 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.14 28-Jan-2000  shin add MC/R730 platid.
 1.13 22-Jan-2000  takemura Add platform ID of MC-R430.
 1.12 06-Jan-2000  uch add SHARP Mobilon HC-4100 entry.
 1.11 26-Dec-1999  jun add platid:
Compaq Aero MODEL 1530
 1.10 26-Dec-1999  shin add platid for MC/R530, INTERTOP CX310(IT310).
 1.9 10-Dec-1999  jun change MG2 for Docomo,MCR-500A platid
 1.8 09-Dec-1999  jun add NEC MobilePro 750c a.k.a. MCR_500A
 1.7 08-Dec-1999  jun add MobileGearII for DoCoMo
 1.6 08-Dec-1999  jun add Compaq PRESARIO 213
 1.5 21-Nov-1999  shin add IBM WorkPad z50
 1.4 21-Nov-1999  takemura Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A).
 1.3 30-Oct-1999  uch Change TX39XX -> TX3900, TX392X -> TX3920 (use its core name)
Remove TX3910 (no such a product)
Add Sharp Telios, Victor InterLink entry
 1.2 25-Sep-1999  uch branches: 1.2.2; 1.2.4; 1.2.6;
Add Toshiba TX39 CPU and Philips, Compaq model entry.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 15-Nov-1999  fvdl Sync with -current
 1.2.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.2.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.20.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.3 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.2 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.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.28 05-Feb-2001  uch sync with platid_gen change.
 1.27 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.26 28-Dec-2000  sato add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
 1.25 21-Oct-2000  takemura Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'.
 1.24 21-Sep-2000  sato regen.
 1.23 03-Jun-2000  takemura Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
 1.22 22-May-2000  uch branches: 1.22.2;
regen.
 1.21 20-May-2000  takemura Add two items:
NEC MobilePro 780 (MC/R530A)
NEC MobilePro 880 (MC/R730A)
 1.20 31-Mar-2000  jun regen.
 1.19 17-Feb-2000  mycroft Regen.
 1.18 14-Feb-2000  jun regen.
 1.17 06-Feb-2000  takemura Delete dupicated 'z50'.
 1.16 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.15 28-Jan-2000  shin platid regen.
 1.14 22-Jan-2000  takemura Add platform ID of MC-R430.
 1.13 06-Jan-2000  uch regen.
 1.12 26-Dec-1999  jun regen.
 1.11 26-Dec-1999  shin add platid for MC/R530, INTERTOP CX310(IT310).
 1.10 10-Dec-1999  jun regen.
 1.9 09-Dec-1999  jun Regen.
 1.8 08-Dec-1999  jun Regen.
 1.7 08-Dec-1999  jun regen
 1.6 08-Dec-1999  jun add Compaq PRESARIO 213
 1.5 21-Nov-1999  shin regen.
 1.4 21-Nov-1999  takemura Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A).
 1.3 30-Oct-1999  uch regen.
 1.2 25-Sep-1999  uch branches: 1.2.2; 1.2.4; 1.2.6;
Regen.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 15-Nov-1999  fvdl Sync with -current
 1.2.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.2.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.2.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.22.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.13 04-Feb-2001  takemura Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
 1.12 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.11 28-Dec-2000  sato add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
 1.10 21-Oct-2000  takemura branches: 1.10.2;
Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'.
 1.9 21-Sep-2000  sato regen.
 1.8 03-Jun-2000  takemura Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
 1.7 22-May-2000  uch branches: 1.7.2;
regen.
 1.6 20-May-2000  takemura Add two items:
NEC MobilePro 780 (MC/R530A)
NEC MobilePro 880 (MC/R730A)
 1.5 31-Mar-2000  jun regen.
 1.4 17-Feb-2000  mycroft Regen.
 1.3 14-Feb-2000  jun regen.
 1.2 06-Feb-2000  takemura Delete dupicated 'z50'.
 1.1 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.7.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.10.2.4 11-Feb-2001  bouyer Sync with HEAD.
 1.10.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.10.2.2 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.2.1 21-Oct-2000  bouyer file platid_name.c was added on branch thorpej_scsipi on 2000-11-20 20:46:41 +0000
 1.3 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.2 28-Dec-2000  sato add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.2.1 05-Jan-2001  bouyer Sync with HEAD
 1.2 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 11-Feb-2001  bouyer Sync with HEAD.
 1.3 13-Mar-2002  simonb All the mips ports had an identical procfs_machdep.c, so use a common
file under arch/mips/mips.
 1.2 18-Jan-2001  tv branches: 1.2.4; 1.2.8;
No-op commit to force update to a non-"-kk" revision.
 1.1 17-Jan-2001  fvdl branches: 1.1.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.1.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.1.2.1 17-Jan-2001  bouyer file procfs_machdep.c was added on branch thorpej_scsipi on 2001-01-18 09:22:32 +0000
 1.2.8.1 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.4.1 16-Mar-2002  jdolecek Catch up with -current.
 1.27 30-Nov-2024  christos Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.26 12-Jul-2018  maxv branches: 1.26.36;
Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.25 21-Dec-2015  christos branches: 1.25.16; 1.25.18;
Add mips fenv.h (From FreeBSD)
 1.24 23-Jul-2014  alnsn branches: 1.24.4;
Rename sljitarch.h to sljit_machdep.h.
 1.23 25-Nov-2012  alnsn branches: 1.23.10;
Add sljitarch.h to all mips machines.
 1.22 17-Jul-2011  joerg branches: 1.22.2; 1.22.12;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.21 12-Aug-2009  matt Nuke a.out support for MIPS.
 1.20 09-Feb-2007  ad branches: 1.20.48;
Merge newlock2 to head.
 1.19 26-Jul-2006  drochner branches: 1.19.4;
don't install <machine/db_machdep.h>, this is kernel only
 1.18 11-Dec-2005  christos branches: 1.18.4; 1.18.8;
merge ktrace-lwp.
 1.17 08-May-2004  kleink branches: 1.17.12;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.16 17-Jan-2003  thorpej branches: 1.16.2;
Merge the nathanw_sa branch.
 1.15 26-Nov-2002  lukem Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.14 14-Oct-2002  takemura Moved MI APM definitions into dev/apm.
 1.13 07-Aug-2002  briggs Implement pmc(9) -- An interface to hardware performance monitoring
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.12 27-Sep-2001  shin branches: 1.12.4; 1.12.12;
clock_machdep.h was removed.
 1.11 17-Apr-2001  takemura branches: 1.11.2; 1.11.4;
Fix typo. kbdparam.h -> kdbparam.h.

RP12685
 1.10 15-Apr-2001  kleink Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.9 15-Apr-2001  kleink Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.8 14-Apr-2001  kleink Add definitions of C99 integer constant macros.
Tidy Makefiles up a little.
 1.7 14-Apr-2001  kleink Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.6 26-Jun-2000  kleink branches: 1.6.2;
Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
 1.5 29-Apr-2000  thorpej Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
 1.4 17-Mar-2000  tron Install "machineendian_machdep.h".
 1.3 23-Dec-1999  kleink C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
 1.2 09-Nov-1999  kleink Per discussion on tech-toolchain, remove MIPS-specific <machine/elf.h> header;
all the information is available from <sys/exec_elf.h>.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.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.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.11.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.11.2.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.11.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.12.12.1 31-Aug-2002  gehenna catch up with -current.
 1.12.4.5 11-Dec-2002  thorpej Sync with HEAD.
 1.12.4.4 18-Oct-2002  nathanw Catch up to -current.
 1.12.4.3 13-Aug-2002  nathanw Catch up to -current.
 1.12.4.2 17-Nov-2001  wdk mcontext support for MIPS based ports.
 1.12.4.1 27-Sep-2001  wdk file Makefile was added on branch nathanw_sa on 2001-11-17 23:12:08 +0000
 1.16.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.16.2.1 03-Aug-2004  skrll Sync with HEAD
 1.17.12.2 26-Feb-2007  yamt sync with head.
 1.17.12.1 30-Dec-2006  yamt sync with head.
 1.18.8.1 11-Aug-2006  yamt sync with head
 1.18.4.1 09-Sep-2006  rpaulo sync with head
 1.19.4.1 01-Feb-2007  ad Header file cleanup.
 1.20.48.1 19-Aug-2009  yamt sync with head.
 1.22.12.3 03-Dec-2017  jdolecek update from HEAD
 1.22.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.12.1 25-Feb-2013  tls resync with head
 1.22.2.1 16-Jan-2013  yamt sync with (a bit old) head
 1.23.10.1 10-Aug-2014  tls Rebase.
 1.24.4.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.25.18.1 10-Jun-2019  christos Sync with HEAD
 1.25.16.1 28-Jul-2018  pgoyette Sync with HEAD
 1.26.36.1 02-Aug-2025  perseant Sync with HEAD
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2 12-Aug-2009  matt Nuke a.out support for MIPS.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.142; 1.1.1.1.156;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.156.1 24-Oct-2010  jym Sync with HEAD
 1.1.1.1.142.1 19-Aug-2009  yamt sync with head.
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 14-Oct-2002  takemura branches: 1.1.2; 1.1.110; 1.1.112; 1.1.114;
Moved MI APM definitions into dev/apm.
 1.1.114.1 16-May-2008  yamt sync with head.
 1.1.112.1 18-May-2008  yamt sync with head.
 1.1.110.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.2.2 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.1 14-Oct-2002  nathanw file apmvar.h was added on branch nathanw_sa on 2002-10-18 02:37:11 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 16-Sep-2001  uch branches: 1.4.4; 1.4.122; 1.4.124; 1.4.126;
rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.3 16-Sep-2001  uch ANSIfy, KNF.
 1.2 15-Sep-2001  uch ANSIfy.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.14; 1.1.1.1.16;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.16.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.1.1.14.1 01-Oct-2001  fvdl Catch up with -current.
 1.4.126.1 16-May-2008  yamt sync with head.
 1.4.124.1 18-May-2008  yamt sync with head.
 1.4.122.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.4.2 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.4.4.1 16-Sep-2001  uch file autoconf.h was added on branch nathanw_sa on 2001-09-16 15:45:45 +0000
 1.2 29-Jan-2002  uch remove obsolete file
 1.1 26-Jan-2002  takemura Straightened vripvar.h
 1.5 01-Feb-2002  uch bootinfo.h, config_hook.h, platid.h are moved to hpc/include
 1.4 28-Jan-2001  uch branches: 1.4.4; 1.4.8;
hpcmips hpcsh common files are moved to arch/hpc.
 1.3 21-Jan-2001  takemura Built-in console driver supports 4bpp frame buffer.
 1.2 23-Sep-1999  takemura branches: 1.2.2;
Add timezone info in bootinfo.
Delete raw writing 'OK' into frame buffer.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.2.1 11-Feb-2001  bouyer Sync with HEAD.
 1.4.8.1 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.2 12-Aug-2009  matt Nuke a.out support for MIPS.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.142; 1.1.1.1.156;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.156.1 24-Oct-2010  jym Sync with HEAD
 1.1.1.1.142.1 19-Aug-2009  yamt sync with head.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.24 12-Dec-2021  andvar fix typos in word "operation(s)".
 1.23 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.22 26-Oct-2007  he branches: 1.22.16; 1.22.18; 1.22.20;
Correct the symbol used for multiple include protection, we can't
use _SYS_BUS_H_ here and expect good results when <sys/bus.h> is
included.
 1.21 04-Mar-2007  christos branches: 1.21.2; 1.21.18; 1.21.20; 1.21.24;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.20 21-Feb-2007  mrg add a pair of new bus_dma(9) functions:
int _bus_dmatag_subregion(bus_dma_tag_t tag,
bus_addr_t min_addr,
bus_addr_t max_addr,
bus_dma_tag_t *newtag,
int flags)
void _bus_dmatag_destroy(bus_dma_tag_t tag)

that allow a (normally broken/limited) device to restrict the bus address
range it can talk to. this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.

all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.

XXX: bus_dma(9) needs an update still.
 1.19 11-Dec-2005  christos branches: 1.19.26;
merge ktrace-lwp.
 1.18 09-Mar-2005  matt branches: 1.18.4;
Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create). dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
 1.17 15-Jun-2003  fvdl branches: 1.17.2; 1.17.10; 1.17.12;
Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
 1.16 28-Jan-2003  kent Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.
 1.15 14-Apr-2002  takemura Added bus probing to avoid bus error.
 1.14 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.13 17-Sep-2001  uch branches: 1.13.4;
clean up "mainbus" related code.
 1.12 15-Sep-2001  uch ANSIfy.
 1.11 19-Jul-2001  thorpej branches: 1.11.2;
Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
 1.10 31-May-2001  enami branches: 1.10.2;
Fix commnet; hpcmips isn't x86 architecture.
 1.9 07-Mar-2001  thorpej Add the BUS_DMA_STREAMING flag.
 1.8 09-Aug-2000  shin branches: 1.8.2;
Define bus_space_*_stream_N functions as their non-stream counterparts.
 1.7 26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.6 25-Mar-2000  uch branches: 1.6.4;
bus_dma. taken from pmax.
 1.5 15-Mar-2000  drochner explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
prototype
 1.4 05-Mar-2000  shin cosmetic change.
 1.3 05-Mar-2000  takemura Change bus_addr_t and bus_size_t from u_int32_t to u_long.
Add -Werror option to kernel Makefile.
 1.2 25-Jan-2000  drochner define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
device accesses are idempotent (but should not be cached by the CPU)
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 12-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.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.2 10-Aug-2000  shin pull up revision 1.8 (Approved by releng-1-5):

Define bus_space_*_stream_N functions as their non-stream counterparts.
 1.6.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.8.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.8.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.10.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.2.1 03-Aug-2001  lukem update to -current
 1.11.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.13.4.3 17-Apr-2002  nathanw Catch up to -current.
 1.13.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.13.4.1 17-Sep-2001  nathanw file bus.h was added on branch nathanw_sa on 2002-01-08 00:25:03 +0000
 1.17.12.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.17.10.1 29-Apr-2005  kent sync with -current
 1.17.2.1 01-Apr-2005  skrll Sync with HEAD.
 1.18.4.3 27-Oct-2007  yamt sync with head.
 1.18.4.2 03-Sep-2007  yamt sync with head.
 1.18.4.1 26-Feb-2007  yamt sync with head.
 1.19.26.2 12-Mar-2007  rmind Sync with HEAD.
 1.19.26.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.21.24.1 13-Nov-2007  bouyer Sync with HEAD
 1.21.20.1 06-Nov-2007  matt sync with HEAD
 1.21.18.1 28-Oct-2007  joerg Sync with HEAD.
 1.21.2.1 03-Dec-2007  ad Sync with HEAD.
 1.22.20.1 16-May-2008  yamt sync with head.
 1.22.18.1 18-May-2008  yamt sync with head.
 1.22.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.5 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.4 11-Dec-2005  christos branches: 1.4.78; 1.4.86; 1.4.92;
merge ktrace-lwp.
 1.3 09-Mar-2005  matt Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create). dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
 1.2 06-Jan-2002  takemura branches: 1.2.2; 1.2.4; 1.2.20; 1.2.28; 1.2.30;
Added _hpcmips_bd_mem_alloc_range, which was written by Katsuomi Hamajima.
 1.1 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.2.30.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.2.28.1 29-Apr-2005  kent sync with -current
 1.2.20.1 01-Apr-2005  skrll Sync with HEAD.
 1.2.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.1 06-Jan-2002  thorpej file bus_dma_hpcmips.h was added on branch kqueue on 2002-01-10 19:44:02 +0000
 1.2.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.3 11-Jan-2002  nathanw More catchup.
 1.2.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.2.1 06-Jan-2002  nathanw file bus_dma_hpcmips.h was added on branch nathanw_sa on 2002-01-08 00:25:03 +0000
 1.4.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.4.78.1 04-May-2009  yamt sync with head.
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 26-Oct-2007  he branches: 1.2.16; 1.2.18; 1.2.20;
After the machine's bus.h #ifdef was updated, this one needs a tweak as well.
 1.1 18-Nov-2001  takemura branches: 1.1.2; 1.1.4; 1.1.36; 1.1.78; 1.1.96; 1.1.98; 1.1.102;
Rewrite bus stuff with method table in the bus tags.
 1.1.102.1 13-Nov-2007  bouyer Sync with HEAD
 1.1.98.1 06-Nov-2007  matt sync with HEAD
 1.1.96.1 28-Oct-2007  joerg Sync with HEAD.
 1.1.78.1 03-Dec-2007  ad Sync with HEAD.
 1.1.36.1 27-Oct-2007  yamt sync with head.
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 18-Nov-2001  thorpej file bus_machdep.h was added on branch kqueue on 2002-01-10 19:44:03 +0000
 1.1.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.2.1 18-Nov-2001  nathanw file bus_machdep.h was added on branch nathanw_sa on 2002-01-08 00:25:03 +0000
 1.2.20.1 16-May-2008  yamt sync with head.
 1.2.18.1 18-May-2008  yamt sync with head.
 1.2.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.5 11-Dec-2005  christos merge ktrace-lwp.
 1.4 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.3 02-Dec-2001  uch branches: 1.3.2; 1.3.4; 1.3.20;
make this compile again.
 1.2 22-Nov-2001  takemura Fixed bus stuff to compile vrpciu.c (VR4131 CPU).
 1.1 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.3.20.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.4.1 02-Dec-2001  thorpej file bus_space_hpcmips.h was added on branch kqueue on 2002-01-10 19:44:03 +0000
 1.3.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.3.2.1 02-Dec-2001  nathanw file bus_space_hpcmips.h was added on branch nathanw_sa on 2002-01-08 00:25:03 +0000
 1.3 23-Sep-2019  skrll Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all arches
to follow arm and (generic) mips.

Reviewed by christos.
 1.2 26-Feb-2011  tsutsui branches: 1.2.56;
No need to include <mips/locore.h> here.
 1.1 18-Nov-2001  takemura branches: 1.1.2; 1.1.4; 1.1.148; 1.1.154; 1.1.156;
Rewrite bus stuff with method table in the bus tags.
 1.1.156.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.154.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.148.1 05-Mar-2011  rmind sync with head
 1.1.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 18-Nov-2001  thorpej file bus_types.h was added on branch kqueue on 2002-01-10 19:44:03 +0000
 1.1.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.2.1 18-Nov-2001  nathanw file bus_types.h was added on branch nathanw_sa on 2002-01-08 00:25:04 +0000
 1.2.56.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.3 18-Sep-2001  uch remove dev/dec/clockvar.h from hpcmips source tree.
 1.2 09-Feb-2000  sato branches: 1.2.6; 1.2.8;
CLOCK_RATE: 256-> 128.
reduce timer interrupts because hpcmips machines are lower cpu power.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.8.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.6.1 01-Oct-2001  fvdl Catch up with -current.
 1.15 01-Feb-2002  uch bootinfo.h, config_hook.h, platid.h are moved to hpc/include
 1.14 28-Jan-2001  uch branches: 1.14.4; 1.14.8;
hpcmips hpcsh common files are moved to arch/hpc.
 1.13 26-Jan-2001  sato * renumber config_hook event type.
* change event id of old event type(POWERCONTROL,BUTTONEVRNT)
to same as event id of new event type(EVENT,SET,GET).
 1.12 04-Jan-2001  sato re-define CONFIG_HOOK NICKNAME.
add some macros.
 1.11 29-Dec-2000  sato * implimant CONFIG_HOOK_PMEVENT_BATTERY&CONFIG_HOOK_PMEVENT_AC
based apm state transition.
- change CONFIG_HOOK_PMEVENT_BATTERY message.
XXX: currentry none send these events.
 1.10 27-Dec-2000  sato - merge CONFIG_HOOK_OUT and CONFIG_HOOK_SET and CONFIG_HOOK_POWERCONTROL
to CONFIG_HOOK_SET.
- merge CONFIG_HOOK_GET and CONFIG_HOOK_GETPOWER to CONFIG_HOOK_GET.
- merge CONFIG_HOOK_EVENT and CONFIG_HOOK_BUTTONEVENT to CONFIG_HOOK_ENENT.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET always have
msg argument as pointer.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET use
same event ids.
- CONFIG_HOOK_POWERCONTROL and CONFIG_HOOK_BUTTONEVENT still exist.
i shall rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
 1.9 27-Oct-2000  sato branches: 1.9.2;
- add new event type: CONFIG_HOOK_SET/GET.
- add some new id in CONFIG_HOOK_PMEVENT.
 1.8 22-Oct-2000  uch new I/O modules framework for TX based system.
 1.7 03-Oct-2000  sato add POWERCONTROL_LED.
add PMEVENT_AC, PMEVENT_BATTERY.
 1.6 10-Sep-2000  sato add CONFIH_HOOK_POWERCONTROL_SPEAKER.
 1.5 22-Jul-2000  takemura Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.4 02-Jul-2000  takemura Experimental APM compatible power management.
 1.3 03-Apr-2000  sato branches: 1.3.4;
add some events.
 1.2 13-Mar-2000  sato add CONFIG_HOOK_POWERCONTROL_LCDLIGHT
 1.1 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.3.4.1 06-Aug-2000  takemura Pull up revision 1.5 (requested by takemura)
Add power management event definitions.
 1.9.2.5 11-Feb-2001  bouyer Sync with HEAD.
 1.9.2.4 05-Jan-2001  bouyer Sync with HEAD
 1.9.2.3 22-Nov-2000  bouyer Sync with HEAD.
 1.9.2.2 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.9.2.1 27-Oct-2000  bouyer file config_hook.h was added on branch thorpej_scsipi on 2000-11-20 20:46:44 +0000
 1.14.8.1 28-Feb-2002  nathanw Catch up to -current.
 1.14.4.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.14 26-Mar-2014  christos - kill sprintf
- fix unused
 1.13 21-Jan-2010  pooka branches: 1.13.12; 1.13.22; 1.13.26;
Move arch-local variable to a better namespace to make build again.
 1.12 31-Jan-2002  uch branches: 1.12.122;
clean up header file.
 1.11 04-Sep-2001  simonb branches: 1.11.6;
May as well include <mips/cpuregs.h> in <mips/cpu.h> once rather than
in every MIPS port's <machine/cpu.h>.
 1.10 04-Sep-2001  simonb Centralise struct cpu_info declaration and related info to <mips/cpu.h>.
 1.9 31-Aug-2001  simonb Use comments around the token after a #endif.
 1.8 30-May-2001  mrg branches: 1.8.2;
use _KERNEL_OPT
 1.7 26-May-2000  thorpej branches: 1.7.6;
First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:

- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.

- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).

- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.

- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.

Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
 1.6 05-May-2000  soren MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV are deprecated.
 1.5 15-Apr-2000  soda remove following symbols which became unnecessary in recent cpu_intr() change:
mips_hardware_intr
MIPS3_INTERNAL_TIMER_INTERRUPT
mips3_intr_cycle_count
mips3_timer_delta
 1.4 24-Mar-2000  soren Revert previous.
 1.3 24-Mar-2000  soren Move sysctl definitions from arch/mips to arch/foo.
 1.2 21-Nov-1999  uch TX3912/3922 support
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.7.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.8.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.8.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.11.6.2 28-Feb-2002  nathanw Catch up to -current.
 1.11.6.1 04-Sep-2001  nathanw file cpu.h was added on branch nathanw_sa on 2002-02-28 04:09:58 +0000
 1.12.122.1 11-Mar-2010  yamt sync with head
 1.13.26.1 18-May-2014  rmind sync with head
 1.13.22.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.12.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1 05-Feb-2003  nakayama Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
 1.3 09-Jul-2011  matt Default to DB_ELF_SYMBOLS and DB_ELFSIZE 32
 1.2 04-Sep-2001  simonb branches: 1.2.6;
Standardise the format of MIPS' <machine/db_machdep.h>.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.16;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.16.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.6.2 04-Sep-2001  simonb Standardise the format of MIPS' <machine/db_machdep.h>.
 1.2.6.1 04-Sep-2001  simonb file db_machdep.h was added on branch nathanw_sa on 2001-09-04 07:43:31 +0000
 1.1 29-Jan-2002  uch branches: 1.1.2; 1.1.4;
clean up debug print and configuration.
 1.1.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.4.1 29-Jan-2002  nathanw file debug.h was added on branch nathanw_sa on 2002-02-28 04:09:58 +0000
 1.1.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1 29-Jan-2002  jdolecek file debug.h was added on branch kqueue on 2002-02-11 20:08:08 +0000
 1.11 16-May-2013  christos Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
 1.10 30-Aug-2011  bouyer branches: 1.10.2; 1.10.12;
Add getlabelusesmbr(), as proposed in
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html
This is used by disk tools such as disklabel(8) to dynamically decide is
the undelyling platform uses a disklabel-in-mbr-partition or not
(instead of using a compile-time list of ports).
getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the
machdep #define LABELUSESMBR.
For evbmips, make LABELUSESMBR 1 if the platform uses pmon
as bootloader, and 0 (the previous value) otherwise.
 1.9 23-Nov-2009  pooka If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.
This allows use of subr_disk_mbr on all archs. Default to it for
the rump disk component. No functional change for regular kernels.
(The other option would've been to include dkbad in disklabels
everywhere, but arguably this approach has less possible side-effects,
especially given that wedges and related magic will take over the
world any second now).
 1.8 11-Dec-2005  christos branches: 1.8.78;
merge ktrace-lwp.
 1.7 12-Jun-2005  dyoung Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/. That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such. I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
 1.6 08-Oct-2003  lukem Overhaul MBR handling (part 1):

<sys/bootblock.h>:
* Added definitions for the Master Boot Record (MBR) used by
a variety of systems (primarily i386), including the format
of the BIOS Parameter Block (BPB).
This information was cribbed from a variety of sources
including <sys/disklabel_mbr.h> which this is a superset of.

As part of this, some data structure elements and #defines
were renamed to be more "namespace friendly" and consistent
with other bootblocks and MBR documentation.
Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
* Deprecated in favor of <sys/bootblock.h> (the latter is more
"host tool" friendly).

amd64 & i386:
* Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
be consistent with the naming convention of the msdosfs tools.

* Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
and it's confusing to have two functionally equivalent bootblocks,
especially given that "ufs" has multiple meanings (it could be
a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

* Rework pbr.S (the first sector of bootxx_*):
+ Ensure that BPB (bytes 11..89) and the partition table
(bytes 446..509) do not contain code.
+ Add support for booting from FAT partitions if BOOT_FROM_FAT
is defined. (Only set for bootxx_msdos).
+ Remove "dummy" partition 3; if people want to installboot(8)
these to the start of the disk they can use fdisk(8) to
create a real MBR partition table...
+ Compile with TERSE_ERROR so it fits because of the above.
Whilst this is less user friendly, I feel it's important
to have a valid partition table and BPB in the MBR/PBR.

* Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
with other platforms.

* Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
we can boot off FAT partitions.

* Crank version of /usr/mdec/boot to 3.1, and fix some of the other
entries in the version file.

installboot(8) (i386):
* Read the existing MBR of the filesystem and retain the BIOS
Parameter Block (BPB) in bytes 11..89 and the MBR partition
table in bytes 446..509. (Previously installboot(8) would
trash those two sections of the MBR.)

mbrlabel(8):
* Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
 1.5 10-May-2003  thorpej branches: 1.5.2;
Remove redundant bounds_check_with_label() prototype.
 1.4 23-Mar-2002  shin change MAXPARTITIONS to 16.
 1.3 15-Sep-2001  uch branches: 1.3.4;
ANSIfy.
 1.2 11-Oct-1999  shin branches: 1.2.12; 1.2.14;
sync with i386 (MBR)
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.14.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.12.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.4.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.4.1 15-Sep-2001  nathanw file disklabel.h was added on branch nathanw_sa on 2002-04-01 07:40:26 +0000
 1.5.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.78.1 11-Mar-2010  yamt sync with head
 1.10.12.1 23-Jun-2013  tls resync from head
 1.10.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2 09-Nov-1999  kleink Per discussion on tech-toolchain, remove MIPS-specific <machine/elf.h> header;
all the information is available from <sys/exec_elf.h>.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.3 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.2 25-Oct-1999  kleink branches: 1.2.136; 1.2.154;
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.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.2.154.1 22-Aug-2009  matt Move ELF{32,64}_MACHDEP_ENDIANNESS to <mips/elf_machdep.h>
 1.2.136.1 11-Mar-2010  yamt sync with head
 1.3 17-Mar-2000  mycroft In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
 1.2 16-Mar-2000  mycroft Foolish consistency. Mainly, always use underscores and sys/endian.h.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.1 17-Mar-2000  mycroft branches: 1.1.6;
In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
 1.1.6.2 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.1.6.1 17-Mar-2000  bouyer file endian_machdep.h was added on branch thorpej_scsipi on 2000-11-20 20:46:46 +0000
 1.1 21-Dec-2015  christos branches: 1.1.2; 1.1.18;
Add mips fenv.h (From FreeBSD)
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 21-Dec-2015  jdolecek file fenv.h was added on branch tls-maxphys on 2017-12-03 11:36:15 +0000
 1.1.2.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1.2.1 21-Dec-2015  skrll file fenv.h was added on branch nick-nhusb on 2015-12-27 12:09:36 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 14-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.12;
Add definitions of C99 integer constant macros.
 1.1.12.2 14-Apr-2001  kleink Add definitions of C99 integer constant macros.
 1.1.12.1 14-Apr-2001  kleink file int_const.h was added on branch nathanw_sa on 2001-04-14 22:38:38 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 14-Apr-2001  bouyer file int_const.h was added on branch thorpej_scsipi on 2001-04-21 17:53:38 +0000
 1.1 15-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.12;
Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.2 15-Apr-2001  kleink Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.1 15-Apr-2001  kleink file int_fmtio.h was added on branch nathanw_sa on 2001-04-15 17:13:11 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 15-Apr-2001  bouyer file int_fmtio.h was added on branch thorpej_scsipi on 2001-04-21 17:53:38 +0000
 1.1 15-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.12;
Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.2 15-Apr-2001  kleink Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.1 15-Apr-2001  kleink file int_limits.h was added on branch nathanw_sa on 2001-04-15 15:29:07 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 15-Apr-2001  bouyer file int_limits.h was added on branch thorpej_scsipi on 2001-04-21 17:53:38 +0000
 1.1 14-Apr-2001  kleink branches: 1.1.2; 1.1.4; 1.1.12;
Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.2 14-Apr-2001  kleink Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
 1.1.12.1 14-Apr-2001  kleink file int_mwgwtypes.h was added on branch nathanw_sa on 2001-04-14 12:19:54 +0000
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.1 14-Apr-2001  bouyer file int_mwgwtypes.h was added on branch thorpej_scsipi on 2001-04-21 17:53:38 +0000
 1.1 26-Jun-2000  kleink branches: 1.1.2;
Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
 1.1.2.2 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.1.2.1 26-Jun-2000  bouyer file int_types.h was added on branch thorpej_scsipi on 2000-11-20 20:46:46 +0000
 1.23 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.22 04-Jan-2008  ad branches: 1.22.28; 1.22.32; 1.22.38; 1.22.40;
Don't pull in unrelated gunk.
 1.21 03-Dec-2007  ad branches: 1.21.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.20 17-Oct-2007  garbled branches: 1.20.2;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.19 17-Jun-2007  tsutsui branches: 1.19.8; 1.19.10;
Move declaretions of _spl*() and _{clr,set}softintr() functions
(which are in mips/locore.S) into <mips/locore.h>
from various MD files.
 1.18 16-Feb-2007  ad branches: 1.18.6; 1.18.8; 1.18.14;
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
 1.17 21-Dec-2006  yamt merge yamt-splraiseipl branch.

- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
 1.16 15-May-2002  uch branches: 1.16.26; 1.16.56; 1.16.58;
obsolete intrcnt[].
 1.15 23-Sep-2001  uch branches: 1.15.4;
improve interrupt response.
 1.14 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.13 15-Sep-2001  uch switch from splvec to ipl_sr_bits.
 1.12 15-Sep-2001  uch ANSIfy.
 1.11 13-Jun-2001  enami branches: 1.11.2; 1.11.4;
Generic softintr for hpcmips.
 1.10 13-Apr-2001  thorpej Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
 1.9 12-Apr-2001  thorpej splvec.splimp -> splvec.splvm
 1.8 14-Jan-2001  thorpej branches: 1.8.2;
Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
 1.7 22-Aug-2000  thorpej Add spllock(). See spl(9) for details.
 1.6 21-Aug-2000  thorpej Make sure we provide splsched() as described in spl(9).
 1.5 11-Apr-2000  uch sync with new mips trap.c
 1.4 03-Apr-2000  soda splsoftnet() should block softclock() too.
 1.3 03-Apr-2000  sato mips_hardware_intr is defined in <mips/intr.h>
 1.2 21-Nov-1999  uch TX3912/3922 support
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.2.2 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.1.1.1.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.8.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.11.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.11.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.11.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.15.4.2 20-Jun-2002  nathanw Catch up to -current.
 1.15.4.1 23-Sep-2001  nathanw file intr.h was added on branch nathanw_sa on 2002-06-20 03:38:52 +0000
 1.16.58.2 22-Sep-2006  yamt fix softintr for following ports. (hopefully)
hpcmips
evbmips
algor
arc
ews4800mips
newsmips
 1.16.58.1 21-Sep-2006  yamt - implement splraiseipl for algor, arc, ews4800mips, hpcmips, and newsmips.
- tweak evbmips version to match with others.
XXX i think these ought to be merged.
 1.16.56.1 12-Jan-2007  ad Sync with head.
 1.16.26.5 21-Jan-2008  yamt sync with head
 1.16.26.4 07-Dec-2007  yamt sync with head
 1.16.26.3 03-Sep-2007  yamt sync with head.
 1.16.26.2 26-Feb-2007  yamt sync with head.
 1.16.26.1 30-Dec-2006  yamt sync with head.
 1.18.14.1 26-Jun-2007  garbled Sync with HEAD.
 1.18.8.1 11-Jul-2007  mjf Sync with head.
 1.18.6.2 03-Dec-2007  ad Sync with HEAD.
 1.18.6.1 15-Jul-2007  ad Sync with head.
 1.19.10.2 09-Jan-2008  matt sync with HEAD
 1.19.10.1 06-Nov-2007  matt sync with HEAD
 1.19.8.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.20.2.2 18-Feb-2008  mjf Sync with HEAD.
 1.20.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.21.6.1 08-Jan-2008  bouyer Sync with HEAD
 1.22.40.1 05-Mar-2011  bouyer Sync with HEAD
 1.22.38.1 06-Jun-2011  jruoho Sync with HEAD.
 1.22.32.1 05-Mar-2011  rmind sync with head
 1.22.28.1 29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.10 18-Oct-2016  jdolecek add isa_intr_establish_xname() to MD isa headers so that it can be used
by MI drivers
 1.9 27-Oct-2012  chs branches: 1.9.14; 1.9.18;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.8 19-Aug-2009  dyoung branches: 1.8.12; 1.8.22;
(Re-)define isa_detach_hook(), and define isa_dmadestroy(). Update
some isa_chipset_tag_t->ic_detach_hook() definitions.
 1.7 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.6 09-May-2003  fvdl branches: 1.6.104; 1.6.106; 1.6.108;
A few ISA sound drivers like to share dma channels, and hence deferred
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.

To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.

All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.
 1.5 16-Sep-2001  uch branches: 1.5.4;
ANSIfy, KNF.
 1.4 04-Jun-2000  cgd branches: 1.4.4; 1.4.6;
Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.3 01-Jun-2000  cgd kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
 1.2 05-Mar-2000  takemura branches: 1.2.2;
Add ISA DMA support entries. (It's dummy. I don't know if it work or not.)
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.5.4.1 16-Sep-2001  uch file isa_machdep.h was added on branch nathanw_sa on 2001-09-16 05:32:21 +0000
 1.6.108.2 19-Aug-2009  yamt sync with head.
 1.6.108.1 16-May-2008  yamt sync with head.
 1.6.106.1 18-May-2008  yamt sync with head.
 1.6.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.22.2 03-Dec-2017  jdolecek update from HEAD
 1.8.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.12.1 30-Oct-2012  yamt sync with head
 1.9.18.1 04-Nov-2016  pgoyette Sync with HEAD
 1.9.14.1 05-Dec-2016  skrll Sync with HEAD
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 01-Jun-2000  cgd branches: 1.2.128; 1.2.130; 1.2.132;
kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.10;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.10.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.1.1.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.2.132.1 16-May-2008  yamt sync with head.
 1.2.130.1 18-May-2008  yamt sync with head.
 1.2.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.7 06-Sep-2020  riastradh Fix some more uvm header fallout. Add include guards while here.
 1.6 11-Jun-2015  matt Add struct pmap_limits and pm_{min,max}addr from uvm/pmap/map.h and use it to
store avail_start, avail_end, virtual_start, and virtual_end.
Remove iospace and let emips just bump pmap_limits.virtual_start to get the
VA space it needs.
pmap_segtab.c is almost identical to uvm/pmap/pmap_segtab.c now. It won't
be long until we switch to the uvm/pmap one.
 1.5 16-Mar-2011  tsutsui branches: 1.5.14; 1.5.32;
Put awful kludge to make MI kloader.c link on hpcmips.
XXX: sys/dev/kloader.c should not refer avail_start and avail_end
 1.4 28-Apr-2008  martin branches: 1.4.22; 1.4.28;
Remove clause 3 and 4 from TNF licenses
 1.3 11-Dec-2005  christos branches: 1.3.74; 1.3.76; 1.3.78;
merge ktrace-lwp.
 1.2 06-Jul-2004  uch MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
 1.1 29-Jan-2002  uch branches: 1.1.2; 1.1.4; 1.1.20;
hpcmips support of kloader.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.4.1 29-Jan-2002  nathanw file kloader.h was added on branch nathanw_sa on 2002-02-28 04:09:58 +0000
 1.1.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1 29-Jan-2002  jdolecek file kloader.h was added on branch kqueue on 2002-02-11 20:08:08 +0000
 1.3.78.1 16-May-2008  yamt sync with head.
 1.3.76.1 18-May-2008  yamt sync with head.
 1.3.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.28.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.22.1 21-Apr-2011  rmind sync with head
 1.5.32.1 22-Sep-2015  skrll Sync with HEAD
 1.5.14.1 03-Dec-2017  jdolecek update from HEAD
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.4 06-Aug-2014  joerg Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
 1.3 28-Apr-2008  martin branches: 1.3.44; 1.3.60;
Remove clause 3 and 4 from TNF licenses
 1.2 25-Jan-2006  christos branches: 1.2.72; 1.2.74; 1.2.76;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.1 01-May-2003  igy branches: 1.1.18; 1.1.30;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.30.1 01-Feb-2006  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.2.76.1 16-May-2008  yamt sync with head.
 1.2.74.1 18-May-2008  yamt sync with head.
 1.2.72.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.60.1 10-Aug-2014  tls Rebase.
 1.3.44.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2 31-Aug-2001  simonb branches: 1.2.6;
Remove an unneeded comment; ``sync'' with other "just include <mips/foo.h>"
files.
 1.1 29-Apr-2000  thorpej branches: 1.1.6; 1.1.10;
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
 1.1.10.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.1.6.2 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.1.6.1 29-Apr-2000  bouyer file lock.h was added on branch thorpej_scsipi on 2000-11-20 20:46:48 +0000
 1.2.6.2 31-Aug-2001  simonb Remove an unneeded comment; ``sync'' with other "just include <mips/foo.h>"
files.
 1.2.6.1 31-Aug-2001  simonb file lock.h was added on branch nathanw_sa on 2001-08-31 03:53:24 +0000
 1.2 05-Jun-2002  simonb Simplify include files that just include <mips/locore.h>.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.16; 1.1.1.1.20; 1.1.1.1.28;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.28.1 14-Jul-2002  gehenna catch up with -current.
 1.1.1.1.20.1 20-Jun-2002  nathanw Catch up to -current.
 1.1.1.1.16.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1 30-Nov-2024  christos branches: 1.1.4;
Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 30-Nov-2024  perseant file lwp_private.h was added on branch perseant-exfatfs on 2025-08-02 05:55:40 +0000
 1.1 23-Dec-1999  kleink branches: 1.1.6;
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
 1.1.6.2 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.1.6.1 23-Dec-1999  bouyer file math.h was added on branch thorpej_scsipi on 2000-11-20 20:46:48 +0000
 1.2 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 17-Nov-2001  wdk branches: 1.1.2;
file mcontext.h was initially added on branch nathanw_sa.
 1.1.2.1 17-Nov-2001  wdk mcontext support for MIPS based ports.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2 09-Feb-2007  ad branches: 1.2.4;
Merge newlock2 to head.
 1.1 22-Dec-2006  ad branches: 1.1.2;
file mutex.h was initially added on branch newlock2.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file mutex.h was added on branch yamt-lazymbuf on 2007-02-26 09:06:38 +0000
 1.17 07-Jan-2019  jdolecek move DEV_BSIZE, DEV_BSHIFT out of MD param.h, they are same on all ports

also move BLKDEV_IOSIZE, MAXPHYS, but allow override since some ports
have different value (powerpc uses NBPG for BLKDEV_IOSIZE, sun2/sun3
have lower MAXPHYS)
 1.16 18-Mar-2011  tsutsui branches: 1.16.54; 1.16.56;
- include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment
 1.15 08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.14 14-Dec-2009  matt branches: 1.14.4; 1.14.6; 1.14.8;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.13 13-Aug-2009  matt Move MID_MACHINE to <mips/mips_param.h> and use local values so we don't
need to include exec_aout.h
 1.12 26-Sep-2006  tsutsui branches: 1.12.56; 1.12.74;
Protect from multiple inclusion.
 1.11 10-Sep-2006  tsutsui branches: 1.11.2;
Change dumb DELAY(9) macro into inline version with asm like
other mips ports for gcc4's aggressive optimization.
 1.10 11-Dec-2005  christos branches: 1.10.8; 1.10.20;
merge ktrace-lwp.
 1.9 07-Aug-2003  agc branches: 1.9.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.8 26-Feb-2002  simonb branches: 1.8.16;
Purge CLSIZE, CLSIZELOG2 and MCLOFSET.
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS
are defined.
Remove old VM constants from cesfic port.
Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
 1.7 11-Feb-2002  uch change kernel start address 0x80030000 to 0x80001000
 1.6 15-Sep-2001  uch branches: 1.6.4;
ANSIfy.
 1.5 13-Jun-2001  enami branches: 1.5.2; 1.5.4;
Generic softintr for hpcmips.
 1.4 30-May-2001  mrg use _KERNEL_OPT
 1.3 30-Jun-2000  itojun branches: 1.3.2;
raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small
already (less than 80) and there are chances for unwanted packet loss due
to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
(even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
 1.2 04-Dec-1999  ragge branches: 1.2.4;
CL* discarding.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.1.1.1.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.2.4.1 23-Jul-2000  itojun pullup from main trunc (approved by releng-1-5)

raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small
already (less than 80) and there are chances for unwanted packet loss due
to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
(even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.

1.1 -> 1.2 syssrc/sys/arch/amigappc/include/param.h
1.13 -> 1.14 syssrc/sys/arch/arc/include/param.h
1.1 -> 1.2 syssrc/sys/arch/arm26/include/param.h
1.17 -> 1.18 syssrc/sys/arch/arm32/include/param.h
1.6 -> 1.7 syssrc/sys/arch/bebox/include/param.h
1.4 -> 1.5 syssrc/sys/arch/cobalt/include/param.h
1.4 -> 1.5 syssrc/sys/arch/evbsh3/include/param.h
1.2 -> 1.3 syssrc/sys/arch/hpcmips/include/param.h
1.40 -> 1.41 syssrc/sys/arch/i386/include/param.h
1.7 -> 1.8 syssrc/sys/arch/m68k/include/param.h
1.9 -> 1.10 syssrc/sys/arch/macppc/include/param.h
1.4 -> 1.5 syssrc/sys/arch/mmeye/include/param.h
1.6 -> 1.7 syssrc/sys/arch/newsmips/include/param.h
1.7 -> 1.8 syssrc/sys/arch/ofppc/include/param.h
1.23 -> 1.24 syssrc/sys/arch/pc532/include/param.h
1.32 -> 1.33 syssrc/sys/arch/pmax/include/param.h
1.7 -> 1.8 syssrc/sys/arch/powerpc/include/param.h
1.1 -> 1.2 syssrc/sys/arch/prep/include/param.h
1.1 -> 1.2 syssrc/sys/arch/sgimips/include/param.h
1.3 -> 1.4 syssrc/sys/arch/sh3/include/param.h
1.44 -> 1.45 syssrc/sys/arch/sparc/include/param.h
1.21 -> 1.22 syssrc/sys/arch/sparc64/include/param.h
1.43 -> 1.44 syssrc/sys/arch/vax/include/param.h
 1.3.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.5.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.6.4.1 15-Sep-2001  nathanw file param.h was added on branch nathanw_sa on 2002-02-28 04:09:58 +0000
 1.8.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.16.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.1 30-Dec-2006  yamt sync with head.
 1.10.20.1 18-Nov-2006  ad Sync with head.
 1.10.8.1 14-Sep-2006  yamt sync with head.
 1.11.2.1 22-Oct-2006  yamt sync with head
 1.12.74.1 22-Aug-2009  matt Move MACHINE_ARCH definition to <mips/mips_param.h>
Move mbuf related defines to <mips/mips_param.h>
 1.12.56.2 11-Mar-2010  yamt sync with head
 1.12.56.1 19-Aug-2009  yamt sync with head.
 1.14.8.1 17-Feb-2011  bouyer Sync with HEAD
 1.14.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.14.4.2 21-Apr-2011  rmind sync with head
 1.14.4.1 05-Mar-2011  rmind sync with head
 1.16.56.1 10-Jun-2019  christos Sync with HEAD
 1.16.54.1 18-Jan-2019  pgoyette Synch with HEAD
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.9 29-Mar-2014  christos make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.8 27-Oct-2012  chs branches: 1.8.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.7 24-Aug-2011  dyoung branches: 1.7.2; 1.7.12;
Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.
 1.6 11-Dec-2005  christos merge ktrace-lwp.
 1.5 17-Sep-2004  enami s,contro,&l, in a comment.
 1.4 29-Jul-2004  drochner remove now unnecessary "pci_enumerate_bus" definitions
 1.3 15-May-2002  thorpej branches: 1.3.10;
Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
 1.2 13-Jan-2002  takemura Fixed vrpciu with config_hook PCI interrupt handling.
 1.1 13-Jun-2001  enami branches: 1.1.2; 1.1.4; 1.1.10;
Add minimal support for vr4122/vrc4173 pci.
 1.1.10.3 20-Jun-2002  nathanw Catch up to -current.
 1.1.10.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.10.1 13-Jun-2001  nathanw file pci_machdep.h was added on branch nathanw_sa on 2002-02-28 04:09:58 +0000
 1.1.4.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.4.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.10.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.10.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.10.1 03-Aug-2004  skrll Sync with HEAD
 1.7.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.2.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.2.1 30-Oct-2012  yamt sync with head
 1.8.2.1 18-May-2014  rmind sync with head
 1.5 01-Feb-2002  uch bootinfo.h, config_hook.h, platid.h are moved to hpc/include
 1.4 28-Jan-2001  uch branches: 1.4.4; 1.4.8;
hpcmips hpcsh common files are moved to arch/hpc.
 1.3 28-Dec-2000  sato add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
 1.2 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.1.1.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.8.1 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.26 04-Feb-2001  takemura Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
 1.25 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.24 28-Dec-2000  sato add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
 1.23 21-Oct-2000  takemura Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'.
 1.22 21-Sep-2000  sato regen.
 1.21 03-Jun-2000  takemura Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
 1.20 22-May-2000  uch branches: 1.20.2;
regen.
 1.19 20-May-2000  takemura Add two items:
NEC MobilePro 780 (MC/R530A)
NEC MobilePro 880 (MC/R730A)
 1.18 31-Mar-2000  jun regen.
 1.17 14-Feb-2000  jun regen.
 1.16 06-Feb-2000  takemura Delete dupicated 'z50'.
 1.15 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.14 28-Jan-2000  shin platid regen.
 1.13 22-Jan-2000  takemura Add platform ID of MC-R430.
 1.12 06-Jan-2000  uch regen.
 1.11 26-Dec-1999  jun regen.
 1.10 26-Dec-1999  shin regen.
 1.9 10-Dec-1999  jun regen.
 1.8 09-Dec-1999  jun Regen.
 1.7 08-Dec-1999  jun Regen.
 1.6 08-Dec-1999  jun regen
 1.5 21-Nov-1999  shin Regen.
 1.4 21-Nov-1999  takemura Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A).
 1.3 30-Oct-1999  uch regen.
 1.2 25-Sep-1999  uch branches: 1.2.2; 1.2.4; 1.2.6;
Regen.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 15-Nov-1999  fvdl Sync with -current
 1.2.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.2.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.2.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.20.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.26 04-Feb-2001  takemura Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
 1.25 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.24 28-Dec-2000  sato add platid_search() for search platid related data from tables.
add platid_search() test program in platid_test.c. it's sample.
 1.23 21-Oct-2000  takemura Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'.
 1.22 21-Sep-2000  sato regen.
 1.21 03-Jun-2000  takemura Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
 1.20 22-May-2000  uch branches: 1.20.2;
regen.
 1.19 20-May-2000  takemura Add two items:
NEC MobilePro 780 (MC/R530A)
NEC MobilePro 880 (MC/R730A)
 1.18 31-Mar-2000  jun regen.
 1.17 14-Feb-2000  jun regen.
 1.16 06-Feb-2000  takemura Delete dupicated 'z50'.
 1.15 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.14 28-Jan-2000  shin platid regen.
 1.13 22-Jan-2000  takemura Add platform ID of MC-R430.
 1.12 06-Jan-2000  uch regen.
 1.11 26-Dec-1999  jun regen.
 1.10 26-Dec-1999  shin regen.
 1.9 10-Dec-1999  jun regen.
 1.8 09-Dec-1999  jun Regen.
 1.7 08-Dec-1999  jun Regen.
 1.6 08-Dec-1999  jun regen
 1.5 21-Nov-1999  shin Regen.
 1.4 21-Nov-1999  takemura Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A).
 1.3 30-Oct-1999  uch regen.
 1.2 25-Sep-1999  uch branches: 1.2.2; 1.2.4; 1.2.6;
Regen.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 15-Nov-1999  fvdl Sync with -current
 1.2.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.2.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.2.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.20.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2 12-Jul-2018  maxv Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.1 07-Aug-2002  briggs branches: 1.1.2; 1.1.4; 1.1.6; 1.1.202; 1.1.204;
Implement pmc(9) -- An interface to hardware performance monitoring
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
 1.1.204.1 10-Jun-2019  christos Sync with HEAD
 1.1.202.1 28-Jul-2018  pgoyette Sync with HEAD
 1.1.6.2 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.6.1 07-Aug-2002  jdolecek file pmc.h was added on branch kqueue on 2002-09-06 08:35:42 +0000
 1.1.4.2 31-Aug-2002  gehenna catch up with -current.
 1.1.4.1 07-Aug-2002  gehenna file pmc.h was added on branch gehenna-devsw on 2002-08-31 13:44:45 +0000
 1.1.2.2 13-Aug-2002  nathanw Catch up to -current.
 1.1.2.1 07-Aug-2002  nathanw file pmc.h was added on branch nathanw_sa on 2002-08-13 02:18:15 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2 05-Feb-2003  nakayama Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
 1.1 06-Jun-2000  soren branches: 1.1.4; 1.1.6;
Add rnd(4) glue for the MIPS3 cycle counter.
 1.1.6.2 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.1.6.1 06-Jun-2000  bouyer file rnd.h was added on branch thorpej_scsipi on 2000-11-20 20:46:51 +0000
 1.1.4.2 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 06-Jun-2000  minoura file rnd.h was added on branch minoura-xpg4dl on 2000-06-22 17:00:07 +0000
 1.2 09-Feb-2007  ad branches: 1.2.4;
Merge newlock2 to head.
 1.1 22-Dec-2006  ad branches: 1.1.2;
file rwlock.h was initially added on branch newlock2.
 1.1.2.1 22-Dec-2006  ad Pull in CPU specific stubs.
 1.2.4.2 26-Feb-2007  yamt sync with head.
 1.2.4.1 09-Feb-2007  yamt file rwlock.h was added on branch yamt-lazymbuf on 2007-02-26 09:06:38 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 23-Jul-2014  alnsn branches: 1.1.2; 1.1.6;
Rename sljitarch.h to sljit_machdep.h.
 1.1.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.1 23-Jul-2014  tls file sljit_machdep.h was added on branch tls-maxphys on 2014-08-20 00:03:03 +0000
 1.1.2.2 10-Aug-2014  tls Rebase.
 1.1.2.1 23-Jul-2014  tls file sljit_machdep.h was added on branch tls-earlyentropy on 2014-08-10 06:53:58 +0000
 1.2 23-Jul-2014  alnsn Rename sljitarch.h to sljit_machdep.h.
 1.1 25-Nov-2012  alnsn branches: 1.1.2; 1.1.6; 1.1.14;
Add sljitarch.h to all mips machines.
 1.1.14.1 10-Aug-2014  tls Rebase.
 1.1.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.6.2 25-Feb-2013  tls resync with head
 1.1.6.1 25-Nov-2012  tls file sljitarch.h was added on branch tls-maxphys on 2013-02-25 00:28:42 +0000
 1.1.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.2.1 25-Nov-2012  yamt file sljitarch.h was added on branch yamt-pagecache on 2013-01-16 05:32:58 +0000
 1.2 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.18 31-Jul-2021  andvar s/dependend/dependent/
 1.17 16-Mar-2011  tsutsui branches: 1.17.72;
Fix device_t/softc confusion.
(currently harmless since they are not split yet)
 1.16 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.15 15-Dec-2009  mrg branches: 1.15.4; 1.15.6; 1.15.8;
convert all mips cpu_intr() to have the standard
(uint32_t, uint32_t, vaddr_t, uint32_t) signature.
 1.14 14-Dec-2009  matt Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.13 04-Mar-2007  christos branches: 1.13.44; 1.13.62;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.12 16-Sep-2006  gdamore branches: 1.12.6;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.11 23-Sep-2001  uch branches: 1.11.4; 1.11.36; 1.11.66;
improve interrupt response.
 1.10 18-Sep-2001  uch remove dev/dec/clockvar.h from hpcmips source tree.
 1.9 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.8 15-Sep-2001  uch ANSIfy.
 1.7 11-Apr-2000  uch branches: 1.7.6; 1.7.8;
sync with new mips trap.c
 1.6 21-Feb-2000  shin support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
 1.5 04-Dec-1999  takemura Unify vr_reset and vr_powerdown.
 1.4 28-Nov-1999  sato PowerOff code. (not yet completely)
'halt -p' availavle.
not yet all power off...
cannot exit poweroff mode. (reset required..)
 1.3 28-Nov-1999  takemura Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.2 21-Nov-1999  uch add fb_init, mem_init member to struct platform.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.7.8.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.6.1 01-Oct-2001  fvdl Catch up with -current.
 1.11.66.1 18-Nov-2006  ad Sync with head.
 1.11.36.2 03-Sep-2007  yamt sync with head.
 1.11.36.1 30-Dec-2006  yamt sync with head.
 1.11.4.2 23-Sep-2001  uch improve interrupt response.
 1.11.4.1 23-Sep-2001  uch file sysconf.h was added on branch nathanw_sa on 2001-09-23 14:32:53 +0000
 1.12.6.1 12-Mar-2007  rmind Sync with HEAD.
 1.13.62.1 29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.13.44.1 11-Mar-2010  yamt sync with head
 1.15.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.15.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.15.4.2 21-Apr-2011  rmind sync with head
 1.15.4.1 05-Mar-2011  rmind sync with head
 1.17.72.1 01-Aug-2021  thorpej Sync with HEAD.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.9 20-Jan-2008  joerg Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
 1.8 17-Oct-2007  garbled branches: 1.8.2; 1.8.8;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.7 14-Jul-2007  ad branches: 1.7.10;
Generic soft interrupts are mandatory.
 1.6 16-Sep-2006  gdamore branches: 1.6.10; 1.6.18;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.5 23-Mar-2002  shin branches: 1.5.26; 1.5.56;
change MAXPARTITIONS to 16.
 1.4 13-Jun-2001  enami branches: 1.4.2; 1.4.8;
Generic softintr for hpcmips.
 1.3 24-Aug-2000  uch branches: 1.3.2;
don't refer cf_unit.
undef __BROKEN_CONFIG_UNIT_USAGE
 1.2 05-Feb-2000  cgd add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
wrong things with device configuration data "cf_unit" information.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.3.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.8.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.4.8.1 13-Jun-2001  nathanw file types.h was added on branch nathanw_sa on 2002-04-01 07:40:27 +0000
 1.4.2.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.56.1 18-Nov-2006  ad Sync with head.
 1.5.26.3 21-Jan-2008  yamt sync with head
 1.5.26.2 03-Sep-2007  yamt sync with head.
 1.5.26.1 30-Dec-2006  yamt sync with head.
 1.6.18.1 03-Oct-2007  garbled Sync with HEAD
 1.6.10.1 15-Jul-2007  ad Sync with head.
 1.7.10.2 23-Mar-2008  matt sync with HEAD
 1.7.10.1 06-Nov-2007  matt sync with HEAD
 1.8.8.1 23-Jan-2008  bouyer Sync with HEAD.
 1.8.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.2 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.6 28-Mar-2019  christos protect kernel variables
 1.5 14-Dec-2009  matt branches: 1.5.64;
Merge from matt-nb5-mips64
Merge mips-specific arch files.
 1.4 31-Jan-2002  uch branches: 1.4.122; 1.4.140;
clean up header file.
 1.3 01-Dec-2000  tsutsui branches: 1.3.4; 1.3.8;
Remove unused pcbb() macro.
 1.2 21-Feb-2000  shin support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 08-Dec-2000  bouyer Sync with HEAD.
 1.1.1.1.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.3.8.1 28-Feb-2002  nathanw Catch up to -current.
 1.3.4.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.4.140.1 11-Dec-2009  matt Use the default set of VM_FREELISTs in <mips/vmparam.h> but allow them to
be overridden (for pmax).
 1.4.122.1 11-Mar-2010  yamt sync with head
 1.5.64.1 10-Jun-2019  christos Sync with HEAD
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 08-May-2004  kleink branches: 1.1.2;
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
 1.1.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.2 03-Aug-2004  skrll Sync with HEAD
 1.1.2.1 08-May-2004  skrll file wchar_limits.h was added on branch ktrace-lwp on 2004-08-03 10:35:18 +0000
 1.2 11-Dec-2005  christos branches: 1.2.18;
merge ktrace-lwp.
 1.1 05-Nov-2005  tsutsui branches: 1.1.2;
Add empty <machine/wired_map.h> for the MI mips/wired_map.c.
 1.1.2.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.2.1 05-Nov-2005  skrll file wired_map.h was added on branch ktrace-lwp on 2005-11-10 13:56:27 +0000
 1.2.18.2 21-Jun-2006  yamt sync with head.
 1.2.18.1 11-Dec-2005  yamt file wired_map.h was added on branch yamt-lazymbuf on 2006-06-21 14:51:50 +0000
 1.42 25-Sep-2022  andvar s/inerrupt/interrupt/ and s/intrrupt/interrupt/ in comments.
 1.41 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.40 24-Apr-2021  thorpej branches: 1.40.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.39 27-Oct-2012  chs branches: 1.39.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.38 19-Aug-2009  dyoung branches: 1.38.12; 1.38.22;
isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
 1.37 18-Aug-2009  dyoung These are stragglers from my last commit ("Let us safely detach
the ISA bus and devices attaching to the ISA bus"). Define
isa_detach_hook() in MD ISA implementations. Define isa_dmadestroy().
 1.36 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.35 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.34 28-Apr-2008  martin branches: 1.34.8; 1.34.14;
Remove clause 3 and 4 from TNF licenses
 1.33 04-Jan-2008  ad branches: 1.33.6; 1.33.8; 1.33.10;
Need sys/device.h
 1.32 29-Mar-2006  thorpej branches: 1.32.38; 1.32.44; 1.32.52;
Use device_cfdata().
 1.31 11-Dec-2005  christos branches: 1.31.4; 1.31.6; 1.31.8; 1.31.10; 1.31.12;
merge ktrace-lwp.
 1.30 07-Jun-2005  he branches: 1.30.2;
Sprinkle some const around to make these files compile with -Wcast-qual.
 1.29 30-Aug-2004  drochner Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
 1.28 15-Jul-2003  lukem __KERNEL_RCSID()
 1.27 02-Oct-2002  thorpej branches: 1.27.6;
Use CFATTACH_DECL().
 1.26 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.25 27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.24 31-Jan-2002  uch clean up header file.
 1.23 29-Jan-2002  uch clean up debug print and configuration.
 1.22 27-Jan-2002  takemura Added vripif.
 1.21 26-Jan-2002  takemura Straightened vripvar.h
 1.20 05-Jan-2002  takemura If two or more vrisab matches platform id, attach most specific one.
 1.19 22-Nov-2001  takemura Fixed bus stuff to compile vrpciu.c (VR4131 CPU).
 1.18 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.17 24-Oct-2001  shin branches: 1.17.2;
make this compile with -DDEBUG_FIND_PCIC.
 1.16 16-Sep-2001  uch branches: 1.16.2;
ANSIfy, KNF.
 1.15 11-Jun-2001  enami branches: 1.15.2; 1.15.4;
Print space after colon.
 1.14 06-May-2001  takemura Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
 1.13 30-Apr-2001  takemura Machine independent GPIO interface.
 1.12 18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.11 16-Oct-2000  sato branches: 1.11.2;
DEBUG_FIND_COMPORT code. (by ngc@ff.iij4u.or.jp)
 1.10 25-Sep-2000  sato #include <sys/reboot.h> would probably suffice for those.
 1.9 25-Sep-2000  sato - can compile these files.
#include <sys/boot_flag.h>
 1.8 24-Sep-2000  jdolecek add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
 1.7 12-Sep-2000  takemura fix typo in boot message.
 1.6 04-Jun-2000  cgd Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.5 03-Apr-2000  sato branches: 1.5.2;
- hpcmips_verbose
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
 1.4 10-Mar-2000  sato printf -> DPRINTF
vrisa_debug = 0 by default.
 1.3 05-Mar-2000  takemura Add ISA DMA support entries. (It's dummy. I don't know if it work or not.)
 1.2 04-Mar-2000  takemura Change 'irq' locater encoding. You can use port# 0. You should use 0xff
for unspecified port#. Also, You can specify interrupt level/edge, high/low
and through/hold.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.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.5.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.11.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.15.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.15.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.15.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.15.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.16.2.1 07-Nov-2001  shin sync with trunk (rev. 1.17).
make this compile with -DDEBUG_FIND_PCIC.
 1.17.2.5 18-Oct-2002  nathanw Catch up to -current.
 1.17.2.4 28-Feb-2002  nathanw Catch up to -current.
 1.17.2.3 11-Jan-2002  nathanw More catchup.
 1.17.2.2 08-Jan-2002  nathanw Catch up to -current.
 1.17.2.1 24-Oct-2001  nathanw file isa_machdep.c was added on branch nathanw_sa on 2002-01-08 00:25:04 +0000
 1.27.6.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.27.6.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.27.6.3 18-Sep-2004  skrll Sync with HEAD.
 1.27.6.2 03-Sep-2004  skrll Sync with HEAD
 1.27.6.1 03-Aug-2004  skrll Sync with HEAD
 1.30.2.2 21-Jan-2008  yamt sync with head
 1.30.2.1 21-Jun-2006  yamt sync with head.
 1.31.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.31.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.31.8.1 01-Apr-2006  yamt sync with head.
 1.31.6.1 22-Apr-2006  simonb Sync with head.
 1.31.4.1 09-Sep-2006  rpaulo sync with head
 1.32.52.1 08-Jan-2008  bouyer Sync with HEAD
 1.32.44.1 18-Feb-2008  mjf Sync with HEAD.
 1.32.38.1 09-Jan-2008  matt sync with HEAD
 1.33.10.3 19-Aug-2009  yamt sync with head.
 1.33.10.2 04-May-2009  yamt sync with head.
 1.33.10.1 16-May-2008  yamt sync with head.
 1.33.8.1 18-May-2008  yamt sync with head.
 1.33.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.34.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.34.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.38.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.38.12.1 30-Oct-2012  yamt sync with head
 1.39.52.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.40.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.14 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.13 24-Apr-2021  thorpej branches: 1.13.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.12 27-Oct-2012  chs branches: 1.12.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.11 19-Aug-2009  dyoung branches: 1.11.12; 1.11.22;
isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
 1.10 18-Aug-2009  dyoung These are stragglers from my last commit ("Let us safely detach
the ISA bus and devices attaching to the ISA bus"). Define
isa_detach_hook() in MD ISA implementations. Define isa_dmadestroy().
 1.9 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8 11-Dec-2005  christos branches: 1.8.74; 1.8.76; 1.8.78;
merge ktrace-lwp.
 1.7 30-Aug-2004  drochner Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 02-Oct-2002  thorpej branches: 1.5.6;
Use CFATTACH_DECL().
 1.4 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3 27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.2 16-Sep-2001  uch branches: 1.2.4;
ANSIfy, KNF.
 1.1 21-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
PLUM2-ISA bridge
 1.1.12.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 21-Nov-1999  bouyer file plumisa_machdep.c was added on branch thorpej_scsipi on 2000-11-20 20:46:54 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.2 18-Oct-2002  nathanw Catch up to -current.
 1.2.4.1 16-Sep-2001  nathanw file plumisa_machdep.c was added on branch nathanw_sa on 2002-10-18 02:37:11 +0000
 1.5.6.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.3 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.2 03-Sep-2004  skrll Sync with HEAD
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.8.78.2 19-Aug-2009  yamt sync with head.
 1.8.78.1 16-May-2008  yamt sync with head.
 1.8.76.1 18-May-2008  yamt sync with head.
 1.8.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.11.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.12.1 30-Oct-2012  yamt sync with head
 1.12.52.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.13.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 24-Aug-2011  dyoung Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.
 1.10 11-Dec-2005  christos merge ktrace-lwp.
 1.9 21-Jun-2004  jmc Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
 1.8 26-Oct-2003  lukem branches: 1.8.2;
Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
 1.7 23-Dec-2001  shin branches: 1.7.16;
decend into romboot.
 1.6 05-May-2001  takemura branches: 1.6.2; 1.6.8;
Fix Makefile to generate dummy pbsdboot/opt_spec_platform.h, which will
be created by config(8) when you compile kernel. And update binary files.
The version number is '1.17.4 2001.05.05'.
 1.5 05-Jan-2001  takemura branches: 1.5.2;
Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.4 29-Aug-2000  takemura branches: 1.4.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.3 04-May-2000  takemura Remove wmipsdbg and wmipsrel as well as WMIPSDbg and WMIPSRel for
case sensitive file system.
 1.2 12-Jan-2000  cgd add clean and distclean targets. Clean cleans out build-generated bits.
Distclean does that, plus removes other files windows is likely to
generate to make things unclean (.opt workspace options files, as well
as automatically updated versions of .dsp/.dsw files). This means
that if you distclean: your workspace options may be reset to the defaults
(hey, you did tell it to clean everything out!), and any modifications
that you incorrectly made to the .dsp/.dsw files w/o using the templates
and UNIX-based auto-generation will be clobbered.
 1.1 12-Jan-2000  cgd taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows. you build by saying 'make winfiles' here in stand,
then check in (on UNIX). The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
 1.4.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.4.2.2 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.2.1 29-Aug-2000  bouyer file Makefile was added on branch thorpej_scsipi on 2000-11-20 20:46:55 +0000
 1.5.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.6.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.6.8.1 05-May-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:25:04 +0000
 1.6.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.16.1 03-Aug-2004  skrll Sync with HEAD
 1.8.2.1 22-Jun-2004  tron Pull up revision 1.9 (requested by jmc in ticket #531):
Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
 1.2 29-Aug-2000  takemura branches: 1.2.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.1 12-Jan-2000  cgd foist my automatically generated evil upon the world.
 1.2.2.2 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.2.2.1 29-Aug-2000  bouyer file hpcmips_stand.dsw was added on branch thorpej_scsipi on 2000-11-20 20:51:34 +0000
 1.2 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.1 12-Jan-2000  cgd branches: 1.1.6;
taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows. you build by saying 'make winfiles' here in stand,
then check in (on UNIX). The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 12-Jan-2000  bouyer file application_WCE_MIPS.tmpl was added on branch thorpej_scsipi on 2000-11-20 20:51:34 +0000
 1.2 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.1 05-Jan-2001  takemura branches: 1.1.2;
Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.1 05-Jan-2001  bouyer file application_WCE_MIPS.tmpl.evc3 was added on branch thorpej_scsipi on 2001-01-05 17:34:20 +0000
 1.1 05-Jan-2001  takemura branches: 1.1.2;
Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.1 05-Jan-2001  bouyer file config.sh was added on branch thorpej_scsipi on 2001-01-05 17:34:20 +0000
 1.5 15-Apr-2001  takemura branches: 1.5.8;
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.4 05-Jan-2001  takemura branches: 1.4.2;
Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.3 29-Aug-2000  takemura branches: 1.3.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.2 03-Feb-2000  cgd tolerate newlines in the list variables, and clean up the config files
to match. no more ridiculously long lines, now!
 1.1 12-Jan-2000  cgd taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows. you build by saying 'make winfiles' here in stand,
then check in (on UNIX). The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
 1.3.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.3.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.3.2.2 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.3.2.1 29-Aug-2000  bouyer file do_subst.sh was added on branch thorpej_scsipi on 2000-11-20 20:46:55 +0000
 1.4.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.8.2 15-Apr-2001  takemura Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.5.8.1 15-Apr-2001  takemura file do_subst.sh was added on branch nathanw_sa on 2001-04-15 10:10:44 +0000
 1.2 05-Jan-2001  takemura Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.1 12-Jan-2000  cgd branches: 1.1.6;
taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows. you build by saying 'make winfiles' here in stand,
then check in (on UNIX). The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
 1.1.6.3 05-Jan-2001  bouyer Sync with HEAD
 1.1.6.2 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.1.6.1 12-Jan-2000  bouyer file gen_workspace.sh was added on branch thorpej_scsipi on 2000-11-20 20:46:56 +0000
 1.2 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.1 12-Jan-2000  cgd branches: 1.1.6;
taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows. you build by saying 'make winfiles' here in stand,
then check in (on UNIX). The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 12-Jan-2000  bouyer file static_library_WCE_MIPS.tmpl was added on branch thorpej_scsipi on 2000-11-20 20:46:57 +0000
 1.2 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.1 05-Jan-2001  takemura branches: 1.1.2;
Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.1 05-Jan-2001  bouyer file static_library_WCE_MIPS.tmpl.evc3 was added on branch thorpej_scsipi on 2001-01-05 17:34:21 +0000
 1.1 25-Feb-2001  takemura branches: 1.1.4;
Make it compilable, syncing with the relocation of the platid stuff.
 1.1.4.2 12-Mar-2001  bouyer Sync with HEAD.
 1.1.4.1 25-Feb-2001  bouyer file platid_generated.h was added on branch thorpej_scsipi on 2001-03-12 13:28:40 +0000
 1.1 25-Feb-2001  takemura branches: 1.1.4;
Make it compilable, syncing with the relocation of the platid stuff.
 1.1.4.2 12-Mar-2001  bouyer Sync with HEAD.
 1.1.4.1 25-Feb-2001  bouyer file platid_mask.h was added on branch thorpej_scsipi on 2001-03-12 13:28:40 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.3 01-Feb-2002  uch bootinfo.h, config_hook.h, platid.h are moved to hpc/include
 1.2 28-Jan-2001  uch branches: 1.2.4; 1.2.8;
hpcmips hpcsh common files are moved to arch/hpc.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 11-Feb-2001  bouyer Sync with HEAD.
 1.2.8.1 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 12-Jan-2000  cgd branches: 1.1.6;
these are needed due to the change in rev 1.16 of mips/include/mips_param.h
 1.1.6.2 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.1.6.1 12-Jan-2000  bouyer file cpu.h was added on branch thorpej_scsipi on 2000-11-20 20:47:03 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 19-Mar-2000  takemura branches: 1.1.6;
Synch with adding arch/hpcmips/include/endian_machdep.h.
 1.1.6.2 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.1.6.1 19-Mar-2000  bouyer file endian_machdep.h was added on branch thorpej_scsipi on 2000-11-20 20:47:04 +0000
 1.1 05-May-2001  takemura branches: 1.1.2; 1.1.10;
Add wrapper header files.
 1.1.10.2 05-May-2001  takemura Add wrapper header files.
 1.1.10.1 05-May-2001  takemura file int_const.h was added on branch nathanw_sa on 2001-05-05 08:14:22 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.1 05-May-2001  takemura branches: 1.1.2; 1.1.10;
Add wrapper header files.
 1.1.10.2 05-May-2001  takemura Add wrapper header files.
 1.1.10.1 05-May-2001  takemura file int_fmtio.h was added on branch nathanw_sa on 2001-05-05 08:14:22 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.1 05-May-2001  takemura branches: 1.1.2; 1.1.10;
Add wrapper header files.
 1.1.10.2 05-May-2001  takemura Add wrapper header files.
 1.1.10.1 05-May-2001  takemura file int_limits.h was added on branch nathanw_sa on 2001-05-05 08:14:22 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.1 05-May-2001  takemura branches: 1.1.2; 1.1.10;
Add wrapper header files.
 1.1.10.2 05-May-2001  takemura Add wrapper header files.
 1.1.10.1 05-May-2001  takemura file int_mwgwtypes.h was added on branch nathanw_sa on 2001-05-05 08:14:22 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.1 29-Aug-2000  takemura branches: 1.1.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.1.2.2 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.1.2.1 29-Aug-2000  bouyer file int_types.h was added on branch thorpej_scsipi on 2000-11-20 20:51:35 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.3 01-Feb-2002  uch bootinfo.h, config_hook.h, platid.h are moved to hpc/include
 1.2 28-Jan-2001  uch branches: 1.2.4; 1.2.8;
hpcmips hpcsh common files are moved to arch/hpc.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 11-Feb-2001  bouyer Sync with HEAD.
 1.2.8.1 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.1 28-Jan-2001  uch branches: 1.1.2;
hpcmips hpcsh common files are moved to arch/hpc.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1 28-Jan-2001  bouyer file platid_generated.h was added on branch thorpej_scsipi on 2001-02-11 19:10:36 +0000
 1.1 26-Sep-1999  takemura Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 12-Jan-2000  cgd branches: 1.1.6;
these are needed due to the change in rev 1.16 of mips/include/mips_param.h
 1.1.6.2 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.1.6.1 12-Jan-2000  bouyer file cpu.h was added on branch thorpej_scsipi on 2000-11-20 20:47:04 +0000
 1.1 12-Jan-2000  cgd branches: 1.1.6;
these are needed due to the change in rev 1.16 of mips/include/mips_param.h
 1.1.6.2 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.1.6.1 12-Jan-2000  bouyer file cpuregs.h was added on branch thorpej_scsipi on 2000-11-20 20:47:05 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 19-Mar-2000  takemura branches: 1.1.6;
Synch with adding arch/hpcmips/include/endian_machdep.h.
 1.1.6.2 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.1.6.1 19-Mar-2000  bouyer file endian_machdep.h was added on branch thorpej_scsipi on 2000-11-20 20:47:05 +0000
 1.1 05-May-2001  takemura branches: 1.1.2; 1.1.10;
Add wrapper header files.
 1.1.10.2 05-May-2001  takemura Add wrapper header files.
 1.1.10.1 05-May-2001  takemura file int_const.h was added on branch nathanw_sa on 2001-05-05 08:14:23 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.1 05-May-2001  takemura branches: 1.1.2; 1.1.10;
Add wrapper header files.
 1.1.10.2 05-May-2001  takemura Add wrapper header files.
 1.1.10.1 05-May-2001  takemura file int_fmtio.h was added on branch nathanw_sa on 2001-05-05 08:14:23 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.1 05-May-2001  takemura branches: 1.1.2; 1.1.10;
Add wrapper header files.
 1.1.10.2 05-May-2001  takemura Add wrapper header files.
 1.1.10.1 05-May-2001  takemura file int_limits.h was added on branch nathanw_sa on 2001-05-05 08:14:23 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.1 05-May-2001  takemura branches: 1.1.2; 1.1.10;
Add wrapper header files.
 1.1.10.2 05-May-2001  takemura Add wrapper header files.
 1.1.10.1 05-May-2001  takemura file int_mwgwtypes.h was added on branch nathanw_sa on 2001-05-05 08:14:23 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.2 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.1 29-Aug-2000  takemura branches: 1.1.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.1.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.2 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.1.2.1 29-Aug-2000  bouyer file int_types.h was added on branch thorpej_scsipi on 2000-11-20 20:47:06 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.4 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.3 22-Feb-2000  soda reflect recent <mips/types.h>: mips is now vm_offset_t/vm_size_t clean
 1.2 03-Feb-2000  cgd just use __int64 and unsigned __int64 rather than *INT64TYPE
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.1.1.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.13 08-Apr-2017  christos centralize vers.c building for standalone programs.
 1.12 21-Aug-2013  matt branches: 1.12.6; 1.12.10; 1.12.14;
Use <bsd.klinks.mk>
 1.11 22-Jan-2011  joerg branches: 1.11.4; 1.11.14; 1.11.18;
Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.10 21-Jan-2011  joerg Switch remaining platforms to modern CPP for assembler.
 1.9 02-Jun-2006  mrg branches: 1.9.86; 1.9.92; 1.9.94;
remove GCC2 support
 1.8 07-Apr-2006  mrg branches: 1.8.2;
retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.
 1.7 11-Dec-2005  christos branches: 1.7.4; 1.7.6; 1.7.8; 1.7.10; 1.7.12;
merge ktrace-lwp.
 1.6 26-Oct-2003  lukem branches: 1.6.16;
Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
 1.5 27-Aug-2003  mrg introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3. if this is set, we also set USE_TOOLS_TOOLCHAIN=no. change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
 1.4 09-Aug-2003  igy netboot support
 1.3 26-Jul-2003  mrg don't need -mno-half-pic with gcc3
 1.2 24-Jun-2003  igy branches: 1.2.2;
remove LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM
 1.1 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.1 21-Jun-2006  yamt sync with head.
 1.7.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.7.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.7.8.2 26-Jun-2006  yamt sync with head.
 1.7.8.1 11-Apr-2006  yamt sync with head
 1.7.6.2 03-Jun-2006  kardel Sync with head.
 1.7.6.1 22-Apr-2006  simonb Sync with head.
 1.7.4.1 09-Sep-2006  rpaulo sync with head
 1.8.2.1 19-Jun-2006  chap Sync with head.
 1.9.94.1 08-Feb-2011  bouyer Sync with HEAD
 1.9.92.1 06-Jun-2011  jruoho Sync with HEAD.
 1.9.86.1 05-Mar-2011  rmind sync with head
 1.11.18.1 28-Aug-2013  rmind sync with head
 1.11.14.2 03-Dec-2017  jdolecek update from HEAD
 1.11.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.4.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.12.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.12.10.1 26-Apr-2017  pgoyette Sync with HEAD
 1.12.6.1 28-Aug-2017  skrll Sync with HEAD
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 11-Dec-2005  christos branches: 1.3.74; 1.3.76; 1.3.78;
merge ktrace-lwp.
 1.2 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.78.1 16-May-2008  yamt sync with head.
 1.3.76.1 18-May-2008  yamt sync with head.
 1.3.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 09-Aug-2003  igy netboot support
 1.1 24-Jun-2003  igy branches: 1.1.2;
remove LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.5 26-Oct-2009  cegger kill extra whitespaces
reviewed by tsutsui@
 1.4 18-Mar-2009  cegger bcopy -> memcpy
 1.3 11-Dec-2005  christos branches: 1.3.78; 1.3.86; 1.3.92;
merge ktrace-lwp.
 1.2 09-Aug-2003  igy netboot support
 1.1 24-Jun-2003  igy branches: 1.1.2;
remove LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.3.78.2 11-Mar-2010  yamt sync with head
 1.3.78.1 04-May-2009  yamt sync with head.
 1.2 09-Aug-2003  igy netboot support
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4 17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 09-Aug-2003  igy branches: 1.2.4;
add bootp support
 1.1 09-Aug-2003  igy netboot support
 1.2.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.2.4.2 03-Aug-2004  skrll Sync with HEAD
 1.2.4.1 09-Aug-2003  skrll file dev_net.c was added on branch ktrace-lwp on 2004-08-03 10:35:18 +0000
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 09-Aug-2003  igy netboot support
 1.1 24-Jun-2003  igy branches: 1.1.2;
remove LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.5 05-Sep-2022  tsutsui G/C ISSET() macro copies. It has been defined in <sys/types.h> since 2006.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 09-Aug-2003  igy netboot support
 1.2 24-Jun-2003  igy branches: 1.2.2;
remove LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM
 1.1 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 09-Aug-2003  igy netboot support
 1.2 15-Jun-2003  igy branches: 1.2.2;
using write buffer in block_write.
 1.1 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 09-Aug-2003  igy netboot support
 1.2 15-Jun-2003  igy branches: 1.2.2;
using write buffer in block_write.
 1.1 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 20-Sep-2003  igy branches: 1.2.4;
reading MAC address from EEPROM
 1.1 09-Aug-2003  igy netboot support
 1.2.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.2.4.2 03-Aug-2004  skrll Sync with HEAD
 1.2.4.1 20-Sep-2003  skrll file if_cs.c was added on branch ktrace-lwp on 2004-08-03 10:35:18 +0000
 1.1 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.7 11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.6 22-Jan-2011  joerg branches: 1.6.14; 1.6.32;
Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.5 11-Dec-2005  christos branches: 1.5.100; 1.5.106; 1.5.108;
merge ktrace-lwp.
 1.4 09-Aug-2003  igy netboot support
 1.3 24-Jun-2003  igy branches: 1.3.2;
remove LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM
 1.2 15-Jun-2003  igy verify flash memory after write
 1.1 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.5.108.1 08-Feb-2011  bouyer Sync with HEAD
 1.5.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.5.100.1 05-Mar-2011  rmind sync with head
 1.6.32.1 09-Jul-2016  skrll Sync with HEAD
 1.6.14.1 03-Dec-2017  jdolecek update from HEAD
 1.1 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.4 09-Aug-2021  andvar fix typos in asymmetry, asymmetric(al), symmetrical.
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 09-Aug-2003  igy netboot support
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 09-Aug-2003  igy bump the version number
 1.2 15-Jun-2003  igy branches: 1.2.2;
using write buffer in block_write.
 1.1 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.2 16-Jan-2000  cgd remove .cvsignore files; if the tree doesn't clean completely, that's a bug
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.4 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.3 25-Jan-2006  christos branches: 1.3.24;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.2 16-Jan-2000  takemura branches: 1.2.44; 1.2.56;
Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.56.1 01-Feb-2006  yamt sync with head.
 1.2.44.2 03-Sep-2007  yamt sync with head.
 1.2.44.1 21-Jun-2006  yamt sync with head.
 1.3.24.1 12-Mar-2007  rmind Sync with HEAD.
 1.4 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.2 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.1 03-Feb-2000  cgd stub to pull in libsa bzero.c
 1.4 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.3 10-Aug-2020  rin Clean up _LKM --> _MODULE leftovers.

Note that _KERNEL is always defined for modules.
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.7 01-Aug-2017  christos PR/52446: Devid Binderman: Fix error checking for wcstombs
 1.6 14-Mar-2009  dsl branches: 1.6.22; 1.6.40;
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.5 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.4 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.3 16-Jan-2000  takemura branches: 1.3.134; 1.3.142; 1.3.148;
Convert CR/LF -> LF.
 1.2 03-Jan-2000  takemura Now you can specify Windows raw device no to load the kernel in the style:
n:/netbsd (n=1..9)
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.3.148.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.142.1 28-Apr-2009  skrll Sync with HEAD.
 1.3.134.1 04-May-2009  yamt sync with head.
 1.6.40.1 28-Aug-2017  skrll Sync with HEAD
 1.6.22.1 03-Dec-2017  jdolecek update from HEAD
 1.1 29-Aug-2000  takemura branches: 1.1.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.1.2.2 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.1.2.1 29-Aug-2000  bouyer file diskio.h was added on branch thorpej_scsipi on 2000-11-20 20:51:36 +0000
 1.4 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.12 04-May-2002  takemura Added lib/libsa/files.c to avoid link error.
 1.11 15-Apr-2001  takemura branches: 1.11.2; 1.11.8;
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.10 05-Jan-2001  takemura branches: 1.10.2;
Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.9 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.8 21-Oct-2000  takemura branches: 1.8.2;
Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.7 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.6 03-Feb-2000  cgd rename printf.c to winprintf.c, nuke inclusion of libsa's printf.c
in winprintf.c, and directly include libsa's printf.c in the project.
 1.5 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.4 03-Feb-2000  cgd clean up lists: get rid of bogus extra spaces, backslash -> slash
(vc doesn't care, in paths of source files), sort, etc.
 1.3 03-Feb-2000  cgd tolerate newlines in the list variables, and clean up the config files
to match. no more ridiculously long lines, now!
 1.2 03-Feb-2000  cgd add bzero.c to file list, add __STDC__ to CPP define list
 1.1 12-Jan-2000  cgd taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows. you build by saying 'make winfiles' here in stand,
then check in (on UNIX). The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
 1.8.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.8.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.8.2.2 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.8.2.1 21-Oct-2000  bouyer file libsa.config was added on branch thorpej_scsipi on 2000-11-20 20:51:36 +0000
 1.10.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.11.8.2 20-Jun-2002  nathanw Catch up to -current.
 1.11.8.1 15-Apr-2001  nathanw file libsa.config was added on branch nathanw_sa on 2002-06-20 03:38:53 +0000
 1.11.2.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.12 04-May-2002  takemura Added lib/libsa/files.c to avoid link error.
 1.11 15-Apr-2001  takemura branches: 1.11.2; 1.11.8;
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.10 25-Feb-2001  takemura branches: 1.10.2;
Make it compilable, syncing with the relocation of the platid stuff.
 1.9 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.8 21-Oct-2000  takemura Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.7 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.6 03-Feb-2000  cgd rename printf.c to winprintf.c, nuke inclusion of libsa's printf.c
in winprintf.c, and directly include libsa's printf.c in the project.
 1.5 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.4 03-Feb-2000  cgd clean up lists: get rid of bogus extra spaces, backslash -> slash
(vc doesn't care, in paths of source files), sort, etc.
 1.3 03-Feb-2000  cgd add bzero.c to file list, add __STDC__ to CPP define list
 1.2 12-Jan-2000  cgd foist my automatically generated evil upon the world.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.1.1.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.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.11.8.2 20-Jun-2002  nathanw Catch up to -current.
 1.11.8.1 15-Apr-2001  nathanw file libsa.dsp was added on branch nathanw_sa on 2002-06-20 03:38:53 +0000
 1.11.2.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.4 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.4 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.3 06-Apr-2001  wiz branches: 1.3.8; 1.3.130; 1.3.138; 1.3.144;
Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.2 21-Oct-2000  takemura branches: 1.2.2; 1.2.4;
Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.1 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.2.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.2.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.2 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.2.2.1 21-Oct-2000  bouyer file panic.c was added on branch thorpej_scsipi on 2000-11-20 20:51:37 +0000
 1.3.144.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.138.1 28-Apr-2009  skrll Sync with HEAD.
 1.3.130.1 04-May-2009  yamt sync with head.
 1.3.8.2 06-Apr-2001  wiz Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.3.8.1 06-Apr-2001  wiz file panic.c was added on branch nathanw_sa on 2001-04-06 11:13:57 +0000
 1.4 03-Feb-2000  cgd rename printf.c to winprintf.c, nuke inclusion of libsa's printf.c
in winprintf.c, and directly include libsa's printf.c in the project.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.4 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h, fix typo in comment about #ifdef
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.4 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.3 03-Feb-2000  cgd no more need for one-liners to include libsa .c files. just name them
directly in the project file.
 1.2 03-Feb-2000  cgd nuke inclusion of compat.h
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.10 15-Jul-2023  andvar fix tripple "p" (ppp) to double "p" (pp) in some words in comments.
 1.9 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.8 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.7 25-Jan-2006  christos branches: 1.7.76; 1.7.84; 1.7.90;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.6 11-Dec-2005  christos branches: 1.6.2;
merge ktrace-lwp.
 1.5 08-Oct-2003  lukem branches: 1.5.16;
Overhaul MBR handling (part 1):

<sys/bootblock.h>:
* Added definitions for the Master Boot Record (MBR) used by
a variety of systems (primarily i386), including the format
of the BIOS Parameter Block (BPB).
This information was cribbed from a variety of sources
including <sys/disklabel_mbr.h> which this is a superset of.

As part of this, some data structure elements and #defines
were renamed to be more "namespace friendly" and consistent
with other bootblocks and MBR documentation.
Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
* Deprecated in favor of <sys/bootblock.h> (the latter is more
"host tool" friendly).

amd64 & i386:
* Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
be consistent with the naming convention of the msdosfs tools.

* Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
and it's confusing to have two functionally equivalent bootblocks,
especially given that "ufs" has multiple meanings (it could be
a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

* Rework pbr.S (the first sector of bootxx_*):
+ Ensure that BPB (bytes 11..89) and the partition table
(bytes 446..509) do not contain code.
+ Add support for booting from FAT partitions if BOOT_FROM_FAT
is defined. (Only set for bootxx_msdos).
+ Remove "dummy" partition 3; if people want to installboot(8)
these to the start of the disk they can use fdisk(8) to
create a real MBR partition table...
+ Compile with TERSE_ERROR so it fits because of the above.
Whilst this is less user friendly, I feel it's important
to have a valid partition table and BPB in the MBR/PBR.

* Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
with other platforms.

* Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
we can boot off FAT partitions.

* Crank version of /usr/mdec/boot to 3.1, and fix some of the other
entries in the version file.

installboot(8) (i386):
* Read the existing MBR of the filesystem and retain the BIOS
Parameter Block (BPB) in bytes 11..89 and the MBR partition
table in bytes 446..509. (Previously installboot(8) would
trash those two sections of the MBR.)

mbrlabel(8):
* Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
 1.4 29-Aug-2000  takemura branches: 1.4.24;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.3 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.2 23-Oct-1999  takemura Change winblk.c because hpcmips/include/disklabel.c was modified.
Add E-100/E-500 entiries to boot menu.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.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.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.24.1 03-Aug-2004  skrll Sync with HEAD
 1.5.16.1 21-Jun-2006  yamt sync with head.
 1.6.2.1 01-Feb-2006  yamt sync with head.
 1.7.90.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.84.1 28-Apr-2009  skrll Sync with HEAD.
 1.7.76.1 04-May-2009  yamt sync with head.
 1.3 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.2 16-Jan-2000  takemura branches: 1.2.134; 1.2.142; 1.2.148;
Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.148.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.142.1 28-Apr-2009  skrll Sync with HEAD.
 1.2.134.1 04-May-2009  yamt sync with head.
 1.5 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.4 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.3 25-Jan-2006  christos branches: 1.3.76; 1.3.84; 1.3.90;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.2 16-Jan-2000  takemura branches: 1.2.44; 1.2.56;
Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.56.1 01-Feb-2006  yamt sync with head.
 1.2.44.1 21-Jun-2006  yamt sync with head.
 1.3.90.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3.84.1 28-Apr-2009  skrll Sync with HEAD.
 1.3.76.1 04-May-2009  yamt sync with head.
 1.3 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.2 16-Jan-2000  takemura branches: 1.2.134; 1.2.142; 1.2.148;
Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.148.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.142.1 28-Apr-2009  skrll Sync with HEAD.
 1.2.134.1 04-May-2009  yamt sync with head.
 1.2 21-Oct-2000  takemura branches: 1.2.2;
Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.1 03-Feb-2000  cgd rename printf.c to winprintf.c, nuke inclusion of libsa's printf.c
in winprintf.c, and directly include libsa's printf.c in the project.
 1.2.2.2 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.2.2.1 21-Oct-2000  bouyer file winprintf.c was added on branch thorpej_scsipi on 2000-11-20 20:47:10 +0000
 1.1 29-Aug-2000  takemura branches: 1.1.2; 1.1.40; 1.1.58;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.1.58.2 15-Sep-2006  yamt fix merge botch.
 1.1.58.1 11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.40.2 15-Sep-2005  tron Restore files accidentally deleted while processing ticket #763.
Problem pointed out by FUKAUMI Naoki in private e-mail.
 1.1.40.1 14-Sep-2005  tron Apply patch (requested by shige in ticket #763):
Synchronize OpenBlockS266 port with NetBSD-current for enhanced stability.
 1.1.2.2 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.1.2.1 29-Aug-2000  bouyer file errno.h was added on branch thorpej_scsipi on 2000-11-20 20:51:37 +0000
 1.5 15-Apr-2001  takemura branches: 1.5.8;
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.4 05-Jan-2001  takemura branches: 1.4.2;
Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.3 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.2 21-Oct-2000  takemura branches: 1.2.2;
Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.1 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.2.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.2.2.2 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.2.2.1 21-Oct-2000  bouyer file libz.config was added on branch thorpej_scsipi on 2000-11-20 20:51:38 +0000
 1.4.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.8.2 15-Apr-2001  takemura Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.5.8.1 15-Apr-2001  takemura file libz.config was added on branch nathanw_sa on 2001-04-15 10:10:45 +0000
 1.5 15-Apr-2001  takemura branches: 1.5.8;
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.4 25-Feb-2001  takemura branches: 1.4.2;
Make it compilable, syncing with the relocation of the platid stuff.
 1.3 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.2 21-Oct-2000  takemura branches: 1.2.2;
Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.1 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.2.2.5 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.2.2.2 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.2.2.1 21-Oct-2000  bouyer file libz.dsp was added on branch thorpej_scsipi on 2000-11-20 20:51:39 +0000
 1.4.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.8.2 15-Apr-2001  takemura Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.5.8.1 15-Apr-2001  takemura file libz.dsp was added on branch nathanw_sa on 2001-04-15 10:10:45 +0000
 1.1 29-Aug-2000  takemura branches: 1.1.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.1.2.2 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.1.2.1 29-Aug-2000  bouyer file libz.dsw was added on branch thorpej_scsipi on 2000-11-20 20:51:39 +0000
 1.1 29-Aug-2000  takemura branches: 1.1.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.1.2.2 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.1.2.1 29-Aug-2000  bouyer file stddef.h was added on branch thorpej_scsipi on 2000-11-20 20:51:40 +0000
 1.1 29-Aug-2000  takemura branches: 1.1.2;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.1.2.2 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.1.2.1 29-Aug-2000  bouyer file zlib.h was added on branch thorpej_scsipi on 2000-11-20 20:51:40 +0000
 1.2 16-Jan-2000  cgd remove .cvsignore files; if the tree doesn't clean completely, that's a bug
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.8 11-Dec-2005  christos merge ktrace-lwp.
 1.7 19-Mar-2004  jmc Convert to usage of UUDECODE_FILES and standardize on filename extension
 1.6 10-Jul-2003  lukem Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
 1.5 31-Jan-2002  tv branches: 1.5.16;
Make it possible for uudecode to be a host tool.
 1.4 04-Jun-2000  takemura branches: 1.4.6; 1.4.10;
Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
- display status which indicate how much loading sequence progress.
- add debugging log function.
 1.3 19-Mar-2000  takemura branches: 1.3.2;
- Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.2 04-Dec-1999  takemura Fix file mode of pbsdboot.exe.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.3.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4.10.1 28-Feb-2002  nathanw Catch up to -current.
 1.4.6.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.16.1 03-Aug-2004  skrll Sync with HEAD
 1.4 19-Mar-2004  jmc Convert to usage of UUDECODE_FILES and standardize on filename extension
 1.3 22-Jan-2000  takemura branches: 1.3.28;
Add a menu item for MC-R430.
Change frame buffer type of MC-R530, which had been inversed B/W.
 1.2 21-Sep-1999  nisimura branches: 1.2.2;
Fix minor typos.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.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.3.28.1 03-Aug-2004  skrll Sync with HEAD
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.6 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.5 24-Sep-2001  takemura branches: 1.5.4; 1.5.126; 1.5.134; 1.5.140;
Hacking code piece, dumping PCI configration register.
 1.4 04-Mar-2001  takemura branches: 1.4.2; 1.4.4;
Add some diagnostic code.
 1.3 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.2 26-Sep-1999  takemura branches: 1.2.2;
TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.2.2 12-Mar-2001  bouyer Sync with HEAD.
 1.2.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.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.140.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.134.1 28-Apr-2009  skrll Sync with HEAD.
 1.5.126.1 04-May-2009  yamt sync with head.
 1.5.4.2 24-Sep-2001  takemura Hacking code piece, dumping PCI configration register.
 1.5.4.1 24-Sep-2001  takemura file disptest.c was added on branch nathanw_sa on 2001-09-24 10:42:03 +0000
 1.9 05-Mar-2007  dogcow semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.
 1.8 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.7 25-Jan-2006  christos branches: 1.7.24;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.6 22-Dec-2002  wiz branches: 1.6.18; 1.6.30;
Debugging is usually spelled with three gs.
 1.5 17-Jul-2001  toshii branches: 1.5.6;
"infomation" -> "information"
 1.4 16-Jan-2000  takemura branches: 1.4.8;
Convert CR/LF -> LF.
 1.3 25-Oct-1999  kleink Update to match new SVR4-style definition names in <sys/exec_elf.h>.
 1.2 22-Sep-1999  uch branches: 1.2.2; 1.2.4; 1.2.6;
Change indent. no code changes.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 15-Nov-1999  fvdl Sync with -current
 1.2.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.8.1 03-Aug-2001  lukem update to -current
 1.5.6.2 29-Dec-2002  thorpej Sync with HEAD.
 1.5.6.1 17-Jul-2001  thorpej file elf.c was added on branch nathanw_sa on 2002-12-29 19:26:29 +0000
 1.6.30.1 01-Feb-2006  yamt sync with head.
 1.6.18.2 03-Sep-2007  yamt sync with head.
 1.6.18.1 21-Jun-2006  yamt sync with head.
 1.7.24.1 12-Mar-2007  rmind Sync with HEAD.
 1.2 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.1 20-Mar-2000  takemura branches: 1.1.6;
Change color map and share color map data with kernel part.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 20-Mar-2000  bouyer file hpccmap.c was added on branch thorpej_scsipi on 2000-11-20 20:39:22 +0000
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.63 01-Aug-2017  christos PR/52445: David Binderman: Fix wcstombs error checking
 1.62 14-Dec-2007  pavel branches: 1.62.54; 1.62.74;
Update URLs after website reorganization. patch by OKANO Takayoshi, from
PR 37070.
 1.61 09-Mar-2006  wiz branches: 1.61.40; 1.61.50; 1.61.54;
Fix a URL. From OKANO Takayoshi in PR 33001.
 1.60 04-Dec-2005  christos branches: 1.60.4; 1.60.6; 1.60.8; 1.60.10;
PR/32237: ISIHARA Takanori: Add MC/R550 to the pbsboot menu list
 1.59 17-Nov-2003  keihan branches: 1.59.16;
www.netbsd.org -> www.NetBSD.org
 1.58 17-Jul-2001  toshii branches: 1.58.6; 1.58.22;
"infomation" -> "information"
 1.57 12-May-2001  takemura branches: 1.57.2;
Fix description about frame buffer type.
 1.56 05-May-2001  takemura Add entry for 'PenCentra 130'.
The version number is '1.17.5 2001.05.05'.
 1.55 05-May-2001  takemura Fix Makefile to generate dummy pbsdboot/opt_spec_platform.h, which will
be created by config(8) when you compile kernel. And update binary files.
The version number is '1.17.4 2001.05.05'.
 1.54 15-Apr-2001  takemura Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.53 04-Mar-2001  takemura branches: 1.53.2;
Add PocketPostPet entry.
The version number is 1.17.2 2001.03.04.
 1.52 04-Mar-2001  takemura BUGFIX: These string data, 'MEMORI- KA-DO...' didn't have any terminater.
 1.51 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.50 21-Jan-2001  takemura Add items for 4bit/pixel frame buffer format.
Fix frame buffer information of Compaq Aero 1530.
The version of binaries get 1.17.0 2001.01.07.
 1.49 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.48 21-Oct-2000  takemura Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.47 21-Oct-2000  takemura Add menu entries for CASSIOPEIA 'E-65' and 'for DoCoMo'
The version gets 1.16.2.
 1.46 21-Sep-2000  sato add MC/R330.
add sigmarion.
 1.45 10-Sep-2000  takemura Create dummy main window to resolve the problem that it can't setup color
palette correctly.
version no gets '1.16.00 2000.09.10'
 1.44 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.43 04-Jun-2000  takemura Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
- display status which indicate how much loading sequence progress.
- add debugging log function.
 1.42 22-May-2000  uch branches: 1.42.2;
Add SHARP Telios HC-VJ1C and Mobilon HC-4500 entries.
 1.41 20-May-2000  takemura Add NEC Mobile Pro 780/880 and Vadem Clio 1050.
 1.40 23-Apr-2000  takemura Support 8bpp mode on MC/R530.
 1.39 16-Apr-2000  takemura Don't call IsDlgMessage() if we are on Windows CE 2.01.
 1.38 14-Apr-2000  takemura Make 'Boot' button to be default push button.
You can push return key to boot.
(But it does not work on Windows CE 1.0.)
 1.37 12-Apr-2000  takemura Dialog Box style key function. You can push space key to boot.
 1.36 01-Apr-2000  takemura Recompile binaries for Mobile Pro 700.
 1.35 31-Mar-2000  jun add NEC Mobile Pro 700
 1.34 20-Mar-2000  takemura Change color map and share color map data with kernel part.
 1.33 19-Mar-2000  takemura - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.32 11-Mar-2000  shin fix frame buffer type (normalized to 'black on white').
 1.31 06-Mar-2000  takemura Add '\Storage Card1\netbsd'.
 1.30 27-Feb-2000  takemura Add 'Sharp HC-1200' and divide MC-CS1x into MC-CS11, 12 and 13.
 1.29 25-Feb-2000  mycroft Add `\My Documents\' to the menu of kernel locations.
 1.28 14-Feb-2000  jun add Sharp HC-1200
 1.27 09-Feb-2000  takemura Fix Work Pad z50's entry.
 1.26 05-Feb-2000  cgd more CR/NL -> NL conversion (some crept in)
 1.25 31-Jan-2000  takemura Add 'Reverse Video' check box.
Now 'Black-on-White screen is default.
 1.24 28-Jan-2000  shin add MC/R730
 1.23 22-Jan-2000  takemura Add a menu item for MC-R430.
Change frame buffer type of MC-R530, which had been inversed B/W.
 1.22 16-Jan-2000  uch enable TX3922 write-back cache.
flip Telios fg/bg color.
 1.21 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.20 08-Jan-2000  takemura Update binary for MC-R530 and SHARP Mobilon HC-4100.
 1.19 06-Jan-2000  uch add SHARP Mobilon HC-4100 entry.
 1.18 06-Jan-2000  shin fix MC/R530 parameter.
 1.17 03-Jan-2000  takemura Now you can specify Windows raw device no to load the kernel in the style:
n:/netbsd (n=1..9)
 1.16 27-Dec-1999  takemura Update version no and executable binary for Compaq Aero 1530.
 1.15 26-Dec-1999  jun add
Compaq Aero 1530
 1.14 11-Dec-1999  takemura Recompile to support MobilePro 750 and Mobile Gear II for DoCoMo.
 1.13 09-Dec-1999  jun add entry for NEC MobilePro 750c
 1.12 08-Dec-1999  jun add MobileGearII for DoCoMo
 1.11 08-Dec-1999  jun add Compaq PRESARIO 213
 1.10 27-Nov-1999  takemura Fix frame buffer type for NEC MC-R520 and -R520A.
Add a menu item for IBM WorkPad z50.
 1.9 21-Nov-1999  takemura Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A).
 1.8 30-Oct-1999  uch TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
 1.7 23-Oct-1999  takemura Change winblk.c because hpcmips/include/disklabel.c was modified.
Add E-100/E-500 entiries to boot menu.
 1.6 26-Sep-1999  takemura branches: 1.6.2; 1.6.4; 1.6.6;
Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
 1.5 26-Sep-1999  uch Add Philips Nino 312, Compaq C-series 810, 2010c, 2015c entry.
 1.4 26-Sep-1999  takemura TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.3 23-Sep-1999  takemura Add timezone info in bootinfo.
Delete raw writing 'OK' into frame buffer.
 1.2 22-Sep-1999  uch Change indent. no code changes.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.6.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.4.1 15-Nov-1999  fvdl Sync with -current
 1.6.2.5 21-Apr-2001  bouyer Sync with HEAD
 1.6.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.6.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.6.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.6.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.42.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.53.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.57.2.1 03-Aug-2001  lukem update to -current
 1.58.22.4 11-Dec-2005  christos Sync with head.
 1.58.22.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.58.22.2 18-Sep-2004  skrll Sync with HEAD.
 1.58.22.1 03-Aug-2004  skrll Sync with HEAD
 1.58.6.2 17-Jul-2001  toshii "infomation" -> "information"
 1.58.6.1 17-Jul-2001  toshii file main.c was added on branch nathanw_sa on 2001-07-17 01:41:40 +0000
 1.59.16.2 21-Jan-2008  yamt sync with head
 1.59.16.1 21-Jun-2006  yamt sync with head.
 1.60.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.60.8.1 13-Mar-2006  yamt sync with head.
 1.60.6.1 22-Apr-2006  simonb Sync with head.
 1.60.4.1 09-Sep-2006  rpaulo sync with head
 1.61.54.1 02-Jan-2008  bouyer Sync with HEAD
 1.61.50.1 26-Dec-2007  ad Sync with head.
 1.61.40.1 09-Jan-2008  matt sync with HEAD
 1.62.74.1 28-Aug-2017  skrll Sync with HEAD
 1.62.54.1 03-Dec-2017  jdolecek update from HEAD
 1.4 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.3 16-Jan-2000  takemura branches: 1.3.44; 1.3.82;
Convert CR/LF -> LF.
 1.2 30-Oct-1999  uch TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
 1.1 26-Sep-1999  takemura branches: 1.1.2; 1.1.4; 1.1.6;
TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.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.3.82.1 12-Mar-2007  rmind Sync with HEAD.
 1.3.44.1 03-Sep-2007  yamt sync with head.
 1.3 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.2 20-Mar-2000  takemura branches: 1.2.6;
Change color map and share color map data with kernel part.
 1.1 19-Mar-2000  takemura - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.2.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.2.6.2 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.2.6.1 20-Mar-2000  bouyer file palette.c was added on branch thorpej_scsipi on 2000-11-20 20:39:23 +0000
 1.6 05-Mar-2007  dogcow semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.
 1.5 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.4 04-Jun-2000  takemura branches: 1.4.42; 1.4.80;
Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
- display status which indicate how much loading sequence progress.
- add debugging log function.
 1.3 19-Mar-2000  takemura branches: 1.3.2;
- Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.3.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4.80.1 12-Mar-2007  rmind Sync with HEAD.
 1.4.42.1 03-Sep-2007  yamt sync with head.
 1.12 15-Apr-2001  takemura branches: 1.12.8;
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.11 05-Jan-2001  takemura branches: 1.11.2;
Generating workspace and project files for eMbedded Visual Tools 3.0.
 1.10 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.9 21-Oct-2000  takemura branches: 1.9.2;
Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.8 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.7 20-Mar-2000  takemura Change color map and share color map data with kernel part.
 1.6 19-Mar-2000  takemura - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.5 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.4 03-Feb-2000  cgd clean up lists: get rid of bogus extra spaces, backslash -> slash
(vc doesn't care, in paths of source files), sort, etc.
 1.3 03-Feb-2000  cgd tolerate newlines in the list variables, and clean up the config files
to match. no more ridiculously long lines, now!
 1.2 03-Feb-2000  cgd add __STDC__ to CPP define list
 1.1 12-Jan-2000  cgd taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows. you build by saying 'make winfiles' here in stand,
then check in (on UNIX). The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
 1.9.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.9.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.9.2.2 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.9.2.1 21-Oct-2000  bouyer file pbsdboot.config was added on branch thorpej_scsipi on 2000-11-20 20:39:23 +0000
 1.11.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.12.8.2 15-Apr-2001  takemura Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.12.8.1 15-Apr-2001  takemura file pbsdboot.config was added on branch nathanw_sa on 2001-04-15 10:10:45 +0000
 1.15 15-Apr-2001  takemura branches: 1.15.8;
Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.14 25-Feb-2001  takemura branches: 1.14.2;
Make it compilable, syncing with the relocation of the platid stuff.
 1.13 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.12 21-Oct-2000  takemura Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.11 10-Sep-2000  takemura Previous revision contains some Japanese chars by mistake.

The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.10 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.9 20-Mar-2000  takemura Change color map and share color map data with kernel part.
 1.8 19-Mar-2000  takemura - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.7 06-Feb-2000  takemura Add platid_name() which retrieves the platform name.
 1.6 03-Feb-2000  cgd clean up lists: get rid of bogus extra spaces, backslash -> slash
(vc doesn't care, in paths of source files), sort, etc.
 1.5 03-Feb-2000  cgd add __STDC__ to CPP define list
 1.4 12-Jan-2000  cgd foist my automatically generated evil upon the world.
 1.3 26-Sep-1999  takemura branches: 1.3.2;
Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
 1.2 26-Sep-1999  takemura TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.3.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.3.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.3.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.3.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.14.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.15.8.2 15-Apr-2001  takemura Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.15.8.1 15-Apr-2001  takemura file pbsdboot.dsp was added on branch nathanw_sa on 2001-04-15 10:10:45 +0000
 1.1 19-Mar-2004  jmc branches: 1.1.4;
Convert to usage of UUDECODE_FILES and standardize on filename extension
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Mar-2004  skrll file pbsdboot.exe.uue was added on branch ktrace-lwp on 2004-08-03 10:35:18 +0000
 1.12 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.11 04-Mar-2007  christos branches: 1.11.44; 1.11.52; 1.11.58;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.10 29-Aug-2000  takemura branches: 1.10.40; 1.10.78;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.9 04-Jun-2000  takemura Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
- display status which indicate how much loading sequence progress.
- add debugging log function.
 1.8 19-Mar-2000  takemura branches: 1.8.2;
- Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.7 31-Jan-2000  takemura Add 'Reverse Video' check box.
Now 'Black-on-White screen is default.
 1.6 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.5 30-Oct-1999  uch TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
 1.4 26-Sep-1999  takemura branches: 1.4.2; 1.4.4; 1.4.6;
Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
 1.3 26-Sep-1999  takemura TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.2 22-Sep-1999  uch Change indent. no code changes.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.4.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.4.1 15-Nov-1999  fvdl Sync with -current
 1.4.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.8.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.10.78.1 12-Mar-2007  rmind Sync with HEAD.
 1.10.40.1 03-Sep-2007  yamt sync with head.
 1.11.58.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.11.52.1 28-Apr-2009  skrll Sync with HEAD.
 1.11.44.1 04-May-2009  yamt sync with head.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.39 19-Mar-2004  jmc Convert to usage of UUDECODE_FILES and standardize on filename extension
 1.38 05-May-2001  takemura branches: 1.38.8; 1.38.24;
Add entry for 'PenCentra 130'.
The version number is '1.17.5 2001.05.05'.
 1.37 05-May-2001  takemura Fix Makefile to generate dummy pbsdboot/opt_spec_platform.h, which will
be created by config(8) when you compile kernel. And update binary files.
The version number is '1.17.4 2001.05.05'.
 1.36 15-Apr-2001  takemura Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.35 04-Mar-2001  takemura branches: 1.35.2;
Add PocketPostPet entry.
The version number is 1.17.2 2001.03.04.
 1.34 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.33 21-Jan-2001  takemura Add items for 4bit/pixel frame buffer format.
Fix frame buffer information of Compaq Aero 1530.
The version of binaries get 1.17.0 2001.01.07.
 1.32 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.31 21-Oct-2000  takemura Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.30 21-Oct-2000  takemura Add menu entries for CASSIOPEIA 'E-65' and 'for DoCoMo'
The version gets 1.16.2.
 1.29 21-Sep-2000  takemura Recompile pbsdboot for DoCoMo Sigmarion and NEC MC/R330.
The version number gets 1.16.1 2000.09.21.
 1.28 10-Sep-2000  takemura Create dummy main window to resolve the problem that it can't setup color
palette correctly.
version no gets '1.16.00 2000.09.10'
 1.27 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.26 04-Jun-2000  takemura Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
- display status which indicate how much loading sequence progress.
- add debugging log function.
 1.25 20-May-2000  takemura branches: 1.25.2;
Add NEC Mobile Pro 780/880 and Vadem Clio 1050.
 1.24 23-Apr-2000  takemura Support 8bpp mode on MC/R530.
 1.23 16-Apr-2000  takemura Don't call IsDlgMessage() if we are on Windows CE 2.01.
 1.22 14-Apr-2000  takemura Make 'Boot' button to be default push button.
You can push return key to boot.
(But it does not work on Windows CE 1.0.)
 1.21 12-Apr-2000  takemura Dialog Box style key function. You can push space key to boot.
 1.20 01-Apr-2000  takemura Recompile binaries for Mobile Pro 700.
 1.19 20-Mar-2000  takemura Change color map and share color map data with kernel part.
 1.18 19-Mar-2000  takemura - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.17 06-Mar-2000  takemura Add '\Storage Card1\netbsd'.
 1.16 27-Feb-2000  takemura Add 'Sharp HC-1200' and divide MC-CS1x into MC-CS11, 12 and 13.
 1.15 09-Feb-2000  takemura Fix Work Pad z50's entry.
 1.14 31-Jan-2000  takemura Add 'Reverse Video' check box.
Now 'Black-on-White screen is default.
 1.13 22-Jan-2000  takemura Add a menu item for MC-R430.
Change frame buffer type of MC-R530, which had been inversed B/W.
 1.12 08-Jan-2000  takemura Update binary for MC-R530 and SHARP Mobilon HC-4100.
 1.11 03-Jan-2000  takemura Now you can specify Windows raw device no to load the kernel in the style:
n:/netbsd (n=1..9)
 1.10 27-Dec-1999  takemura Update version no and executable binary for Compaq Aero 1530.
 1.9 11-Dec-1999  takemura Recompile to support MobilePro 750 and Mobile Gear II for DoCoMo.
 1.8 27-Nov-1999  takemura Fix frame buffer type for NEC MC-R520 and -R520A.
Add a menu item for IBM WorkPad z50.
 1.7 21-Nov-1999  takemura Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A).
 1.6 05-Nov-1999  takemura branches: 1.6.2;
TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
 1.5 23-Oct-1999  takemura Change winblk.c because hpcmips/include/disklabel.c was modified.
Add E-100/E-500 entiries to boot menu.
 1.4 26-Sep-1999  takemura branches: 1.4.2; 1.4.4; 1.4.6;
Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
 1.3 26-Sep-1999  takemura TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.2 23-Sep-1999  takemura Add timezone info in bootinfo.
Delete raw writing 'OK' into frame buffer.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.4.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.4.1 15-Nov-1999  fvdl Sync with -current
 1.4.2.5 21-Apr-2001  bouyer Sync with HEAD
 1.4.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.4.2.3 11-Feb-2001  bouyer Sync with HEAD.
 1.4.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.4.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.2.2 05-Nov-1999  takemura TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
 1.6.2.1 05-Nov-1999  takemura file pbsdboot.uu was added on branch comdex-fall-1999 on 1999-11-05 02:43:24 +0000
 1.25.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.35.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.38.24.1 03-Aug-2004  skrll Sync with HEAD
 1.38.8.2 05-May-2001  takemura Add entry for 'PenCentra 130'.
The version number is '1.17.5 2001.05.05'.
 1.38.8.1 05-May-2001  takemura file pbsdboot.uu was added on branch nathanw_sa on 2001-05-05 14:42:43 +0000
 1.1 19-Mar-2004  jmc branches: 1.1.4;
Convert to usage of UUDECODE_FILES and standardize on filename extension
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Mar-2004  skrll file pbsdboot1.exe.uue was added on branch ktrace-lwp on 2004-08-03 10:35:19 +0000
 1.22 19-Mar-2004  jmc Convert to usage of UUDECODE_FILES and standardize on filename extension
 1.21 05-May-2001  takemura branches: 1.21.8; 1.21.24;
Add entry for 'PenCentra 130'.
The version number is '1.17.5 2001.05.05'.
 1.20 05-May-2001  takemura Fix Makefile to generate dummy pbsdboot/opt_spec_platform.h, which will
be created by config(8) when you compile kernel. And update binary files.
The version number is '1.17.4 2001.05.05'.
 1.19 15-Apr-2001  takemura Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
 1.18 04-Mar-2001  takemura branches: 1.18.2;
Add PocketPostPet entry.
The version number is 1.17.2 2001.03.04.
 1.17 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.16 21-Jan-2001  takemura Add items for 4bit/pixel frame buffer format.
Fix frame buffer information of Compaq Aero 1530.
The version of binaries get 1.17.0 2001.01.07.
 1.15 04-Jan-2001  takemura Delete types.h and int_types.h in stand/include/mips and
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
 1.14 21-Oct-2000  takemura branches: 1.14.2;
Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.13 21-Oct-2000  takemura Add menu entries for CASSIOPEIA 'E-65' and 'for DoCoMo'
The version gets 1.16.2.
 1.12 21-Sep-2000  takemura Recompile pbsdboot for DoCoMo Sigmarion and NEC MC/R330.
The version number gets 1.16.1 2000.09.21.
 1.11 10-Sep-2000  takemura Create dummy main window to resolve the problem that it can't setup color
palette correctly.
version no gets '1.16.00 2000.09.10'
 1.10 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.9 04-Jun-2000  takemura Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
- display status which indicate how much loading sequence progress.
- add debugging log function.
 1.8 20-May-2000  takemura branches: 1.8.2;
Add NEC Mobile Pro 780/880 and Vadem Clio 1050.
 1.7 23-Apr-2000  takemura Support 8bpp mode on MC/R530.
 1.6 16-Apr-2000  takemura Don't call IsDlgMessage() if we are on Windows CE 2.01.
 1.5 14-Apr-2000  takemura Make 'Boot' button to be default push button.
You can push return key to boot.
(But it does not work on Windows CE 1.0.)
 1.4 12-Apr-2000  takemura Dialog Box style key function. You can push space key to boot.
 1.3 01-Apr-2000  takemura Recompile binaries for Mobile Pro 700.
 1.2 20-Mar-2000  takemura Change color map and share color map data with kernel part.
 1.1 19-Mar-2000  takemura - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.8.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.14.2.6 21-Apr-2001  bouyer Sync with HEAD
 1.14.2.5 12-Mar-2001  bouyer Sync with HEAD.
 1.14.2.4 11-Feb-2001  bouyer Sync with HEAD.
 1.14.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.14.2.2 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.14.2.1 21-Oct-2000  bouyer file pbsdboot1.uu was added on branch thorpej_scsipi on 2000-11-20 20:39:26 +0000
 1.18.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.21.24.1 03-Aug-2004  skrll Sync with HEAD
 1.21.8.2 05-May-2001  takemura Add entry for 'PenCentra 130'.
The version number is '1.17.5 2001.05.05'.
 1.21.8.1 05-May-2001  takemura file pbsdboot1.uu was added on branch nathanw_sa on 2001-05-05 14:42:47 +0000
 1.5 28-Jan-2001  uch hpcmips hpcsh common files are moved to arch/hpc.
 1.4 21-Oct-2000  takemura Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 26-Sep-1999  takemura branches: 1.1.2;
Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
 1.1.2.2 11-Feb-2001  bouyer Sync with HEAD.
 1.1.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 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.3 03-Feb-2000  cgd nuke inclusion of compat.h
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 26-Sep-1999  takemura branches: 1.1.2;
Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
 1.1.2.2 12-Mar-2001  bouyer Sync with HEAD.
 1.1.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.2 25-Feb-2001  takemura Make it compilable, syncing with the relocation of the platid stuff.
 1.1 06-Feb-2000  takemura branches: 1.1.6;
Add platid_name() which retrieves the platform name.
 1.1.6.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.6.2 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.1.6.1 06-Feb-2000  bouyer file platid_name.c was added on branch thorpej_scsipi on 2000-11-20 20:39:27 +0000
 1.4 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.3 19-Mar-2000  takemura - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
- Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
isn't Japanese.
- Set up Windows color palette for 8 bpp machine.
 1.2 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.5 29-Aug-2000  takemura branches: 1.5.130; 1.5.138; 1.5.144;
The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.4 04-Jun-2000  takemura Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
- display status which indicate how much loading sequence progress.
- add debugging log function.
 1.3 16-Jan-2000  takemura branches: 1.3.2;
Convert CR/LF -> LF.
 1.2 22-Sep-1999  uch branches: 1.2.2;
Change indent. no code changes.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2.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.3.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.5.144.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.138.1 28-Apr-2009  skrll Sync with HEAD.
 1.5.130.1 04-May-2009  yamt sync with head.
 1.4 26-Sep-1999  takemura TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.3 23-Sep-1999  takemura Add timezone info in bootinfo.
Delete raw writing 'OK' into frame buffer.
 1.2 22-Sep-1999  uch Change indent. no code changes.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.3 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.2 26-Sep-1999  takemura branches: 1.2.2;
Use platid insted of ProcessorArchitecture because Win CE 1.0 dose not
support ProcessorArchitecture in SYSTEM_INFO.
Now version of pbsdboot.exe is 1.7.0.
 1.1 26-Sep-1999  takemura TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.2.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.8 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.7 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.6 04-Mar-2007  christos branches: 1.6.44; 1.6.52; 1.6.58;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.5 16-Jan-2000  uch branches: 1.5.44; 1.5.82;
enable TX3922 write-back cache.
flip Telios fg/bg color.
 1.4 16-Jan-2000  uch RCS Id.
 1.3 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.2 30-Oct-1999  uch TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
 1.1 26-Sep-1999  takemura branches: 1.1.2; 1.1.4; 1.1.6;
TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.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.5.82.1 12-Mar-2007  rmind Sync with HEAD.
 1.5.44.1 03-Sep-2007  yamt sync with head.
 1.6.58.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.52.1 28-Apr-2009  skrll Sync with HEAD.
 1.6.44.1 04-May-2009  yamt sync with head.
 1.7 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.6 04-Mar-2007  christos branches: 1.6.44; 1.6.52; 1.6.58;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.5 04-Jun-2000  takemura branches: 1.5.42; 1.5.80;
Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
- display status which indicate how much loading sequence progress.
- add debugging log function.
 1.4 16-Jan-2000  takemura branches: 1.4.2;
Convert CR/LF -> LF.
 1.3 26-Sep-1999  takemura branches: 1.3.2;
TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.2 22-Sep-1999  uch Change indent. no code changes.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.3.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.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.5.80.1 12-Mar-2007  rmind Sync with HEAD.
 1.5.42.1 03-Sep-2007  yamt sync with head.
 1.6.58.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.52.1 28-Apr-2009  skrll Sync with HEAD.
 1.6.44.1 04-May-2009  yamt sync with head.
 1.6 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.5 04-Mar-2007  christos branches: 1.5.44; 1.5.52; 1.5.58;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.4 16-Jan-2000  uch branches: 1.4.44; 1.4.82;
RCS Id.
 1.3 16-Jan-2000  takemura Convert CR/LF -> LF.
 1.2 30-Oct-1999  uch TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
 1.1 26-Sep-1999  takemura branches: 1.1.2; 1.1.4; 1.1.6;
TX39xx support.
- startproc.c is divided into 3 files, mips.c, vr41xx.c and tx39xx.c
- add systeminfo.c
Version of pbsdboot.exe is 1.6.0.
 1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.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.82.1 12-Mar-2007  rmind Sync with HEAD.
 1.4.44.1 03-Sep-2007  yamt sync with head.
 1.5.58.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.52.1 28-Apr-2009  skrll Sync with HEAD.
 1.5.44.1 04-May-2009  yamt sync with head.
 1.2 16-Jan-2000  cgd remove .cvsignore files; if the tree doesn't clean completely, that's a bug
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.5 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.4 14-Apr-2000  takemura Make 'Boot' button to be default push button.
You can push return key to boot.
(But it does not work on Windows CE 1.0.)
 1.3 12-Apr-2000  takemura Dialog Box style key function. You can push space key to boot.
 1.2 31-Jan-2000  takemura Add 'Reverse Video' check box.
Now 'Black-on-White screen is default.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.3 29-Aug-2000  takemura The bootloader has been improved by Kazuma Arino.
- dialog style main window
- support to read compressed kernel image
- automatic boot with timer
- human readable configrarion file
version no gets '1.15.00 2000.08.29'
 1.2 31-Jan-2000  takemura Add 'Reverse Video' check box.
Now 'Black-on-White screen is default.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2 14-Aug-2002  shin .cvsignore should not be used.
 1.1 03-Jan-2002  shin branches: 1.1.2; 1.1.4; 1.1.12;
ignore romboot and romboot.bin
 1.1.12.1 31-Aug-2002  gehenna catch up with -current.
 1.1.4.3 27-Aug-2002  nathanw Catch up to -current.
 1.1.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.4.1 03-Jan-2002  nathanw file .cvsignore was added on branch nathanw_sa on 2002-02-28 04:10:00 +0000
 1.1.2.3 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 03-Jan-2002  thorpej file .cvsignore was added on branch kqueue on 2002-01-10 19:44:07 +0000
 1.2 03-Jan-2002  shin branches: 1.2.2;
remove redundant option
 1.1 23-Dec-2001  shin simple boot loader for ROM

supported platform: LASER5 L-Router(L-Board)
 1.2.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1 03-Jan-2002  thorpej file Makefile was added on branch kqueue on 2002-01-10 19:44:07 +0000
 1.8 11-Dec-2005  christos merge ktrace-lwp.
 1.7 25-Oct-2003  shin fix licence notice.
s/BY THE REGENTS AND CONTRIBUTORS/THE AUTHOR/.
 1.6 16-Feb-2002  shin branches: 1.6.16;
run cached and move fast.
before 5 seconds
after sub second
 1.5 13-Feb-2002  shin initialize stack pointer.
 1.4 11-Feb-2002  uch change kernel start address 0x80030000 to 0x80001000
 1.3 03-Jan-2002  shin branches: 1.3.2;
change max kernel size from 3MB to 6MB.
 1.2 03-Jan-2002  shin fix typo.
 1.1 23-Dec-2001  shin simple boot loader for ROM

supported platform: LASER5 L-Router(L-Board)
 1.3.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.3.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.1 03-Jan-2002  thorpej file romboot.S was added on branch kqueue on 2002-01-10 19:44:08 +0000
 1.6.16.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.16.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.16.1 03-Aug-2004  skrll Sync with HEAD
 1.2 21-Feb-2002  enami Add RCS Id.
 1.1 23-Dec-2001  shin branches: 1.1.2;
simple boot loader for ROM

supported platform: LASER5 L-Router(L-Board)
 1.1.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.1.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 23-Dec-2001  thorpej file romboot.ldscript was added on branch kqueue on 2002-01-10 19:44:08 +0000
 1.45 26-Mar-2014  christos - kill sprintf
- fix unused
 1.44 02-Dec-2011  shattered branches: 1.44.8; 1.44.12;
PR/32394 -- Don't define 'panic' label unconditionally, or "minimal
mobilepro 780 kernel configuration will not build".

OK by wiz@
 1.43 26-Feb-2011  tsutsui branches: 1.43.4;
Explicitly include <mips/locore.h> for wbflush().
 1.42 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.41 21-Jan-2010  pooka branches: 1.41.4; 1.41.6; 1.41.8;
Move arch-local variable to a better namespace to make build again.
 1.40 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.39 28-Apr-2008  martin branches: 1.39.8; 1.39.14; 1.39.18;
Remove clause 3 and 4 from TNF licenses
 1.38 08-Mar-2007  he branches: 1.38.40; 1.38.42; 1.38.44;
Due to pointer arithmetic and comparison, it appears to be least
invasive to convert three local variables from void* to char*.
 1.37 05-Mar-2007  dogcow semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.
 1.36 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.35 24-Dec-2005  perry branches: 1.35.26;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.34 11-Dec-2005  christos merge ktrace-lwp.
 1.33 15-Jul-2003  lukem branches: 1.33.16;
__KERNEL_RCSID()
 1.32 02-Apr-2003  thorpej branches: 1.32.2;
Use PAGE_SIZE rather than NBPG.
 1.31 31-Jan-2002  uch clean up header file.
 1.30 29-Jan-2002  uch clean up debug print and configuration.
 1.29 05-Jan-2002  uch fix memory size calcuration bug.
 1.28 02-Jan-2002  uch fix memory probe sequence.
fix bootstrap stack violation. (code are moved to machdep.c)
 1.27 23-Sep-2001  uch branches: 1.27.4;
improve interrupt response.
 1.26 17-Sep-2001  uch clean up "mainbus" related code.
 1.25 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.24 15-Sep-2001  uch switch from splvec to ipl_sr_bits.
 1.23 14-Jun-2001  uch branches: 1.23.2; 1.23.4;
ANSI KNF. and change my copyright to TNF copyright.
 1.22 13-Jun-2001  uch (TX39) switch from TX local I/O manager to hpcio
 1.21 12-Apr-2001  thorpej splvec.splimp -> splvec.splvm
 1.20 22-Oct-2000  uch branches: 1.20.2; 1.20.4;
new I/O modules framework for TX based system.
 1.19 27-Jul-2000  cgd convert PRID handling to use macros on an int, not bit-fields.
there's no reason to use bit-fields, and they just complexity to
the header.
 1.18 22-May-2000  uch debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.17 21-May-2000  uch recognize 32MByte D-RAM.
 1.16 24-Apr-2000  uch code clean up.
 1.15 11-Apr-2000  uch sync with new mips trap.c
 1.14 21-Feb-2000  shin support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
 1.13 10-Feb-2000  sato add machine model name to cpu_model.
 1.12 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.11 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.10 07-Jan-2000  uch p7416buf and tc5165buf are merged.
 1.9 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.8 22-Dec-1999  uch branches: 1.8.2;
Implement TX3912/22 clock/timer module.
 1.7 12-Dec-1999  uch remove unreferrenced header file.
 1.6 12-Dec-1999  uch Telios keyboard support.
 1.5 08-Dec-1999  uch sync with skbd.
 1.4 02-Dec-1999  uch remove nonrequired include file line (fb.h)
 1.3 29-Nov-1999  uch tx39.c (tx_cons_init): fb_cnattach moved to tx3912video.c (tx3912video_attach):
 1.2 28-Nov-1999  takemura Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.8.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.2.1 22-Dec-1999  wrstuden file tx39.c was added on branch wrstuden-devbsize on 1999-12-27 18:32:10 +0000
 1.20.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.20.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.20.2.2 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.20.2.1 22-Oct-2000  bouyer file tx39.c was added on branch thorpej_scsipi on 2000-11-20 20:47:12 +0000
 1.23.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.23.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.23.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.27.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.27.4.2 11-Jan-2002  nathanw More catchup.
 1.27.4.1 23-Sep-2001  nathanw file tx39.c was added on branch nathanw_sa on 2002-01-11 23:38:25 +0000
 1.32.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.32.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.32.2.1 03-Aug-2004  skrll Sync with HEAD
 1.33.16.2 03-Sep-2007  yamt sync with head.
 1.33.16.1 21-Jun-2006  yamt sync with head.
 1.35.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.38.44.3 11-Mar-2010  yamt sync with head
 1.38.44.2 04-May-2009  yamt sync with head.
 1.38.44.1 16-May-2008  yamt sync with head.
 1.38.42.1 18-May-2008  yamt sync with head.
 1.38.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.39.18.2 29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.39.18.1 01-Feb-2010  matt fix fallout from frame/trapframe merger.
 1.39.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.39.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.41.8.1 05-Mar-2011  bouyer Sync with HEAD
 1.41.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.41.4.1 05-Mar-2011  rmind sync with head
 1.43.4.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.43.4.1 17-Apr-2012  yamt sync with head
 1.44.12.1 18-May-2014  rmind sync with head
 1.44.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.49 26-Feb-2025  andvar Fix typos in comments, mainly s/calcurate/calculate/.
 1.48 09-Aug-2021  andvar branches: 1.48.10;
fix various typos in comments and messages.
 1.47 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.46 24-Apr-2021  thorpej branches: 1.46.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.45 11-Jul-2016  matt branches: 1.45.32;
Use pmap_kenter flags to create cached/uncached entries.
#include <mips/locore.h> when appropriate
 1.44 09-Jul-2016  skrll KNF
 1.43 07-Jun-2014  he branches: 1.43.4;
Remove set-but-not-used variable bit8.
 1.42 27-Oct-2012  chs branches: 1.42.10;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.41 27-Jan-2012  para branches: 1.41.6;
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.40 14-Mar-2009  dsl branches: 1.40.12; 1.40.16;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.39 28-Apr-2008  martin branches: 1.39.8; 1.39.14;
Remove clause 3 and 4 from TNF licenses
 1.38 04-Mar-2007  christos branches: 1.38.40; 1.38.42; 1.38.44;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.37 11-Dec-2005  christos branches: 1.37.26;
merge ktrace-lwp.
 1.36 12-Dec-2004  abs branches: 1.36.10;
Fix comments regarding configration bounaries
 1.35 13-Nov-2003  chs eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed. however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors. most of
the callers of uvm_useracc() make the above incorrect assumption. the
rest are all misguided optimizations, which optimize for the case
where an operation will fail. we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors. since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
 1.34 15-Jul-2003  lukem __KERNEL_RCSID()
 1.33 02-Oct-2002  thorpej branches: 1.33.6;
Use CFATTACH_DECL().
 1.32 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.31 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.30 08-Jun-2002  yamt constify.
 1.29 08-Jun-2002  yamt make auto const variables static.
 1.28 13-Apr-2002  takemura branches: 1.28.2;
Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
arch/hpcsh/dev/hd64461/hd64461video.c Rev. 1.7 to 1.8
arch/hpcmips/dev/plumvideo.c Rev. 1.23 to 1.24
arch/hpcmips/tx/tx3912video.c Rev. 1.24 to 1.25
 1.27 17-Mar-2002  atatat Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.26 06-Mar-2002  uch don't attach bivideo.
 1.25 19-Feb-2002  uch fix LCD byte-order setting.
 1.24 29-Jan-2002  uch clean up debug print and configuration.
 1.23 14-Jun-2001  uch branches: 1.23.2; 1.23.8;
ANSI KNF. and change my copyright to TNF copyright.
 1.22 22-Feb-2001  uch branches: 1.22.2;
hpc common files are moved to dev/hpc.
 1.21 03-Dec-2000  takemura Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
 1.20 22-Oct-2000  uch branches: 1.20.2;
forgot to set HPCFB_ACCESS_REVERSE.
 1.19 22-Oct-2000  uch reverse color support.
 1.18 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.17 29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.16 26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.15 22-May-2000  uch branches: 1.15.4;
debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.14 12-May-2000  uch fix CLUT index bug.
 1.13 10-May-2000  uch #undef'ed debug routine.
 1.12 08-May-2000  uch implement 8bpp CLUT of Plum2, TX3912 video module.
 1.11 02-May-2000  uch add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
 1.10 24-Apr-2000  uch code clean up.
 1.9 03-Apr-2000  sato - virtual TEXT vram implimentation.
- optimize scroll.
- hardware accelerator hooking mechanism (initianly, maybe change..)
- multiscreen (some bugs, so currently disabled)
- if you want disable above codes, #define HPCFB_DISABLE.
 1.8 13-Mar-2000  uch sync with hpcfb.
 1.7 07-Jan-2000  uch 4bit greyscale mode currently disabled. (change to 2bit greyscale)
 1.6 06-Jan-2000  uch add debug draw routines.
 1.5 03-Jan-2000  uch clean up boot message.
 1.4 23-Dec-1999  uch branches: 1.4.2;
Off LCD power when serial console.
 1.3 12-Dec-1999  uch code clean up.
 1.2 29-Nov-1999  uch tx39.c (tx_cons_init): fb_cnattach moved to tx3912video.c (tx3912video_attach):
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.4.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.2.1 23-Dec-1999  wrstuden file tx3912video.c was added on branch wrstuden-devbsize on 1999-12-27 18:32:10 +0000
 1.15.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.20.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.20.2.3 08-Dec-2000  bouyer Sync with HEAD.
 1.20.2.2 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.20.2.1 22-Oct-2000  bouyer file tx3912video.c was added on branch thorpej_scsipi on 2000-11-20 20:47:13 +0000
 1.22.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.23.8.6 18-Oct-2002  nathanw Catch up to -current.
 1.23.8.5 20-Jun-2002  nathanw Catch up to -current.
 1.23.8.4 17-Apr-2002  nathanw Catch up to -current.
 1.23.8.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.23.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.23.8.1 14-Jun-2001  nathanw file tx3912video.c was added on branch nathanw_sa on 2002-02-28 04:10:01 +0000
 1.23.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.23.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.23.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.23.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.28.2.1 14-Jul-2002  gehenna catch up with -current.
 1.33.6.5 24-Jan-2005  skrll Adapt to branch.
 1.33.6.4 18-Dec-2004  skrll Sync with HEAD.
 1.33.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.33.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.33.6.1 03-Aug-2004  skrll Sync with HEAD
 1.36.10.2 03-Sep-2007  yamt sync with head.
 1.36.10.1 21-Jun-2006  yamt sync with head.
 1.37.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.38.44.2 04-May-2009  yamt sync with head.
 1.38.44.1 16-May-2008  yamt sync with head.
 1.38.42.1 18-May-2008  yamt sync with head.
 1.38.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.39.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.39.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.40.16.1 18-Feb-2012  mrg merge to -current.
 1.40.12.2 30-Oct-2012  yamt sync with head
 1.40.12.1 17-Apr-2012  yamt sync with head
 1.41.6.3 03-Dec-2017  jdolecek update from HEAD
 1.41.6.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.41.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.42.10.1 10-Aug-2014  tls Rebase.
 1.43.4.2 05-Oct-2016  skrll Sync with HEAD
 1.43.4.1 09-Jul-2016  skrll Sync with HEAD
 1.45.32.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.46.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.48.10.1 02-Aug-2025  perseant Sync with HEAD
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 14-Jun-2001  uch branches: 1.5.8; 1.5.126; 1.5.128; 1.5.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.4 12-May-2000  uch branches: 1.4.6; 1.4.8;
fix CLUT index bug.
 1.3 08-May-2000  uch implement 8bpp CLUT of Plum2, TX3912 video module.
 1.2 07-Jan-2000  uch 4bit greyscale mode currently disabled. (change to 2bit greyscale)
 1.1 20-Nov-1999  uch branches: 1.1.2;
Toshiba TX3912/3922 internal modules.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.6.2 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.6.1 12-May-2000  bouyer file tx3912videoreg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:13 +0000
 1.5.130.1 16-May-2008  yamt sync with head.
 1.5.128.1 18-May-2008  yamt sync with head.
 1.5.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.5.8.1 14-Jun-2001  uch file tx3912videoreg.h was added on branch nathanw_sa on 2001-06-14 11:09:56 +0000
 1.7 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.6 14-Jun-2001  uch branches: 1.6.8; 1.6.126; 1.6.128; 1.6.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.5 08-May-2000  uch branches: 1.5.6; 1.5.8;
implement 8bpp CLUT of Plum2, TX3912 video module.
 1.4 24-Apr-2000  uch code clean up.
 1.3 06-Jan-2000  uch add debug draw routines.
 1.2 12-Dec-1999  uch branches: 1.2.2;
code clean up.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.6.2 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.5.6.1 08-May-2000  bouyer file tx3912videovar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:14 +0000
 1.6.130.1 16-May-2008  yamt sync with head.
 1.6.128.1 18-May-2008  yamt sync with head.
 1.6.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.6.8.1 14-Jun-2001  uch file tx3912videovar.h was added on branch nathanw_sa on 2001-06-14 11:09:56 +0000
 1.18 10-Sep-2023  andvar rewrite old style tx39biu_dump function declaration
and constify char *rowsel[], char *colsel[].

fixes TX39BIU_DEBUG enabled build.
 1.17 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.16 24-Apr-2021  thorpej branches: 1.16.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.15 27-Oct-2012  chs branches: 1.15.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.14 14-Mar-2009  dsl branches: 1.14.12; 1.14.22;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.13 28-Apr-2008  martin branches: 1.13.8; 1.13.14;
Remove clause 3 and 4 from TNF licenses
 1.12 24-Jan-2007  hubertf branches: 1.12.44; 1.12.46; 1.12.48;
Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

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

Thanks to martin@ for the input on testing.
 1.11 07-Mar-2006  he branches: 1.11.10;
Remove unused ISSET macro.
 1.10 11-Dec-2005  christos branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10;
merge ktrace-lwp.
 1.9 15-Jul-2003  lukem branches: 1.9.16;
__KERNEL_RCSID()
 1.8 02-Oct-2002  thorpej branches: 1.8.6;
Use CFATTACH_DECL().
 1.7 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.6 29-Jan-2002  uch clean up debug print and configuration.
 1.5 14-Jun-2001  uch branches: 1.5.2; 1.5.8;
ANSI KNF. and change my copyright to TNF copyright.
 1.4 22-Oct-2000  uch branches: 1.4.2; 1.4.4;
new I/O modules framework for TX based system.
 1.3 26-Dec-1999  uch branches: 1.3.2;
clean up.
 1.2 12-Dec-1999  uch update comment.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.3.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.2.1 26-Dec-1999  wrstuden file tx39biu.c was added on branch wrstuden-devbsize on 1999-12-27 18:32:11 +0000
 1.4.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.2.2 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.2.1 22-Oct-2000  bouyer file tx39biu.c was added on branch thorpej_scsipi on 2000-11-20 20:47:15 +0000
 1.5.8.3 18-Oct-2002  nathanw Catch up to -current.
 1.5.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.5.8.1 14-Jun-2001  nathanw file tx39biu.c was added on branch nathanw_sa on 2002-02-28 04:10:01 +0000
 1.5.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.5.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.8.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.6.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.2 26-Feb-2007  yamt sync with head.
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.10.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.10.8.1 13-Mar-2006  yamt sync with head.
 1.10.6.1 22-Apr-2006  simonb Sync with head.
 1.10.4.1 09-Sep-2006  rpaulo sync with head
 1.11.10.1 01-Feb-2007  ad Sync with head.
 1.12.48.2 04-May-2009  yamt sync with head.
 1.12.48.1 16-May-2008  yamt sync with head.
 1.12.46.1 18-May-2008  yamt sync with head.
 1.12.44.1 02-Jun-2008  mjf Sync with HEAD.
 1.13.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.14.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.14.12.1 30-Oct-2012  yamt sync with head
 1.15.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.16.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 30-Jul-2005  nakayama Add LCD and battery control support for Sharp Telios series.
 1.3 14-Jun-2001  uch branches: 1.3.8; 1.3.24; 1.3.38; 1.3.40;
ANSI KNF. and change my copyright to TNF copyright.
 1.2 31-Dec-1999  uch branches: 1.2.6; 1.2.8;
Fix MCS3 address.
 1.1 20-Nov-1999  uch branches: 1.1.2;
Toshiba TX3912/3922 internal modules.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.6.2 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.2.6.1 31-Dec-1999  bouyer file tx39biureg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:15 +0000
 1.3.40.1 21-Jun-2006  yamt sync with head.
 1.3.38.1 04-Aug-2005  tron Pull up revision 1.4 (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.3.24.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.3.8.1 14-Jun-2001  uch file tx39biureg.h was added on branch nathanw_sa on 2001-06-14 11:09:56 +0000
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 11-Dec-2005  christos branches: 1.4.74; 1.4.76; 1.4.78;
merge ktrace-lwp.
 1.3 30-Jul-2005  nakayama Add LCD and battery control support for Sharp Telios series.
 1.2 14-Jun-2001  uch branches: 1.2.8; 1.2.24; 1.2.38; 1.2.40;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 20-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10;
Toshiba TX3912/3922 internal modules.
 1.1.10.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.8.2 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.1.8.1 20-Nov-1999  bouyer file tx39biuvar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:16 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.40.1 21-Jun-2006  yamt sync with head.
 1.2.38.1 04-Aug-2005  tron Pull up revision 1.3 (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.2.24.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.2.8.1 14-Jun-2001  uch file tx39biuvar.h was added on branch nathanw_sa on 2001-06-14 11:09:56 +0000
 1.4.78.1 16-May-2008  yamt sync with head.
 1.4.76.1 18-May-2008  yamt sync with head.
 1.4.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.27 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.26 08-Aug-2011  matt branches: 1.26.2; 1.26.12;
Global inlines are not allowed.
 1.25 16-Mar-2011  tsutsui Fix device_t/softc confusion.
(currently harmless since they are not split yet)
 1.24 16-Mar-2011  tsutsui Some KNF.
 1.23 28-Apr-2008  martin branches: 1.23.22; 1.23.28;
Remove clause 3 and 4 from TNF licenses
 1.22 04-Jan-2008  ad branches: 1.22.6; 1.22.8; 1.22.10;
Need sys/device.h
 1.21 16-Sep-2006  gdamore branches: 1.21.30; 1.21.36; 1.21.44;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.20 16-Jun-2006  gdamore branches: 1.20.4;
Rename local variable "time" to "mytime" to avoid a conflict with a kernel
global. Makes it compile again. :-)
 1.19 24-Dec-2005  perry branches: 1.19.4; 1.19.8; 1.19.14; 1.19.16;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.18 11-Dec-2005  christos merge ktrace-lwp.
 1.17 07-Jun-2005  he branches: 1.17.2;
Rename cpuspeed to cpu_speed as parammeter in tx39clock_cpuspeed() to
avoid shadowing warning.
 1.16 30-Dec-2003  shin initialize sc_epoch and RTC properly when reboot/resume.
Addresses PR/20091.
 1.15 26-Sep-2003  simonb Avoid multi-line strings.
 1.14 15-Jul-2003  lukem __KERNEL_RCSID()
 1.13 02-Oct-2002  thorpej branches: 1.13.6;
Use CFATTACH_DECL().
 1.12 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.11 29-Jan-2002  uch branches: 1.11.10;
clean up debug print and configuration.
 1.10 18-Sep-2001  uch branches: 1.10.4;
remove dev/dec/clockvar.h from hpcmips source tree.
 1.9 14-Jun-2001  uch branches: 1.9.2; 1.9.4;
ANSI KNF. and change my copyright to TNF copyright.
 1.8 22-Oct-2000  uch branches: 1.8.2; 1.8.4;
new I/O modules framework for TX based system.
 1.7 01-Oct-2000  uch don't reset RTC in tx39clock_set()
 1.6 28-Sep-2000  uch fix tx39clock_alarm_refill bug.
 1.5 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.4 23-Dec-1999  uch branches: 1.4.2;
Fix tx39clock_get bug.
 1.3 22-Dec-1999  uch Implement TX3912/22 clock/timer module.
 1.2 07-Dec-1999  uch clean up boot message.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.4.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.2.1 23-Dec-1999  wrstuden file tx39clock.c was added on branch wrstuden-devbsize on 1999-12-27 18:32:11 +0000
 1.8.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.8.2.2 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.8.2.1 22-Oct-2000  bouyer file tx39clock.c was added on branch thorpej_scsipi on 2000-11-20 20:47:17 +0000
 1.9.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.9.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.9.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.9.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.10.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.10.4.1 18-Sep-2001  nathanw file tx39clock.c was added on branch nathanw_sa on 2002-02-28 04:10:01 +0000
 1.11.10.1 12-Mar-2004  jmc Pullup rev 1.16 (requested by shin in ticket #1588)

Initialize sc_epoch and RTC properly when reboot/resume.
 1.13.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.13.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.6.1 03-Aug-2004  skrll Sync with HEAD
 1.17.2.3 21-Jan-2008  yamt sync with head
 1.17.2.2 30-Dec-2006  yamt sync with head.
 1.17.2.1 21-Jun-2006  yamt sync with head.
 1.19.16.1 13-Jul-2006  gdamore Merge from HEAD.
 1.19.14.1 19-Jun-2006  chap Sync with head.
 1.19.8.1 26-Jun-2006  yamt sync with head.
 1.19.4.1 09-Sep-2006  rpaulo sync with head
 1.20.4.1 18-Nov-2006  ad Sync with head.
 1.21.44.1 08-Jan-2008  bouyer Sync with HEAD
 1.21.36.1 18-Feb-2008  mjf Sync with HEAD.
 1.21.30.1 09-Jan-2008  matt sync with HEAD
 1.22.10.1 16-May-2008  yamt sync with head.
 1.22.8.1 18-May-2008  yamt sync with head.
 1.22.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.23.28.1 06-Jun-2011  jruoho Sync with HEAD.
 1.23.22.1 21-Apr-2011  rmind sync with head
 1.26.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.26.2.1 30-Oct-2012  yamt sync with head
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 28-Sep-2000  uch branches: 1.2.2; 1.2.128; 1.2.130; 1.2.132;
fix tx39clock_alarm_refill bug.
 1.1 20-Nov-1999  uch branches: 1.1.2;
Toshiba TX3912/3922 internal modules.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.132.1 16-May-2008  yamt sync with head.
 1.2.130.1 18-May-2008  yamt sync with head.
 1.2.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.2.2 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.2.2.1 28-Sep-2000  bouyer file tx39clockreg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:18 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 28-Sep-2000  uch branches: 1.2.2; 1.2.128; 1.2.130; 1.2.132;
fix tx39clock_alarm_refill bug.
 1.1 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.2.132.1 16-May-2008  yamt sync with head.
 1.2.130.1 18-May-2008  yamt sync with head.
 1.2.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.2.2 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.2.2.1 28-Sep-2000  bouyer file tx39clockvar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:18 +0000
 1.38 21-Jul-2022  andvar fix typos in comments and log messages, mainly s/intrrupt/interrupt/.
 1.37 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.36 10-Nov-2019  chs branches: 1.36.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.35 11-Jul-2015  kamil branches: 1.35.18;
Improve spelling: regsiter -> register

This change is non-functional.

Approved by <riastradh>, <pgoyette>
 1.34 21-Sep-2014  christos branches: 1.34.2;
fix leak.
 1.33 26-Mar-2014  christos branches: 1.33.4;
- kill sprintf
- fix unused
 1.32 27-Oct-2012  chs branches: 1.32.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.31 18-Mar-2011  tsutsui branches: 1.31.4; 1.31.14;
Use vaddr_t for pc instead of uint32_t.
 1.30 26-Feb-2011  tsutsui Mechanically adapt to new interrupt/spl framework. Untested.
 1.29 26-Feb-2011  tsutsui Explicitly include <mips/locore.h> for softint_process().
 1.28 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.27 20-Dec-2010  matt branches: 1.27.2; 1.27.4;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.26 15-Nov-2010  uebayasi struct cpu_info * deref needs sys/cpu.h.
 1.25 28-Apr-2008  martin branches: 1.25.18; 1.25.22;
Remove clause 3 and 4 from TNF licenses
 1.24 04-Apr-2008  tsutsui branches: 1.24.2; 1.24.4;
Account ci_idepth in VR_INTR() and TX_INTR, rather than cpu_intr() in
hpcmips/interrupt.c. The latter one is used only on kernels configured for
multiple CPUs (i.e. kernels which have both options VR41XX and TX39XX).

Closes PR port-hpcmips/38139 from Risto Sainio.
 1.23 03-Dec-2007  ad branches: 1.23.14;
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.22 11-Dec-2005  christos branches: 1.22.30; 1.22.48; 1.22.50; 1.22.56;
merge ktrace-lwp.
 1.21 15-Jul-2003  lukem branches: 1.21.16;
__KERNEL_RCSID()
 1.20 02-Oct-2002  thorpej branches: 1.20.6;
Use CFATTACH_DECL().
 1.19 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.18 15-May-2002  uch obsolete intrcnt[].
 1.17 03-May-2002  takemura Fixed debug print.
 1.16 29-Jan-2002  uch clean up debug print and configuration.
 1.15 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.14 23-Sep-2001  uch branches: 1.14.4;
improve interrupt response.
 1.13 18-Sep-2001  uch remove dev/dec/clockvar.h from hpcmips source tree.
 1.12 14-Jun-2001  uch branches: 1.12.2; 1.12.4;
ANSI KNF. and change my copyright to TNF copyright.
 1.11 09-May-2001  shin don't define TAILQ_EMPTY here. TAILQ_EMPTY is defined in <sys/queue.h>.
 1.10 22-Oct-2000  uch branches: 1.10.2; 1.10.4;
new I/O modules framework for TX based system.
 1.9 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.8 20-Jul-2000  deberg don't define TAILQ_FOREACH, it's in sys/queue.h now.
 1.7 11-Apr-2000  uch branches: 1.7.4;
sync with new mips trap.c
 1.6 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.5 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.4 23-Dec-1999  uch branches: 1.4.2;
coding style clean up.
 1.3 22-Dec-1999  uch Implement TX3912/22 clock/timer module.
 1.2 07-Dec-1999  uch TX3922, tx39_poll_intr uses stop timer interrupt as sampling interrupt.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.4.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.2.1 23-Dec-1999  wrstuden file tx39icu.c was added on branch wrstuden-devbsize on 1999-12-27 18:32:11 +0000
 1.7.4.1 09-May-2001  he Pull up revisions 1.8, 1.11 (requested by shin):
Remove local queue macro definitions, they're in <sys/queue.h>
now.
 1.10.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.10.2.2 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.2.1 22-Oct-2000  bouyer file tx39icu.c was added on branch thorpej_scsipi on 2000-11-20 20:47:19 +0000
 1.12.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.12.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.12.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 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.14.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.14.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.14.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.14.4.2 11-Jan-2002  nathanw More catchup.
 1.14.4.1 23-Sep-2001  nathanw file tx39icu.c was added on branch nathanw_sa on 2002-01-11 23:38:25 +0000
 1.20.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.20.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.20.6.1 03-Aug-2004  skrll Sync with HEAD
 1.21.16.1 07-Dec-2007  yamt sync with head
 1.22.56.1 08-Dec-2007  mjf Sync with HEAD.
 1.22.50.1 09-Jan-2008  matt sync with HEAD
 1.22.48.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.22.30.1 03-Dec-2007  ad Sync with HEAD.
 1.23.14.1 02-Jun-2008  mjf Sync with HEAD.
 1.24.4.1 16-May-2008  yamt sync with head.
 1.24.2.1 18-May-2008  yamt sync with head.
 1.25.22.2 21-Apr-2011  rmind sync with head
 1.25.22.1 05-Mar-2011  rmind sync with head
 1.25.18.1 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.27.4.1 05-Mar-2011  bouyer Sync with HEAD
 1.27.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.31.14.3 03-Dec-2017  jdolecek update from HEAD
 1.31.14.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.31.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.31.4.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.31.4.1 30-Oct-2012  yamt sync with head
 1.32.2.1 18-May-2014  rmind sync with head
 1.33.4.1 10-Nov-2014  snj Pull up following revision(s) (requested by maxv in ticket #195):
sys/arch/arm/iomd/iomd_irqhandler.c: revision 1.21
sys/arch/arm/ofw/ofw_irqhandler.c: revision 1.21
sys/arch/atari/atari/intr.c: revision 1.24-1.25
sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.14
sys/arch/hpcmips/tx/tx39icu.c: revision 1.34
sys/arch/shark/isa/isa_irqhandler.c: revision 1.27
sys/arch/sparc/sparc/machdep.c: revision 1.327
sys/arch/sparc64/dev/psycho.c: revision 1.119
sys/arch/sparc64/dev/schizo.c: revision 1.32
sys/arch/sparc64/sparc64/machdep.c: revision 1.279
sys/arch/sun68k/sun68k/bus.c: revision 1.22
sys/arch/x86/x86/ipmi.c: revision 1.58
sys/arch/xen/xen/privcmd.c: revision 1.46-1.49
Fix several memory leaks.
 1.34.2.1 22-Sep-2015  skrll Sync with HEAD
 1.35.18.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.36.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 14-Jun-2001  uch branches: 1.4.8; 1.4.126; 1.4.128; 1.4.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.3 04-Oct-2000  uch branches: 1.3.2; 1.3.4;
experimental power management support for TX3912/TX3922 based model.
 1.2 26-Dec-1999  uch branches: 1.2.2;
totaly rewritten.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.2.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.1 26-Dec-1999  wrstuden file tx39icureg.h was added on branch wrstuden-devbsize on 1999-12-27 18:32:12 +0000
 1.3.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.2.2 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.3.2.1 04-Oct-2000  bouyer file tx39icureg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:20 +0000
 1.4.130.1 16-May-2008  yamt sync with head.
 1.4.128.1 18-May-2008  yamt sync with head.
 1.4.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.4.8.1 14-Jun-2001  uch file tx39icureg.h was added on branch nathanw_sa on 2001-06-14 11:09:56 +0000
 1.24 10-Sep-2023  andvar nix whitespace before semicolon.
 1.23 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.22 06-Jun-2010  dholland branches: 1.22.8; 1.22.18;
Add missing backslash in macro definition in apparently-disused #if branch.
(has been this way since 2001)
From Henning Petersen in PR 42525.
 1.21 28-Apr-2008  martin branches: 1.21.20; 1.21.22;
Remove clause 3 and 4 from TNF licenses
 1.20 08-Mar-2006  christos branches: 1.20.64; 1.20.66; 1.20.68;
rename ISSET to ISBITSET.
 1.19 07-Mar-2006  he Conditionally undefine ISSET before defining it locally with
different expansion (tests a given bit number).
 1.18 11-Dec-2005  christos branches: 1.18.4; 1.18.6; 1.18.8; 1.18.10;
merge ktrace-lwp.
 1.17 01-Jul-2004  uch branches: 1.17.12;
<space>,<tab> clean up.
 1.16 15-Jul-2003  lukem __KERNEL_RCSID()
 1.15 02-Oct-2002  thorpej branches: 1.15.6;
Use CFATTACH_DECL().
 1.14 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.13 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.12 06-Mar-2002  uch make this compile with DIAGNOSTIC
 1.11 29-Jan-2002  uch clean up debug print and configuration.
 1.10 28-Jan-2002  uch make this compile without DIAGNOSTIC.
 1.9 14-Jun-2001  uch branches: 1.9.2; 1.9.8;
ANSI KNF. and change my copyright to TNF copyright.
 1.8 13-Jun-2001  uch (TX39) switch from TX local I/O manager to hpcio
 1.7 22-Oct-2000  uch branches: 1.7.2; 1.7.4;
new I/O modules framework for TX based system.
 1.6 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.5 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.4 09-Jan-2000  uch fix TX39IO port debug routine bug. (TX3912)
 1.3 23-Dec-1999  uch branches: 1.3.2;
Add TX39IO_MFIOOUTPORT_OFF option (debugging use)
 1.2 07-Dec-1999  uch clean up boot message.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.3.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.2.1 23-Dec-1999  wrstuden file tx39io.c was added on branch wrstuden-devbsize on 1999-12-27 18:32:12 +0000
 1.7.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.7.2.2 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.7.2.1 22-Oct-2000  bouyer file tx39io.c was added on branch thorpej_scsipi on 2000-11-20 20:47:21 +0000
 1.9.8.4 18-Oct-2002  nathanw Catch up to -current.
 1.9.8.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.9.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.9.8.1 14-Jun-2001  nathanw file tx39io.c was added on branch nathanw_sa on 2002-02-28 04:10:02 +0000
 1.9.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.9.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.9.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.15.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.15.6.1 03-Aug-2004  skrll Sync with HEAD
 1.17.12.1 21-Jun-2006  yamt sync with head.
 1.18.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.18.8.1 13-Mar-2006  yamt sync with head.
 1.18.6.1 22-Apr-2006  simonb Sync with head.
 1.18.4.1 09-Sep-2006  rpaulo sync with head
 1.20.68.2 11-Aug-2010  yamt sync with head.
 1.20.68.1 16-May-2008  yamt sync with head.
 1.20.66.1 18-May-2008  yamt sync with head.
 1.20.64.1 02-Jun-2008  mjf Sync with HEAD.
 1.21.22.1 03-Jul-2010  rmind sync with head
 1.21.20.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.22.18.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.22.8.1 30-Oct-2012  yamt sync with head
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.3 22-Oct-2000  uch branches: 1.3.2; 1.3.26;
new I/O modules framework for TX based system.
 1.2 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.1 20-Nov-1999  uch branches: 1.1.2;
Toshiba TX3912/3922 internal modules.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.26.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.2 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.3.2.1 22-Oct-2000  bouyer file tx39ioreg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:22 +0000
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.5 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.4 28-Apr-2008  martin branches: 1.4.34; 1.4.44;
Remove clause 3 and 4 from TNF licenses
 1.3 13-Jun-2001  uch branches: 1.3.8; 1.3.126; 1.3.128; 1.3.130;
(TX39) switch from TX local I/O manager to hpcio
 1.2 22-Oct-2000  uch branches: 1.2.2; 1.2.4;
new I/O modules framework for TX based system.
 1.1 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.2.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.2.2 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.2.2.1 22-Oct-2000  bouyer file tx39iovar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:23 +0000
 1.3.130.1 16-May-2008  yamt sync with head.
 1.3.128.1 18-May-2008  yamt sync with head.
 1.3.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.8.2 13-Jun-2001  uch (TX39) switch from TX local I/O manager to hpcio
 1.3.8.1 13-Jun-2001  uch file tx39iovar.h was added on branch nathanw_sa on 2001-06-13 19:09:09 +0000
 1.4.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.34.1 30-Oct-2012  yamt sync with head
 1.11 10-Sep-2023  andvar tx39ir(4): rewrite code to use DPRINTF definition from debug.h.
custom one had wrong vrpiu_debug variable in if block (likely copy pasta)
debug code also calls dbg_bitmask_print(), thus was failing to build.
remove unneeded #undef TX39IRDEBUG.

Fixes TX39IRDEBUG build (tested with hpcmips TX3912 kernel config).
 1.10 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.9 28-Apr-2008  martin branches: 1.9.34; 1.9.44;
Remove clause 3 and 4 from TNF licenses
 1.8 11-Dec-2005  christos branches: 1.8.74; 1.8.76; 1.8.78;
merge ktrace-lwp.
 1.7 15-Jul-2003  lukem __KERNEL_RCSID()
 1.6 02-Oct-2002  thorpej branches: 1.6.6;
Use CFATTACH_DECL().
 1.5 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.4 29-Jan-2002  uch clean up debug print and configuration.
 1.3 02-Aug-2001  shin branches: 1.3.6;
make this file compilable without TX39IRDEBUG.
 1.2 14-Jun-2001  uch branches: 1.2.2;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 13-Jan-2000  uch branches: 1.1.6; 1.1.8;
TX39 IR module (connected to TX39 UARTB module)
 1.1.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.6.2 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.1.6.1 13-Jan-2000  bouyer file tx39ir.c was added on branch thorpej_scsipi on 2000-11-20 20:47:24 +0000
 1.2.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.2.2.1 03-Aug-2001  lukem update to -current
 1.3.6.3 18-Oct-2002  nathanw Catch up to -current.
 1.3.6.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.6.1 02-Aug-2001  nathanw file tx39ir.c was added on branch nathanw_sa on 2002-02-28 04:10:02 +0000
 1.6.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.6.1 03-Aug-2004  skrll Sync with HEAD
 1.8.78.1 16-May-2008  yamt sync with head.
 1.8.76.1 18-May-2008  yamt sync with head.
 1.8.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.9.34.1 30-Oct-2012  yamt sync with head
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 14-Jun-2001  uch branches: 1.2.8; 1.2.126; 1.2.128; 1.2.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 13-Jan-2000  uch branches: 1.1.6; 1.1.8;
TX39 IR module (connected to TX39 UARTB module)
 1.1.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.6.2 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.1.6.1 13-Jan-2000  bouyer file tx39irreg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:25 +0000
 1.2.130.1 16-May-2008  yamt sync with head.
 1.2.128.1 18-May-2008  yamt sync with head.
 1.2.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.2.8.1 14-Jun-2001  uch file tx39irreg.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 28-Apr-2008  martin branches: 1.3.34; 1.3.44;
Remove clause 3 and 4 from TNF licenses
 1.2 14-Jun-2001  uch branches: 1.2.8; 1.2.126; 1.2.128; 1.2.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 13-Jan-2000  uch branches: 1.1.6; 1.1.8;
TX39 IR module (connected to TX39 UARTB module)
 1.1.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.6.2 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.1.6.1 13-Jan-2000  bouyer file tx39irvar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:25 +0000
 1.2.130.1 16-May-2008  yamt sync with head.
 1.2.128.1 18-May-2008  yamt sync with head.
 1.2.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.2.8.1 14-Jun-2001  uch file tx39irvar.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.3.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.34.1 30-Oct-2012  yamt sync with head
 1.21 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.20 12-Feb-2012  matt branches: 1.20.6;
Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.19 28-Apr-2008  martin branches: 1.19.34; 1.19.38;
Remove clause 3 and 4 from TNF licenses
 1.18 26-Jan-2008  tsutsui branches: 1.18.6; 1.18.8; 1.18.10;
Make these TX39xx stuff compile without "-mips2" option.
TX39xx has a sync instruction, but it doesn't support all mips2 instructions.
 1.17 24-Mar-2006  tsutsui branches: 1.17.12; 1.17.28; 1.17.38; 1.17.44;
Remove unused #define TX39POWERDEBUG. Closes PR port-hpcmips/30039.
 1.16 07-Mar-2006  he branches: 1.16.2;
Remove local ISSET macro definition.
 1.15 24-Dec-2005  perry branches: 1.15.4; 1.15.6; 1.15.8; 1.15.10;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.14 11-Dec-2005  christos merge ktrace-lwp.
 1.13 15-Jul-2003  lukem branches: 1.13.16;
__KERNEL_RCSID()
 1.12 02-Oct-2002  thorpej branches: 1.12.6;
Use CFATTACH_DECL().
 1.11 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.10 29-Jan-2002  uch clean up debug print and configuration.
 1.9 14-Jun-2001  uch branches: 1.9.2; 1.9.8;
ANSI KNF. and change my copyright to TNF copyright.
 1.8 22-Oct-2000  uch branches: 1.8.2; 1.8.4;
new I/O modules framework for TX based system.
 1.7 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.6 22-May-2000  uch debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.5 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.4 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.3 12-Dec-1999  uch branches: 1.3.2;
set stop timer interval.
 1.2 07-Dec-1999  uch TX3922, tx39_poll_intr uses stop timer interrupt as sampling interrupt.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.3.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.8.2.2 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.8.2.1 22-Oct-2000  bouyer file tx39power.c was added on branch thorpej_scsipi on 2000-11-20 20:47:26 +0000
 1.9.8.3 18-Oct-2002  nathanw Catch up to -current.
 1.9.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.9.8.1 14-Jun-2001  nathanw file tx39power.c was added on branch nathanw_sa on 2002-02-28 04:10:02 +0000
 1.9.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.9.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.12.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1 03-Aug-2004  skrll Sync with HEAD
 1.13.16.2 04-Feb-2008  yamt sync with head.
 1.13.16.1 21-Jun-2006  yamt sync with head.
 1.15.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.15.8.2 01-Apr-2006  yamt sync with head.
 1.15.8.1 13-Mar-2006  yamt sync with head.
 1.15.6.1 22-Apr-2006  simonb Sync with head.
 1.15.4.1 09-Sep-2006  rpaulo sync with head
 1.16.2.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.17.44.1 18-Feb-2008  mjf Sync with HEAD.
 1.17.38.1 23-Mar-2008  matt sync with HEAD
 1.17.28.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.17.12.1 22-Feb-2008  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1065):
sys/arch/mips/mips/locore_mips1.S: revision 1.64
sys/arch/hpcmips/conf/TX3912: revision 1.68
sys/arch/hpcmips/conf/TX3922: revision 1.80
sys/arch/hpcmips/conf/GENERIC: revision 1.199
sys/arch/hpcmips/tx/tx39power.c: revision 1.18
sys/arch/mips/mips/cache_tx39.c: revision 1.6
Make these TX39xx stuff compile without "-mips2" option.
TX39xx has a sync instruction, but it doesn't support all mips2 instructions.
Add "-mdivide-breaks" to CPUFLAGS in GENERIC, and
use "-march=r3900" for CPUFLAGS in TX3912 and TX3922.
 1.18.10.1 16-May-2008  yamt sync with head.
 1.18.8.1 18-May-2008  yamt sync with head.
 1.18.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.19.38.1 18-Feb-2012  mrg merge to -current.
 1.19.34.2 30-Oct-2012  yamt sync with head
 1.19.34.1 17-Apr-2012  yamt sync with head
 1.20.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 14-Jun-2001  uch branches: 1.4.8; 1.4.126; 1.4.128; 1.4.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.3 22-Oct-2000  uch branches: 1.3.2; 1.3.4;
new I/O modules framework for TX based system.
 1.2 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.1 20-Nov-1999  uch branches: 1.1.2;
Toshiba TX3912/3922 internal modules.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.2.2 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.3.2.1 22-Oct-2000  bouyer file tx39powerreg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:26 +0000
 1.4.130.1 16-May-2008  yamt sync with head.
 1.4.128.1 18-May-2008  yamt sync with head.
 1.4.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.4.8.1 14-Jun-2001  uch file tx39powerreg.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 14-Jun-2001  uch branches: 1.2.8; 1.2.126; 1.2.128; 1.2.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 20-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10;
Toshiba TX3912/3922 internal modules.
 1.1.10.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.8.2 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.1.8.1 20-Nov-1999  bouyer file tx39reg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:26 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.130.1 16-May-2008  yamt sync with head.
 1.2.128.1 18-May-2008  yamt sync with head.
 1.2.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.2.8.1 14-Jun-2001  uch file tx39reg.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.24 10-Sep-2023  andvar rewrite tx39sib debug code to use debug.h DPRINTF definition.
also debug code uses dbg_bitmask_print(), thus build fails without the header.

fixes TX39SIBDEBUG enabled build.
 1.23 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.22 24-Apr-2021  thorpej branches: 1.22.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.21 27-Oct-2012  chs branches: 1.21.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.20 28-Apr-2008  martin branches: 1.20.34; 1.20.44;
Remove clause 3 and 4 from TNF licenses
 1.19 24-Dec-2005  perry branches: 1.19.74; 1.19.76; 1.19.78;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.18 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.17 11-Dec-2005  christos merge ktrace-lwp.
 1.16 26-Aug-2005  drochner s/locdesc_t/int/g
 1.15 30-Jun-2005  drochner branches: 1.15.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.14 15-Jul-2003  lukem __KERNEL_RCSID()
 1.13 01-Jan-2003  thorpej branches: 1.13.2;
Use aprint_normal() for cfprint routines.
 1.12 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.11 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.10 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.9 29-Jan-2002  uch clean up debug print and configuration.
 1.8 14-Jun-2001  uch branches: 1.8.2; 1.8.8;
ANSI KNF. and change my copyright to TNF copyright.
 1.7 22-Oct-2000  uch branches: 1.7.2; 1.7.4;
new I/O modules framework for TX based system.
 1.6 12-Mar-2000  uch change debug message.
 1.5 04-Mar-2000  uch adjust SIBSCLK to 9.216MHz (TX3922)
 1.4 03-Mar-2000  uch add device file interface for UCB1200
 1.3 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.2 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.1 08-Jan-2000  uch TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
 1.7.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.7.2.2 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.7.2.1 22-Oct-2000  bouyer file tx39sib.c was added on branch thorpej_scsipi on 2000-11-20 20:47:27 +0000
 1.8.8.4 03-Jan-2003  thorpej Sync with HEAD.
 1.8.8.3 18-Oct-2002  nathanw Catch up to -current.
 1.8.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.8.8.1 14-Jun-2001  nathanw file tx39sib.c was added on branch nathanw_sa on 2002-02-28 04:10:02 +0000
 1.8.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.8.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.13.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.13.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1 03-Aug-2004  skrll Sync with HEAD
 1.15.2.1 21-Jun-2006  yamt sync with head.
 1.19.78.1 16-May-2008  yamt sync with head.
 1.19.76.1 18-May-2008  yamt sync with head.
 1.19.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.20.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.20.34.1 30-Oct-2012  yamt sync with head
 1.21.52.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.21.52.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.21.52.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.21.52.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.21.52.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.21.52.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.22.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 14-Jun-2001  uch branches: 1.3.8; 1.3.126; 1.3.128; 1.3.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.2 03-Mar-2000  uch branches: 1.2.6; 1.2.8;
add device file interface for UCB1200
 1.1 08-Jan-2000  uch TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
 1.2.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.6.2 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.2.6.1 03-Mar-2000  bouyer file tx39sibreg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:32 +0000
 1.3.130.1 16-May-2008  yamt sync with head.
 1.3.128.1 18-May-2008  yamt sync with head.
 1.3.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.3.8.1 14-Jun-2001  uch file tx39sibreg.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.5 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.4 28-Apr-2008  martin branches: 1.4.34; 1.4.44;
Remove clause 3 and 4 from TNF licenses
 1.3 14-Jun-2001  uch branches: 1.3.8; 1.3.126; 1.3.128; 1.3.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.2 12-Jan-2000  uch branches: 1.2.6; 1.2.8;
add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.1 08-Jan-2000  uch TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
 1.2.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.6.2 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.2.6.1 12-Jan-2000  bouyer file tx39sibvar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:33 +0000
 1.3.130.1 16-May-2008  yamt sync with head.
 1.3.128.1 18-May-2008  yamt sync with head.
 1.3.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.3.8.1 14-Jun-2001  uch file tx39sibvar.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.4.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.34.1 30-Oct-2012  yamt sync with head
 1.7 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.6 24-Apr-2021  thorpej branches: 1.6.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.5 27-Oct-2012  chs branches: 1.5.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.4 11-Dec-2005  christos branches: 1.4.112; 1.4.122;
merge ktrace-lwp.
 1.3 26-Aug-2005  drochner branches: 1.3.6;
s/locdesc_t/int/g
 1.2 30-Jun-2005  drochner branches: 1.2.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.1 04-May-2005  hamajima branches: 1.1.2; 1.1.4;
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.4.2 16-May-2005  riz Pull up revision 1.1 (requested by hamajima in ticket #1500):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.4.1 04-May-2005  riz file tx39spi.c was added on branch netbsd-2 on 2005-05-16 21:05:26 +0000
 1.1.2.2 07-May-2005  tron Pull up revision 1.1 (requested by hamajima in ticket #247):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.2.1 04-May-2005  tron file tx39spi.c was added on branch netbsd-3 on 2005-05-07 11:34:57 +0000
 1.2.2.1 21-Jun-2006  yamt sync with head.
 1.3.6.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.6.1 26-Aug-2005  skrll file tx39spi.c was added on branch ktrace-lwp on 2005-11-10 13:56:27 +0000
 1.4.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.112.1 30-Oct-2012  yamt sync with head
 1.5.52.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.5.52.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.5.52.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.5.52.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.5.52.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.5.52.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.6.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 14-Jun-2001  uch branches: 1.2.8; 1.2.126; 1.2.128; 1.2.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 20-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10;
Toshiba TX3912/3922 internal modules.
 1.1.10.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.8.2 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.1.8.1 20-Nov-1999  bouyer file tx39spireg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:33 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.130.1 16-May-2008  yamt sync with head.
 1.2.128.1 18-May-2008  yamt sync with head.
 1.2.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.2.8.1 14-Jun-2001  uch file tx39spireg.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 04-May-2005  hamajima branches: 1.1.2; 1.1.4; 1.1.12;
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.12.2 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.12.1 04-May-2005  skrll file tx39spivar.h was added on branch ktrace-lwp on 2005-11-10 13:56:27 +0000
 1.1.4.2 16-May-2005  riz Pull up revision 1.1 (requested by hamajima in ticket #1500):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.4.1 04-May-2005  riz file tx39spivar.h was added on branch netbsd-2 on 2005-05-16 21:05:26 +0000
 1.1.2.2 07-May-2005  tron Pull up revision 1.1 (requested by hamajima in ticket #247):
OptPoint on Telios HC-AJ2 (and maybe AJ1) support
 1.1.2.1 04-May-2005  tron file tx39spivar.h was added on branch netbsd-3 on 2005-05-07 11:34:57 +0000
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 28-Sep-2000  uch branches: 1.4.2; 1.4.128; 1.4.130; 1.4.132;
fix tx39clock_alarm_refill bug.
 1.3 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.2 22-Dec-1999  uch branches: 1.2.2;
Implement TX3912/22 clock/timer module.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.2.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.1 22-Dec-1999  wrstuden file tx39timerreg.h was added on branch wrstuden-devbsize on 1999-12-27 18:32:13 +0000
 1.4.132.1 16-May-2008  yamt sync with head.
 1.4.130.1 18-May-2008  yamt sync with head.
 1.4.128.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.2.2 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.2.1 28-Sep-2000  bouyer file tx39timerreg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:34 +0000
 1.17 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.16 24-Apr-2021  thorpej branches: 1.16.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.15 27-Oct-2012  chs branches: 1.15.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.14 28-Apr-2008  martin branches: 1.14.34; 1.14.44;
Remove clause 3 and 4 from TNF licenses
 1.13 11-Dec-2005  christos branches: 1.13.74; 1.13.76; 1.13.78;
merge ktrace-lwp.
 1.12 26-Aug-2005  drochner s/locdesc_t/int/g
 1.11 30-Jun-2005  drochner branches: 1.11.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.10 15-Jul-2003  lukem __KERNEL_RCSID()
 1.9 01-Jan-2003  thorpej branches: 1.9.2;
Use aprint_normal() for cfprint routines.
 1.8 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.7 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.6 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.5 29-Jan-2002  uch clean up debug print and configuration.
 1.4 22-Oct-2000  uch branches: 1.4.2; 1.4.6; 1.4.10;
new I/O modules framework for TX based system.
 1.3 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.2 07-Dec-1999  uch branches: 1.2.2;
clean up boot message.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.10.3 03-Jan-2003  thorpej Sync with HEAD.
 1.4.10.2 18-Oct-2002  nathanw Catch up to -current.
 1.4.10.1 28-Feb-2002  nathanw Catch up to -current.
 1.4.6.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.4.6.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.4.2.2 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.2.1 22-Oct-2000  bouyer file tx39uart.c was added on branch thorpej_scsipi on 2000-11-20 20:47:35 +0000
 1.9.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.9.2.1 03-Aug-2004  skrll Sync with HEAD
 1.11.2.1 21-Jun-2006  yamt sync with head.
 1.13.78.1 16-May-2008  yamt sync with head.
 1.13.76.1 18-May-2008  yamt sync with head.
 1.13.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.14.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.14.34.1 30-Oct-2012  yamt sync with head
 1.15.52.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.15.52.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.15.52.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.15.52.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.15.52.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.15.52.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.16.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 14-Jun-2001  uch branches: 1.2.8; 1.2.126; 1.2.128; 1.2.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 20-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10;
Toshiba TX3912/3922 internal modules.
 1.1.10.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.8.2 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.1.8.1 20-Nov-1999  bouyer file tx39uartreg.h was added on branch thorpej_scsipi on 2000-11-20 20:47:36 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.130.1 16-May-2008  yamt sync with head.
 1.2.128.1 18-May-2008  yamt sync with head.
 1.2.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.2.8.1 14-Jun-2001  uch file tx39uartreg.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 14-Jun-2001  uch branches: 1.2.8; 1.2.126; 1.2.128; 1.2.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 20-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10;
Toshiba TX3912/3922 internal modules.
 1.1.10.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.8.2 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.1.8.1 20-Nov-1999  bouyer file tx39uartvar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:36 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.130.1 16-May-2008  yamt sync with head.
 1.2.128.1 18-May-2008  yamt sync with head.
 1.2.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.2.8.1 14-Jun-2001  uch file tx39uartvar.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.14 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.13 11-Dec-2005  christos branches: 1.13.74; 1.13.76; 1.13.78;
merge ktrace-lwp.
 1.12 12-Dec-2004  abs Fix comments regarding configration bounaries
 1.11 23-Jun-2003  martin branches: 1.11.2;
Make sure to include opt_foo.h if a defflag option FOO is used.
 1.10 29-Jan-2002  uch clean up debug print and configuration.
 1.9 13-Jun-2001  uch branches: 1.9.2; 1.9.8;
(TX39) switch from TX local I/O manager to hpcio
 1.8 22-Oct-2000  uch branches: 1.8.2; 1.8.4;
new I/O modules framework for TX based system.
 1.7 04-Oct-2000  uch experimental power management support for TX3912/TX3922 based model.
 1.6 22-May-2000  uch debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
 1.5 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.4 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.3 03-Jan-2000  uch Change tx_poll_establish implementation and interface.
 1.2 22-Dec-1999  uch branches: 1.2.2;
Implement TX3912/22 clock/timer module.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.2.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.2.1 22-Dec-1999  wrstuden file tx39var.h was added on branch wrstuden-devbsize on 1999-12-27 18:32:13 +0000
 1.8.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.8.2.2 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.8.2.1 22-Oct-2000  bouyer file tx39var.h was added on branch thorpej_scsipi on 2000-11-20 20:47:37 +0000
 1.9.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.9.8.1 13-Jun-2001  nathanw file tx39var.h was added on branch nathanw_sa on 2002-02-28 04:10:02 +0000
 1.9.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.11.2.1 18-Dec-2004  skrll Sync with HEAD.
 1.13.78.1 16-May-2008  yamt sync with head.
 1.13.76.1 18-May-2008  yamt sync with head.
 1.13.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.53 23-Sep-2024  andvar s/dicipline/discipline/ in debug message.
 1.52 07-Aug-2021  thorpej branches: 1.52.12;
Merge thorpej-cfargs2.
 1.51 24-Apr-2021  thorpej branches: 1.51.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.50 21-Nov-2020  thorpej branches: 1.50.2;
malloc(9) -> kmem(9)
 1.49 15-Nov-2014  christos branches: 1.49.32;
centralize the call unit / dialout macros
 1.48 25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.47 16-Mar-2014  dholland branches: 1.47.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.46 27-Oct-2012  chs branches: 1.46.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.45 24-Apr-2011  rmind branches: 1.45.4; 1.45.14;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.44 20-Jul-2010  tsutsui branches: 1.44.2;
Replace callout(9) with softint(9) which is more appropriate there.
Inspired by PR port-hpcmips/43472 and tested by Risto Sainio.
 1.43 16-Jul-2010  tsutsui Fix a wrong arg for callout_reset(9) in txcom_txintr(). PR port-hpcmips/43474
 1.42 16-Jul-2010  tsutsui Add missing callout_init(9) calls. PR port-hpcmips/43472
 1.41 14-Mar-2009  dsl branches: 1.41.2; 1.41.4;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.40 12-Jun-2008  tsutsui branches: 1.40.4; 1.40.6; 1.40.10;
Use device_lookup_private() to get softc.
 1.39 28-Apr-2008  martin branches: 1.39.2; 1.39.4;
Remove clause 3 and 4 from TNF licenses
 1.38 19-Nov-2007  ad branches: 1.38.14; 1.38.16; 1.38.18;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.37 04-Mar-2007  christos branches: 1.37.2; 1.37.18; 1.37.20; 1.37.24; 1.37.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.36 22-Feb-2007  thorpej TRUE -> true, FALSE -> false
 1.35 21-Feb-2007  thorpej Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
 1.34 01-Oct-2006  elad branches: 1.34.4;
More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
 1.33 01-Oct-2006  elad Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!

Also, add forgotten splx() calls in some places.
 1.32 01-Oct-2006  elad Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
 1.31 23-Jul-2006  ad branches: 1.31.4; 1.31.6;
Use the LWP cached credentials where sane.
 1.30 14-May-2006  elad integrate kauth.
 1.29 28-Mar-2006  thorpej Use device_unit().
 1.28 07-Mar-2006  he branches: 1.28.2;
Remove another instance of the macro triplet SET/CLR/ISSET, now
found in <sys/types.h>.
 1.27 24-Dec-2005  perry branches: 1.27.4; 1.27.6; 1.27.8; 1.27.10;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.26 11-Dec-2005  christos merge ktrace-lwp.
 1.25 06-Sep-2005  kleink Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
 1.24 12-Jun-2004  uch branches: 1.24.12;
When serial console boot, don't find power supply port from
config_hook. Windows CE already power on it, and config_hook is not
initialized yet.
 1.23 26-Dec-2003  shin initialize variable 'err' properly.
found by gcc -Wuninitialized.
 1.22 15-Jul-2003  lukem __KERNEL_RCSID()
 1.21 21-Mar-2003  nakayama branches: 1.21.2;
Follow a struct consdev changes.
Pointed out by Tsuyoshi AKIHO in the port-hpcmips-ja mailing list.
 1.20 23-Oct-2002  jdolecek merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.19 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.18 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.17 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.16 17-Mar-2002  atatat branches: 1.16.4;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.15 29-Jan-2002  uch clean up debug print and configuration.
 1.14 14-Jun-2001  uch branches: 1.14.2; 1.14.4; 1.14.8;
ANSI KNF. and change my copyright to TNF copyright.
 1.13 13-Jun-2001  uch (TX39) switch from TX local I/O manager to hpcio
 1.12 02-May-2001  scw Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
 1.11 04-Jan-2001  sato branches: 1.11.2;
make compilable.
 1.10 02-Nov-2000  eeh branches: 1.10.2;
Adapt to the new line discipline scheme.
 1.9 22-Oct-2000  uch new I/O modules framework for TX based system.
 1.8 23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.7 06-Mar-2000  thorpej - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
 1.6 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.5 13-Jan-2000  uch TX39 IR module (connected to TX39 UARTB module)
 1.4 06-Jan-2000  uch change overrun interrupt treatment.
 1.3 26-Dec-1999  uch branches: 1.3.2;
totaly rewritten.
 1.2 23-Dec-1999  uch Detect overrun interrupt. and add spl.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.3.2.2 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.2.1 26-Dec-1999  wrstuden file txcom.c was added on branch wrstuden-devbsize on 1999-12-27 18:32:13 +0000
 1.10.2.4 05-Jan-2001  bouyer Sync with HEAD
 1.10.2.3 22-Nov-2000  bouyer Sync with HEAD.
 1.10.2.2 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.2.1 02-Nov-2000  bouyer file txcom.c was added on branch thorpej_scsipi on 2000-11-20 20:47:38 +0000
 1.11.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.14.8.6 11-Nov-2002  nathanw Catch up to -current
 1.14.8.5 18-Oct-2002  nathanw Catch up to -current.
 1.14.8.4 17-Sep-2002  nathanw Catch up to -current.
 1.14.8.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.14.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.14.8.1 14-Jun-2001  nathanw file txcom.c was added on branch nathanw_sa on 2002-02-28 04:10:02 +0000
 1.14.4.2 13-Oct-2001  fvdl Revert the t_dev -> t_devvp change in struct tty. The way that tty
structs are currently used (especially by console ttys) aren't
ready for it, and this will require quite a few changes.
 1.14.4.1 10-Oct-2001  fvdl Convert all remaining devices.
 1.14.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.14.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.14.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.16.4.1 19-May-2002  gehenna Add device switch.
Replace the access to devsw table and the hard-coded majors with devsw API.
 1.21.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.21.2.4 24-Jan-2005  skrll Adapt to branch.
 1.21.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.21.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.21.2.1 03-Aug-2004  skrll Sync with HEAD
 1.24.12.5 07-Dec-2007  yamt sync with head
 1.24.12.4 03-Sep-2007  yamt sync with head.
 1.24.12.3 26-Feb-2007  yamt sync with head.
 1.24.12.2 30-Dec-2006  yamt sync with head.
 1.24.12.1 21-Jun-2006  yamt sync with head.
 1.27.10.4 13-May-2006  elad sprinkle some #include <sys/kauth.h> in files that use kauth kpi but
don't include it yet. hopefully this will prevent some fallout.
 1.27.10.3 19-Apr-2006  elad sync with head - hopefully this will work
 1.27.10.2 10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.27.10.1 08-Mar-2006  elad Adapt to kernel authorization KPI.

I expect *some* lossage here...
 1.27.8.4 11-Aug-2006  yamt sync with head
 1.27.8.3 24-May-2006  yamt sync with head.
 1.27.8.2 01-Apr-2006  yamt sync with head.
 1.27.8.1 13-Mar-2006  yamt sync with head.
 1.27.6.2 01-Jun-2006  kardel Sync with head.
 1.27.6.1 22-Apr-2006  simonb Sync with head.
 1.27.4.1 09-Sep-2006  rpaulo sync with head
 1.28.2.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.28.2.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.31.6.1 22-Oct-2006  yamt sync with head
 1.31.4.1 18-Nov-2006  ad Sync with head.
 1.34.4.2 12-Mar-2007  rmind Sync with HEAD.
 1.34.4.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.37.26.1 08-Dec-2007  mjf Sync with HEAD.
 1.37.24.1 21-Nov-2007  bouyer Sync with HEAD
 1.37.20.1 09-Jan-2008  matt sync with HEAD
 1.37.18.1 21-Nov-2007  joerg Sync with HEAD.
 1.37.2.1 03-Dec-2007  ad Sync with HEAD.
 1.38.18.3 11-Aug-2010  yamt sync with head.
 1.38.18.2 04-May-2009  yamt sync with head.
 1.38.18.1 16-May-2008  yamt sync with head.
 1.38.16.2 17-Jun-2008  yamt sync with head.
 1.38.16.1 18-May-2008  yamt sync with head.
 1.38.14.2 29-Jun-2008  mjf Sync with HEAD.
 1.38.14.1 02-Jun-2008  mjf Sync with HEAD.
 1.39.4.1 18-Jun-2008  simonb Sync with head.
 1.39.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.40.10.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.40.6.1 26-Nov-2010  riz Pull up following revision(s) (requested by tsutsui in ticket #1485):
sys/arch/hpcmips/tx/txcom.c: revision 1.42
sys/arch/hpcmips/tx/txcom.c: revision 1.43
Add missing callout_init(9) calls. PR port-hpcmips/43472
Fix a wrong arg for callout_reset(9) in txcom_txintr(). PR port-hpcmips/43474
 1.40.4.1 28-Apr-2009  skrll Sync with HEAD.
 1.41.4.2 31-May-2011  rmind sync with head
 1.41.4.1 05-Mar-2011  rmind sync with head
 1.41.2.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.44.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.45.14.3 03-Dec-2017  jdolecek update from HEAD
 1.45.14.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.45.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.45.4.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.45.4.1 30-Oct-2012  yamt sync with head
 1.46.2.1 18-May-2014  rmind sync with head
 1.47.2.1 10-Aug-2014  tls Rebase.
 1.49.32.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.50.2.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.51.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.52.12.1 02-Aug-2025  perseant Sync with HEAD
 1.24 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.23 24-Apr-2021  thorpej branches: 1.23.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.22 27-Oct-2012  chs branches: 1.22.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.21 28-Apr-2008  martin branches: 1.21.34; 1.21.44;
Remove clause 3 and 4 from TNF licenses
 1.20 11-Dec-2005  christos branches: 1.20.74; 1.20.76; 1.20.78;
merge ktrace-lwp.
 1.19 26-Aug-2005  drochner s/locdesc_t/int/g
 1.18 30-Jul-2005  nakayama Add LCD and battery control support for Sharp Telios series.
 1.17 30-Jun-2005  drochner branches: 1.17.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.16 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.15 15-Jul-2003  lukem branches: 1.15.14;
__KERNEL_RCSID()
 1.14 01-Jan-2003  thorpej branches: 1.14.2;
Use aprint_normal() for cfprint routines.
 1.13 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.12 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.11 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.10 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.9 27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.8 29-Jan-2002  uch clean up debug print and configuration.
 1.7 02-Dec-2001  uch make this compile again.
 1.6 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.5 14-Jun-2001  uch branches: 1.5.2; 1.5.8;
ANSI KNF. and change my copyright to TNF copyright.
 1.4 18-Aug-2000  sato branches: 1.4.2; 1.4.4;
- disable warning: add missing argument.
 1.3 07-Dec-1999  uch branches: 1.3.2;
clean up boot message.
 1.2 03-Dec-1999  uch CS:CARD1/CARD2 8bit port support.
 1.1 20-Nov-1999  uch Toshiba TX3912/3922 internal modules.
 1.3.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.2.2 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.2.1 18-Aug-2000  bouyer file txcsbus.c was added on branch thorpej_scsipi on 2000-11-20 20:47:39 +0000
 1.5.8.5 03-Jan-2003  thorpej Sync with HEAD.
 1.5.8.4 18-Oct-2002  nathanw Catch up to -current.
 1.5.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.5.8.2 08-Jan-2002  nathanw Catch up to -current.
 1.5.8.1 14-Jun-2001  nathanw file txcsbus.c was added on branch nathanw_sa on 2002-01-08 00:25:05 +0000
 1.5.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.14.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.14.2.1 03-Aug-2004  skrll Sync with HEAD
 1.15.14.1 04-Aug-2005  tron Pull up revision 1.18 via patch (requested by nakayama in ticket #637):
Add LCD and battery control support for Sharp Telios series.
 1.17.2.1 21-Jun-2006  yamt sync with head.
 1.20.78.1 16-May-2008  yamt sync with head.
 1.20.76.1 18-May-2008  yamt sync with head.
 1.20.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.21.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.21.34.1 30-Oct-2012  yamt sync with head
 1.22.52.7 05-Apr-2021  thorpej Decorate the problematic config_probe() calls (non-boolean return value)
with XXX.
 1.22.52.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.22.52.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.22.52.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.22.52.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.22.52.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.22.52.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.23.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 11-Dec-2005  christos branches: 1.4.74; 1.4.76; 1.4.78;
merge ktrace-lwp.
 1.3 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.2 14-Jun-2001  uch branches: 1.2.8; 1.2.24;
ANSI KNF. and change my copyright to TNF copyright.
 1.1 20-Nov-1999  uch branches: 1.1.2; 1.1.8; 1.1.10;
Toshiba TX3912/3922 internal modules.
 1.1.10.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.8.2 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.1.8.1 20-Nov-1999  bouyer file txcsbusvar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:40 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.24.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.2.8.1 14-Jun-2001  uch file txcsbusvar.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.4.78.1 16-May-2008  yamt sync with head.
 1.4.76.1 18-May-2008  yamt sync with head.
 1.4.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.12 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.11 24-Apr-2021  thorpej branches: 1.11.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.10 06-Jun-2011  matt branches: 1.10.68;
CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
use bool when appropriate
some constification
 1.9 28-Apr-2008  martin branches: 1.9.22; 1.9.32;
Remove clause 3 and 4 from TNF licenses
 1.8 11-Dec-2005  christos branches: 1.8.74; 1.8.76; 1.8.78;
merge ktrace-lwp.
 1.7 15-Jul-2003  lukem __KERNEL_RCSID()
 1.6 02-Oct-2002  thorpej branches: 1.6.6;
Use CFATTACH_DECL().
 1.5 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.4 29-Jan-2002  uch clean up debug print and configuration.
 1.3 13-Jun-2001  uch branches: 1.3.2; 1.3.8;
(TX39) switch from TX local I/O manager to hpcio
 1.2 22-Oct-2000  uch branches: 1.2.2; 1.2.4;
new I/O modules framework for TX based system.
 1.1 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.2.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.2.2 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.2.2.1 22-Oct-2000  bouyer file txioman.c was added on branch thorpej_scsipi on 2000-11-20 20:47:40 +0000
 1.3.8.3 18-Oct-2002  nathanw Catch up to -current.
 1.3.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.8.1 13-Jun-2001  nathanw file txioman.c was added on branch nathanw_sa on 2002-02-28 04:10:03 +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 11-Feb-2002  jdolecek Sync w/ -current.
 1.6.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.6.1 03-Aug-2004  skrll Sync with HEAD
 1.8.78.1 16-May-2008  yamt sync with head.
 1.8.76.1 18-May-2008  yamt sync with head.
 1.8.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.32.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.9.22.1 12-Jun-2011  rmind sync with head
 1.10.68.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.11.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 13-Jun-2001  uch (TX39) switch from TX local I/O manager to hpcio
 1.1 22-Oct-2000  uch branches: 1.1.2;
new I/O modules framework for TX based system.
 1.1.2.2 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.1.2.1 22-Oct-2000  bouyer file txioman_in.c was added on branch thorpej_scsipi on 2000-11-20 20:47:41 +0000
 1.3 13-Jun-2001  uch (TX39) switch from TX local I/O manager to hpcio
 1.2 24-Apr-2001  uch delete noisy debug message.
 1.1 22-Oct-2000  uch branches: 1.1.2;
new I/O modules framework for TX based system.
 1.1.2.2 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.1.2.1 22-Oct-2000  bouyer file txioman_out.c was added on branch thorpej_scsipi on 2000-11-20 20:47:42 +0000
 1.3 13-Jun-2001  uch (TX39) switch from TX local I/O manager to hpcio
 1.2 22-Oct-2000  uch branches: 1.2.2;
new I/O modules framework for TX based system.
 1.1 16-Jan-2000  uch add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.2.2.2 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.2.2.1 22-Oct-2000  bouyer file txiomanvar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:43 +0000
 1.19 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.18 24-Apr-2021  thorpej branches: 1.18.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.17 27-Oct-2012  chs branches: 1.17.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.16 28-Apr-2008  martin branches: 1.16.34; 1.16.44;
Remove clause 3 and 4 from TNF licenses
 1.15 11-Dec-2005  christos branches: 1.15.74; 1.15.76; 1.15.78;
merge ktrace-lwp.
 1.14 26-Aug-2005  drochner s/locdesc_t/int/g
 1.13 30-Jun-2005  drochner branches: 1.13.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.12 15-Jul-2003  lukem __KERNEL_RCSID()
 1.11 02-Oct-2002  thorpej branches: 1.11.6;
Use CFATTACH_DECL().
 1.10 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.9 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.8 27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.7 29-Jan-2002  uch clean up debug print and configuration.
 1.6 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.5 14-Jun-2001  uch branches: 1.5.2; 1.5.8;
ANSI KNF. and change my copyright to TNF copyright.
 1.4 18-Apr-2001  sato check platid if 'options VR41XX' and 'options TX39XX' are both defined.
XXX: currently this case is missconfiguration and not compilable.
XXX: because all codes are not supported this case yet.
 1.3 22-Oct-2000  uch branches: 1.3.2; 1.3.4;
new I/O modules framework for TX based system.
 1.2 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.1 20-Nov-1999  uch branches: 1.1.2;
Toshiba TX3912/3922 internal modules.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.3.2.2 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.3.2.1 22-Oct-2000  bouyer file txsim.c was added on branch thorpej_scsipi on 2000-11-20 20:47:44 +0000
 1.5.8.4 18-Oct-2002  nathanw Catch up to -current.
 1.5.8.3 28-Feb-2002  nathanw Catch up to -current.
 1.5.8.2 11-Jan-2002  nathanw More catchup.
 1.5.8.1 14-Jun-2001  nathanw file txsim.c was added on branch nathanw_sa on 2002-01-11 23:38:25 +0000
 1.5.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.11.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.11.6.1 03-Aug-2004  skrll Sync with HEAD
 1.13.2.1 21-Jun-2006  yamt sync with head.
 1.15.78.1 16-May-2008  yamt sync with head.
 1.15.76.1 18-May-2008  yamt sync with head.
 1.15.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.16.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.16.34.1 30-Oct-2012  yamt sync with head
 1.17.52.7 05-Apr-2021  thorpej Decorate the problematic config_probe() calls (non-boolean return value)
with XXX.
 1.17.52.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.17.52.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.17.52.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.17.52.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.17.52.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.17.52.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.18.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.6 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem __KERNEL_RCSID()
 1.3 14-Jun-2001  uch branches: 1.3.8; 1.3.24;
ANSI KNF. and change my copyright to TNF copyright.
 1.2 16-Jan-2000  uch branches: 1.2.6; 1.2.8;
add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.1 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.2.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.6.2 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.2.6.1 16-Jan-2000  bouyer file txsnd.c was added on branch thorpej_scsipi on 2000-11-20 20:47:45 +0000
 1.3.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.24.1 03-Aug-2004  skrll Sync with HEAD
 1.3.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.3.8.1 14-Jun-2001  uch file txsnd.c was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 14-Jun-2001  uch branches: 1.3.8; 1.3.126; 1.3.128; 1.3.130;
ANSI KNF. and change my copyright to TNF copyright.
 1.2 16-Jan-2000  uch branches: 1.2.6; 1.2.8;
add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
 1.1 12-Jan-2000  uch add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
 1.2.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.6.2 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.2.6.1 16-Jan-2000  bouyer file txsnd.h was added on branch thorpej_scsipi on 2000-11-20 20:47:45 +0000
 1.3.130.1 16-May-2008  yamt sync with head.
 1.3.128.1 18-May-2008  yamt sync with head.
 1.3.126.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.8.2 14-Jun-2001  uch ANSI KNF. and change my copyright to TNF copyright.
 1.3.8.1 14-Jun-2001  uch file txsnd.h was added on branch nathanw_sa on 2001-06-14 11:09:57 +0000
 1.30 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.29 18-Mar-2009  cegger branches: 1.29.12; 1.29.22;
Ansify function definitions w/o arguments. Generated with sed.
 1.28 15-Dec-2007  perry branches: 1.28.10; 1.28.18; 1.28.24;
__FUNCTION__ -> __func__
 1.27 11-Dec-2005  christos branches: 1.27.50; 1.27.60; 1.27.64;
merge ktrace-lwp.
 1.26 07-Jun-2005  he branches: 1.26.2;
Sprinkle some const around to make these files compile with -Wcast-qual.
 1.25 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.24 12-Dec-2003  jmc Initialize clksp as gcc can't figure out that it gets set before the switch
 1.23 08-Nov-2003  simonb Add "XXX" to the gcc -Wuninitialised warning fix.
 1.22 07-Nov-2003  dsl Initialise spdreg, gcc doesn't stand a chance of tracking its use.
 1.21 23-Oct-2003  he bus_addr_t on MIPS is integral, so use 0 instead of NULL.
 1.20 15-Jul-2003  lukem __KERNEL_RCSID()
 1.19 02-Oct-2002  thorpej branches: 1.19.6;
Use CFATTACH_DECL().
 1.18 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.17 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.16 10-Feb-2002  takemura Added base address table to compile without SINGLE_VRIP_BASE macro.
 1.15 29-Jan-2002  uch clean up debug print and configuration.
 1.14 27-Jan-2002  takemura Added vripif.
 1.13 26-Jan-2002  takemura Straightened vripvar.h
 1.12 16-Sep-2001  uch branches: 1.12.4;
ANSIfy, KNF.
 1.11 07-Sep-2001  sato initial support of vr4131 bcu.
 1.10 17-May-2001  enami branches: 1.10.2; 1.10.4;
Fix fomula to calcurate TClock; TClock = VTClock / tdiv, not PClock / tdiv.
The manual is inconsistient about this.
 1.9 16-May-2001  enami Calc. cpu speed for VR4122.
 1.8 21-Apr-2001  sato add VR4181 BCU register definitions.
add routines for VR4181.
 1.7 18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.6 27-Oct-2000  sato branches: 1.6.2;
probe message use dv_xname.
 1.5 27-Jan-2000  sato - show bus clock freq setting and memory clock freq setting in boot time.
 1.4 16-Dec-1999  shin add CPU pipeline clock calculation function for VR41xx.
display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
 1.3 16-Dec-1999  sato - cleanup a little..
 1.2 09-Dec-1999  sato - cleanup a little.
- vrbcu_vrip_getcpuid()
- exported prototype move to header.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.4 23-Apr-2001  bouyer Sync with HEAD.
 1.1.1.1.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.1.1.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.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.10.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.10.2.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.10.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.10.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.10.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.12.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.12.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.12.4.1 16-Sep-2001  nathanw file bcu_vrip.c was added on branch nathanw_sa on 2002-02-28 04:10:03 +0000
 1.19.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.19.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.19.6.1 03-Aug-2004  skrll Sync with HEAD
 1.26.2.1 21-Jan-2008  yamt sync with head
 1.27.64.1 02-Jan-2008  bouyer Sync with HEAD
 1.27.60.1 26-Dec-2007  ad Sync with head.
 1.27.50.1 09-Jan-2008  matt sync with HEAD
 1.28.24.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.28.18.1 28-Apr-2009  skrll Sync with HEAD.
 1.28.10.1 04-May-2009  yamt sync with head.
 1.29.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.29.12.1 30-Oct-2012  yamt sync with head
 1.9 01-Apr-2003  igy correcting register definition for VR4181
 1.8 05-Sep-2001  sato branches: 1.8.6;
add VR4131 infomation.
 1.7 21-Aug-2001  sato fix vr4181 register offset.
 1.6 21-Apr-2001  sato branches: 1.6.2;
add VR4181 BCU register definitions.
add routines for VR4181.
 1.5 16-Apr-2001  sato fix typo in comment.
 1.4 11-Apr-2001  sato add VR4101 specific BCU registers.
add VR4122 specific BCU registers.
add cpu specific comments.
 1.3 27-Jan-2000  sato branches: 1.3.6;
- show bus clock freq setting and memory clock freq setting in boot time.
 1.2 13-Dec-1999  sato - change some comments.
- vr4102 have not BCUCNT3_REG_W register, so comment it.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.3 23-Apr-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.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.3.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.6.2.2 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.6.2.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.8.6.2 05-Sep-2001  sato add VR4131 infomation.
 1.8.6.1 05-Sep-2001  sato file bcureg.h was added on branch nathanw_sa on 2001-09-05 16:08:47 +0000
 1.7 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.6 11-Dec-2005  christos branches: 1.6.112; 1.6.122;
merge ktrace-lwp.
 1.5 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.4 16-Sep-2001  uch branches: 1.4.4; 1.4.20;
ANSIfy, KNF.
 1.3 16-Dec-1999  shin branches: 1.3.6; 1.3.8;
add CPU pipeline clock calculation function for VR41xx.
display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
 1.2 09-Dec-1999  sato - cleanup a little.
- vrbcu_vrip_getcpuid()
- exported prototype move to header.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.3.8.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.6.1 01-Oct-2001  fvdl Catch up with -current.
 1.4.20.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.4.4.1 16-Sep-2001  uch file bcuvar.h was added on branch nathanw_sa on 2001-09-16 05:32:21 +0000
 1.6.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.112.1 30-Oct-2012  yamt sync with head
 1.5 30-Apr-2001  takemura Machine independent GPIO interface.
 1.4 18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.3 26-Mar-2001  sato CONFIG_HOOK_GET support for get current port status.
 1.2 10-Feb-2000  sato branches: 1.2.6; 1.2.8;
show edge/level infomation in attach message.
 1.1 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.2.8.1 09-Apr-2001  nathanw Catch up with -current.
 1.2.6.4 21-Apr-2001  bouyer Sync with HEAD
 1.2.6.3 27-Mar-2001  bouyer Sync with HEAD.
 1.2.6.2 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.2.6.1 10-Feb-2000  bouyer file button_vrgiu.c was added on branch thorpej_scsipi on 2000-11-20 20:47:48 +0000
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 01-May-2003  igy branches: 1.1.104; 1.1.106; 1.1.108;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.108.1 16-May-2008  yamt sync with head.
 1.1.106.1 18-May-2008  yamt sync with head.
 1.1.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.14 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.13 11-Dec-2005  christos branches: 1.13.112; 1.13.122;
merge ktrace-lwp.
 1.12 15-Jul-2003  lukem __KERNEL_RCSID()
 1.11 02-Oct-2002  thorpej branches: 1.11.6;
Use CFATTACH_DECL().
 1.10 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.9 02-Feb-2002  takemura Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
 1.8 29-Jan-2002  uch clean up debug print and configuration.
 1.7 27-Jan-2002  takemura Added vripif.
 1.6 26-Jan-2002  takemura Straightened vripvar.h
 1.5 16-Sep-2001  uch branches: 1.5.4;
ANSIfy, KNF.
 1.4 11-Jun-2001  enami branches: 1.4.2; 1.4.4;
Cosmetic changes.
 1.3 18-Apr-2001  sato use VRIP_CMU_ADDR in vr/vripreg.h
 1.2 07-Sep-2000  sato branches: 1.2.2;
- adapt config_hook(CONFIG_HOOK_PMEVENT,..)
save cmu clock mask register and disable all clock when PWR_SUSPEND event.
restore saved cmu clock mask register when PWR_RESUME event.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.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.2.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.4.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.4.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.5.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.5.4.1 16-Sep-2001  nathanw file cmu.c was added on branch nathanw_sa on 2002-02-28 04:10:03 +0000
 1.11.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.11.6.1 03-Aug-2004  skrll Sync with HEAD
 1.13.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.13.112.1 30-Oct-2012  yamt sync with head
 1.5 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.4 28-Sep-2001  sato branches: 1.4.4;
add VR4181 clock control.
 1.3 17-May-2001  sato branches: 1.3.2; 1.3.4;
vr4122 releted definition.
 1.2 18-Apr-2001  sato use VRIP_CMU_ADDR in vr/vripreg.h
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.14;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.14.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.1.1.2.1 21-Apr-2001  bouyer Sync with HEAD
 1.3.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.4.2 28-Sep-2001  sato add VR4181 clock control.
 1.4.4.1 28-Sep-2001  sato file cmureg.h was added on branch nathanw_sa on 2001-09-28 10:25:16 +0000
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 02-Feb-2002  takemura branches: 1.4.118; 1.4.120; 1.4.122;
Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
 1.3 27-Jan-2002  takemura Added vripif.
 1.2 16-Sep-2001  uch branches: 1.2.4;
ANSIfy, KNF.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.14; 1.1.1.1.16;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.16.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.1.1.16.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.1.1.14.1 01-Oct-2001  fvdl Catch up with -current.
 1.2.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.1 16-Sep-2001  nathanw file cmuvar.h was added on branch nathanw_sa on 2002-02-28 04:10:03 +0000
 1.4.122.1 16-May-2008  yamt sync with head.
 1.4.120.1 18-May-2008  yamt sync with head.
 1.4.118.1 02-Jun-2008  mjf Sync with HEAD.
 1.24 08-Jul-2022  skrll alredy -> already
 1.23 08-Dec-2018  thorpej Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.22 27-Oct-2012  chs branches: 1.22.36; 1.22.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.21 29-Aug-2008  tsutsui branches: 1.21.28; 1.21.38;
Fix a fallout of device_t/softc split for com(4) devices.
Per PR port-hpcmips/39426 from Nozomu Ando.
 1.20 14-Mar-2008  cube branches: 1.20.4; 1.20.6; 1.20.10;
Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend). Use proper types and ansify where appropriate.
 1.19 13-Jul-2006  gdamore branches: 1.19.34; 1.19.54; 1.19.58;
Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

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

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

Approved by core@. Fixes PR port-evbmips/32362.
 1.18 29-Mar-2006  thorpej branches: 1.18.4;
Use device_cfdata().
 1.17 11-Dec-2005  christos branches: 1.17.4; 1.17.6; 1.17.8; 1.17.10; 1.17.12;
merge ktrace-lwp.
 1.16 15-Jul-2003  lukem branches: 1.16.16;
__KERNEL_RCSID()
 1.15 14-Jun-2003  thorpej branches: 1.15.2;
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
 1.14 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.13 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.12 02-Feb-2002  takemura Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
 1.11 27-Jan-2002  takemura Added vripif.
 1.10 28-Sep-2001  sato branches: 1.10.4;
add VR4181 clock control.
 1.9 16-Sep-2001  uch ANSIfy, KNF.
 1.8 30-May-2001  lukem branches: 1.8.2; 1.8.4;
add missing #include "opt_kgdb.h"
 1.7 30-Apr-2001  takemura Machine independent GPIO interface.
 1.6 11-Mar-2001  uch remove unneeded include.
 1.5 27-Oct-2000  sato branches: 1.5.2;
- add VPRINTF().
- show pwctl giu bit for verbose.
 1.4 20-Jul-2000  jeffs kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
 1.3 11-Feb-2000  takemura Add com0's power control ID.
 1.2 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.1.1.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.5.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.5.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.8.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.8.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.8.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.8.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.10.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.10.4.1 28-Sep-2001  nathanw file com_vrip.c was added on branch nathanw_sa on 2002-02-28 04:10:04 +0000
 1.15.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.15.2.1 03-Aug-2004  skrll Sync with HEAD
 1.16.16.3 17-Mar-2008  yamt sync with head.
 1.16.16.2 30-Dec-2006  yamt sync with head.
 1.16.16.1 21-Jun-2006  yamt sync with head.
 1.17.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.17.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.17.8.2 11-Aug-2006  yamt sync with head
 1.17.8.1 01-Apr-2006  yamt sync with head.
 1.17.6.1 22-Apr-2006  simonb Sync with head.
 1.17.4.1 09-Sep-2006  rpaulo sync with head
 1.18.4.1 16-Jun-2006  gdamore com(4) attachment hacks. Note that these aren't as clean as they could be,
particularly com_hpcio.c, which has a custom bus_space which could probably
be eliminated. But _I_ don't have an hpcmips to test with. The compile of
MPC303 works, but GENERIC fails due to an error in tx39clock.c, so I'm
_not_ testing it. (But both files at least _compiled_.)
 1.19.58.2 28-Sep-2008  mjf Sync with HEAD.
 1.19.58.1 03-Apr-2008  mjf Sync with HEAD.
 1.19.54.1 24-Mar-2008  keiichi sync with head.
 1.19.34.1 23-Mar-2008  matt sync with HEAD
 1.20.10.1 19-Oct-2008  haad Sync with HEAD.
 1.20.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.20.4.1 04-May-2009  yamt sync with head.
 1.21.38.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.21.28.1 30-Oct-2012  yamt sync with head
 1.22.38.1 10-Jun-2019  christos Sync with HEAD
 1.22.36.1 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.3 16-Sep-2001  uch branches: 1.3.4;
ANSIfy, KNF.
 1.2 20-Jul-2000  jeffs branches: 1.2.2; 1.2.4;
kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.3.4.1 16-Sep-2001  uch file com_vripvar.h was added on branch nathanw_sa on 2001-09-16 05:32:21 +0000
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.2 19-Jan-2001  sato fix typos.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 11-Feb-2001  bouyer Sync with HEAD.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.15 12-Sep-2023  andvar rename flash_cd to vrflash_cd, since device was renamed to vrflash.

Fixes hpcmips LCARD config linking issue that flash_cd is undefined.
 1.14 11-Sep-2023  andvar hpcmips/vrflash(4): custom DPRINTF definition requires additional brackets
around the arguments.

Fixes FLUSH_DEBUG build.

However the driver fails to link due to missing reference to flash_cd,
my guess because of obsoleted flash device-major.
 1.13 21-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.12 10-Nov-2019  chs branches: 1.12.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.11 03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.10 25-Jul-2014  dholland branches: 1.10.26; 1.10.28;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.9 16-Mar-2014  dholland branches: 1.9.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.8 27-Oct-2012  chs branches: 1.8.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.7 11-Jun-2008  cegger branches: 1.7.30; 1.7.40;
use device_lookup_private to get softc
 1.6 28-Apr-2008  martin branches: 1.6.2; 1.6.4;
Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 29-Dec-2003  igy branches: 1.4.16;
throw error status when erase command timed out
 1.3 29-Dec-2003  igy make sure variables initialized
 1.2 15-Jul-2003  lukem __KERNEL_RCSID()
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.4 24-Jan-2005  skrll Adapt to branch.
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 21-Jun-2006  yamt sync with head.
 1.5.78.2 04-May-2009  yamt sync with head.
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.2 17-Jun-2008  yamt sync with head.
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.2 29-Jun-2008  mjf Sync with HEAD.
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.4.1 18-Jun-2008  simonb Sync with head.
 1.6.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.7.40.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.40.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.30.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.30.1 30-Oct-2012  yamt sync with head
 1.8.2.1 18-May-2014  rmind sync with head
 1.9.2.1 10-Aug-2014  tls Rebase.
 1.10.28.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.10.28.1 10-Jun-2019  christos Sync with HEAD
 1.10.26.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.12.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 01-May-2003  igy branches: 1.1.104; 1.1.106; 1.1.108;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.108.1 16-May-2008  yamt sync with head.
 1.1.106.1 18-May-2008  yamt sync with head.
 1.1.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.3 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 28-Apr-2008  martin branches: 1.2.34; 1.2.44;
Remove clause 3 and 4 from TNF licenses
 1.1 01-May-2003  igy branches: 1.1.104; 1.1.106; 1.1.108;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.108.1 16-May-2008  yamt sync with head.
 1.1.106.1 18-May-2008  yamt sync with head.
 1.1.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.34.1 30-Oct-2012  yamt sync with head
 1.2 30-Apr-2001  takemura Machine independent GPIO interface.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.8 01-Apr-2003  igy add comment for VR4181
 1.7 11-Feb-2002  takemura Added Vr4122 and Vr4131 support to GENERIC configuration.
 1.6 09-Feb-2002  sato change NO_REG_W to ICU_NO_REG_W.
 1.5 27-Sep-2001  sato branches: 1.5.4;
- add VR4181 ICU register map.
- add VR4181 intr levels.
- add VR4131 ICU register map.
- add VR4131 intr levels.
XXX: not yet tested these platform.
 1.4 18-Apr-2001  sato branches: 1.4.2; 1.4.4;
- support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.3 16-Apr-2001  sato add VR4122 specified register definitions.
XXX: vrip.c is not yet supported VR4122.
 1.2 28-Dec-1999  takemura branches: 1.2.6;
VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.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.2.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.4.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.4.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.5.4.1 27-Sep-2001  nathanw file icureg.h was added on branch nathanw_sa on 2002-02-28 04:10:04 +0000
 1.10 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.9 11-Dec-2005  christos branches: 1.9.112; 1.9.122;
merge ktrace-lwp.
 1.8 15-Jul-2003  lukem __KERNEL_RCSID()
 1.7 02-Oct-2002  thorpej branches: 1.7.6;
Use CFATTACH_DECL().
 1.6 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5 27-Jan-2002  takemura Added vripif.
 1.4 16-Sep-2001  uch branches: 1.4.4;
ANSIfy, KNF.
 1.3 18-Apr-2001  sato branches: 1.3.2; 1.3.4;
- support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.2 22-Feb-2001  uch branches: 1.2.2;
hpc common files are moved to dev/hpc.
 1.1 02-Oct-2000  sato branches: 1.1.2;
experimental ite8181 video driver for hpcfb.
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak
 1.1.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.1.2.2 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.1.2.1 02-Oct-2000  bouyer file ite8181_vrip.c was added on branch thorpej_scsipi on 2000-11-20 20:47:50 +0000
 1.2.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.3.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.4.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.1 16-Sep-2001  nathanw file ite8181_vrip.c was added on branch nathanw_sa on 2002-02-28 04:10:04 +0000
 1.7.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.6.1 03-Aug-2004  skrll Sync with HEAD
 1.9.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.9.112.1 30-Oct-2012  yamt sync with head
 1.13 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.12 11-Dec-2005  christos branches: 1.12.112; 1.12.122;
merge ktrace-lwp.
 1.11 15-Jul-2003  lukem __KERNEL_RCSID()
 1.10 02-Oct-2002  thorpej branches: 1.10.6;
Use CFATTACH_DECL().
 1.9 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.8 01-Sep-2002  takemura Fixed again. Rev 1.7 was incomplete and this device did't work for long time.
 1.7 11-May-2002  takemura branches: 1.7.4;
BUGFIX: Xhpc dumps core on SigmarionII.
Attached MQ200 video controller at PCI bus.
 1.6 27-Jan-2002  takemura Added vripif.
 1.5 16-Sep-2001  uch branches: 1.5.4;
ANSIfy, KNF.
 1.4 18-Apr-2001  sato branches: 1.4.2; 1.4.4;
- support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.3 22-Feb-2001  uch branches: 1.3.2;
hpc common files are moved to dev/hpc.
 1.2 02-Oct-2000  sato branches: 1.2.2;
check NBIVIDEO.
 1.1 22-Jul-2000  takemura branches: 1.1.2;
Experimental MQ200 video driver. It's just copy of bivideo plus power
management routine.
 1.1.2.2 06-Aug-2000  takemura Pull up revision 1.1 (new, requested by takemura)

New MQ200 video power management driver.
 1.1.2.1 22-Jul-2000  takemura file mq200_vrip.c was added on branch netbsd-1-5 on 2000-08-06 03:58:23 +0000
 1.2.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.3 12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.2 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.2.2.1 02-Oct-2000  bouyer file mq200_vrip.c was added on branch thorpej_scsipi on 2000-11-20 20:47:51 +0000
 1.3.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.4.2.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.4.2.4 06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.2.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.4.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.5.4.4 17-Sep-2002  nathanw Catch up to -current.
 1.5.4.3 20-Jun-2002  nathanw Catch up to -current.
 1.5.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.5.4.1 16-Sep-2001  nathanw file mq200_vrip.c was added on branch nathanw_sa on 2002-02-28 04:10:04 +0000
 1.7.4.1 30-Nov-2002  he Pull up revision 1.8 (requested by takemura in ticket #753):
Fix this driver; revision 1.7 was incomplete.
 1.10.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.10.6.1 03-Aug-2004  skrll Sync with HEAD
 1.12.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.12.112.1 30-Oct-2012  yamt sync with head
 1.2 10-Jan-2000  takemura WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support.
 1.1 28-Dec-1999  takemura VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
 1.8 30-Apr-2001  takemura Machine independent GPIO interface.
 1.7 18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.6 26-Mar-2001  sato CONFIG_HOOK_GET support for get current port status.
 1.5 17-Oct-2000  sato branches: 1.5.2; 1.5.4;
add new keyword "initvalue" on pwctl device.
if "initvalue 0", set the port initialy "off".
if "initvalue 1", set the port initialy "on".
otherwise keep initial value.
 1.4 10-Sep-2000  sato handle CONFIG_HOOK_POWERCONTROL events
- PWR_SUSPEND: save giu bits values and turn "off" the values.
- PWR_RESUME: restore giu bits values.
 1.3 11-Feb-2000  takemura Add com0's power control ID.
 1.2 09-Feb-2000  takemura The pwctl writes ZERO as on if active=0.
 1.1 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.5.4.1 09-Apr-2001  nathanw Catch up with -current.
 1.5.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.5.2.3 27-Mar-2001  bouyer Sync with HEAD.
 1.5.2.2 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.5.2.1 17-Oct-2000  bouyer file pwctl_vrgiu.c was added on branch thorpej_scsipi on 2000-11-20 20:47:51 +0000
 1.37 07-Sep-2025  thorpej Change todr_chip_handle::cookie -> todr_chip_handle::todr_dev, and
make it a device_t. Upcoming functional changes will require the
device_t associated with a TODR device.

Change todr_chip_handle::bus_cookie -> todr_chip_handle::todr_devaux.
Nothing was using the old field, but I decided to keep it around just
in cause something needs it in the future.

And with these largely mechanical yet semantically meaningful changes,
thus spake the Oracle: "Welcome to NetBSD 11.99.2."
 1.36 21-Jul-2022  andvar fix typos in comments and log messages, mainly s/intrrupt/interrupt/.
 1.35 11-Jul-2015  kamil Improve spelling: regsiter -> register

This change is non-functional.

Approved by <riastradh>, <pgoyette>
 1.34 20-Nov-2014  christos branches: 1.34.2;
this is supposed to be SECS_PER_DAY.
 1.33 17-Nov-2014  christos PR/49207: Kamil Rytarowski: Add sys/clock.h with generic time macros
(derived from clock_subr.h). Keep clock_subr.h with the kernel structures
and functions to reduce diffs, and have clock.h only include standalone
constants and macros.
 1.32 18-Mar-2011  tsutsui branches: 1.32.14;
Use vaddr_t for pc instead of uint32_t.
 1.31 16-Mar-2011  tsutsui Split device_t/softc. Tested on GXemul.
 1.30 16-Mar-2011  tsutsui Fix device_t/softc confusion.
(currently harmless since they are not split yet)
 1.29 16-Mar-2011  tsutsui KNF and cosmetics.
 1.28 16-Mar-2011  tsutsui Fix signedness issue triggered by 64 bit time_t.
 1.27 10-Mar-2011  tsutsui Set correct struct clockframe .intr value for hardclock(9).
 1.26 12-Dec-2009  tsutsui branches: 1.26.4; 1.26.6;
Remove `volatile' qualifier from argument types of
struct timeval passed to todr_gettime(9) and todr_settime(9).
We no longer have an ancient and volatile struct timeval `time'
global since we have switched to MI timercounter(9) on all port.

XXX1: some of these RTC drivers still assume 32bit time_t
XXX2: some of these should be rewritten to use todr_[gs]ettime_ymdhms()
XXX3: todr(9) man page doesn't mention todr_[gs]ettime_ymdhms()
 1.25 04-Jan-2008  ad branches: 1.25.10;
Need sys/device.h
 1.24 16-Sep-2006  gdamore branches: 1.24.30; 1.24.36; 1.24.44;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.23 24-Dec-2005  perry branches: 1.23.20;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.22 11-Dec-2005  christos merge ktrace-lwp.
 1.21 07-Jun-2005  he branches: 1.21.2;
Rename local variable 'min' to 'mins' to avoid shadowing warning.
 1.20 15-Jul-2003  lukem __KERNEL_RCSID()
 1.19 06-Jan-2003  wiz branches: 1.19.2;
interrupt with two rs.
 1.18 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.17 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.16 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.15 15-May-2002  uch obsolete intrcnt[].
 1.14 10-Feb-2002  takemura Made rtc.c compilable without SINGLE_VRIP_BASE macro.
 1.13 09-Feb-2002  sato RTC_NO_REG_W unsigned
 1.12 27-Jan-2002  takemura Added vripif.
 1.11 24-Dec-2001  shin fix debug printf() format string.
 1.10 30-Sep-2001  sato branches: 1.10.4;
add VR4181, VR4131 support.
 1.9 19-Sep-2001  uch make this compile again.
 1.8 18-Sep-2001  uch remove dev/dec/clockvar.h from hpcmips source tree.
 1.7 16-Sep-2001  uch ANSIfy, KNF.
 1.6 17-Jul-2001  toshii branches: 1.6.2;
"infomation" -> "information"
 1.5 17-May-2001  enami branches: 1.5.2;
Include opt_vr41xx.h and vrcpudef.h
 1.4 17-Mar-2000  sato branches: 1.4.6;
change about debug print.
 1.3 17-Jan-2000  sato delete unused codes.
 1.2 07-Dec-1999  sato cleanup a little..
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.2.6 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.5.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.2.1 03-Aug-2001  lukem update to -current
 1.6.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.10.4.6 07-Jan-2003  thorpej Sync with HEAD.
 1.10.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.10.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.10.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.10.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.10.4.1 30-Sep-2001  nathanw file rtc.c was added on branch nathanw_sa on 2002-01-08 00:25:05 +0000
 1.19.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.19.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.19.2.1 03-Aug-2004  skrll Sync with HEAD
 1.21.2.3 21-Jan-2008  yamt sync with head
 1.21.2.2 30-Dec-2006  yamt sync with head.
 1.21.2.1 21-Jun-2006  yamt sync with head.
 1.23.20.1 18-Nov-2006  ad Sync with head.
 1.24.44.1 08-Jan-2008  bouyer Sync with HEAD
 1.24.36.1 18-Feb-2008  mjf Sync with HEAD.
 1.24.30.1 09-Jan-2008  matt sync with HEAD
 1.25.10.1 11-Mar-2010  yamt sync with head
 1.26.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.26.4.1 21-Apr-2011  rmind sync with head
 1.32.14.1 03-Dec-2017  jdolecek update from HEAD
 1.34.2.1 22-Sep-2015  skrll Sync with HEAD
 1.10 17-Nov-2014  christos PR/49207: Kamil Rytarowski: Add sys/clock.h with generic time macros
(derived from clock_subr.h). Keep clock_subr.h with the kernel structures
and functions to reduce diffs, and have clock.h only include standalone
constants and macros.
 1.9 16-Sep-2006  gdamore branches: 1.9.102;
Convert hpcmips to TODR and timecounters. Ok jun@.
 1.8 10-Feb-2002  sato branches: 1.8.32; 1.8.62;
fix miss changing.
 1.7 09-Feb-2002  sato RTC_NO_REG_W unsigned
 1.6 24-Dec-2001  shin make YBASE and EPOCHYEAR tunable.
 1.5 30-Sep-2001  sato branches: 1.5.4;
add VR4181, VR4131 support.
 1.4 18-Sep-2001  uch remove dev/dec/clockvar.h from hpcmips source tree.
 1.3 17-May-2001  sato branches: 1.3.2; 1.3.4;
vr4122 releted definition.
 1.2 07-Dec-1999  sato branches: 1.2.6;
cleanup a little..
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.2.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.2.2 16-Mar-2002  jdolecek Catch up with -current.
 1.3.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.5.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.5.4.1 30-Sep-2001  nathanw file rtcreg.h was added on branch nathanw_sa on 2002-01-08 00:25:06 +0000
 1.8.62.1 18-Nov-2006  ad Sync with head.
 1.8.32.1 30-Dec-2006  yamt sync with head.
 1.9.102.1 03-Dec-2017  jdolecek update from HEAD
 1.4 04-Jan-2002  takemura branches: 1.4.2;
Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
 1.3 02-Jan-2002  takemura BUGFIX: sg2com isn't attached as a console device if it is a console.
 1.2 29-Dec-2001  takemura Commented out the line which install interrupt handler because sg2com
interrupt port is unknown and it doesn't work at all.
 1.1 23-Dec-2001  takemura Added SigmarionII serial port support.
(console onlty, interrupt is not supported)
 1.4.2.1 08-Jan-2002  nathanw Catch up to -current.
 1.2 04-Jan-2002  takemura branches: 1.2.2;
Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
 1.1 23-Dec-2001  takemura Added SigmarionII serial port support.
(console onlty, interrupt is not supported)
 1.2.2.1 08-Jan-2002  nathanw Catch up to -current.
 1.2 04-Jan-2002  takemura branches: 1.2.2;
Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
 1.1 23-Dec-2001  takemura Added SigmarionII serial port support.
(console onlty, interrupt is not supported)
 1.2.2.1 08-Jan-2002  nathanw Catch up to -current.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.65 26-Mar-2014  christos - kill sprintf
- fix unused
 1.64 18-Mar-2011  tsutsui branches: 1.64.4; 1.64.14; 1.64.18;
Use vaddr_t for pc instead of uint32_t.
 1.63 16-Mar-2011  tsutsui Set sr_bits[IPL_HIGH] properly, rather than setting sr_bits[IPL_VM] twice.

I wonder if gcc could warn such botch in C99 array or member initializers...
 1.62 16-Mar-2011  tsutsui vr_intr_handler[] takes status for hardclock(9), not ipending.
 1.61 16-Mar-2011  tsutsui Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU. Compile test only.
 1.60 26-Feb-2011  tsutsui Explicitly include <mips/locore.h> for wbflush().
 1.59 20-Feb-2011  matt Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.58 20-Dec-2010  matt branches: 1.58.2; 1.58.4;
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
 1.57 15-Nov-2010  uebayasi struct cpu_info * deref needs sys/cpu.h.
 1.56 10-Apr-2010  jun workaround for port-hpcmips/42934
"NetBSD/hpcmips can't boot after 5.99.23"
adviced by Naoki Fukaumi on twitter.
 1.55 21-Jan-2010  pooka branches: 1.55.2; 1.55.4;
Move arch-local variable to a better namespace to make build again.
 1.54 19-Aug-2009  jun Fix #41863, Missing "}".
 1.53 18-Mar-2009  cegger bcmp -> memcmp
 1.52 18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.51 04-Apr-2008  tsutsui branches: 1.51.4; 1.51.12; 1.51.14; 1.51.18; 1.51.20; 1.51.22;
Account ci_idepth in VR_INTR() and TX_INTR, rather than cpu_intr() in
hpcmips/interrupt.c. The latter one is used only on kernels configured for
multiple CPUs (i.e. kernels which have both options VR41XX and TX39XX).

Closes PR port-hpcmips/38139 from Risto Sainio.
 1.50 04-Jan-2008  ad branches: 1.50.6;
Need sys/device.h
 1.49 03-Dec-2007  ad branches: 1.49.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.48 08-Mar-2007  he branches: 1.48.2; 1.48.18; 1.48.20; 1.48.26;
Due to pointer arithmetic, convert local "page" variable from void* to char*.
 1.47 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.46 11-Dec-2005  christos branches: 1.46.26;
merge ktrace-lwp.
 1.45 16-Jan-2005  hamajima branches: 1.45.2; 1.45.10;
Apply patch hpcmips/26158 (requested by darkstar)
This patch solves install/28656.
 1.44 25-Oct-2003  mycroft branches: 1.44.6;
Fix typo.
 1.43 25-Oct-2003  mycroft Token-pasting nits for GCC 3.
 1.42 15-Jul-2003  lukem __KERNEL_RCSID()
 1.41 02-Apr-2003  thorpej branches: 1.41.2;
Use PAGE_SIZE rather than NBPG.
 1.40 24-Nov-2002  shin wipe out all physical memory before hibernate/reset.
otherwise, WinCE will not boot on some machine (ex. IBM z50).
 1.39 11-Feb-2002  takemura branches: 1.39.10;
Added Vr4122 and Vr4131 support to GENERIC configuration.
 1.38 11-Feb-2002  takemura Added vr4122ip.
 1.37 10-Feb-2002  takemura Made vr.c compilable without SINGLE_VRIP_BASE macro.
 1.36 31-Jan-2002  uch clean up header file.
 1.35 04-Jan-2002  takemura Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII.
 1.34 02-Jan-2002  uch fix bootstrap stack violation.
 1.33 29-Dec-2001  takemura Added sg2com(SigmarionII sertial).
 1.32 18-Nov-2001  takemura Rewrite bus stuff with method table in the bus tags.
 1.31 23-Sep-2001  uch branches: 1.31.4;
improve interrupt response.
 1.30 17-Sep-2001  uch clean up "mainbus" related code.
 1.29 16-Sep-2001  uch rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
 1.28 16-Sep-2001  uch ANSIfy, KNF.
 1.27 15-Sep-2001  uch switch from splvec to ipl_sr_bits.
 1.26 11-Jun-2001  enami branches: 1.26.2; 1.26.4;
make GENERIC compile again.
 1.25 11-Jun-2001  enami - make this file compile even if either hpcfb or vrkiu isn't included.
- introduce new cpp symbol VR_FIND_DRAMLIM not to probe dram beyound this.
for example, MP-C303 hangs hard if memoy beyond 0x03800000 is probed.
 1.24 30-May-2001  lukem add missing #include "opt_kgdb.h"
 1.23 17-May-2001  enami Use VRIP_SIU_ADDR instead of 0x0c000000 for base address of serial console
or kgdb connection.
 1.22 18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.21 12-Apr-2001  thorpej splvec.splimp -> splvec.splvm
 1.20 22-Feb-2001  uch branches: 1.20.2;
hpc common files are moved to dev/hpc.
 1.19 22-Jul-2000  takemura mb_bus_space_init() had been removed accidentally when KGDB was supported.
It's need for initialize system_bus_iot.
 1.18 20-Jul-2000  jeffs kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
 1.17 02-May-2000  uch change hpfcb_cnattach interface to adopt current implementation.
 1.16 11-Apr-2000  uch sync with new mips trap.c
 1.15 12-Mar-2000  takemura New frame buffer driver 'hpcfb' and built in video controller 'bivideo'
 1.14 25-Feb-2000  shin stop memory probing at first memory image.
this is necessary for MC-CS12.
 1.13 21-Feb-2000  shin support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
 1.12 10-Feb-2000  sato add machine model name to cpu_model.
 1.11 28-Jan-2000  takemura CPU specific idle hook and VR idle routine.
 1.10 16-Dec-1999  shin display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
 1.9 09-Dec-1999  sato vrbcu related change.
 1.8 04-Dec-1999  takemura You can push power key to reboot when halt in vr_reboot.
 1.7 04-Dec-1999  takemura Unify vr_reset and vr_powerdown.
 1.6 28-Nov-1999  sato PowerOff code. (not yet completely)
'halt -p' availavle.
not yet all power off...
cannot exit poweroff mode. (reset required..)
 1.5 28-Nov-1999  takemura Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.4 21-Nov-1999  uch add new function vr_fb_init, vr_mem_init.
 1.3 24-Oct-1999  takemura Wsdisplay and wskbd are supported as a console device.
 1.2 16-Oct-1999  shin branches: 1.2.2; 1.2.4;
fix message in vr_device_register()
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 15-Nov-1999  fvdl Sync with -current
 1.2.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.2 12-Mar-2001  bouyer Sync with HEAD.
 1.2.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.20.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.26.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.26.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.26.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.26.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.31.4.5 11-Dec-2002  thorpej Sync with HEAD.
 1.31.4.4 28-Feb-2002  nathanw Catch up to -current.
 1.31.4.3 11-Jan-2002  nathanw More catchup.
 1.31.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.31.4.1 23-Sep-2001  nathanw file vr.c was added on branch nathanw_sa on 2002-01-08 00:25:06 +0000
 1.39.10.1 12-Dec-2002  he Pull up revision 1.40 (requested by shin in ticket #1013):
Wipe out all physical memory before hibernate/reset.
Otherwise, WinCE will not boot on some machines (e.g. IBM
z50).
 1.41.2.4 17-Jan-2005  skrll Sync with HEAD.
 1.41.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.41.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.41.2.1 03-Aug-2004  skrll Sync with HEAD
 1.44.6.1 16-Apr-2005  tron Pull up revision 1.45 (requested by hamajima in ticket #1097):
Apply patch hpcmips/26158 (requested by darkstar)
This patch solves install/28656.
 1.45.10.3 21-Jan-2008  yamt sync with head
 1.45.10.2 07-Dec-2007  yamt sync with head
 1.45.10.1 03-Sep-2007  yamt sync with head.
 1.45.2.2 16-Jan-2005  hamajima Apply patch hpcmips/26158 (requested by darkstar)
This patch solves install/28656.
 1.45.2.1 16-Jan-2005  hamajima file vr.c was added on branch kent-audio2 on 2005-01-16 03:21:22 +0000
 1.46.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.48.26.2 18-Feb-2008  mjf Sync with HEAD.
 1.48.26.1 08-Dec-2007  mjf Sync with HEAD.
 1.48.20.1 09-Jan-2008  matt sync with HEAD
 1.48.18.1 09-Dec-2007  jmcneill Sync with HEAD.
 1.48.2.1 03-Dec-2007  ad Sync with HEAD.
 1.49.6.1 08-Jan-2008  bouyer Sync with HEAD
 1.50.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.51.22.2 29-Dec-2010  matt Adapt to the new interrupt framework.
(XXX hpcmips still has calls to _spllower which are not supported.)
 1.51.22.1 05-Feb-2010  matt Change to deal with new method of invoking softints. Remove mips/softintr.c
from config files. Fix SYMTAB_SPACE for WGT62V43
 1.51.20.1 25-Aug-2009  snj Pull up following revision(s) (requested by jun in ticket #918):
sys/arch/hpcmips/vr/vr.c: revision 1.54
Fix #41863, Missing "}".
 1.51.18.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.51.14.1 25-Aug-2009  snj Pull up following revision(s) (requested by jun in ticket #918):
sys/arch/hpcmips/vr/vr.c: revision 1.54
Fix #41863, Missing "}".
 1.51.12.1 28-Apr-2009  skrll Sync with HEAD.
 1.51.4.4 11-Aug-2010  yamt sync with head.
 1.51.4.3 11-Mar-2010  yamt sync with head
 1.51.4.2 19-Aug-2009  yamt sync with head.
 1.51.4.1 04-May-2009  yamt sync with head.
 1.55.4.3 21-Apr-2011  rmind sync with head
 1.55.4.2 05-Mar-2011  rmind sync with head
 1.55.4.1 30-May-2010  rmind sync with head
 1.55.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.58.4.1 05-Mar-2011  bouyer Sync with HEAD
 1.58.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.64.18.1 18-May-2014  rmind sync with head
 1.64.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.64.4.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 16-Sep-2001  uch branches: 1.4.4;
ANSIfy, KNF.
 1.3 28-Jan-2000  takemura branches: 1.3.6; 1.3.8;
CPU specific idle hook and VR idle routine.
 1.2 28-Nov-1999  takemura Add definition for VR's special instructions.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.3.8.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.6.1 01-Oct-2001  fvdl Catch up with -current.
 1.4.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.4.4.1 16-Sep-2001  uch file vr.h was added on branch nathanw_sa on 2001-09-16 05:32:22 +0000
 1.9 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.8 04-Jan-2008  ad branches: 1.8.44; 1.8.54;
Need sys/device.h
 1.7 11-Dec-2005  christos branches: 1.7.50; 1.7.56; 1.7.64;
merge ktrace-lwp.
 1.6 15-Jul-2003  lukem branches: 1.6.16;
__KERNEL_RCSID()
 1.5 02-Oct-2002  thorpej branches: 1.5.6;
Use CFATTACH_DECL().
 1.4 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3 11-Feb-2002  takemura branches: 1.3.2; 1.3.8;
Added vr4122ip.
 1.2 11-Feb-2002  takemura Removed vr4102ip_probe to reduce kernel size.
 1.1 11-Feb-2002  takemura Added vr4102ip.
 1.3.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.3.8.1 11-Feb-2002  jdolecek file vr4102ip.c was added on branch kqueue on 2002-03-16 15:58:00 +0000
 1.3.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.3.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.2.1 11-Feb-2002  nathanw file vr4102ip.c was added on branch nathanw_sa on 2002-02-28 04:10:04 +0000
 1.5.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.1 21-Jan-2008  yamt sync with head
 1.7.64.1 08-Jan-2008  bouyer Sync with HEAD
 1.7.56.1 18-Feb-2008  mjf Sync with HEAD.
 1.7.50.1 09-Jan-2008  matt sync with HEAD
 1.8.54.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.44.1 30-Oct-2012  yamt sync with head
 1.8 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.7 04-Jan-2008  ad branches: 1.7.44; 1.7.54;
Need sys/device.h
 1.6 11-Dec-2005  christos branches: 1.6.50; 1.6.56; 1.6.64;
merge ktrace-lwp.
 1.5 15-Jul-2003  lukem branches: 1.5.16;
__KERNEL_RCSID()
 1.4 02-Oct-2002  thorpej branches: 1.4.6;
Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 11-Feb-2002  takemura branches: 1.2.2; 1.2.8;
Added Vr4122 and Vr4131 support to GENERIC configuration.
 1.1 11-Feb-2002  takemura Added vr4122ip.
 1.2.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.2.8.1 11-Feb-2002  jdolecek file vr4122ip.c was added on branch kqueue on 2002-03-16 15:58:01 +0000
 1.2.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.2.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1 11-Feb-2002  nathanw file vr4122ip.c was added on branch nathanw_sa on 2002-02-28 04:10:05 +0000
 1.4.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.6.1 03-Aug-2004  skrll Sync with HEAD
 1.5.16.1 21-Jan-2008  yamt sync with head
 1.6.64.1 08-Jan-2008  bouyer Sync with HEAD
 1.6.56.1 18-Feb-2008  mjf Sync with HEAD.
 1.6.50.1 09-Jan-2008  matt sync with HEAD
 1.7.54.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.44.1 30-Oct-2012  yamt sync with head
 1.12 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.11 03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER! Some subsystems have

#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.10 25-Jul-2014  dholland branches: 1.10.26; 1.10.28;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.9 16-Mar-2014  dholland branches: 1.9.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.8 27-Oct-2012  chs branches: 1.8.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.7 06-Jun-2010  dholland branches: 1.7.8; 1.7.18;
Add missing close-parenthesis; reported by Henning Petersen in PR 42526.
(HI CEGGER!)
 1.6 11-Jun-2008  cegger branches: 1.6.16; 1.6.18;
use device_lookup_private to get softc
 1.5 28-Apr-2008  martin branches: 1.5.2; 1.5.4;
Remove clause 3 and 4 from TNF licenses
 1.4 11-Dec-2005  christos branches: 1.4.74; 1.4.76; 1.4.78;
merge ktrace-lwp.
 1.3 29-Dec-2003  igy branches: 1.3.16;
remove unused functions to make compile
 1.2 15-Jul-2003  lukem __KERNEL_RCSID()
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.4 24-Jan-2005  skrll Adapt to branch.
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.16.1 21-Jun-2006  yamt sync with head.
 1.4.78.3 11-Aug-2010  yamt sync with head.
 1.4.78.2 04-May-2009  yamt sync with head.
 1.4.78.1 16-May-2008  yamt sync with head.
 1.4.76.2 17-Jun-2008  yamt sync with head.
 1.4.76.1 18-May-2008  yamt sync with head.
 1.4.74.2 29-Jun-2008  mjf Sync with HEAD.
 1.4.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.4.1 18-Jun-2008  simonb Sync with head.
 1.5.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.18.1 03-Jul-2010  rmind sync with head
 1.6.16.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.7.18.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.18.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.8.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.8.1 30-Oct-2012  yamt sync with head
 1.8.2.1 18-May-2014  rmind sync with head
 1.9.2.1 10-Aug-2014  tls Rebase.
 1.10.28.1 10-Jun-2019  christos Sync with HEAD
 1.10.26.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 01-May-2003  igy branches: 1.1.104; 1.1.106; 1.1.108;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.108.1 16-May-2008  yamt sync with head.
 1.1.106.1 18-May-2008  yamt sync with head.
 1.1.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 01-May-2003  igy branches: 1.1.104; 1.1.106; 1.1.108;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.108.1 16-May-2008  yamt sync with head.
 1.1.106.1 18-May-2008  yamt sync with head.
 1.1.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.3 06-May-2023  andvar s/regster/register/ in comments and error messages.
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 01-May-2003  igy branches: 1.1.104; 1.1.106; 1.1.108;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.108.1 16-May-2008  yamt sync with head.
 1.1.106.1 18-May-2008  yamt sync with head.
 1.1.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.9 27-Feb-2025  riastradh hpcmips/vr4181giu(4): Fix device_t/softc split straggler.
 1.8 07-Aug-2021  thorpej branches: 1.8.12;
Merge thorpej-cfargs2.
 1.7 24-Apr-2021  thorpej branches: 1.7.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.6 21-Nov-2020  thorpej branches: 1.6.2;
malloc(9) -> kmem(9)
 1.5 10-Nov-2019  chs branches: 1.5.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.4 27-Oct-2012  chs branches: 1.4.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 11-Dec-2005  christos branches: 1.3.112; 1.3.122;
merge ktrace-lwp.
 1.2 15-Jul-2003  lukem __KERNEL_RCSID()
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.112.1 30-Oct-2012  yamt sync with head
 1.4.38.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.5.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.6.2.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.7.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.8.12.1 02-Aug-2025  perseant Sync with HEAD
 1.2 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.1 09-Feb-2002  sato branches: 1.1.2; 1.1.8;
add vr4181 giu unit register definitions.
 1.1.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.8.1 09-Feb-2002  jdolecek file vr4181giureg.h was added on branch kqueue on 2002-03-16 15:58:01 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 09-Feb-2002  nathanw file vr4181giureg.h was added on branch nathanw_sa on 2002-02-28 04:10:05 +0000
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 11-Dec-2005  christos branches: 1.3.112; 1.3.122;
merge ktrace-lwp.
 1.2 15-Jul-2003  lukem __KERNEL_RCSID()
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.112.1 30-Oct-2012  yamt sync with head
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 01-May-2003  igy branches: 1.1.104; 1.1.106; 1.1.108;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.108.1 16-May-2008  yamt sync with head.
 1.1.106.1 18-May-2008  yamt sync with head.
 1.1.104.1 02-Jun-2008  mjf Sync with HEAD.
 1.1 28-Jan-2000  takemura branches: 1.1.6;
CPU specific idle hook and VR idle routine.
 1.1.6.2 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.1.6.1 28-Jan-2000  bouyer file vr_asm.h was added on branch thorpej_scsipi on 2000-11-20 20:47:53 +0000
 1.15 18-Feb-2008  tsutsui Remove unnecessary includes.
Many stuff was removed on newlock2 and yamt-idlelwp merges.
 1.14 17-Oct-2007  garbled branches: 1.14.2;
Merge the ppcoea-renovation branch to HEAD.

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

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

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

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.12 11-May-2007  tsutsui uvm.page_idle_zero now is a bool, not a 32bit value any more.
Pointed out by Matthew Orgass in PR port-hpcmips/36249.
 1.11 09-Feb-2007  ad branches: 1.11.2; 1.11.6; 1.11.8; 1.11.14;
Merge newlock2 to head.
 1.10 24-Mar-2006  tsutsui branches: 1.10.8;
Release sched_lock before enabling interrupts on LOCKDEBUG in vr_idle().
Closes PR port-hpcmips/26427.
 1.9 11-Dec-2005  christos branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12;
merge ktrace-lwp.
 1.8 07-Aug-2003  agc branches: 1.8.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.7 17-Jan-2003  thorpej branches: 1.7.2;
Merge the nathanw_sa branch.
 1.6 20-Aug-2000  thorpej branches: 1.6.2; 1.6.10; 1.6.24;
Add a lock around the scheduler, and use it as necessary, including
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it). Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.

Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.
 1.5 26-May-2000  thorpej First sweep at scheduler state cleanup. Collect MI scheduler
state into global and per-CPU scheduler state:

- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.

- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).

- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.

- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.

Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
 1.4 09-May-2000  shin call uvm_pageidlezero() while CPU is idle.
 1.3 11-Apr-2000  nisimura Load delay slot is automagically adjusted at runtime since MIPS II
architecture.
 1.2 28-Mar-2000  nisimura Change 'goto cpu_switch1' to 'goto cpu_switch_queuescan' in vr_idle.S
and make the jump destination global.
 1.1 28-Jan-2000  takemura CPU specific idle hook and VR idle routine.
 1.6.24.1 18-Dec-2002  gmcgarry Remove the scheduler semantics from machine-dependent context switch.
 1.6.10.1 24-Jun-2002  nathanw Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
 1.6.2.2 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.2.1 20-Aug-2000  bouyer file vr_idle.S was added on branch thorpej_scsipi on 2000-11-20 20:47:54 +0000
 1.7.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.16.4 27-Feb-2008  yamt sync with head.
 1.8.16.3 03-Sep-2007  yamt sync with head.
 1.8.16.2 26-Feb-2007  yamt sync with head.
 1.8.16.1 21-Jun-2006  yamt sync with head.
 1.9.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.9.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.9.8.1 01-Apr-2006  yamt sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.10.8.1 30-Jan-2007  ad For now always call sched_unlock_idle/sched_lock_idle. They will be
removed by yamt's cpu_switchto() changes.
 1.11.14.1 22-May-2007  matt Update to HEAD.
 1.11.8.1 11-Jul-2007  mjf Sync with head.
 1.11.6.1 27-May-2007  ad Sync with head.
 1.11.2.2 17-May-2007  yamt sync with head.
 1.11.2.1 19-Apr-2007  ad Compile fixes.
 1.13.10.2 23-Mar-2008  matt sync with HEAD
 1.13.10.1 06-Nov-2007  matt sync with HEAD
 1.14.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.20 13-Jan-2021  skrll Don't advertise AUDIO_PROP_CAPTURE - no capture method is provided

[ 1.0000000] audio0 at vraiu0: missing capture method
 1.19 23-Feb-2020  isaki branches: 1.19.6;
Make start_input/halt_input optional if the driver has no recording,
make start_output/halt_output optional if the driver has no playback.
And remove such never called functions.
 1.18 08-Jun-2019  isaki branches: 1.18.4;
Clean get_props().
- Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly.
This eliminates need for audio.c to take care of such (old)
drivers which don't return both of PLAYBACK and CAPTURE.
- All get_props() doesn't need to return AUDIO_PROP_MMAP.
It is handled in the audio layer now.
 1.17 08-May-2019  isaki Merge isaki-audio2 branch, the overhaul of audio subsystem.
- Interrupt-oriented system rather than thread-oriented.
- Improve stability, quality and performance.
- Split playback and record cleanly. Improve halfduplex support.
- Many bugs are fixed including deadlocks, resource leaks, abuses, etc.
- Simplify audio filter mechanism. The encoding/channels/frequency
conversions are completely handled in the upper layer. So the hard-
ware driver only converts its hardware encoding (if necessary).
- audio_hw_if changes:
- Obsoletes query_encoding and add query_format instead.
- Obsoletes set_params and add set_format instead.
- Remove drain, setfd, mappage.
- The call sequences are changed.
- ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted.
- ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced.
- cleanup config attributes: au*conv and mulaw.
- All hardware drivers should follow it (I've done as much as possible).

Some file paths are changed:
- dev/audio.c -> dev/audio/audio.c (rewritten)
- dev/audiovar.h -> dev/audio/audiovar.h
- dev/audio_dai.h -> dev/audio/audio_dai.h
- dev/audio_if.h -> dev/audio/audio_if.h
- dev/audiobell.c -> dev/audio/audiobell.c
- dev/audiobellvar.h -> dev/audio/audiobellvar.h
- dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
 1.16 16-Mar-2019  isaki branches: 1.16.2;
Use C99 style struct initializer to audio_hw_if.
 1.15 27-Oct-2012  chs branches: 1.15.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.14 24-Nov-2011  mrg branches: 1.14.8;
put back IPL_AUDIO and splaudio(), at the request of rmind. they are
aliases and now we can easily revert audio to IPL_VM if necessary,
without having to revert the whole branch.
 1.13 23-Nov-2011  jmcneill Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From
the original ad-audiomp branch notes:

Add MP locking to the audio drivers.

Making the audio drivers MP safe is necessary before efforts
can be made to make the VM system MP safe.

The are two locks per device instance, an ISR lock and
a character device lock. The ISR lock replaces calls to
splaudio()/splx(), and will be held across calls to device
methods which were called at splaudio() before (e.g.
trigger_output). The character device lock is held across
calls to nearly all of the methods, excluding some only
used for initialization, e.g. get_locks.

Welcome to 5.99.57.
 1.12 04-Mar-2007  christos branches: 1.12.78; 1.12.80;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.11 11-Dec-2005  christos branches: 1.11.26;
merge ktrace-lwp.
 1.10 15-Jan-2005  kent branches: 1.10.10;
ansify and KNF
 1.9 10-Jan-2005  kent merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
- remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels. Conversion information
is conveyed by stream_filter_list_t.
- change the type of sample_rate: u_long -> u_int
- add `validbits,' which represents the valid data size in
precision bits. It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
- add two parameters to set_params()
stream_filter_list_t *pfil, stream_filter_list *rfil
A HW driver should set filter recipes for requested formats
- constify audio_params parameters of trigger_output() and
trigger_input(). They represent audio formats for the hardware.
- make open() and close() optional
- add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
to round_blocksize()

* sw_code is replaced with stream_filter_t.
stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
- audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
- audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
- audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
- ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes
 1.8 29-Oct-2004  yamt branches: 1.8.2;
constify audio_hw_if, midi_hw_if, and radio_hw_if.
 1.7 04-Feb-2004  jmcneill The vraiu(4) hardware doesn't provide any interface for volume control.
Added software volume control functionality in vraiu_volume(), called from
vraiu_start(). Can be changed by the mixerctl 'inputs.dac' -- 0 is muted,
255 is the level that the driver previously outputted (quite loud on the
IBM Workpad Z50), and everything else is a smooth transition between the
two. Thanks to toddpw@ for lending me the hardware to test these changes.
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 03-May-2003  wiz branches: 1.5.2;
DMA, not dma nor Dma.
 1.4 06-Apr-2003  wiz Respect the law: Use A-law and mu-law as spellings as far as easily possible.
Inspired by Igor Sobrado in PR 19680.
 1.3 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 23-Mar-2002  hamajima branches: 1.1.2; 1.1.8;
add VR4121 Audio Interface Unit
 1.1.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 23-Mar-2002  jdolecek file vraiu.c was added on branch kqueue on 2002-06-23 17:36:56 +0000
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.1 23-Mar-2002  nathanw file vraiu.c was added on branch nathanw_sa on 2002-04-01 07:40:28 +0000
 1.5.2.5 17-Jan-2005  skrll Sync with HEAD.
 1.5.2.4 02-Nov-2004  skrll Sync with HEAD.
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.2.2 09-Jan-2005  kent audio_hw_if change
* make open() and close() optional
* add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
to round_blocksize()
 1.8.2.1 03-Jan-2005  kent adopt the filter pipeline framework
 1.10.10.1 03-Sep-2007  yamt sync with head.
 1.11.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.12.80.2 22-Nov-2011  jmcneill get rid of unused 'powerstate' callback in audio_hw_if
 1.12.80.1 20-Nov-2011  jmcneill adapt to audiomp api changes
 1.12.78.2 30-Oct-2012  yamt sync with head
 1.12.78.1 17-Apr-2012  yamt sync with head
 1.14.8.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.15.38.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.15.38.1 10-Jun-2019  christos Sync with HEAD
 1.16.2.3 04-May-2019  isaki Move dev/audio_if.h -> dev/audio/audio_if.h
 1.16.2.2 04-May-2019  isaki Remove sc_status flag. Such flag that indicates whether the device
is opened is handled in the upper layer now. And it also fixes that
was not able to call commit_setting() before open() since netbsd-8.
 1.16.2.1 21-Apr-2019  isaki Adapt to audio2.
 1.18.4.1 29-Feb-2020  ad Sync with head.
 1.19.6.1 03-Apr-2021  thorpej Sync with HEAD.
 1.1 23-Mar-2002  hamajima branches: 1.1.2; 1.1.8;
add VR4121 Audio Interface Unit
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 23-Mar-2002  jdolecek file vraiureg.h was added on branch kqueue on 2002-06-23 17:36:56 +0000
 1.1.2.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.1 23-Mar-2002  nathanw file vraiureg.h was added on branch nathanw_sa on 2002-04-01 07:40:29 +0000
 1.19 07-Aug-2023  mrg fix mis-matched function prototype and definitions.

found by GCC 12.
 1.18 06-May-2023  andvar s/regster/register/ in comments and error messages.
 1.17 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.16 24-Apr-2021  thorpej branches: 1.16.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.15 21-Nov-2020  thorpej branches: 1.15.2;
malloc(9) -> kmem(9)
 1.14 10-Nov-2019  chs branches: 1.14.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.13 27-Oct-2012  chs branches: 1.13.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.12 15-Dec-2007  perry branches: 1.12.44; 1.12.54;
__FUNCTION__ -> __func__
 1.11 29-Mar-2006  thorpej branches: 1.11.38; 1.11.48; 1.11.52;
Use device_cfdata().
 1.10 11-Dec-2005  christos branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10; 1.10.12;
merge ktrace-lwp.
 1.9 25-Oct-2003  mycroft branches: 1.9.16;
Token-pasting nits for GCC 3.
 1.8 23-Oct-2003  he Correct a few more instances where NULL was used in an integral context.
 1.7 26-Sep-2003  simonb Can't use __FUNCTION__ with string concatenation in gcc331.
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 02-Oct-2002  thorpej branches: 1.5.6;
Use CFATTACH_DECL().
 1.4 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3 27-Jan-2002  takemura Added vripif.
 1.2 09-May-2001  shin branches: 1.2.2; 1.2.4; 1.2.10;
don't define TAILQ_EMPTY here. TAILQ_EMPTY is defined in <sys/queue.h>.
 1.1 06-May-2001  takemura Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
 1.2.10.3 18-Oct-2002  nathanw Catch up to -current.
 1.2.10.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.10.1 09-May-2001  nathanw file vrc4172gpio.c was added on branch nathanw_sa on 2002-02-28 04:10:05 +0000
 1.2.4.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.4.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.2.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.2 21-Jan-2008  yamt sync with head
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.10.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.10.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.10.8.1 01-Apr-2006  yamt sync with head.
 1.10.6.1 22-Apr-2006  simonb Sync with head.
 1.10.4.1 09-Sep-2006  rpaulo sync with head
 1.11.52.1 02-Jan-2008  bouyer Sync with HEAD
 1.11.48.1 26-Dec-2007  ad Sync with head.
 1.11.38.1 09-Jan-2008  matt sync with HEAD
 1.12.54.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.12.44.1 30-Oct-2012  yamt sync with head
 1.13.38.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.14.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.15.2.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.16.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 06-May-2001  takemura branches: 1.2.8;
Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
 1.1 11-Nov-2000  sato branches: 1.1.2; 1.1.4;
- vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.2.1 11-Nov-2000  bouyer file vrc4172gpioreg.h was added on branch thorpej_scsipi on 2000-11-22 16:00:13 +0000
 1.2.8.2 06-May-2001  takemura Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
 1.2.8.1 06-May-2001  takemura file vrc4172gpioreg.h was added on branch nathanw_sa on 2001-05-06 14:25:17 +0000
 1.2 13-Apr-2001  itojun branches: 1.2.8;
$NetBSD$ tag cleanup
 1.1 11-Nov-2000  sato branches: 1.1.2; 1.1.4;
- vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.2.1 11-Nov-2000  bouyer file vrc4172icureg.h was added on branch thorpej_scsipi on 2000-11-22 16:00:13 +0000
 1.2.8.2 13-Apr-2001  itojun $NetBSD$ tag cleanup
 1.2.8.1 13-Apr-2001  itojun file vrc4172icureg.h was added on branch nathanw_sa on 2001-04-13 08:11:45 +0000
 1.20 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.19 24-Apr-2021  thorpej branches: 1.19.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.18 02-Oct-2015  msaitoh branches: 1.18.32;
PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.17 29-Mar-2014  christos branches: 1.17.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.16 27-Oct-2012  chs branches: 1.16.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.15 24-Aug-2011  dyoung branches: 1.15.2; 1.15.12;
Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.
 1.14 17-May-2011  dyoung PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional
role in NetBSD (drivers are no longer supposed to write these to
pa_flags) without changing name. Correct that.

Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and
PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names
consistent with the other PCI flags and poisoning 3rd-party driver
sources that use the flags in the old bad way.

This patch produces no binary changes in this set of PCI kernels when
they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:

algor P4032 P5064 P6032
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321
evbarm-el IXDP425 IXM1200 KUROBOX_PRO
evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR
evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
iyonix GENERIC
landisk GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sbmips-el GENERIC
sgimips GENERIC32_IP2x GENERIC32_IP3x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC
 1.13 11-Dec-2005  christos branches: 1.13.100; 1.13.106;
merge ktrace-lwp.
 1.12 30-Aug-2004  drochner Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
 1.11 27-Dec-2003  shin Add MobilePro 880 (MC/R730A), MC/R730 support for USB/"pci".
Addresses PR/23654.
 1.10 15-Jul-2003  lukem __KERNEL_RCSID()
 1.9 15-Jun-2003  fvdl branches: 1.9.2;
Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
 1.8 01-Jan-2003  thorpej Use aprint_normal() for cfprint routines.
 1.7 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.6 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5 16-May-2002  thorpej branches: 1.5.2; 1.5.4; 1.5.6;
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
 1.4 11-May-2002  takemura Enabeled OHCI USB controller on MobilePro 800.
 1.3 03-May-2002  takemura Enable USB support for MC-R700.
 1.2 14-Apr-2002  takemura Added bus probing to avoid bus error.
 1.1 22-Mar-2002  takemura branches: 1.1.2;
Added Vrc4172 USB OHCI for Pencentra 130.
 1.1.2.6 03-Jan-2003  thorpej Sync with HEAD.
 1.1.2.5 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.4 20-Jun-2002  nathanw Catch up to -current.
 1.1.2.3 17-Apr-2002  nathanw Catch up to -current.
 1.1.2.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.1 22-Mar-2002  nathanw file vrc4172pci.c was added on branch nathanw_sa on 2002-04-01 07:40:29 +0000
 1.5.6.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.6.1 16-May-2002  jdolecek file vrc4172pci.c was added on branch kqueue on 2002-06-23 17:36:56 +0000
 1.5.4.1 12-Mar-2004  jmc Pullup rev 1.11 (requested by shin in ticket #1587)

Add MobilePro 880 (MC/R730A), MC/R730 support for USB/pci.
 1.5.2.2 16-May-2002  thorpej * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
 1.5.2.1 16-May-2002  thorpej file vrc4172pci.c was added on branch gehenna-devsw on 2002-05-16 01:01:37 +0000
 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.13.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.13.100.1 31-May-2011  rmind sync with head
 1.15.12.3 03-Dec-2017  jdolecek update from HEAD
 1.15.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.15.2.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.2.1 30-Oct-2012  yamt sync with head
 1.16.2.1 18-May-2014  rmind sync with head
 1.17.6.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.18.32.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.19.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 22-Mar-2002  takemura branches: 1.1.2; 1.1.8;
Added Vrc4172 USB OHCI for Pencentra 130.
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 22-Mar-2002  jdolecek file vrc4172pcireg.h was added on branch kqueue on 2002-06-23 17:36:56 +0000
 1.1.2.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.1 22-Mar-2002  nathanw file vrc4172pcireg.h was added on branch nathanw_sa on 2002-04-01 07:40:29 +0000
 1.2 08-Apr-2022  andvar fix various typos, mainly in comments, but also log messages, docs, game text.
 1.1 11-Nov-2000  sato branches: 1.1.2;
- vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
 1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.2.1 11-Nov-2000  bouyer file vrc4172pcsreg.h was added on branch thorpej_scsipi on 2000-11-22 16:00:13 +0000
 1.2 13-Apr-2001  itojun branches: 1.2.8;
$NetBSD$ tag cleanup
 1.1 11-Nov-2000  sato branches: 1.1.2; 1.1.4;
- vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.2.1 11-Nov-2000  bouyer file vrc4172pmureg.h was added on branch thorpej_scsipi on 2000-11-22 16:00:13 +0000
 1.2.8.2 13-Apr-2001  itojun $NetBSD$ tag cleanup
 1.2.8.1 13-Apr-2001  itojun file vrc4172pmureg.h was added on branch nathanw_sa on 2001-04-13 08:11:45 +0000
 1.22 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.21 12-Feb-2012  matt branches: 1.21.6;
Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.20 11-Dec-2005  christos branches: 1.20.112; 1.20.116;
merge ktrace-lwp.
 1.19 27-Dec-2003  shin Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags.
Addresses PR/23653.
 1.18 15-Jul-2003  lukem __KERNEL_RCSID()
 1.17 02-Oct-2002  thorpej branches: 1.17.6;
Use CFATTACH_DECL().
 1.16 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.15 27-Jan-2002  takemura branches: 1.15.10;
Added vripif.
 1.14 24-Sep-2001  takemura branches: 1.14.4;
Renamed platid_search() to platid_search_data() and added new platid_search().
Platid_name() was re-implemented using platid_search().
 1.13 16-Sep-2001  uch ANSIfy, KNF.
 1.12 13-Apr-2001  itojun branches: 1.12.2; 1.12.4;
s/$Id$/$NetBSD$/
 1.11 24-Mar-2001  sato add MobilePro770(MC/R520A) parameters.
 1.10 12-Mar-2001  sato * vrc4172pwm_get_light() return the value masked by VRC2_PWM_LCDEN_MASK.
* when resume from suepend, restore saved value instead of always on.
 1.9 06-Mar-2001  sato add sigmarion parameter.
 1.8 27-Feb-2001  sato branches: 1.8.2;
* update copyright year.
* some machines(MC-R700 etc) have pre-vrc4172 asic.
they don's work as vrc4172 specification, so skip some probe sequence.
- add platid related parameter.
- add VRC4172PWM_BROKEN_PROBE code.
* add MC-R700,700A parameters (tested on MC-R700).
* add contrast parameters.(but no one use yet).
* turn some message in probing to VPRINTF().
* enlarge VRC2_PWM_N_BRIGHTNESS.
 1.7 26-Feb-2001  sato DPRINTF/VPRINTF change.
 1.6 16-Feb-2001  sato * vrc4172pwm_light(): workaround when brightness is max.
if light turn off, brightness must be minimum.
* more DPRINTF().
 1.5 15-Feb-2001  sato * add MC/R430/530/530A parameters in vrc4172pwm_platid_param_table.
* fix typo in cf_loc access.
* add some DPRINTF()s.
* fix default value if no params in vrc4172pwm_platid_param_table.
 1.4 29-Dec-2000  sato - use struct platid_date instead of struct vrc4172pwm_platid_param.
- delete struct vrc4172pwm_platid_param.

XXX: vrc4172pwm driver currenty not functional yet.
 1.3 29-Dec-2000  sato * vrc4172pwm driver
- add missing functions
- make compilabe.
 1.2 11-Nov-2000  sato branches: 1.2.2;
update vrc4172 pwm unit codes.(but not yet completly)
 1.1 11-Nov-2000  sato - vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
 1.2.2.6 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.5 27-Mar-2001  bouyer Sync with HEAD.
 1.2.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.2.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.2.2.1 11-Nov-2000  bouyer file vrc4172pwm.c was added on branch thorpej_scsipi on 2000-11-22 16:00:14 +0000
 1.8.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.8.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.12.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.12.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.12.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.12.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.14.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.14.4.1 24-Sep-2001  nathanw file vrc4172pwm.c was added on branch nathanw_sa on 2002-02-28 04:10:05 +0000
 1.15.10.1 12-Mar-2004  jmc Pullup rev 1.19 (requested by shin in ticket #1586)

Add MC/R700A, MC/R730, and MC/R730A vrc4172pwm flags.
 1.17.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.17.6.1 03-Aug-2004  skrll Sync with HEAD
 1.20.116.1 18-Feb-2012  mrg merge to -current.
 1.20.112.2 30-Oct-2012  yamt sync with head
 1.20.112.1 17-Apr-2012  yamt sync with head
 1.21.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4 13-Apr-2001  itojun branches: 1.4.8;
$NetBSD$ tag cleanup
 1.3 13-Apr-2001  itojun s/$Id$/$NetBSD$/
 1.2 29-Dec-2000  sato branches: 1.2.2;
* vrc4172pwm driver
- add missing functions
- make compilabe.
 1.1 11-Nov-2000  sato branches: 1.1.2;
- vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
 1.1.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.2.1 11-Nov-2000  bouyer file vrc4172pwmreg.h was added on branch thorpej_scsipi on 2000-11-22 16:00:14 +0000
 1.2.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.8.2 13-Apr-2001  itojun $NetBSD$ tag cleanup
 1.4.8.1 13-Apr-2001  itojun file vrc4172pwmreg.h was added on branch nathanw_sa on 2001-04-13 08:11:45 +0000
 1.9 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.8 13-Apr-2001  itojun branches: 1.8.8; 1.8.164; 1.8.174;
s/$Id$/$NetBSD$/
 1.7 24-Mar-2001  sato change backlihght parameter value type to int8_t.
 1.6 12-Mar-2001  sato * vrc4172pwm_get_light() return the value masked by VRC2_PWM_LCDEN_MASK.
* when resume from suepend, restore saved value instead of always on.
 1.5 27-Feb-2001  sato branches: 1.5.2;
* update copyright year.
* some machines(MC-R700 etc) have pre-vrc4172 asic.
they don's work as vrc4172 specification, so skip some probe sequence.
- add platid related parameter.
- add VRC4172PWM_BROKEN_PROBE code.
* add MC-R700,700A parameters (tested on MC-R700).
* add contrast parameters.(but no one use yet).
* turn some message in probing to VPRINTF().
* enlarge VRC2_PWM_N_BRIGHTNESS.
 1.4 29-Dec-2000  sato - use struct platid_date instead of struct vrc4172pwm_platid_param.
- delete struct vrc4172pwm_platid_param.

XXX: vrc4172pwm driver currenty not functional yet.
 1.3 29-Dec-2000  sato * vrc4172pwm driver
- add missing functions
- make compilabe.
 1.2 11-Nov-2000  sato branches: 1.2.2;
update vrc4172 pwm unit codes.(but not yet completly)
 1.1 11-Nov-2000  sato - vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
 1.2.2.6 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.5 27-Mar-2001  bouyer Sync with HEAD.
 1.2.2.4 12-Mar-2001  bouyer Sync with HEAD.
 1.2.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.2.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.2.2.1 11-Nov-2000  bouyer file vrc4172pwmvar.h was added on branch thorpej_scsipi on 2000-11-22 16:00:14 +0000
 1.5.2.2 21-Jun-2001  nathanw Catch up to -current.
 1.5.2.1 09-Apr-2001  nathanw Catch up with -current.
 1.8.174.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.164.1 30-Oct-2012  yamt sync with head
 1.8.8.2 13-Apr-2001  itojun s/$Id$/$NetBSD$/
 1.8.8.1 13-Apr-2001  itojun file vrc4172pwmvar.h was added on branch nathanw_sa on 2001-04-13 08:09:09 +0000
 1.6 08-Apr-2022  andvar fix various typos, mainly in comments, but also log messages, docs, game text.
 1.5 11-Dec-2005  christos merge ktrace-lwp.
 1.4 04-Jan-2004  wiz Spell controller with two ls. Inspired by miod@openbsd.
 1.3 13-Apr-2001  itojun branches: 1.3.8; 1.3.24;
$NetBSD$ tag cleanup
 1.2 20-Dec-2000  sato branches: 1.2.2;
fix ICU address typos.
 1.1 11-Nov-2000  sato branches: 1.1.2;
- vrc4172 address map definisions.
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
 1.1.2.4 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.1.2.1 11-Nov-2000  bouyer file vrc4172reg.h was added on branch thorpej_scsipi on 2000-11-22 16:00:14 +0000
 1.2.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.24.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.24.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.24.1 03-Aug-2004  skrll Sync with HEAD
 1.3.8.2 13-Apr-2001  itojun $NetBSD$ tag cleanup
 1.3.8.1 13-Apr-2001  itojun file vrc4172reg.h was added on branch nathanw_sa on 2001-04-13 08:11:45 +0000
 1.27 21-Jul-2022  andvar fix typos in comments and log messages, mainly s/intrrupt/interrupt/.
 1.26 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.25 24-Apr-2021  thorpej branches: 1.25.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.24 31-Mar-2017  msaitoh branches: 1.24.28;
Remove extra 0x. This bug was added when replacing bitmask_snprintf(9) with
snprintb(3) (in between NetBSD 5 and 6). Old bitmask_snprint(9) didn't add
0x" automatically for hexadecimal value, so old code used it with "0x%s".
 1.23 29-Mar-2014  christos branches: 1.23.6; 1.23.10; 1.23.14;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.22 27-Oct-2012  chs branches: 1.22.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.21 05-Apr-2009  dholland branches: 1.21.12; 1.21.22;
Fix broken build from missing comma. (HI CHRISTOS!!)
 1.20 16-Dec-2008  christos branches: 1.20.2;
replace bitmask_snprintf(9) with snprintb(3)
 1.19 11-Dec-2005  christos branches: 1.19.74; 1.19.78; 1.19.86;
merge ktrace-lwp.
 1.18 26-Aug-2005  drochner s/locdesc_t/int/g
 1.17 30-Jun-2005  drochner branches: 1.17.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.16 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.15 24-Apr-2004  kleink Update for new pci_devinfo(9) signature.
 1.14 15-Jul-2003  lukem __KERNEL_RCSID()
 1.13 24-Mar-2003  imp branches: 1.13.2;
It appears that we now need locators.h. Other files in this directory
have it, and adding it makes this compile. If this is not the right
way to fix this problem, please let me know the right way...
 1.12 01-Jan-2003  thorpej Use aprint_normal() for cfprint routines.
 1.11 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.10 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.9 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.8 10-Mar-2002  takemura Attached vrpiu at vrc4173bcu.
 1.7 10-Mar-2002  takemura Attached vrkiu at vrc4173bcu.
 1.6 13-Jan-2002  takemura Fixed vrpciu with config_hook PCI interrupt handling.
 1.5 06-Jan-2002  takemura Set interrupt mask on Vrc4173 ICU.
 1.4 05-Jan-2002  takemura DoCoMo SigmationII support (Experimental)
You must turn on HPCMIPS_L1CACHE_DISABLE option.
 1.3 22-Oct-2001  takemura branches: 1.3.4;
Remove junk line, which I inserted in last commit.
 1.2 21-Oct-2001  takemura - Added auto detection for BCU device no.
- Added clock mask unit register definition.
- Reset child devices and set clock mask.
 1.1 13-Jun-2001  enami branches: 1.1.2; 1.1.4;
Add minimal support for vr4122/vrc4173 pci.
 1.1.4.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.1.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.4.6 03-Jan-2003  thorpej Sync with HEAD.
 1.3.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.3.4.4 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.3.4.2 11-Jan-2002  nathanw More catchup.
 1.3.4.1 22-Oct-2001  nathanw file vrc4173bcu.c was added on branch nathanw_sa on 2002-01-11 23:38:26 +0000
 1.13.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.13.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1 03-Aug-2004  skrll Sync with HEAD
 1.17.2.1 21-Jun-2006  yamt sync with head.
 1.19.86.2 28-Apr-2009  skrll Sync with HEAD.
 1.19.86.1 19-Jan-2009  skrll Sync with HEAD.
 1.19.78.1 04-May-2009  yamt sync with head.
 1.19.74.1 17-Jan-2009  mjf Sync with HEAD.
 1.20.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.21.22.3 03-Dec-2017  jdolecek update from HEAD
 1.21.22.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.21.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.21.12.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.21.12.1 30-Oct-2012  yamt sync with head
 1.22.2.1 18-May-2014  rmind sync with head
 1.23.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.23.10.1 26-Apr-2017  pgoyette Sync with HEAD
 1.23.6.1 28-Aug-2017  skrll Sync with HEAD
 1.24.28.7 05-Apr-2021  thorpej Decorate the problematic config_probe() calls (non-boolean return value)
with XXX.
 1.24.28.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.24.28.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.24.28.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.24.28.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.24.28.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.24.28.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.25.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.4 13-Jan-2002  takemura Fixed vrpciu with config_hook PCI interrupt handling.
 1.3 05-Jan-2002  takemura DoCoMo SigmationII support (Experimental)
You must turn on HPCMIPS_L1CACHE_DISABLE option.
 1.2 21-Oct-2001  takemura branches: 1.2.4;
- Added auto detection for BCU device no.
- Added clock mask unit register definition.
- Reset child devices and set clock mask.
 1.1 13-Jun-2001  enami branches: 1.1.2; 1.1.4;
Add minimal support for vr4122/vrc4173 pci.
 1.1.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.2 11-Jan-2002  nathanw More catchup.
 1.2.4.1 21-Oct-2001  nathanw file vrc4173bcuvar.h was added on branch nathanw_sa on 2002-01-11 23:38:26 +0000
 1.2 26-Oct-2001  enami branches: 1.2.2; 1.2.4;
Fix size of iospace; it's not 2 but 4, since two 16bit wide registers at
offset 0 and 2.
 1.1 21-Oct-2001  takemura branches: 1.1.2;
- Added auto detection for BCU device no.
- Added clock mask unit register definition.
- Reset child devices and set clock mask.
 1.1.2.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.2.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.1 26-Oct-2001  thorpej file vrc4173cmureg.h was added on branch kqueue on 2002-01-10 19:44:13 +0000
 1.2.2.2 26-Oct-2001  enami Fix size of iospace; it's not 2 but 4, since two 16bit wide registers at
offset 0 and 2.
 1.2.2.1 26-Oct-2001  enami file vrc4173cmureg.h was added on branch nathanw_sa on 2001-10-26 04:22:26 +0000
 1.1 13-Jun-2001  enami branches: 1.1.2; 1.1.10;
Add minimal support for vr4122/vrc4173 pci.
 1.1.10.2 13-Jun-2001  enami Add minimal support for vr4122/vrc4173 pci.
 1.1.10.1 13-Jun-2001  enami file vrc4173icureg.h was added on branch nathanw_sa on 2001-06-13 07:32:49 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.5 24-Feb-2025  andvar s/architecure/architecture/ and few other typos in comments.
 1.4 10-Feb-2002  sato branches: 1.4.242;
fix ONLY_4122_4131
 1.3 07-Sep-2001  sato branches: 1.3.4;
add VR4131 releated definisions and change.
 1.2 17-Apr-2001  sato branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
fix SINGLE_VRIP_BASE condition.
 1.1 17-Apr-2001  sato - definition for vr cpu identify.
- definition for vr cpu group identify.
 1.2.8.1 01-Oct-2001  fvdl Catch up with -current.
 1.2.6.2 16-Mar-2002  jdolecek Catch up with -current.
 1.2.6.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.2.2.1 17-Apr-2001  bouyer file vrcpudef.h was added on branch thorpej_scsipi on 2001-04-21 17:53:47 +0000
 1.3.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.4.1 07-Sep-2001  nathanw file vrcpudef.h was added on branch nathanw_sa on 2002-02-28 04:10:05 +0000
 1.4.242.1 02-Aug-2025  perseant Sync with HEAD
 1.8 11-Jun-2015  matt Add struct pmap_limits and pm_{min,max}addr from uvm/pmap/map.h and use it to
store avail_start, avail_end, virtual_start, and virtual_end.
Remove iospace and let emips just bump pmap_limits.virtual_start to get the
VA space it needs.
pmap_segtab.c is almost identical to uvm/pmap/pmap_segtab.c now. It won't
be long until we switch to the uvm/pmap one.
 1.7 27-Oct-2012  chs branches: 1.7.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.6 20-Feb-2011  matt branches: 1.6.4; 1.6.14;
Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
(XXX don't know how to deal with use of spllower in sleep/pause code so
hpcmips kernel will fail to compile).
 1.5 11-Dec-2005  christos branches: 1.5.96; 1.5.100; 1.5.106; 1.5.108;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem __KERNEL_RCSID()
 1.3 02-Oct-2002  thorpej branches: 1.3.6;
Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 11-Feb-2002  takemura branches: 1.1.2; 1.1.8;
Added DMA Address unit and DMA Control unit. (not tested)
 1.1.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.8.1 11-Feb-2002  jdolecek file vrdcu.c was added on branch kqueue on 2002-03-16 15:58:01 +0000
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 11-Feb-2002  nathanw file vrdcu.c was added on branch nathanw_sa on 2002-02-28 04:10:05 +0000
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.5.108.1 05-Mar-2011  bouyer Sync with HEAD
 1.5.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.5.100.1 05-Mar-2011  rmind sync with head
 1.5.96.1 14-Jan-2010  matt more avail_end/avail_start changes
 1.6.14.2 03-Dec-2017  jdolecek update from HEAD
 1.6.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.6.4.1 30-Oct-2012  yamt sync with head
 1.7.14.1 22-Sep-2015  skrll Sync with HEAD
 1.1 11-Feb-2002  takemura branches: 1.1.2; 1.1.8;
Added DMA Address unit and DMA Control unit. (not tested)
 1.1.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.8.1 11-Feb-2002  jdolecek file vrdcuvar.h was added on branch kqueue on 2002-03-16 15:58:01 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 11-Feb-2002  nathanw file vrdcuvar.h was added on branch nathanw_sa on 2002-02-28 04:10:05 +0000
 1.7 09-Jun-2015  matt #include <sys/cpu.h> and/or <mips/cpuregs.h> + other include fixes
 1.6 27-Oct-2012  chs branches: 1.6.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.5 11-Dec-2005  christos branches: 1.5.112; 1.5.122;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem __KERNEL_RCSID()
 1.3 02-Oct-2002  thorpej branches: 1.3.6;
Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 11-Feb-2002  takemura branches: 1.1.2; 1.1.8;
Added DMA Address unit and DMA Control unit. (not tested)
 1.1.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.8.1 11-Feb-2002  jdolecek file vrdmaau.c was added on branch kqueue on 2002-03-16 15:58:01 +0000
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 11-Feb-2002  nathanw file vrdmaau.c was added on branch nathanw_sa on 2002-02-28 04:10:05 +0000
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.5.122.2 03-Dec-2017  jdolecek update from HEAD
 1.5.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5.112.1 30-Oct-2012  yamt sync with head
 1.6.14.1 22-Sep-2015  skrll Sync with HEAD
 1.1 11-Feb-2002  takemura branches: 1.1.2; 1.1.8;
Added DMA Address unit and DMA Control unit. (not tested)
 1.1.8.2 16-Mar-2002  jdolecek Catch up with -current.
 1.1.8.1 11-Feb-2002  jdolecek file vrdmaauvar.h was added on branch kqueue on 2002-03-16 15:58:01 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 11-Feb-2002  nathanw file vrdmaauvar.h was added on branch nathanw_sa on 2002-02-28 04:10:06 +0000
 1.14 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.13 24-Apr-2021  thorpej branches: 1.13.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.12 27-Oct-2012  chs branches: 1.12.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.11 14-Mar-2009  dsl branches: 1.11.12; 1.11.22;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.10 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.9 04-Mar-2007  christos branches: 1.9.44; 1.9.52; 1.9.58;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.8 12-Nov-2006  plunky branches: 1.8.4;
Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
 1.7 11-Dec-2005  christos branches: 1.7.20; 1.7.22;
merge ktrace-lwp.
 1.6 04-Dec-2003  keihan branches: 1.6.16;
netbsd.org -> NetBSD.org

All "netbsd.org" is now gone from src/sys/arch.
 1.5 23-Oct-2003  he Correct a few more instances where NULL was used in an integral context.
 1.4 15-Jul-2003  lukem __KERNEL_RCSID()
 1.3 02-Oct-2002  thorpej branches: 1.3.6;
Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 30-May-2002  greg branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
 1.1.8.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 30-May-2002  jdolecek file vrdsiu_mouse.c was added on branch kqueue on 2002-06-23 17:36:56 +0000
 1.1.6.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.6.2 20-Jun-2002  nathanw Catch up to -current.
 1.1.6.1 30-May-2002  nathanw file vrdsiu_mouse.c was added on branch nathanw_sa on 2002-06-20 03:38:55 +0000
 1.1.4.2 30-May-2002  tv Pull up revision 1.1 (requested by greg in ticket #77):
Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
 1.1.4.1 30-May-2002  tv file vrdsiu_mouse.c was added on branch netbsd-1-6 on 2002-05-30 18:38:30 +0000
 1.1.2.2 30-May-2002  gehenna Catch up with -current.
 1.1.2.1 30-May-2002  gehenna file vrdsiu_mouse.c was added on branch gehenna-devsw on 2002-05-30 15:33:17 +0000
 1.3.6.4 24-Jan-2005  skrll Adapt to branch.
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.6.16.3 03-Sep-2007  yamt sync with head.
 1.6.16.2 30-Dec-2006  yamt sync with head.
 1.6.16.1 21-Jun-2006  yamt sync with head.
 1.7.22.1 10-Dec-2006  yamt sync with head.
 1.7.20.1 18-Nov-2006  ad Sync with head.
 1.8.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.9.58.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.52.1 28-Apr-2009  skrll Sync with HEAD.
 1.9.44.1 04-May-2009  yamt sync with head.
 1.11.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.12.1 30-Oct-2012  yamt sync with head
 1.12.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.13.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 30-May-2002  greg branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8;
Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 30-May-2002  jdolecek file vrdsiureg.h was added on branch kqueue on 2002-06-23 17:36:56 +0000
 1.1.6.2 20-Jun-2002  nathanw Catch up to -current.
 1.1.6.1 30-May-2002  nathanw file vrdsiureg.h was added on branch nathanw_sa on 2002-06-20 03:38:55 +0000
 1.1.4.2 30-May-2002  tv Pull up revision 1.1 (requested by greg in ticket #77):
Initial addition of TrackPoint support on the IBM WorkPad z50's DSIU port.
 1.1.4.1 30-May-2002  tv file vrdsiureg.h was added on branch netbsd-1-6 on 2002-05-30 18:38:39 +0000
 1.1.2.2 30-May-2002  gehenna Catch up with -current.
 1.1.2.1 30-May-2002  gehenna file vrdsiureg.h was added on branch gehenna-devsw on 2002-05-30 15:33:18 +0000
 1.12 09-Jun-2015  matt #include <sys/cpu.h> and/or <mips/cpuregs.h> + other include fixes
 1.11 27-Oct-2012  chs branches: 1.11.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.10 18-Mar-2009  cegger branches: 1.10.12; 1.10.22;
Ansify function definitions w/o arguments. Generated with sed.
 1.9 11-Dec-2005  christos branches: 1.9.78; 1.9.86; 1.9.92;
merge ktrace-lwp.
 1.8 15-Jul-2003  lukem __KERNEL_RCSID()
 1.7 24-Nov-2002  shin branches: 1.7.6;
wipe out all physical memory before hibernate/reset.
otherwise, WinCE will not boot on some machine (ex. IBM z50).
 1.6 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.5 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.4 27-Jan-2002  takemura branches: 1.4.10;
Added vripif.
 1.3 16-Sep-2001  uch branches: 1.3.4;
ANSIfy, KNF.
 1.2 14-Dec-1999  sato branches: 1.2.2; 1.2.8; 1.2.10; 1.2.12;
- initialize vrdsu_softc sc_iot member in vrdsuattach().
 1.1 28-Nov-1999  takemura Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.2.12.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.12.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.2.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.2.8.2 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.2.8.1 14-Dec-1999  bouyer file vrdsu.c was added on branch thorpej_scsipi on 2000-11-20 20:47:55 +0000
 1.2.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.4.4 11-Dec-2002  thorpej Sync with HEAD.
 1.3.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.3.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.4.1 16-Sep-2001  nathanw file vrdsu.c was added on branch nathanw_sa on 2002-02-28 04:10:06 +0000
 1.4.10.1 12-Dec-2002  he Pull up revision 1.7 (requested by shin in ticket #1013):
Wipe out all physical memory before hibernate/reset.
Otherwise, WinCE will not boot on some machines (e.g. IBM
z50).
 1.7.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.6.1 03-Aug-2004  skrll Sync with HEAD
 1.9.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.9.78.1 04-May-2009  yamt sync with head.
 1.10.22.2 03-Dec-2017  jdolecek update from HEAD
 1.10.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.10.12.1 30-Oct-2012  yamt sync with head
 1.11.14.1 22-Sep-2015  skrll Sync with HEAD
 1.2 16-Sep-2001  uch branches: 1.2.4;
ANSIfy, KNF.
 1.1 28-Nov-1999  takemura branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12;
Add new device vrdsu, with which we can hard reset the VR41xx CPU.
Why don't you try shutdown comand with option '-r ?
 1.1.12.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.10.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.8.2 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.1.8.1 28-Nov-1999  bouyer file vrdsuvar.h was added on branch thorpej_scsipi on 2000-11-20 20:47:55 +0000
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.2.4.1 16-Sep-2001  uch file vrdsuvar.h was added on branch nathanw_sa on 2001-09-16 05:32:22 +0000
 1.11 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.10 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.9 14-Sep-2009  tsutsui branches: 1.9.12; 1.9.22;
Use device_private(), proper types or variables for device_t and softc.
(not yet split though)

No crash on gxemul emulating hpcmips mobilepro.
 1.8 14-Sep-2009  tsutsui u_intNN_t -> uintNN_t
 1.7 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.6 11-Dec-2005  christos branches: 1.6.74; 1.6.76; 1.6.78;
merge ktrace-lwp.
 1.5 20-Sep-2004  drochner another pointless ISACF_IRQ_DEFAULT - that's just
a -1
 1.4 11-Aug-2004  mycroft And the settype pointer.
 1.3 02-Sep-2003  mycroft Don't clear PCIC_INTR_ENABLE here, either -- not appropriate.
 1.2 15-Jul-2003  lukem __KERNEL_RCSID()
 1.1 01-May-2003  igy branches: 1.1.2;
Support for Laser5's L-Card+ Embedded CPU Board
 1.1.2.5 24-Sep-2004  skrll Sync with HEAD.
 1.1.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.2.2 12-Aug-2004  skrll Sync with HEAD.
 1.1.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.78.2 16-Sep-2009  yamt sync with head
 1.6.78.1 16-May-2008  yamt sync with head.
 1.6.76.1 18-May-2008  yamt sync with head.
 1.6.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.9.12.1 30-Oct-2012  yamt sync with head
 1.48 06-May-2023  andvar s/regster/register/ in comments and error messages.
 1.47 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.46 22-May-2021  thorpej branches: 1.46.4;
Be explicit about our interface attributes.
 1.45 24-Apr-2021  thorpej branches: 1.45.2; 1.45.4;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.44 21-Nov-2020  thorpej branches: 1.44.2;
malloc(9) -> kmem(9)
 1.43 10-Nov-2019  chs branches: 1.43.8;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.42 27-Oct-2012  chs branches: 1.42.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.41 18-Mar-2009  cegger branches: 1.41.12; 1.41.22;
Ansify function definitions w/o arguments. Generated with sed.
 1.40 11-Dec-2005  christos branches: 1.40.78; 1.40.86; 1.40.92;
merge ktrace-lwp.
 1.39 15-Jul-2003  lukem __KERNEL_RCSID()
 1.38 02-Oct-2002  thorpej branches: 1.38.6;
Use CFATTACH_DECL().
 1.37 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.36 27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.35 03-May-2002  takemura Fixed debug print.
 1.34 10-Feb-2002  takemura Made vrgiu.c combilable without SINGLE_VRIP_BASE macro.
 1.33 09-Feb-2002  sato access GIUIOSEL_REG and GIUINTEN_REG
only if these registers are not GIU_NO_REG_W.
 1.32 02-Feb-2002  takemura Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
 1.31 29-Jan-2002  uch clean up debug print and configuration.
 1.30 27-Jan-2002  takemura Added vripif.
 1.29 26-Jan-2002  takemura Straightened vripvar.h
 1.28 29-Dec-2001  takemura Added debugging output indicating details of interrupt register setting.
 1.27 16-Dec-2001  takemura BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
 1.26 16-Sep-2001  uch branches: 1.26.4;
ANSIfy, KNF.
 1.25 07-Sep-2001  sato VR4131 have same restriction as VR4122.
 1.24 18-May-2001  enami branches: 1.24.2; 1.24.4;
Don't touch GIU{USE,TERM}UPDN_REG_W if ONLY_VR4122 is defined.
XXX ... for now. better way is needed.
 1.23 09-May-2001  shin don't define TAILQ_EMPTY here. TAILQ_EMPTY is defined in <sys/queue.h>.
 1.22 06-May-2001  takemura Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
 1.21 01-May-2001  takemura Fix 'busname' to attach nodes correctly.
 1.20 30-Apr-2001  takemura Machine independent GPIO interface.
 1.19 21-Apr-2001  sato dump io setting: DPRINTF->VPRINTF
 1.18 18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.17 27-Dec-2000  sato branches: 1.17.2;
-rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
 1.16 03-Oct-2000  sato flash led when intrrupt.
 1.15 25-Sep-2000  sato #include <sys/reboot.h> would probably suffice for those.
 1.14 25-Sep-2000  sato - add debug/verbose functions.
 1.13 25-Sep-2000  sato - can compile these files.
#include <sys/boot_flag.h>
 1.12 24-Sep-2000  jdolecek add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate

as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro

for hpcmips, use new bootverbose instead of it's own hpcmips_verbose

Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
 1.11 20-Jul-2000  deberg don't define TAILQ_FOREACH, it's in sys/queue.h now.
 1.10 03-Apr-2000  sato branches: 1.10.4;
- hpcmips_verbose
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
 1.9 14-Mar-2000  sato change about debug print.
CVS
 1.8 11-Mar-2000  shin fix typo.
 1.7 10-Mar-2000  sato fix print message when #undef VRGIUDEBUG and change a little.
 1.6 22-Feb-2000  sato delete warning.
 1.5 27-Jan-2000  sato - fix using uninitialized argument of bitdisp64().
 1.4 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.3 04-Dec-1999  takemura Print input/output/interrupt settings.
 1.2 07-Nov-1999  uch Clear interrupt status before dispatch handler.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.4 23-Apr-2001  bouyer Sync with HEAD.
 1.1.1.1.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.2.2 05-Jan-2001  bouyer Sync with HEAD
 1.1.1.1.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.4.1 09-May-2001  he Pull up revisions 1.11, 1.23 (via patch, requested by shin):
Remove local queue macro definitions, they're in <sys/queue.h>
now.
 1.17.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.24.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.24.2.6 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.24.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.24.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.24.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.24.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.24.2.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.26.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.26.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.26.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.26.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.26.4.1 16-Sep-2001  nathanw file vrgiu.c was added on branch nathanw_sa on 2002-01-08 00:25:07 +0000
 1.38.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.38.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.38.6.1 03-Aug-2004  skrll Sync with HEAD
 1.40.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.40.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.40.78.1 04-May-2009  yamt sync with head.
 1.41.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.41.12.1 30-Oct-2012  yamt sync with head
 1.42.38.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.43.8.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.44.2.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.45.4.1 31-May-2021  cjep sync with head
 1.45.2.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.46.4.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.2 09-Feb-2002  sato access GIUIOSEL_REG and GIUINTEN_REG
only if these registers are not GIU_NO_REG_W.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.16; 1.1.1.1.20;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.20.1 28-Feb-2002  nathanw Catch up to -current.
 1.1.1.1.16.1 16-Mar-2002  jdolecek Catch up with -current.
 1.6 02-Feb-2002  takemura Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
 1.5 16-Dec-2001  takemura BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
 1.4 16-Sep-2001  uch branches: 1.4.4;
ANSIfy, KNF.
 1.3 30-Apr-2001  takemura branches: 1.3.2; 1.3.4;
Machine independent GPIO interface.
 1.2 23-Dec-1999  takemura branches: 1.2.6;
New button handler and power controller with configurable hooking mechanism.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.2.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.3.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.4.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.4.4.1 16-Sep-2001  nathanw file vrgiuvar.h was added on branch nathanw_sa on 2002-01-08 00:25:07 +0000
 1.39 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.38 24-Apr-2021  thorpej branches: 1.38.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.37 27-Oct-2012  chs branches: 1.37.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.36 18-Mar-2011  tsutsui branches: 1.36.4; 1.36.14;
Use vaddr_t for pc instead of uint32_t.
 1.35 16-Mar-2011  tsutsui Avoid possible future device_t/softc confusion.
 1.34 18-Mar-2009  cegger branches: 1.34.4; 1.34.6;
Ansify function definitions w/o arguments. Generated with sed.
 1.33 15-Dec-2007  perry branches: 1.33.10; 1.33.18; 1.33.24;
__FUNCTION__ -> __func__
 1.32 11-Dec-2005  christos branches: 1.32.50; 1.32.60; 1.32.64;
merge ktrace-lwp.
 1.31 26-Aug-2005  drochner s/locdesc_t/int/g
 1.30 30-Jun-2005  drochner branches: 1.30.2;
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 1.29 15-Jul-2003  lukem __KERNEL_RCSID()
 1.28 01-Jan-2003  thorpej branches: 1.28.2;
Use aprint_normal() for cfprint routines.
 1.27 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.26 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.25 27-Sep-2002  thorpej Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
 1.24 27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.23 22-Mar-2002  takemura Added Vrc4172 USB OHCI for Pencentra 130.
 1.22 10-Mar-2002  takemura Attached vrpiu at vrc4173bcu.
 1.21 10-Mar-2002  takemura Attached vrkiu at vrc4173bcu.
 1.20 11-Feb-2002  takemura Removed vr4102ip_probe to reduce kernel size.
 1.19 11-Feb-2002  takemura Added vr4102ip.
 1.18 11-Feb-2002  takemura Tweaked register access without register offset macro.
 1.17 11-Feb-2002  takemura Added DMA Address unit and DMA Control unit. (not tested)
 1.16 29-Jan-2002  uch clean up debug print and configuration.
 1.15 27-Jan-2002  takemura Added vripif.
 1.14 26-Jan-2002  takemura Straightened vripvar.h
 1.13 02-Jan-2002  uch VR41XX/TX3922 common kernel.
 1.12 16-Sep-2001  uch branches: 1.12.4;
ANSIfy, KNF.
 1.11 11-Jun-2001  enami branches: 1.11.2; 1.11.4;
Cosmetic changes; lineup some struct members.
 1.10 30-Apr-2001  takemura Machine independent GPIO interface.
 1.9 18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.8 18-Apr-2001  sato missing includes in last commit (rev1.6->1.7).
 1.7 18-Apr-2001  sato check platid if 'options VR41XX' and 'options TX39XX' are both defined.
XXX: currently this case is missconfiguration and not compilable.
XXX: because all codes are not supported this case yet.
 1.6 10-Mar-2000  sato branches: 1.6.6;
change about VRIPDEBUG. no action changes.
 1.5 05-Mar-2000  takemura Change bus_addr_t and bus_size_t from u_int32_t to u_long.
Add -Werror option to kernel Makefile.
 1.4 28-Dec-1999  takemura VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
 1.3 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.2 04-Dec-1999  takemura You can push power key to reboot when halt in vr_reboot.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.2.2 21-Apr-2001  bouyer Sync with HEAD
 1.1.1.1.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.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.11.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.11.2.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.11.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.11.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.11.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.11.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.12.4.6 03-Jan-2003  thorpej Sync with HEAD.
 1.12.4.5 18-Oct-2002  nathanw Catch up to -current.
 1.12.4.4 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.12.4.3 28-Feb-2002  nathanw Catch up to -current.
 1.12.4.2 11-Jan-2002  nathanw More catchup.
 1.12.4.1 16-Sep-2001  nathanw file vrip.c was added on branch nathanw_sa on 2002-01-11 23:38:26 +0000
 1.28.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.28.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.28.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.28.2.1 03-Aug-2004  skrll Sync with HEAD
 1.30.2.2 21-Jan-2008  yamt sync with head
 1.30.2.1 21-Jun-2006  yamt sync with head.
 1.32.64.1 02-Jan-2008  bouyer Sync with HEAD
 1.32.60.1 26-Dec-2007  ad Sync with head.
 1.32.50.1 09-Jan-2008  matt sync with HEAD
 1.33.24.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.33.18.1 28-Apr-2009  skrll Sync with HEAD.
 1.33.10.1 04-May-2009  yamt sync with head.
 1.34.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.34.4.1 21-Apr-2011  rmind sync with head
 1.36.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.36.4.1 30-Oct-2012  yamt sync with head
 1.37.52.7 05-Apr-2021  thorpej Decorate the problematic config_probe() calls (non-boolean return value)
with XXX.
 1.37.52.6 05-Apr-2021  thorpej config_match() -> config_probe() for the straight-forward indirect config
cases. There are still a few odd balls using config_match() which should
be sorted out later.
 1.37.52.5 04-Apr-2021  thorpej CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
 1.37.52.4 03-Apr-2021  thorpej Give config_attach() the tagged variadic argument treatment and
mechanically convert all call sites.
 1.37.52.3 21-Mar-2021  thorpej CFARG_IATTR usage audit:

If a device carries only one interface attribute, there is no need
to specify it when calling config_search(); that specification is
meant only to disambiguate which interface attribute (which is a
proxy for "what kind of attach args are being used") is having
children attached. cfparent_match() will take care of ensuring that
any potential children can attach to one of the parent's iterface
attributes, and if the parent only carries one, no disambiguation is
necessary.
 1.37.52.2 20-Mar-2021  thorpej Don't pass the autoconfig print routine as the aux pointer to the
indirect search routine. That argument slot is meant for "attach
args" structures, not function pointers. Besides, no one actually
used it anyway.
 1.37.52.1 20-Mar-2021  thorpej The proliferation if config_search_*() and config_found_*() combinations
is a little absurd, so begin to tidy this up:

- Introduce a new cfarg_t enumerated type, that defines the types of
tag-value variadic arguments that can be passed to the various
config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
for now, plus a CFARG_EOL sentinel).
- Collapse config_search_*() into config_search() that takes these
variadic arguments.
- Convert all call sites of config_search_*() to the new signature.
Noticed several incorrect usages along the way, which will be
audited in a future commit.
 1.38.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 16-Mar-2011  tsutsui branches: 1.1.2; 1.1.6;
Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU. Compile test only.
 1.1.6.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.6.1 16-Mar-2011  jruoho file vrip_spl.S was added on branch jruoho-x86intr on 2011-06-06 09:05:45 +0000
 1.1.2.2 21-Apr-2011  rmind sync with head
 1.1.2.1 16-Mar-2011  rmind file vrip_spl.S was added on branch rmind-uvmplock on 2011-04-21 01:41:04 +0000
 1.4 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.3 10-Mar-2002  takemura Attached vrkiu at vrc4173bcu.
 1.2 11-Feb-2002  takemura branches: 1.2.2; 1.2.4;
Added DMA Address unit and DMA Control unit. (not tested)
 1.1 27-Jan-2002  takemura Added vripif.
 1.2.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.1 11-Feb-2002  nathanw file vripif.h was added on branch nathanw_sa on 2002-02-28 04:10:07 +0000
 1.2.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.2.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.2.2.1 11-Feb-2002  jdolecek file vripif.h was added on branch kqueue on 2002-02-11 20:08:14 +0000
 1.8 01-Apr-2003  igy correcting register definition for VR4181
 1.7 11-Feb-2002  takemura Added Vr4122 and Vr4131 support to GENERIC configuration.
 1.6 30-Sep-2001  sato branches: 1.6.4;
swap value of VR4181_SIU_ADDR and VR4181_SIU1_ADDR.
fix typo.
 1.5 28-Sep-2001  sato VRGROUP_4122 -> VRGROUP_4122_4131
 1.4 04-Aug-2001  sato branches: 1.4.2;
fix VR4122 some unit address.
 1.3 21-Apr-2001  sato branches: 1.3.2;
add VR4181 vrip register maps.
add VR4181 vrip intr levels.
 1.2 18-Apr-2001  sato - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.14;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.14.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.1.1.2.2 23-Apr-2001  bouyer Sync with HEAD.
 1.1.1.1.2.1 21-Apr-2001  bouyer Sync with HEAD
 1.3.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.3.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.1 25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.4.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.6.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.6.4.1 30-Sep-2001  nathanw file vripreg.h was added on branch nathanw_sa on 2002-02-28 04:10:07 +0000
 1.5 01-May-2003  igy Support for Laser5's L-Card+ Embedded CPU Board
 1.4 16-May-2002  wiz Comment out token after #endif.
 1.3 10-Mar-2002  takemura branches: 1.3.4;
Attached vrkiu at vrc4173bcu.
 1.2 11-Feb-2002  takemura branches: 1.2.2; 1.2.4;
Added DMA Address unit and DMA Control unit. (not tested)
 1.1 27-Jan-2002  takemura Added vripif.
 1.2.4.4 20-Jun-2002  nathanw Catch up to -current.
 1.2.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.1 11-Feb-2002  nathanw file vripunit.h was added on branch nathanw_sa on 2002-02-28 04:10:07 +0000
 1.2.2.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.2.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.2.2.1 11-Feb-2002  jdolecek file vripunit.h was added on branch kqueue on 2002-02-11 20:08:14 +0000
 1.3.4.1 30-May-2002  gehenna Catch up with -current.
 1.13 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.12 16-Mar-2011  tsutsui branches: 1.12.4; 1.12.14;
Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU. Compile test only.
 1.11 11-Dec-2005  christos branches: 1.11.100; 1.11.106;
merge ktrace-lwp.
 1.10 07-Jun-2005  he Sprinkle some const around to make these files compile with -Wcast-qual.
 1.9 11-Feb-2002  takemura branches: 1.9.16;
Removed vr4102ip_probe to reduce kernel size.
 1.8 11-Feb-2002  takemura Tweaked register access without register offset macro.
 1.7 27-Jan-2002  takemura Added vripif.
 1.6 26-Jan-2002  takemura Straightened vripvar.h
 1.5 16-Sep-2001  uch branches: 1.5.4;
ANSIfy, KNF.
 1.4 06-May-2001  takemura branches: 1.4.2; 1.4.4;
Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
 1.3 30-Apr-2001  takemura Machine independent GPIO interface.
 1.2 04-Dec-1999  takemura branches: 1.2.6;
You can push power key to reboot when halt in vr_reboot.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.2.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.4.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.4.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.4.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.5.4.1 16-Sep-2001  nathanw file vripvar.h was added on branch nathanw_sa on 2002-02-28 04:10:07 +0000
 1.9.16.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.11.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.11.100.1 21-Apr-2011  rmind sync with head
 1.12.14.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.12.4.1 30-Oct-2012  yamt sync with head
 1.42 03-Feb-2025  andvar fix various typos in comments.
 1.41 07-Aug-2021  thorpej branches: 1.41.12;
Merge thorpej-cfargs2.
 1.40 24-Apr-2021  thorpej branches: 1.40.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.39 27-Oct-2012  chs branches: 1.39.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.38 18-Mar-2009  cegger branches: 1.38.12; 1.38.22;
Ansify function definitions w/o arguments. Generated with sed.
 1.37 11-Dec-2005  christos branches: 1.37.78; 1.37.86; 1.37.92;
merge ktrace-lwp.
 1.36 13-Mar-2004  bjh21 Remove needless includes of <dev/pckbc/wskbdmap_mfii.h>.
 1.35 23-Oct-2003  he Correct a few more instances where NULL was used in an integral context.
 1.34 15-Jul-2003  lukem __KERNEL_RCSID()
 1.33 02-Oct-2002  thorpej branches: 1.33.6;
Use CFATTACH_DECL().
 1.32 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.31 10-Mar-2002  takemura Attached vrkiu at vrc4173bcu.
 1.30 27-Jan-2002  takemura Added vripif.
 1.29 16-Sep-2001  uch branches: 1.29.4;
ANSIfy, KNF.
 1.28 11-Jun-2001  enami branches: 1.28.2; 1.28.4;
make GENERIC compile again.
 1.27 11-Jun-2001  enami Move some struct definition into header file.
 1.26 22-Feb-2001  uch branches: 1.26.2;
hpc common files are moved to dev/hpc.
 1.25 21-Sep-2000  takemura skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.24 05-Aug-2000  shin detect and eliminate phantom keys.
 1.23 22-Jul-2000  takemura vrkiu_getc() will call over and over. but we want to see 'not implemented'
only once.
 1.22 03-Jun-2000  takemura branches: 1.22.2;
Add platid, VADEM CLIO C-1000 and C1050.
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
 1.21 04-May-2000  takemura branches: 1.21.2;
Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
 1.20 04-May-2000  shin fix scancode -> keycode mappings:

MC-CS arrow keys
PV-6000 semicolon and apostrophe
 1.19 31-Mar-2000  jun add Mobile Pro 700
 1.18 13-Mar-2000  sato HPC/PsPC keyboard types.
 1.17 11-Mar-2000  shin fix PV-6000/C-1000 keycode mapping.
 1.16 25-Feb-2000  mycroft Fix an obscure bug:
If we enter DDB from the keyboard, kc_scandata[] wasn't updated before the
debugger was entered, and the first call to cngetc() would see the ESC and
stack another DDB entry on top. This was... poor.
 1.15 18-Feb-2000  mycroft Make the z50 tab key work.
 1.14 06-Feb-2000  dbj choose first keymap that matches.
Otherwise, the NEC MobilePro 770 chooses the wrong one.
This is consistent with keymap searching order from before revision 1.12,
although I haven't investigated why choosing the last match instead of the first
causes the MobilePro 770 to lose
 1.13 28-Jan-2000  takemura Delete unused lines.
 1.12 22-Jan-2000  takemura Fix a problem which is reported in PR port-hpcmips/9207.
Vrkiu_cngetc() had returned WSCONS_EVENT_ALL_KEYS_UP if there are no event to
report. Modification keys like shift-key had been canceled by that event.
 1.11 17-Jan-2000  shin move keymap initialization into vrkiu_init().
 1.10 11-Dec-1999  castor Replace unused keys with IGN instead of UNK for NEC MobilePro 750c,
to match usage of other systems.
Also, modify ALT keys to return AltL keysym so debugger key sequence
will work.
 1.9 09-Dec-1999  jun MobilePro750c keyboard mapping table contributed by "Castor Fu" <castor@geocast.com>
 1.8 09-Dec-1999  jun add mobilepro750c_keytrans
 1.7 29-Nov-1999  shin fix Fujitsu INTERTOP CX300 keymap.
 1.6 22-Nov-1999  shin forgot to change 'VRKIU_LAYOUT' to 'PCKBD_LAYOUT'.
 1.5 21-Nov-1999  shin add scan code mapping for

IBM WorkPad z50
NEC MobilePro 770, 800
Sharp Tripad PV6000 / Vadem Clio
NEC MC-CS series
Fujitsu Intertop CX300

change keyboard layout according to model(default).
add options PCKBD_LAYOUT to override default.
 1.4 05-Nov-1999  takemura branches: 1.4.2;
Clear interrupt register before check keys.
 1.3 03-Nov-1999  enami make sure to sync mask bit and array index.
 1.2 24-Oct-1999  takemura Wsdisplay and wskbd are supported as a console device.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.2.2 12-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.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.2.2 05-Nov-1999  takemura Clear interrupt register before check keys.
 1.4.2.1 05-Nov-1999  takemura file vrkiu.c was added on branch comdex-fall-1999 on 1999-11-05 04:28:15 +0000
 1.21.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.22.2.2 10-Aug-2000  shin pull up revision 1.24 (Approved by releng-1-5):

detect and eliminate phantom keys.
 1.22.2.1 06-Aug-2000  takemura Pull up revision 1.23 (requested by takemura)

vrkiu_getc() will call over and over. but we want to see 'not implemented'
only once.
 1.26.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.28.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.28.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.28.2.3 16-Mar-2002  jdolecek Catch up with -current.
 1.28.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.28.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.29.4.4 18-Oct-2002  nathanw Catch up to -current.
 1.29.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.29.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.29.4.1 16-Sep-2001  nathanw file vrkiu.c was added on branch nathanw_sa on 2002-02-28 04:10:07 +0000
 1.33.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.33.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.33.6.1 03-Aug-2004  skrll Sync with HEAD
 1.37.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.37.86.1 28-Apr-2009  skrll Sync with HEAD.
 1.37.78.1 04-May-2009  yamt sync with head.
 1.38.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.38.12.1 30-Oct-2012  yamt sync with head
 1.39.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.40.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.41.12.1 02-Aug-2025  perseant Sync with HEAD
 1.2 21-Sep-2000  takemura skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.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.5 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.4 16-Sep-2001  uch branches: 1.4.4; 1.4.160; 1.4.170;
ANSIfy, KNF.
 1.3 11-Jun-2001  enami branches: 1.3.2; 1.3.4;
Move some struct definition into header file.
 1.2 24-Oct-1999  takemura branches: 1.2.8;
Wsdisplay and wskbd are supported as a console device.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.4.1 15-Nov-1999  fvdl Sync with -current
 1.1.1.1.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.2.8.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.170.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.160.1 30-Oct-2012  yamt sync with head
 1.4.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.4.4.1 16-Sep-2001  uch file vrkiuvar.h was added on branch nathanw_sa on 2001-09-16 05:32:22 +0000
 1.9 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.8 11-Dec-2005  christos branches: 1.8.112; 1.8.122;
merge ktrace-lwp.
 1.7 15-Jul-2003  lukem __KERNEL_RCSID()
 1.6 02-Oct-2002  thorpej branches: 1.6.6;
Use CFATTACH_DECL().
 1.5 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.4 27-Jan-2002  takemura Added vripif.
 1.3 16-Sep-2001  uch branches: 1.3.4;
ANSIfy, KNF.
 1.2 27-Dec-2000  sato branches: 1.2.2; 1.2.4;
- rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
 1.1 03-Oct-2000  sato branches: 1.1.2;
vr41xx LED unit driver.
 1.1.2.3 05-Jan-2001  bouyer Sync with HEAD
 1.1.2.2 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.1.2.1 03-Oct-2000  bouyer file vrled.c was added on branch thorpej_scsipi on 2000-11-20 20:48:03 +0000
 1.2.4.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.2.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.3.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.3.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.4.1 16-Sep-2001  nathanw file vrled.c was added on branch nathanw_sa on 2002-02-28 04:10:07 +0000
 1.6.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.6.1 03-Aug-2004  skrll Sync with HEAD
 1.8.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.112.1 30-Oct-2012  yamt sync with head
 1.4 07-Jan-2025  andvar Fix typos in the word 'Control' in comments.
 1.3 11-Jun-2001  enami branches: 1.3.8; 1.3.250;
Comment about start address of LED unit in vr4122.
 1.2 03-Oct-2000  sato branches: 1.2.2; 1.2.4;
vr41xx LED unit driver.
 1.1 08-Dec-1999  sato branches: 1.1.2;
Vr41xx LED control register definitions.
 1.1.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.2.2 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.2.2.1 03-Oct-2000  bouyer file vrledreg.h was added on branch thorpej_scsipi on 2000-11-20 20:48:04 +0000
 1.3.250.1 02-Aug-2025  perseant Sync with HEAD
 1.3.8.2 11-Jun-2001  enami Comment about start address of LED unit in vr4122.
 1.3.8.1 11-Jun-2001  enami file vrledreg.h was added on branch nathanw_sa on 2001-06-11 10:04:28 +0000
 1.3 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 16-Sep-2001  uch branches: 1.2.4; 1.2.160; 1.2.170;
ANSIfy, KNF.
 1.1 03-Oct-2000  sato branches: 1.1.2; 1.1.4; 1.1.6;
vr41xx LED unit driver.
 1.1.6.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.2.2 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.1.2.1 03-Oct-2000  bouyer file vrledvar.h was added on branch thorpej_scsipi on 2000-11-20 20:48:05 +0000
 1.2.170.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.160.1 30-Oct-2012  yamt sync with head
 1.2.4.2 16-Sep-2001  uch ANSIfy, KNF.
 1.2.4.1 16-Sep-2001  uch file vrledvar.h was added on branch nathanw_sa on 2001-09-16 05:32:22 +0000
 1.24 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.23 24-Apr-2021  thorpej branches: 1.23.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.22 02-Oct-2015  msaitoh branches: 1.22.32;
PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.21 31-Mar-2014  christos branches: 1.21.6;
adjust to new pci_intr_string signature
 1.20 27-Oct-2012  chs branches: 1.20.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.19 24-Aug-2011  dyoung branches: 1.19.2; 1.19.12;
Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array. Change the type of the devs array from
char to uint8_t. Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it. Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER. On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.
 1.18 17-May-2011  dyoung PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional
role in NetBSD (drivers are no longer supposed to write these to
pa_flags) without changing name. Correct that.

Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and
PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names
consistent with the other PCI flags and poisoning 3rd-party driver
sources that use the flags in the old bad way.

This patch produces no binary changes in this set of PCI kernels when
they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:

algor P4032 P5064 P6032
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321
evbarm-el IXDP425 IXM1200 KUROBOX_PRO
evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR
evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
iyonix GENERIC
landisk GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sbmips-el GENERIC
sgimips GENERIC32_IP2x GENERIC32_IP3x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC
 1.17 11-Dec-2005  christos branches: 1.17.100; 1.17.106;
merge ktrace-lwp.
 1.16 12-Dec-2004  abs Fix comments regarding configration bounaries
 1.15 30-Aug-2004  drochner Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
 1.14 15-Jul-2003  lukem __KERNEL_RCSID()
 1.13 15-Jun-2003  fvdl branches: 1.13.2;
Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
 1.12 01-Jan-2003  thorpej Use aprint_normal() for cfprint routines.
 1.11 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.10 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.9 16-May-2002  thorpej branches: 1.9.2;
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
 1.8 14-Apr-2002  takemura Print bad address in interrupt handler.
 1.7 24-Feb-2002  takemura Make it compilable even if PCI wasn't configured.
 1.6 27-Jan-2002  takemura Added vripif.
 1.5 18-Jan-2002  shin add support for LASER5 L-Router.
 1.4 13-Jan-2002  takemura Fixed vrpciu with config_hook PCI interrupt handling.
 1.3 05-Jan-2002  takemura DoCoMo SigmationII support (Experimental)
You must turn on HPCMIPS_L1CACHE_DISABLE option.
 1.2 22-Nov-2001  takemura Fixed bus stuff to compile vrpciu.c (VR4131 CPU).
 1.1 13-Jun-2001  enami branches: 1.1.2; 1.1.4; 1.1.10;
Add minimal support for vr4122/vrc4173 pci.
 1.1.10.8 03-Jan-2003  thorpej Sync with HEAD.
 1.1.10.7 18-Oct-2002  nathanw Catch up to -current.
 1.1.10.6 20-Jun-2002  nathanw Catch up to -current.
 1.1.10.5 17-Apr-2002  nathanw Catch up to -current.
 1.1.10.4 28-Feb-2002  nathanw Catch up to -current.
 1.1.10.3 11-Jan-2002  nathanw More catchup.
 1.1.10.2 08-Jan-2002  nathanw Catch up to -current.
 1.1.10.1 13-Jun-2001  nathanw file vrpciu.c was added on branch nathanw_sa on 2002-01-08 00:25:07 +0000
 1.1.4.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.1.4.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.1.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.9.2.2 16-May-2002  thorpej * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
 1.9.2.1 16-May-2002  thorpej file vrpciu.c was added on branch gehenna-devsw on 2002-05-16 01:01:37 +0000
 1.13.2.5 18-Dec-2004  skrll Sync with HEAD.
 1.13.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.13.2.2 03-Sep-2004  skrll Sync with HEAD
 1.13.2.1 03-Aug-2004  skrll Sync with HEAD
 1.17.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.17.100.1 31-May-2011  rmind sync with head
 1.19.12.3 03-Dec-2017  jdolecek update from HEAD
 1.19.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.2.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.19.2.1 30-Oct-2012  yamt sync with head
 1.20.2.1 18-May-2014  rmind sync with head
 1.21.6.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.22.32.1 23-Mar-2021  thorpej Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
 1.23.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.1 13-Jun-2001  enami branches: 1.1.2; 1.1.10;
Add minimal support for vr4122/vrc4173 pci.
 1.1.10.2 13-Jun-2001  enami Add minimal support for vr4122/vrc4173 pci.
 1.1.10.1 13-Jun-2001  enami file vrpciureg.h was added on branch nathanw_sa on 2001-06-13 07:32:49 +0000
 1.1.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.46 28-Jun-2025  andvar s/contant/constant/ in comment.
 1.45 05-Jul-2024  andvar fix various typos in comments and log messages, mainly s/hight/high/
s/hight/height/ and removing double m in time(ing).
 1.44 07-Aug-2021  thorpej branches: 1.44.12;
Merge thorpej-cfargs2.
 1.43 24-Apr-2021  thorpej branches: 1.43.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.42 27-Oct-2012  chs branches: 1.42.52;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.41 17-Oct-2007  garbled branches: 1.41.54; 1.41.64;
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.40 09-Jul-2007  ad branches: 1.40.10;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.39 04-Mar-2007  christos branches: 1.39.2; 1.39.4; 1.39.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.38 12-Nov-2006  plunky branches: 1.38.4;
Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
 1.37 24-Sep-2006  jmcneill Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
 1.36 26-May-2006  blymn branches: 1.36.6; 1.36.8;
Clean up bogus whitespace
 1.35 11-Dec-2005  christos branches: 1.35.4; 1.35.6; 1.35.8; 1.35.14;
merge ktrace-lwp.
 1.34 07-Jun-2005  he branches: 1.34.2;
Add use of __UNCONST() to an invocation of tpcalib_ioctl(), as that
function may both read and write it's argument. Here it is only
reading from the data argument under WSMOUSEIO_SCALIBCOORDS, so it
is actually fine, but type protection can't express this.
 1.33 28-May-2004  tsarna Refactor tpcalib and hpc* ports to make tpcalib MI, as discussed on tech-kern.
 1.32 27-Dec-2003  shin Add MobilePro 880 (MC/R730A) to stylus calibration table.
Addresses PR/23652.
 1.31 26-Dec-2003  shin suppress false alarm from gcc -Wuninitialized.
 1.30 23-Oct-2003  he Correct a few more instances where NULL was used in an integral context.
 1.29 15-Jul-2003  lukem __KERNEL_RCSID()
 1.28 05-Jan-2003  takemura branches: 1.28.2;
Fixed threshold value for Vrc4173 PIU.
 1.27 03-Jan-2003  takemura Added new ioctl command, WSMOUSEIO_GETID to tell touch panel identifier
for tpctl(8).
 1.26 15-Dec-2002  takemura Added Vrc4173PIU. (touch panel interface unit on Vrc4173)
 1.25 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.24 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.23 17-Mar-2002  atatat branches: 1.23.6;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.22 10-Mar-2002  takemura Attached vrpiu at vrc4173bcu.
 1.21 10-Mar-2002  takemura Attached vrkiu at vrc4173bcu.
 1.20 02-Feb-2002  takemura Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
 1.19 31-Jan-2002  uch clean up header file.
 1.18 27-Jan-2002  takemura Added vripif.
 1.17 28-Sep-2001  sato branches: 1.17.4;
add VR4181 clock control.
 1.16 24-Sep-2001  takemura Renamed platid_search() to platid_search_data() and added new platid_search().
Platid_name() was re-implemented using platid_search().
 1.15 16-Sep-2001  uch ANSIfy, KNF.
 1.14 19-Jul-2001  sato branches: 1.14.2;
adhoc battery event creation for some vr machines.
XXX: temporary
 1.13 14-Jun-2001  sato branches: 1.13.2;
fix 'mask clock to PIU'
 1.12 10-Jun-2001  sato add MC-R700, 730 touch panel parameter
 1.11 22-Feb-2001  uch branches: 1.11.2;
hpc common files are moved to dev/hpc.
 1.10 21-Jan-2001  takemura Fix bugs of VR touch panel driver,
- status stay in touching while pen don't realy touch.
- cursor often jumps to center of screen.
But it seems that 'stay in touching' still occurs at rare intervals.
 1.9 20-Jan-2001  takemura Fix indent, which were too deep.
 1.8 08-Jan-2001  takemura Implement WSMOUSEIO_SRES to control A/D port scan interval.
 1.7 27-Dec-2000  sato - rewrite codes using new CONFIG_HOOK_SET.
 1.6 02-Dec-2000  sato - polling battery voltage value from A/D port.
currently polling only.
if verbose mode, kernel print A/D raw value every polling.
 1.5 13-Jun-2000  matt branches: 1.5.4;
Add a table of calibrations. The MCR_500 one (640x240) makes the MCR_700A
(800x600) almost unusable. Now the 700A has it's own.
 1.4 04-May-2000  takemura branches: 1.4.2;
Mouse move event should be made before mouse bown event. Without that,
you may got a mouse down event in strange plase.
 1.3 10-Jan-2000  takemura WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support.
 1.2 08-Jan-2000  takemura Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
relative or absolute.
- Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
WSMOUSEIO_GCALIBCOORDS.
 1.1 28-Dec-1999  takemura VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
 1.4.2.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.5.4.7 12-Mar-2001  bouyer Sync with HEAD.
 1.5.4.6 11-Feb-2001  bouyer Sync with HEAD.
 1.5.4.5 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.5.4.4 05-Jan-2001  bouyer Sync with HEAD
 1.5.4.3 08-Dec-2000  bouyer Sync with HEAD.
 1.5.4.2 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.5.4.1 13-Jun-2000  bouyer file vrpiu.c was added on branch thorpej_scsipi on 2000-11-20 20:48:05 +0000
 1.11.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.13.2.6 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.13.2.5 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.13.2.4 16-Mar-2002  jdolecek Catch up with -current.
 1.13.2.3 11-Feb-2002  jdolecek Sync w/ -current.
 1.13.2.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.13.2.1 03-Aug-2001  lukem update to -current
 1.14.2.1 01-Oct-2001  fvdl Catch up with -current.
 1.17.4.6 07-Jan-2003  thorpej Sync with HEAD.
 1.17.4.5 19-Dec-2002  thorpej Sync with HEAD.
 1.17.4.4 18-Oct-2002  nathanw Catch up to -current.
 1.17.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.17.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.17.4.1 28-Sep-2001  nathanw file vrpiu.c was added on branch nathanw_sa on 2002-02-28 04:10:07 +0000
 1.23.6.1 12-Mar-2004  jmc Pullup rev 1.32 (requested by shin in ticket #1585)

Add MobilePro 880 (MC/R730A) to stylus calibration table.
 1.28.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.28.2.4 24-Jan-2005  skrll Adapt to branch.
 1.28.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.28.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.28.2.1 03-Aug-2004  skrll Sync with HEAD
 1.34.2.3 03-Sep-2007  yamt sync with head.
 1.34.2.2 30-Dec-2006  yamt sync with head.
 1.34.2.1 21-Jun-2006  yamt sync with head.
 1.35.14.1 19-Jun-2006  chap Sync with head.
 1.35.8.1 26-Jun-2006  yamt sync with head.
 1.35.6.1 01-Jun-2006  kardel Sync with head.
 1.35.4.1 09-Sep-2006  rpaulo sync with head
 1.36.8.2 10-Dec-2006  yamt sync with head.
 1.36.8.1 22-Oct-2006  yamt sync with head
 1.36.6.1 18-Nov-2006  ad Sync with head.
 1.38.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.39.10.1 03-Oct-2007  garbled Sync with HEAD
 1.39.4.1 11-Jul-2007  mjf Sync with head.
 1.39.2.1 15-Jul-2007  ad Sync with head.
 1.40.10.1 06-Nov-2007  matt sync with HEAD
 1.41.64.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.41.54.1 30-Oct-2012  yamt sync with head
 1.42.52.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.43.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.44.12.1 02-Aug-2025  perseant Sync with HEAD
 1.4 15-Dec-2002  takemura Added Vrc4173PIU. (touch panel interface unit on Vrc4173)
 1.3 10-Mar-2002  takemura Attached vrpiu at vrc4173bcu.
 1.2 27-Oct-2000  sato branches: 1.2.2; 1.2.6; 1.2.10;
- A/D converter port macro: PIUAB(n)
 1.1 28-Dec-1999  takemura VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
 1.2.10.2 19-Dec-2002  thorpej Sync with HEAD.
 1.2.10.1 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.6.1 16-Mar-2002  jdolecek Catch up with -current.
 1.2.2.3 22-Nov-2000  bouyer Sync with HEAD.
 1.2.2.2 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.2.2.1 27-Oct-2000  bouyer file vrpiureg.h was added on branch thorpej_scsipi on 2000-11-20 20:48:06 +0000
 1.12 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.11 15-Dec-2002  takemura branches: 1.11.146; 1.11.156;
Added Vrc4173PIU. (touch panel interface unit on Vrc4173)
 1.10 10-Mar-2002  takemura Attached vrpiu at vrc4173bcu.
 1.9 02-Feb-2002  takemura Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
 1.8 27-Jan-2002  takemura Added vripif.
 1.7 22-Jul-2001  sato branches: 1.7.6;
adhoc battery event creation for some vr machines.
XXX: temporary
this file is needed with vrpiu.c rev1.14
 1.6 21-Jan-2001  takemura branches: 1.6.4;
Fix bugs of VR touch panel driver,
- status stay in touching while pen don't realy touch.
- cursor often jumps to center of screen.
But it seems that 'stay in touching' still occurs at rare intervals.
 1.5 08-Jan-2001  takemura Implement WSMOUSEIO_SRES to control A/D port scan interval.
 1.4 02-Dec-2000  sato - polling battery voltage value from A/D port.
currently polling only.
if verbose mode, kernel print A/D raw value every polling.
 1.3 10-Jan-2000  takemura branches: 1.3.6;
WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support.
 1.2 08-Jan-2000  takemura Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
relative or absolute.
- Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
WSMOUSEIO_GCALIBCOORDS.
 1.1 28-Dec-1999  takemura VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
 1.3.6.5 11-Feb-2001  bouyer Sync with HEAD.
 1.3.6.4 18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.3.6.3 08-Dec-2000  bouyer Sync with HEAD.
 1.3.6.2 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.3.6.1 10-Jan-2000  bouyer file vrpiuvar.h was added on branch thorpej_scsipi on 2000-11-20 20:48:06 +0000
 1.6.4.3 16-Mar-2002  jdolecek Catch up with -current.
 1.6.4.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.6.4.1 03-Aug-2001  lukem update to -current
 1.7.6.4 19-Dec-2002  thorpej Sync with HEAD.
 1.7.6.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.7.6.2 28-Feb-2002  nathanw Catch up to -current.
 1.7.6.1 22-Jul-2001  nathanw file vrpiuvar.h was added on branch nathanw_sa on 2002-02-28 04:10:08 +0000
 1.11.156.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.146.1 30-Oct-2012  yamt sync with head
 1.21 21-Jul-2022  andvar fix typos in comments and log messages, mainly s/intrrupt/interrupt/.
 1.20 26-Mar-2014  christos - kill sprintf
- fix unused
 1.19 27-Oct-2012  chs branches: 1.19.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.18 11-Dec-2005  christos branches: 1.18.112; 1.18.122;
merge ktrace-lwp.
 1.17 15-Jul-2003  lukem __KERNEL_RCSID()
 1.16 02-Oct-2002  thorpej branches: 1.16.6;
Use CFATTACH_DECL().
 1.15 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.14 29-Jan-2002  uch clean up debug print and configuration.
 1.13 27-Jan-2002  takemura Added vripif.
 1.12 26-Jan-2002  takemura Straightened vripvar.h
 1.11 16-Sep-2001  uch branches: 1.11.4;
ANSIfy, KNF.
 1.10 13-Jun-2001  sato branches: 1.10.2; 1.10.4;
register VRIP_INTR_BAT handler to vrip_intr_establish().
 1.9 25-Sep-2000  sato branches: 1.9.2;
- when PMUINT_BATT or PMUINT_BATTINTR interrupts occured,
send CONFIG_HOOK_PMEVENT_SUSPENDREQ event.
 1.8 02-Jul-2000  takemura Experimental APM compatible power management.
 1.7 03-Apr-2000  sato branches: 1.7.4;
push power button, send POWERCONTROL_LCD event.
 1.6 14-Mar-2000  sato - toggle CONFIG_HOOK_BUTTONEVENT_POWER event.
- change about debug print.
 1.5 27-Jan-2000  sato - modify debug stuff.
default all disable.
 1.4 23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.3 16-Dec-1999  sato - dump some pmu registers at attach.
 1.2 08-Dec-1999  sato - clear all intr status and show old status when attached.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.7.4.1 06-Aug-2000  takemura Pull up revision 1.8 (requested by takemura)

New power management function.
 1.9.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.10.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.10.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.10.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.10.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.11.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.11.4.1 16-Sep-2001  nathanw file vrpmu.c was added on branch nathanw_sa on 2002-02-28 04:10:08 +0000
 1.16.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.16.6.1 03-Aug-2004  skrll Sync with HEAD
 1.18.122.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.122.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.18.112.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.112.1 30-Oct-2012  yamt sync with head
 1.19.2.1 18-May-2014  rmind sync with head
 1.4 11-Jun-2001  enami branches: 1.4.8;
- add comment about start address of PMU in vr4122.
- wrap long line.
- add regsiter offset found in PMU of vr4122.
 1.3 13-Dec-1999  sato branches: 1.3.6;
- Vr4102 does not have PMUWAIT_REG_W register, so comment it.
- Vr4121 only have PMUDIV_REG_W register, so comment it.
 1.2 08-Dec-1999  sato - PMUINT_ALL, PMUINT2_ALL.
- some registers.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.2; 1.1.1.1.8;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.1.1.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.3.6.1 21-Jun-2001  nathanw Catch up to -current.
 1.4.8.2 11-Jun-2001  enami - add comment about start address of PMU in vr4122.
- wrap long line.
- add regsiter offset found in PMU of vr4122.
 1.4.8.1 11-Jun-2001  enami file vrpmureg.h was added on branch nathanw_sa on 2001-06-11 06:02:22 +0000
 1.2 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.176; 1.1.1.1.186;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.186.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.1.1.1.176.1 30-Oct-2012  yamt sync with head

RSS XML Feed