Home | History | Annotate | only in /src/sys/arch/ibmnws
History log of /src/sys/arch/ibmnws
RevisionDateAuthorComments
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file Makefile was added on branch ktrace-lwp on 2004-08-03 10:36:25 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file Makefile was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.58 29-Jan-2024  christos PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.
 1.57 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.56 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.55 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.54 26-Apr-2019  sevan Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.
 1.53 13-Apr-2019  isaki Add drvctl to kernel which has audio device.
audiocfg(1) requires drvctl(4).
 1.52 14-Sep-2017  mrg branches: 1.52.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.51 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.50 19-Feb-2017  rin PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
 1.49 13-Dec-2016  christos branches: 1.49.2;
wildcard speaker attachments, now that we can handle many of them.
 1.48 10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.47 08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.46 16-Nov-2014  manu branches: 1.46.2; 1.46.4;
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.45 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.44 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.43 08-Aug-2014  joerg branches: 1.43.2;
Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
 1.42 27-Apr-2013  christos branches: 1.42.8;
the bogus number police
 1.41 17-Aug-2012  abs branches: 1.41.2;
Update all kernel configs mentioning WSEMUL_* but not already including
WSDISPLAY_COMPAT_USL using the following rules:
- If WSEMUL_ is commented out, add commented out out WSDISPLAY_COMPAT_USL
- If INSTALL or obviously memory constrained, add WSDISPLAY_DEFAULTSCREENS=1
and commented out WSDISPLAY_COMPAT_USL
- Otherwise add WSDISPLAY_COMPAT_USL

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

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

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

On 5 June 2012 09:47, David Brownlee <abs@absd.org> wrote:
> wsconscfg(8) requires WSDISPLAY_COMPAT_USL in order to switch virtual
> terminals.
>
> Except when in an exceptionally memory or space constrained
> environment (INSTALL being the obvious case), is there any reason why
> all GENERIC and GENERIC-like kernels which have wscons enabled
> shouldn't also have WSDISPLAY_COMPAT_USL?
 1.40 18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.39 22-Nov-2011  tls branches: 1.39.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.38 30-Jun-2011  wiz branches: 1.38.2;
dependant -> dependent
 1.37 23-Nov-2010  hannken Remove unused count from pseudo-device md.
 1.36 06-Feb-2009  jym branches: 1.36.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.35 10-Aug-2008  tls branches: 1.35.2;
Add accept filters to GENERIC kernels where they exist.
 1.34 31-Jul-2008  simonb Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.33 24-May-2008  he branches: 1.33.4;
Back out the removal of md(4) in order to permit this port to complete
a release build again. The GENERIC kernel is used to build install media
in distrib/ibmnws/netboot/kernel, and without the md(4) area in place,
mdsetimage becomes unhappy.

Pointed out to rjs (who removed md(4) in revision 1.31), but now
committed due to feedback time-out, and because I've verified that
this fixes the build.
 1.32 15-May-2008  rjs Enable console on genfb(4).
 1.31 15-May-2008  rjs Enable DDB and INET6, remove use of md(4).
 1.30 17-Oct-2007  garbled branches: 1.30.16; 1.30.18; 1.30.20; 1.30.22;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.29 11-Nov-2006  jmmv branches: 1.29.8; 1.29.16; 1.29.26; 1.29.28; 1.29.30; 1.29.32;
Remove tmpfs's experimental status. OK'ed by core@.
 1.28 31-Oct-2006  thorpej In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.
 1.27 27-Sep-2006  manu - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
 1.26 26-Aug-2006  tsutsui branches: 1.26.2; 1.26.4;
Remove obsolete #options VERIFIED_EXEC, found by grep(1).
 1.25 31-Jul-2006  hubertf branches: 1.25.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.24 28-Jun-2006  liamjfoy Add CARP to GENERIC kernel configs. CARP is not enabled by default.

ok: christos
 1.23 19-Apr-2006  drochner branches: 1.23.4;
adjust comments for the new location of wskbdmap_mfii.c,
addresses PR kern/33290 by henry nelson
 1.22 04-Feb-2006  rpaulo branches: 1.22.2; 1.22.4; 1.22.6;
bpfilter doesn't accept count anymore.
 1.21 02-Feb-2006  reinoud branches: 1.21.2;
Add commented out UDF file-system entry in all GENERIC configurations.
 1.20 09-Dec-2005  elad branches: 1.20.2; 1.20.4;
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
 1.19 07-Dec-2005  tsutsui Remove obsolete options VNODE_OP_NOINLINE.
 1.18 07-Dec-2005  tsutsui Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).
 1.17 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.16 19-Aug-2005  christos Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
 1.15 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.14 30-Jul-2005  yamt add "options VMSWAP" to non INSTALL kernels.
 1.13 25-Jun-2005  rpaulo branches: 1.13.2;
Add file-system PTYFS (commented out) so that people know its existence.

Ok'ed by Christos Zoulas and Hubert Feyrer.
 1.12 25-Mar-2005  cube Add attimer(4) configurations everywhere pcppi(4) exists, with the
following rule:
If a pcppi device is enabled for an attachment, enable an attimer for the
same attachement, otherwise comment it.
 1.11 18-Feb-2005  dsl Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
 1.10 11-Feb-2005  dsl Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
 1.9 10-Nov-2004  christos branches: 1.9.4; 1.9.6;
Add COMPAT_BSDPTY to the rest of the config files.
 1.8 15-Jul-2004  atatat branches: 1.8.2;
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
 1.7 26-Jun-2004  abs Add (commented out) ALTQ options to all GENERIC-like files
 1.6 18-Jun-2004  christos ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM
 1.5 16-Jun-2004  christos Add pseudo-device ptm on all the generic flavored kernels.
 1.4 28-Apr-2004  rjs Add audio support.
 1.3 28-Apr-2004  rjs Use correct address for lpt0.
 1.2 10-Apr-2004  matt Allow DHCP NFS roots
 1.1 19-Oct-2003  matt branches: 1.1.2;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.2.2 15-Jul-2004  he Pull up revision 1.8 (requested by atatat in ticket #663):
Add "options SYSCTL_INCLUDE_DESCR" to a lot of configurations,
but commented out in most of them.
 1.1.2.1 30-Jun-2004  jdc Pull up revision 1.7 (requested by abs in ticket #567).

Add (commented out) ALTQ options to all GENERIC-like files
 1.8.2.10 11-Dec-2005  christos Sync with head.
 1.8.2.9 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.2.8 01-Apr-2005  skrll Sync with HEAD.
 1.8.2.7 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.8.2.6 15-Feb-2005  skrll Sync with HEAD.
 1.8.2.5 14-Nov-2004  skrll Sync with HEAD.
 1.8.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.8.2.2 03-Aug-2004  skrll Sync with HEAD
 1.8.2.1 15-Jul-2004  skrll file GENERIC was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.9.6.3 26-Mar-2005  yamt sync with head.
 1.9.6.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.9.6.1 12-Feb-2005  yamt sync with head.
 1.9.4.1 29-Apr-2005  kent sync with -current
 1.13.2.3 27-Oct-2007  yamt sync with head.
 1.13.2.2 30-Dec-2006  yamt sync with head.
 1.13.2.1 21-Jun-2006  yamt sync with head.
 1.20.4.1 09-Sep-2006  rpaulo sync with head
 1.20.2.1 18-Feb-2006  yamt sync with head.
 1.21.2.1 22-Apr-2006  simonb Sync with head.
 1.22.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.22.4.1 11-May-2006  elad sync with head
 1.22.2.3 03-Sep-2006  yamt sync with head.
 1.22.2.2 11-Aug-2006  yamt sync with head
 1.22.2.1 24-May-2006  yamt sync with head.
 1.23.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.25.2.1 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.26.4.2 10-Dec-2006  yamt sync with head.
 1.26.4.1 22-Oct-2006  yamt sync with head
 1.26.2.1 18-Nov-2006  ad Sync with head.
 1.29.32.1 25-Oct-2007  bouyer Sync with HEAD.
 1.29.30.1 18-Oct-2007  yamt sync with head.
 1.29.28.1 06-Nov-2007  matt sync with HEAD
 1.29.26.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.29.16.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.29.8.1 23-Oct-2007  ad Sync with head.
 1.30.22.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.30.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.30.20.1 04-May-2009  yamt sync with head.
 1.30.18.2 04-Jun-2008  yamt sync with head
 1.30.18.1 18-May-2008  yamt sync with head.
 1.30.16.2 28-Sep-2008  mjf Sync with HEAD.
 1.30.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.33.4.1 19-Oct-2008  haad Sync with HEAD.
 1.35.2.1 03-Mar-2009  skrll Sync with HEAD.
 1.36.6.1 05-Mar-2011  rmind sync with head
 1.38.2.3 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.38.2.2 30-Oct-2012  yamt sync with head
 1.38.2.1 17-Apr-2012  yamt sync with head
 1.39.2.1 18-Feb-2012  mrg merge to -current.
 1.41.2.3 03-Dec-2017  jdolecek update from HEAD
 1.41.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.41.2.1 23-Jun-2013  tls resync from head
 1.42.8.1 10-Aug-2014  tls Rebase.
 1.43.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.43.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.46.4.2 20-Mar-2017  pgoyette Sync with HEAD
 1.46.4.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.46.2.2 28-Aug-2017  skrll Sync with HEAD
 1.46.2.1 05-Feb-2017  skrll Sync with HEAD
 1.49.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.52.4.1 10-Jun-2019  christos Sync with HEAD
 1.1 08-May-2014  phx branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10;
Use TOOL_NCDCS to turn an ibmnws kernel automatically into a valid NCD
firmware image for netbooting. This is still a valid ELF kernel, but with
a patched CRC checksum and image size included.
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 08-May-2014  tls file Makefile.ibmnws.inc was added on branch tls-maxphys on 2014-08-20 00:03:09 +0000
 1.1.6.2 10-Aug-2014  tls Rebase.
 1.1.6.1 08-May-2014  tls file Makefile.ibmnws.inc was added on branch tls-earlyentropy on 2014-08-10 06:54:00 +0000
 1.1.4.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.1 08-May-2014  yamt file Makefile.ibmnws.inc was added on branch yamt-pagecache on 2014-05-22 11:39:54 +0000
 1.1.2.2 18-May-2014  rmind sync with head
 1.1.2.1 08-May-2014  rmind file Makefile.ibmnws.inc was added on branch rmind-smpnet on 2014-05-18 17:45:14 +0000
 1.14 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.13 22-Jun-2011  matt branches: 1.13.54; 1.13.56;
Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.12 20-Feb-2008  drochner Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
 1.11 03-Dec-2007  ad Interrupt handling changes, in discussion since February:

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

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.9 10-Apr-2007  macallan branches: 1.9.4; 1.9.12; 1.9.14; 1.9.16; 1.9.18;
include files.wsfb
 1.8 09-May-2006  rjs branches: 1.8.14; 1.8.18; 1.8.20;
Update with softintr, evcnt and cpu_info changes from prep.
 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 28-Apr-2004  rjs branches: 1.6.2; 1.6.14;
Add audio support.
 1.5 25-Mar-2004  wiz 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.4 25-Mar-2004  wiz Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
Addresses PR 24905 by Simon Burge.
 1.3 13-Mar-2004  bjh21 Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
 1.2 14-Feb-2004  bjh21 Remove definitions of "pc" and "pcconskbd" devices which couldn't work since
they used arch/prep/isa/pccons.c, which was removed in late 2001.
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.6.14.5 27-Feb-2008  yamt sync with head.
 1.6.14.4 07-Dec-2007  yamt sync with head
 1.6.14.3 27-Oct-2007  yamt sync with head.
 1.6.14.2 03-Sep-2007  yamt sync with head.
 1.6.14.1 21-Jun-2006  yamt sync with head.
 1.6.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.6.2.2 03-Aug-2004  skrll Sync with HEAD
 1.6.2.1 28-Apr-2004  skrll file files.ibmnws was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.7.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.7.10.1 11-May-2006  elad sync with head
 1.7.8.1 24-May-2006  yamt sync with head.
 1.7.6.1 01-Jun-2006  kardel Sync with head.
 1.7.4.1 09-Sep-2006  rpaulo sync with head
 1.8.20.1 11-Jul-2007  mjf Sync with head.
 1.8.18.3 03-Dec-2007  ad Sync with HEAD.
 1.8.18.2 23-Oct-2007  ad Sync with head.
 1.8.18.1 10-Apr-2007  ad Sync with head.
 1.8.14.1 15-Apr-2007  yamt sync with head.
 1.9.18.1 25-Oct-2007  bouyer Sync with HEAD.
 1.9.16.1 18-Oct-2007  yamt sync with head.
 1.9.14.3 23-Mar-2008  matt sync with HEAD
 1.9.14.2 09-Jan-2008  matt sync with HEAD
 1.9.14.1 06-Nov-2007  matt sync with HEAD
 1.9.12.2 09-Dec-2007  jmcneill Sync with HEAD.
 1.9.12.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.9.4.2 10-May-2007  garbled More cleanup. mvmeppc and ibmnws are machines that have a PReP memory
map. Rather than have each port roll it's own code, use
oea/prep_machdep.c instead.
 1.9.4.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.10.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.13.56.1 05-May-2019  isaki Remove obsoleted au{,rate,vol}conv and mulaw attributes.
audio provides the equivalent of them inseparably.
 1.13.54.1 10-Jun-2019  christos Sync with HEAD
 1.20 04-Apr-2020  jdolecek mark nsmb major obsolete
 1.19 28-Jan-2019  dholland Systematize handling of removed drivers.

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

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

Note that some of the things now explicitly listed as obsolete are
really ancient history. My scan went back as far as when the majors
files were added. (But not before that.)
 1.18 27-Jan-2019  dholland Restore satlink's majors entries commented out and marked obsolete.
Otherwise they might accidentally get reused later and cause a
security problem.
 1.17 27-Jan-2019  maxv Remove the satlink driver. It was disabled everywhere, had no man page and
no use either. Spotted by thorpej in PR/21345, ok christos.
 1.16 19-Dec-2018  maxv Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
 1.15 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.14 30-Jun-2011  wiz branches: 1.14.52; 1.14.54;
dependant -> dependent
 1.13 12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.12 31-Dec-2007  ad branches: 1.12.6; 1.12.10; 1.12.16; 1.12.18;
Remove systrace. Ok core@.
 1.11 24-Nov-2006  wiz branches: 1.11.28; 1.11.34; 1.11.42;
s/independant/independent/, from Zafer.
 1.10 09-May-2006  rjs branches: 1.10.8; 1.10.10;
Add entries for audio and wscons.
 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 17-Sep-2005  yamt make VMSWAP optional again.
 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 defflag VMSWAP.
 1.5 10-May-2005  jdolecek branches: 1.5.2;
assign major for nsmb(4)
 1.4 10-Dec-2003  jmc branches: 1.4.4;
Change reference at bottom from sys/dev/majors to sys/conf/majors to match
reality
 1.3 24-Oct-2003  jdolecek add major for 'ses' for archs which have the other scsi devices
 1.2 19-Oct-2003  jdolecek add major for ksyms, and add the comment about MD major range
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.4.4.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.4.4.2 03-Aug-2004  skrll Sync with HEAD
 1.4.4.1 10-Dec-2003  skrll file majors.ibmnws was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.5.2.3 21-Jan-2008  yamt sync with head
 1.5.2.2 30-Dec-2006  yamt sync with head.
 1.5.2.1 21-Jun-2006  yamt sync with head.
 1.9.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.9.10.1 11-May-2006  elad sync with head
 1.9.8.1 24-May-2006  yamt sync with head.
 1.9.6.1 01-Jun-2006  kardel Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.10.10.1 10-Dec-2006  yamt sync with head.
 1.10.8.1 12-Jan-2007  ad Sync with head.
 1.11.42.1 02-Jan-2008  bouyer Sync with HEAD
 1.11.34.1 18-Feb-2008  mjf Sync with HEAD.
 1.11.28.1 09-Jan-2008  matt sync with HEAD
 1.12.18.1 19-Jan-2009  skrll Sync with HEAD.
 1.12.16.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.12.10.1 04-May-2009  yamt sync with head.
 1.12.6.1 17-Jan-2009  mjf Sync with HEAD.
 1.14.54.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.14.54.1 10-Jun-2019  christos Sync with HEAD
 1.14.52.2 26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.14.52.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.5 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.4 18-Apr-2006  rjs branches: 1.4.18; 1.4.26; 1.4.36; 1.4.38; 1.4.40; 1.4.42;
Add PCKBCNOTEST option.
 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 17-Sep-2005  yamt include "conf/std".
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.2 27-Oct-2007  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file std.ibmnws was added on branch ktrace-lwp on 2004-08-03 10:36: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 11-May-2006  elad sync with head
 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.42.1 25-Oct-2007  bouyer Sync with HEAD.
 1.4.40.1 18-Oct-2007  yamt sync with head.
 1.4.38.1 06-Nov-2007  matt sync with HEAD
 1.4.36.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.4.26.2 09-May-2007  garbled Add options PIC_PREPIVR to make ibmnws compile.
 1.4.26.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.4.18.1 23-Oct-2007  ad Sync with head.
 1.13 13-Oct-2025  thorpej Use device_{get,set}prop_bool().
 1.12 29-Jul-2012  mlelstv 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.11 18-Jun-2011  matt branches: 1.11.2; 1.11.8;
struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
 1.10 03-Nov-2008  rjs branches: 1.10.14;
Use aprint_* instead of printf, device_t/softc split.
 1.9 15-May-2008  rjs branches: 1.9.4; 1.9.6;
Enable console on genfb(4).
 1.8 12-Feb-2008  joerg branches: 1.8.6; 1.8.8; 1.8.10; 1.8.12;
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.7 17-Oct-2007  garbled branches: 1.7.2;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.6 28-Feb-2007  thorpej branches: 1.6.2; 1.6.10; 1.6.18; 1.6.20; 1.6.22; 1.6.24;
TRUE -> true, FALSE -> false
 1.5 31-Oct-2006  thorpej branches: 1.5.4;
In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.
 1.4 09-May-2006  rjs branches: 1.4.8; 1.4.10;
KNF.
 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 23-Oct-2004  thorpej branches: 1.2.12;
Centralize the declaration of booted_device and booted_partition.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.5 02-Nov-2004  skrll Sync with HEAD.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file autoconf.c was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.5 27-Feb-2008  yamt sync with head.
 1.2.12.4 27-Oct-2007  yamt sync with head.
 1.2.12.3 03-Sep-2007  yamt sync with head.
 1.2.12.2 30-Dec-2006  yamt sync with head.
 1.2.12.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 11-May-2006  elad sync with head
 1.3.8.1 24-May-2006  yamt sync with head.
 1.3.6.1 01-Jun-2006  kardel 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.24.1 25-Oct-2007  bouyer Sync with HEAD.
 1.6.22.1 18-Oct-2007  yamt sync with head.
 1.6.20.2 23-Mar-2008  matt sync with HEAD
 1.6.20.1 06-Nov-2007  matt sync with HEAD
 1.6.18.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.6.10.1 10-May-2007  garbled More cleanup:
1) Remove lcsplx, strayintr, and foosoft from all the converted ports.
None of this stuff is needed anymore.
2) because lcsplx is just "return spllower", just call spllower from
locore_subr.S instead.
3) Every port (except macppc) had a pretty similar cpu_configure(), so
take the common parts out and make a genppc_cpu_configure() in an attempt
to stop using imask[] outside of intr.c
 1.6.2.1 23-Oct-2007  ad Sync with head.
 1.7.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.8.12.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.10.1 04-May-2009  yamt sync with head.
 1.8.8.1 18-May-2008  yamt sync with head.
 1.8.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.8.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.9.6.1 19-Jan-2009  skrll Sync with HEAD.
 1.9.4.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.10.14.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.11.8.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.11.2.1 30-Oct-2012  yamt sync with head
 1.8 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.7 07-Sep-2006  rjs branches: 1.7.10; 1.7.18; 1.7.28; 1.7.30; 1.7.32; 1.7.34;
Switch to MI todr. Mostly copied from prep.
 1.6 11-Aug-2006  rjs branches: 1.6.2;
Add timecounter support. Copied from prep.
 1.5 09-May-2006  rjs Update with softintr, evcnt and cpu_info changes from prep.
 1.4 24-Dec-2005  perry branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; 1.4.12;
bare asm -> __asm
 1.3 23-Nov-2005  nonaka In decr_intr(), update lasttb only when clock interrupt is not masked.
(sync with macppc/macppc/clock.c: rev.1.11 -> 1.12)
 1.2 03-Jun-2005  rjs branches: 1.2.2; 1.2.8;
Remove a shadow declaration.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.6 11-Dec-2005  christos Sync with head.
 1.1.4.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file clock.c was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.8.1 29-Nov-2005  yamt sync with head.
 1.2.2.3 27-Oct-2007  yamt sync with head.
 1.2.2.2 30-Dec-2006  yamt sync with head.
 1.2.2.1 21-Jun-2006  yamt sync with head.
 1.4.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.4.10.1 11-May-2006  elad sync with head
 1.4.8.3 14-Sep-2006  yamt sync with head.
 1.4.8.2 03-Sep-2006  yamt sync with head.
 1.4.8.1 24-May-2006  yamt sync with head.
 1.4.6.1 01-Jun-2006  kardel Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.6.2.1 18-Nov-2006  ad Sync with head.
 1.7.34.1 25-Oct-2007  bouyer Sync with HEAD.
 1.7.32.1 18-Oct-2007  yamt sync with head.
 1.7.30.1 06-Nov-2007  matt sync with HEAD
 1.7.28.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.7.18.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.7.10.1 23-Oct-2007  ad Sync with head.
 1.4 07-Sep-2006  rjs Switch to MI todr. Mostly copied from prep.
 1.3 09-May-2006  rjs branches: 1.3.8;
Remove __P.
 1.2 11-Dec-2005  christos branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.12;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.2 30-Dec-2006  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file clockvar.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.10.1 11-May-2006  elad sync with head
 1.2.8.2 14-Sep-2006  yamt sync with head.
 1.2.8.1 24-May-2006  yamt sync with head.
 1.2.6.1 01-Jun-2006  kardel Sync with head.
 1.2.4.1 09-Sep-2006  rpaulo sync with head
 1.3.8.1 18-Nov-2006  ad Sync with head.
 1.6 13-Oct-2012  jdc Adapt to the changed signature of pckbc_cnattach().
 1.5 01-Jul-2011  dyoung branches: 1.5.2; 1.5.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.4 15-May-2008  rjs Enable console on genfb(4).
 1.3 17-Oct-2007  garbled branches: 1.3.16; 1.3.18; 1.3.20; 1.3.22;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.2 11-Dec-2005  christos branches: 1.2.30; 1.2.38; 1.2.48; 1.2.50; 1.2.52; 1.2.54;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.1 27-Oct-2007  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file consinit.c was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.2.52.1 18-Oct-2007  yamt sync with head.
 1.2.50.1 06-Nov-2007  matt sync with HEAD
 1.2.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.2.38.2 10-May-2007  garbled More cleanup. mvmeppc and ibmnws are machines that have a PReP memory
map. Rather than have each port roll it's own code, use
oea/prep_machdep.c instead.
 1.2.38.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.2.30.1 23-Oct-2007  ad Sync with head.
 1.3.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.3.20.1 04-May-2009  yamt sync with head.
 1.3.18.1 18-May-2008  yamt sync with head.
 1.3.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.5.2.1 30-Oct-2012  yamt sync with head
 1.7 01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.6 03-Nov-2008  rjs Use aprint_* instead of printf, device_t/softc split.
 1.5 02-May-2008  rjs branches: 1.5.6; 1.5.8;
Only call cpu_attach_common() once.
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 09-May-2006  rjs branches: 1.3.62; 1.3.64; 1.3.66;
Update with softintr, evcnt and cpu_info changes from prep.
 1.2 11-Dec-2005  christos branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.12;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file cpu.c was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.10.1 11-May-2006  elad sync with head
 1.2.8.1 24-May-2006  yamt sync with head.
 1.2.6.1 01-Jun-2006  kardel Sync with head.
 1.2.4.1 09-Sep-2006  rpaulo sync with head
 1.3.66.2 04-May-2009  yamt sync with head.
 1.3.66.1 16-May-2008  yamt sync with head.
 1.3.64.1 18-May-2008  yamt sync with head.
 1.3.62.2 17-Jan-2009  mjf Sync with HEAD.
 1.3.62.1 02-Jun-2008  mjf Sync with HEAD.
 1.5.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.5.6.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 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 17-Jun-2006  rjs branches: 1.5.14; 1.5.22; 1.5.32; 1.5.34; 1.5.36; 1.5.38;
Rename IPL_IMP to IPL_VM, needed for CardBus support.
 1.4 09-May-2006  rjs branches: 1.4.2; 1.4.4;
Update with softintr, evcnt and cpu_info changes from prep.
 1.3 24-Dec-2005  perry branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
bare asm -> __asm
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.2 27-Oct-2007  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file extintr.c was added on branch ktrace-lwp on 2004-08-03 10:36: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 11-May-2006  elad sync with head
 1.3.8.2 26-Jun-2006  yamt sync with head.
 1.3.8.1 24-May-2006  yamt sync with head.
 1.3.6.1 01-Jun-2006  kardel Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.4.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.4.2.1 19-Jun-2006  chap Sync with head.
 1.5.38.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.36.1 18-Oct-2007  yamt sync with head.
 1.5.34.1 06-Nov-2007  matt sync with HEAD
 1.5.32.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.22.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.5.14.1 23-Oct-2007  ad Sync with head.
 1.13 26-Feb-2021  thorpej Declare oeacpufeat once, in powerpc/oea/cpu_subr.c, rather than in
N different locore.S files.
 1.12 15-Jul-2018  maxv branches: 1.12.12;
Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.11 20-Jun-2011  matt branches: 1.11.52; 1.11.54;
Don't include *pmap.h in assembly files. Get the needed definitions
from "assym.h".
 1.10 18-Jun-2011  matt Make a common genassym.cf (powerpc/genassym.cf) and then
only put specific stuff in foo/genassym.cf
 1.9 17-Jan-2011  matt branches: 1.9.4;
Kill _NOREGNAMES. Everything should be using %rX now. If it doesn't it
soon will.
 1.8 03-Mar-2010  pooka branches: 1.8.2; 1.8.4;
Fix some historical powerpc curiocity which had kernfs depend on
startsym/endsym, and which crept into most powerpc ports.
 1.7 25-Feb-2010  matt Adapt to <spr.h> breakup.
 1.6 26-Nov-2009  matt branches: 1.6.2;
Kill proc0paddr. Use lwp0.l_addr instead.
 1.5 05-Feb-2008  garbled branches: 1.5.10; 1.5.32;
Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the
possibility of running on an MPC601, are infected with all the extra code
and nops that it added.

Also, fix compilation that I broke with the pmap code, by adding
oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
 1.4 09-May-2006  rjs branches: 1.4.38; 1.4.44;
Fix boot failure problem with DDB enabled.
 1.3 09-May-2006  rjs Update with softintr, evcnt and cpu_info changes from prep.
 1.2 11-Dec-2005  christos branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.12;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.2 11-Feb-2008  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file locore.S was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.10.1 11-May-2006  elad sync with head
 1.2.8.1 24-May-2006  yamt sync with head.
 1.2.6.1 01-Jun-2006  kardel Sync with head.
 1.2.4.1 09-Sep-2006  rpaulo sync with head
 1.4.44.1 18-Feb-2008  mjf Sync with HEAD.
 1.4.38.1 23-Mar-2008  matt sync with HEAD
 1.5.32.1 07-Jan-2011  matt Deal with split <spr.h> (and a few other misc fixes).
 1.5.10.1 11-Mar-2010  yamt sync with head
 1.6.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.8.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.8.2.1 05-Mar-2011  rmind sync with head
 1.9.4.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.11.54.1 10-Jun-2019  christos Sync with HEAD
 1.11.52.1 28-Jul-2018  pgoyette Sync with HEAD
 1.12.12.1 03-Apr-2021  thorpej Sync with HEAD.
 1.22 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.21 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.20 28-Mar-2023  andvar s/interrput/interrupt/ and s/accesss/access/ in comments.
 1.19 16-Feb-2022  riastradh powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.

Otherwise the compiler may reorder these around loads and stores,
which mostly defeats the purpose. `asm volatile' just ensures the
instruction isn't _deleted_; it may still move around.
 1.18 27-Feb-2021  thorpej Don't put #ifdefs in prep_initppc(). Instead, let callers specify the
additional BAT-mapped regions they care about.
 1.17 28-Jul-2012  matt branches: 1.17.52;
Fix -fno-common fallout.
 1.16 30-Jun-2011  matt branches: 1.16.2;
Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.15 20-Jun-2011  matt Cleanup includes. (<net/netisr.h> is handled by softints, not MD anymore,
so this can be nuked).
 1.14 27-Nov-2009  rmind branches: 1.14.10;
- 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.13 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.12 03-Nov-2008  rjs Use aprint_* instead of printf, device_t/softc split.
 1.11 14-Jun-2008  mjf branches: 1.11.2; 1.11.4;
Automatically detect the amount of installed RAM by reading the memory
bank registers from the PCI host bridge. Previously the RAM size was
hardcoded to 64MB.

Also fill out ibm82660reg.h with more definitions from the PowerPC to
PCI Bridge and Memory Controller User's Manual.

Many thanks to Tim Rightnour for helping with this patch.
 1.10 22-May-2008  rjs branches: 1.10.2;
Add call to pic_init(). Spotted by garbled.
 1.9 17-Oct-2007  garbled branches: 1.9.16; 1.9.18; 1.9.20; 1.9.22;
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.8 09-Feb-2007  ad branches: 1.8.6; 1.8.14; 1.8.22; 1.8.24; 1.8.26; 1.8.28;
Merge newlock2 to head.
 1.7 09-May-2006  rjs branches: 1.7.8;
Fix boot failure problem with DDB enabled.
 1.6 09-May-2006  rjs Update with softintr, evcnt and cpu_info changes from prep.
 1.5 24-Dec-2005  perry branches: 1.5.4; 1.5.6; 1.5.8; 1.5.10; 1.5.12;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.4 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 20-Oct-2003  matt branches: 1.2.4; 1.2.18;
Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.2.18.3 27-Oct-2007  yamt sync with head.
 1.2.18.2 26-Feb-2007  yamt sync with head.
 1.2.18.1 21-Jun-2006  yamt sync with head.
 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-Oct-2003  skrll file machdep.c was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.5.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.5.10.1 11-May-2006  elad sync with head
 1.5.8.1 24-May-2006  yamt sync with head.
 1.5.6.1 01-Jun-2006  kardel Sync with head.
 1.5.4.1 09-Sep-2006  rpaulo sync with head
 1.7.8.1 30-Jan-2007  ad Remove support for SA. Ok core@.
 1.8.28.1 25-Oct-2007  bouyer Sync with HEAD.
 1.8.26.1 18-Oct-2007  yamt sync with head.
 1.8.24.1 06-Nov-2007  matt sync with HEAD
 1.8.22.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.8.14.6 10-Oct-2007  garbled Change pic_prepivr around a bit. Handle the default IRQ 7 from the 8259
better, and add a new motivr_get_irq(). The motorola machines require an
actual read from the 8259 for PCI irqs, so in that case, we read the
8259, and then read the IVR to ack the irq.

Move i8259_get_irq() to i8259_common.c for above.

Fix some minor typos in the chip id's for prep residual.

Fix ibmnws and prep to properly initialize the prep ivr depending on if
the machine is motorola, or IBM based.

Tested on a 7043 and an MTX604
 1.8.14.5 10-May-2007  garbled More cleanup. mvmeppc and ibmnws are machines that have a PReP memory
map. Rather than have each port roll it's own code, use
oea/prep_machdep.c instead.
 1.8.14.4 10-May-2007  garbled HAVE_GENERIC_SOFTINTRS is no longer optional. Delete ifndef'd code from
oea_machdep.c, and move softintr__init() to oea_startup(). Remove
softintr__init from every port's cpu_startup().
 1.8.14.3 10-May-2007  garbled More cleanup:
1) Remove lcsplx, strayintr, and foosoft from all the converted ports.
None of this stuff is needed anymore.
2) because lcsplx is just "return spllower", just call spllower from
locore_subr.S instead.
3) Every port (except macppc) had a pretty similar cpu_configure(), so
take the common parts out and make a genppc_cpu_configure() in an attempt
to stop using imask[] outside of intr.c
 1.8.14.2 09-May-2007  rjs Initialize prep_intr_reg_off.
 1.8.14.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.8.6.1 23-Oct-2007  ad Sync with head.
 1.9.22.3 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.9.22.2 14-May-2008  wrstuden Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
 1.9.22.1 10-May-2008  wrstuden Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
 1.9.20.2 11-Mar-2010  yamt sync with head
 1.9.20.1 04-May-2009  yamt sync with head.
 1.9.18.2 17-Jun-2008  yamt sync with head.
 1.9.18.1 04-Jun-2008  yamt sync with head
 1.9.16.3 17-Jan-2009  mjf Sync with HEAD.
 1.9.16.2 29-Jun-2008  mjf Sync with HEAD.
 1.9.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.10.2.1 18-Jun-2008  simonb Sync with head.
 1.11.4.1 19-Jan-2009  skrll Sync with HEAD.
 1.11.2.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.14.10.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.16.2.1 30-Oct-2012  yamt sync with head
 1.17.52.1 03-Apr-2021  thorpej Sync with HEAD.
 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 04-Jan-2021  thorpej branches: 1.15.2;
malloc(9) -> kmem(9)
 1.14 07-Jul-2020  thorpej branches: 1.14.2;
Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.13 14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.12 10-Nov-2019  chs 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 27-Jan-2012  para branches: 1.11.48;
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.10 01-Jul-2011  dyoung branches: 1.10.2; 1.10.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.9 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.8 18-Mar-2009  cegger branches: 1.8.4; 1.8.6;
bzero -> memset
 1.7 03-Nov-2008  rjs branches: 1.7.4;
Use aprint_* instead of printf, device_t/softc split.
 1.6 17-Oct-2007  garbled branches: 1.6.16; 1.6.20; 1.6.26; 1.6.28;
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 09-May-2006  rjs branches: 1.5.18; 1.5.26; 1.5.36; 1.5.38; 1.5.40; 1.5.42;
KNF.
 1.4 10-Mar-2006  he branches: 1.4.2;
Remove include of <prep/dev/obiovar.h>, as that file no longer exists,
and this file does apparently not need it.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10;
merge ktrace-lwp.
 1.2 30-Aug-2004  drochner branches: 1.2.12;
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.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.5 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.4 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.3 03-Sep-2004  skrll Sync with HEAD
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file mainbus.c was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.2 27-Oct-2007  yamt sync with head.
 1.2.12.1 21-Jun-2006  yamt sync with head.
 1.3.10.2 11-May-2006  elad sync with head
 1.3.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.8.2 24-May-2006  yamt sync with head.
 1.3.8.1 13-Mar-2006  yamt sync with head.
 1.3.6.2 01-Jun-2006  kardel 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.2.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.5.42.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.40.1 18-Oct-2007  yamt sync with head.
 1.5.38.1 06-Nov-2007  matt sync with HEAD
 1.5.36.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.26.2 10-May-2007  garbled More cleanup. mvmeppc and ibmnws are machines that have a PReP memory
map. Rather than have each port roll it's own code, use
oea/prep_machdep.c instead.
 1.5.26.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.5.18.1 23-Oct-2007  ad Sync with head.
 1.6.28.2 28-Apr-2009  skrll Sync with HEAD.
 1.6.28.1 19-Jan-2009  skrll Sync with HEAD.
 1.6.26.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.6.20.1 04-May-2009  yamt sync with head.
 1.6.16.1 17-Jan-2009  mjf Sync with HEAD.
 1.7.4.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.8.4.1 31-May-2011  rmind sync with head
 1.10.6.1 18-Feb-2012  mrg merge to -current.
 1.10.2.1 17-Apr-2012  yamt sync with head
 1.11.48.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.14.2.1 03-Apr-2021  thorpej Sync with HEAD.
 1.15.2.1 02-Apr-2021  thorpej config_found_ia() -> config_found() w/ CFARG_IATTR.
 1.16.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.7 21-Dec-2015  christos Add mips fenv.h (From FreeBSD)
 1.6 23-Jul-2014  alnsn branches: 1.6.4;
Rename sljitarch.h to sljit_machdep.h.
 1.5 17-Nov-2013  alnsn branches: 1.5.2;
Enable sljit and bpfjit on powerpc.
 1.4 11-Dec-2005  christos branches: 1.4.112; 1.4.122; 1.4.128;
merge ktrace-lwp.
 1.3 24-Oct-2003  matt branches: 1.3.4;
Don't install bus.h
 1.2 20-Oct-2003  matt Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.3.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.3.4.2 03-Aug-2004  skrll Sync with HEAD
 1.3.4.1 24-Oct-2003  skrll file Makefile was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.4.128.1 18-May-2014  rmind sync with head
 1.4.122.2 03-Dec-2017  jdolecek update from HEAD
 1.4.122.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.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.5.2.1 10-Aug-2014  tls Rebase.
 1.6.4.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file ansi.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file aout_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file asm.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 05-Jun-2011  matt Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
 1.2 11-Dec-2005  christos branches: 1.2.100; 1.2.106; 1.2.110;
merge ktrace-lwp.
 1.1 20-Oct-2003  matt branches: 1.1.4;
Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 20-Oct-2003  skrll file atomic.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.100.1 12-Jun-2011  rmind sync with head
 1.6 30-Jun-2011  matt Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.5 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.4 09-May-2006  rjs branches: 1.4.14;
Remove __P.
 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 03-Jun-2005  rjs branches: 1.2.2;
Add a const.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file autoconf.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.2.2 03-Sep-2007  yamt sync with head.
 1.2.2.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 11-May-2006  elad sync with head
 1.3.8.1 24-May-2006  yamt sync with head.
 1.3.6.1 01-Jun-2006  kardel Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.4.14.1 12-Mar-2007  rmind Sync with HEAD.
 1.2 20-Oct-2003  matt Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file bswap.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 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.2 11-Dec-2005  christos branches: 1.2.30; 1.2.38; 1.2.48; 1.2.50; 1.2.52; 1.2.54;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.1 27-Oct-2007  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file bus.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.2.52.1 18-Oct-2007  yamt sync with head.
 1.2.50.1 06-Nov-2007  matt sync with HEAD
 1.2.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.2.38.2 10-May-2007  garbled More cleanup. mvmeppc and ibmnws are machines that have a PReP memory
map. Rather than have each port roll it's own code, use
oea/prep_machdep.c instead.
 1.2.38.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.2.30.1 23-Oct-2007  ad Sync with head.
 1.1 01-Jul-2011  dyoung Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet. Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
 1.1 01-Jul-2011  dyoung Per discussion at
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>,
divide each machine's bus.h into bus_defs.h (constants & data types)
and bus_funcs.h (macro implementations of bus_space(9) routines and MD
prototypes).

Note that some bus_space(9) routines' implementation will move to .c
files from inline subroutines or macros in .h files.

I've only made the split for machine architectures where there is PCI.
All of the non-PCI-having architectures will require a similar split.

These #include files are not referenced by any (committed) Makefiles or
header files, yet. Changes to Makefiles, to <sys/bus.h>, and to some
more machine-dependent files will dribble in before I throw the switch.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file cdefs.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 20-Jun-2011  matt Don't expose port-specific if _MODULE is defined.
Don't _MACHINE_CPU_H_, _<PORT>_CPU_H_
 1.2 11-Dec-2005  christos branches: 1.2.110;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file cpu.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file cpu_counter.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 20-Oct-2003  matt Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>. Remove unneeded <machine/cpufunc.h>. To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.3 26-Apr-2011  joerg Remove Darwin, MACH and Mach-O support.
 1.2 11-Dec-2005  christos branches: 1.2.100; 1.2.106;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file darwin_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.100.1 31-May-2011  rmind sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file db_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.6 16-May-2013  christos Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
 1.5 30-Aug-2011  bouyer branches: 1.5.2; 1.5.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.4 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.3 11-Dec-2005  christos branches: 1.3.78;
merge ktrace-lwp.
 1.2 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.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file disklabel.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3.78.1 11-Mar-2010  yamt sync with head
 1.5.12.1 23-Jun-2013  tls resync from head
 1.5.2.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file elf_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file endian.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file endian_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.1 20-Dec-2015  christos branches: 1.1.2; 1.1.18;
new powerpc fenv.h
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 20-Dec-2015  jdolecek file fenv.h was added on branch tls-maxphys on 2017-12-03 11:36:21 +0000
 1.1.2.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1.2.1 20-Dec-2015  skrll file fenv.h was added on branch nick-nhusb on 2015-12-27 12:09:37 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file float.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file fpu.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file frame.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file ieee.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file ieeefp.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file int_const.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file int_fmtio.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file int_limits.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file int_mwgwtypes.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file int_types.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.15 17-Jun-2011  matt intr.h must not include cpu due to deadly embrace with SOFTINT_COUNT.
Cleanup intr.h so MD definitions can overload common definitions.
Rototill pic/intr.c. Virtual IRQs can now be reclaimed. separate virq
from hwirq from picirq. Redo intr mask calculations.
tested on pmppc and macppc (MP).
 1.14 13-Nov-2010  uebayasi branches: 1.14.6;
sys/device.h is not suitable for such low-level definitions.
 1.13 24-Apr-2010  kiyohara Support 64-bit imask for powerpc/pic.
 1.12 28-Apr-2008  martin branches: 1.12.20; 1.12.22;
Remove clause 3 and 4 from TNF licenses
 1.11 17-Oct-2007  garbled branches: 1.11.16; 1.11.18; 1.11.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.10 14-Jul-2007  ad branches: 1.10.8; 1.10.10; 1.10.12; 1.10.14;
Generic soft interrupts are mandatory.
 1.9 16-Feb-2007  ad branches: 1.9.6; 1.9.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.8 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.7 17-Jun-2006  rjs branches: 1.7.4; 1.7.6;
Rename IPL_IMP to IPL_VM, needed for CardBus support.
 1.6 09-May-2006  rjs branches: 1.6.2; 1.6.4;
Update with softintr, evcnt and cpu_info changes from prep.
 1.5 16-Feb-2006  perry branches: 1.5.2; 1.5.4; 1.5.6;
Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
 1.4 24-Dec-2005  perry branches: 1.4.2; 1.4.4; 1.4.6;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.3 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.5 27-Oct-2007  yamt sync with head.
 1.1.18.4 03-Sep-2007  yamt sync with head.
 1.1.18.3 26-Feb-2007  yamt sync with head.
 1.1.18.2 30-Dec-2006  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file intr.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.4.6.2 01-Jun-2006  kardel Sync with head.
 1.4.6.1 22-Apr-2006  simonb Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.4.2.1 18-Feb-2006  yamt sync with head.
 1.5.6.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.5.4.1 11-May-2006  elad sync with head
 1.5.2.2 26-Jun-2006  yamt sync with head.
 1.5.2.1 24-May-2006  yamt sync with head.
 1.6.4.1 13-Jul-2006  gdamore Merge from HEAD.
 1.6.2.1 19-Jun-2006  chap Sync with head.
 1.7.6.2 04-Nov-2006  yamt correct type of makeiplcookie.
 1.7.6.1 04-Nov-2006  yamt implement splraiseipl/makeiplcookie.
 1.7.4.1 12-Jan-2007  ad Sync with head.
 1.9.14.3 03-Oct-2007  garbled Sync with HEAD
 1.9.14.2 08-May-2007  rjs Use shared powerpc intr.h.
 1.9.14.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.9.6.2 23-Oct-2007  ad Sync with head.
 1.9.6.1 15-Jul-2007  ad Sync with head.
 1.10.14.1 25-Oct-2007  bouyer Sync with HEAD.
 1.10.12.1 18-Oct-2007  yamt sync with head.
 1.10.10.1 06-Nov-2007  matt sync with HEAD
 1.10.8.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.11.20.2 11-Aug-2010  yamt sync with head.
 1.11.20.1 16-May-2008  yamt sync with head.
 1.11.18.1 18-May-2008  yamt sync with head.
 1.11.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.12.22.2 05-Mar-2011  rmind sync with head
 1.12.22.1 30-May-2010  rmind sync with head
 1.12.20.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.14.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.3 15-Jul-2018  maxv Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos
 1.2 11-Dec-2005  christos branches: 1.2.164; 1.2.166;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file ipkdb.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.166.1 10-Jun-2019  christos Sync with HEAD
 1.2.164.1 28-Jul-2018  pgoyette Sync with HEAD
 1.8 12-Dec-2021  andvar s/Miscellanous/Miscellaneous/ in copypasta comments.
 1.7 18-Oct-2016  jdolecek add isa_intr_establish_xname() to MD isa headers so that it can be used
by MI drivers
 1.6 19-Aug-2009  dyoung branches: 1.6.22; 1.6.40; 1.6.44;
isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
 1.5 19-Aug-2009  dyoung Define isa_detach_hook().
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 17-Oct-2007  garbled branches: 1.3.16; 1.3.18; 1.3.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.2 11-Dec-2005  christos branches: 1.2.30; 1.2.38; 1.2.48; 1.2.50; 1.2.52; 1.2.54;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.1 27-Oct-2007  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file isa_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.2.52.1 18-Oct-2007  yamt sync with head.
 1.2.50.1 06-Nov-2007  matt sync with HEAD
 1.2.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.2.38.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.2.30.1 23-Oct-2007  ad Sync with head.
 1.3.20.2 19-Aug-2009  yamt sync with head.
 1.3.20.1 16-May-2008  yamt sync with head.
 1.3.18.1 18-May-2008  yamt sync with head.
 1.3.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.44.1 04-Nov-2016  pgoyette Sync with HEAD
 1.6.40.1 05-Dec-2016  skrll Sync with HEAD
 1.6.22.1 03-Dec-2017  jdolecek update from HEAD
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 11-Dec-2005  christos branches: 1.2.74; 1.2.76; 1.2.78;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file isapnp_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.78.1 16-May-2008  yamt sync with head.
 1.2.76.1 18-May-2008  yamt sync with head.
 1.2.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file kcore.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.4 16-Feb-2006  perry Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
 1.3 24-Dec-2005  perry branches: 1.3.2; 1.3.4; 1.3.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file kgdb.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.3.2.1 18-Feb-2006  yamt sync with head.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file limits.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file lock.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 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:46 +0000
 1.1 29-Jul-2008  rjs branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.20;
Add missing file.
 1.1.20.2 04-May-2009  yamt sync with head.
 1.1.20.1 29-Jul-2008  yamt file mach_machdep.h was added on branch yamt-nfs-mp on 2009-05-04 08:11:22 +0000
 1.1.8.2 19-Oct-2008  haad Sync with HEAD.
 1.1.8.1 29-Jul-2008  haad file mach_machdep.h was added on branch haad-dm on 2008-10-19 22:15:50 +0000
 1.1.6.2 28-Sep-2008  mjf Sync with HEAD.
 1.1.6.1 29-Jul-2008  mjf file mach_machdep.h was added on branch mjf-devfs2 on 2008-09-28 10:40:01 +0000
 1.1.4.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.4.1 29-Jul-2008  wrstuden file mach_machdep.h was added on branch wrstuden-revivesa on 2008-09-18 04:33:28 +0000
 1.1.2.2 31-Jul-2008  simonb Sync with head.
 1.1.2.1 29-Jul-2008  simonb file mach_machdep.h was added on branch simonb-wapbl on 2008-07-31 04:51:01 +0000
 1.3 26-Apr-2011  joerg Remove Darwin, MACH and Mach-O support.
 1.2 11-Dec-2005  christos branches: 1.2.100; 1.2.106;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file macho_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.106.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.100.1 31-May-2011  rmind sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file math.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file mcontext.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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 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:07:07 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file openpicreg.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 20-Jun-2011  matt Cleanup powerpc param.h. If compiling a MODULE, ignore port-specific stuff.
Only include <machine/cpu.h> in <powerpc/param.h> at the end.
 1.2 11-Dec-2005  christos branches: 1.2.110;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file param.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file pcb.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.8 22-Jun-2011  matt Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.7 13-Dec-2010  matt Change definition of pc_bus_maxdevs to get a void * instead a pci_chipset_tag_t
to match its use in pci_bus_maxdevs. This makes it the same as pci_conf_read
and pci_conf_write.
Change all struct device * to device_t.
[Obviously nothing ever used the first argument to pc_bus_maxdevs since it
could have never worked because it wasn't being passed a pci_chipset_tag_t.]
 1.6 14-Jun-2008  mjf branches: 1.6.18; 1.6.22;
Automatically detect the amount of installed RAM by reading the memory
bank registers from the PCI host bridge. Previously the RAM size was
hardcoded to 64MB.

Also fill out ibm82660reg.h with more definitions from the PowerPC to
PCI Bridge and Memory Controller User's Manual.

Many thanks to Tim Rightnour for helping with this patch.
 1.5 28-Apr-2008  martin branches: 1.5.2; 1.5.4;
Remove clause 3 and 4 from TNF licenses
 1.4 17-Oct-2007  garbled branches: 1.4.16; 1.4.18; 1.4.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.3 11-Dec-2005  christos branches: 1.3.30; 1.3.38; 1.3.48; 1.3.50; 1.3.52; 1.3.54;
merge ktrace-lwp.
 1.2 29-Jul-2004  drochner branches: 1.2.2; 1.2.14;
remove now unnecessary "pci_enumerate_bus" definitions
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.2.14.1 27-Oct-2007  yamt sync with head.
 1.2.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.2 03-Aug-2004  skrll Sync with HEAD
 1.2.2.1 29-Jul-2004  skrll file pci_machdep.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.3.52.1 18-Oct-2007  yamt sync with head.
 1.3.50.1 06-Nov-2007  matt sync with HEAD
 1.3.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.3.38.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.3.30.1 23-Oct-2007  ad Sync with head.
 1.4.20.2 04-May-2009  yamt sync with head.
 1.4.20.1 16-May-2008  yamt sync with head.
 1.4.18.2 17-Jun-2008  yamt sync with head.
 1.4.18.1 18-May-2008  yamt sync with head.
 1.4.16.2 29-Jun-2008  mjf Sync with HEAD.
 1.4.16.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.22.1 07-Jan-2011  matt Change bus_maxdevs to be passed pc->pc_conf_v instead pc (e.g. like the
rest of the conf calls).
 1.6.18.1 05-Mar-2011  rmind sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file pio.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file pmap.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 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.2 11-Dec-2005  christos branches: 1.2.164; 1.2.166;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file pmc.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.166.1 10-Jun-2019  christos Sync with HEAD
 1.2.164.1 28-Jul-2018  pgoyette Sync with HEAD
 1.2 01-Dec-2012  mbalmer Fix misspelling of acceptible (it's only acceptable with an 'a', not an 'i').
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.142; 1.1.152;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.152.1 25-Feb-2013  tls resync with head
 1.1.142.1 16-Jan-2013  yamt sync with (a bit old) head
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file pnp.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.4 09-May-2006  rjs Remove __P.
 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 23-Oct-2004  thorpej branches: 1.2.12;
Centralize the declaration of booted_device and booted_partition.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.5 02-Nov-2004  skrll Sync with HEAD.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file powerpc.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.1 21-Jun-2006  yamt sync with head.
 1.3.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.10.1 11-May-2006  elad sync with head
 1.3.8.1 24-May-2006  yamt sync with head.
 1.3.6.1 01-Jun-2006  kardel Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file proc.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file profile.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file psl.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file pte.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file ptrace.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file reg.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file reloc.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +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:07:07 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file setjmp.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file signal.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 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:09 +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:54:00 +0000
 1.2 23-Jul-2014  alnsn Rename sljitarch.h to sljit_machdep.h.
 1.1 17-Nov-2013  alnsn branches: 1.1.2; 1.1.4; 1.1.6;
Enable sljit and bpfjit on powerpc.
 1.1.6.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.6.1 17-Nov-2013  yamt file sljitarch.h was added on branch yamt-pagecache on 2014-05-22 11:39:54 +0000
 1.1.4.2 18-May-2014  rmind sync with head
 1.1.4.1 17-Nov-2013  rmind file sljitarch.h was added on branch rmind-smpnet on 2014-05-18 17:45:14 +0000
 1.1.2.1 10-Aug-2014  tls Rebase.
 1.3 02-Mar-2010  matt Add missing <powerpc/FOO/spr.h> to a few files missed on the first pass.
Don't export <machine/spr.h> to userland, only <powerpc/spr.h>
 1.2 11-Dec-2005  christos branches: 1.2.78; 1.2.92; 1.2.98;
merge ktrace-lwp.
 1.1 17-Feb-2005  briggs branches: 1.1.2; 1.1.8; 1.1.10;
Install spr.h
 1.1.10.2 29-Apr-2005  kent sync with -current
 1.1.10.1 17-Feb-2005  kent file spr.h was added on branch kent-audio2 on 2005-04-29 11:28:14 +0000
 1.1.8.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.1.8.1 17-Feb-2005  yamt file spr.h was added on branch yamt-km on 2005-03-19 08:33:04 +0000
 1.1.2.2 17-Feb-2005  skrll Sync with HEAD.
 1.1.2.1 17-Feb-2005  skrll file spr.h was added on branch ktrace-lwp on 2005-02-17 07:10:36 +0000
 1.2.98.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.2.92.1 24-Oct-2010  jym Sync with HEAD
 1.2.78.1 11-Mar-2010  yamt sync with head
 1.3 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.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file stdarg.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file trap.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.11 17-Jul-2011  dyoung Switch more PowerPC ports having PCI support to new-style <sys/bus.h>.
 1.10 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.9 17-Oct-2007  garbled branches: 1.9.2; 1.9.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.8 14-Jul-2007  ad branches: 1.8.10;
Generic soft interrupts are mandatory.
 1.7 31-Oct-2006  thorpej branches: 1.7.8; 1.7.16;
In the pcn driver:
- Remove the PCN_NO_PROM option. Instead, query the am79c970-no-eeprom
property, and read the MAC address from the CSRs if that property is TRUE.

In the ibmnws port:
- Implement device_register().
- In device_register(), set the am79c970-no-eeprom property for the
built-in Ethernet.
 1.6 07-Sep-2006  rjs branches: 1.6.2;
Switch to MI todr. Mostly copied from prep.
 1.5 03-Sep-2006  bjh21 branches: 1.5.2;
Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere.
 1.4 11-Aug-2006  rjs Add timecounter support. Copied from prep.
 1.3 09-May-2006  rjs Enable generic soft interrupts.
 1.2 11-Dec-2005  christos branches: 1.2.4; 1.2.6; 1.2.8; 1.2.10; 1.2.12;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.4 21-Jan-2008  yamt sync with head
 1.1.18.3 03-Sep-2007  yamt sync with head.
 1.1.18.2 30-Dec-2006  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file types.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.12.1 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.2.10.1 11-May-2006  elad sync with head
 1.2.8.3 14-Sep-2006  yamt sync with head.
 1.2.8.2 03-Sep-2006  yamt sync with head.
 1.2.8.1 24-May-2006  yamt sync with head.
 1.2.6.1 01-Jun-2006  kardel Sync with head.
 1.2.4.1 09-Sep-2006  rpaulo sync with head
 1.5.2.1 18-Nov-2006  ad Sync with head.
 1.6.2.1 10-Dec-2006  yamt sync with head.
 1.7.16.1 03-Oct-2007  garbled Sync with HEAD
 1.7.8.1 15-Jul-2007  ad Sync with head.
 1.8.10.2 23-Mar-2008  matt sync with HEAD
 1.8.10.1 06-Nov-2007  matt sync with HEAD
 1.9.8.1 23-Jan-2008  bouyer Sync with HEAD.
 1.9.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.3 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.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file varargs.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.3 20-Jun-2011  matt Don't export USER_SR if _MODULE is defined.
Add a common <powerpc/vmparam.h> like we have for <powerpc/pmap.h>
 1.2 11-Dec-2005  christos branches: 1.2.110;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file vmparam.h was added on branch ktrace-lwp on 2004-08-03 10:36:26 +0000
 1.2.110.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 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:36:26 +0000
 1.3 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.2 11-Dec-2005  christos branches: 1.2.30; 1.2.38; 1.2.48; 1.2.50; 1.2.52; 1.2.54;
merge ktrace-lwp.
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.18.1 27-Oct-2007  yamt sync with head.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file ibmnws_pciconf_indirect.c was added on branch ktrace-lwp on 2004-08-03 10:36:30 +0000
 1.2.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.2.52.1 18-Oct-2007  yamt sync with head.
 1.2.50.1 06-Nov-2007  matt sync with HEAD
 1.2.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.2.38.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.2.30.1 23-Oct-2007  ad Sync with head.
 1.5 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.4 06-Jun-2006  rjs branches: 1.4.16; 1.4.24; 1.4.34; 1.4.36; 1.4.38; 1.4.40;
Remove __P.
 1.3 11-Dec-2005  christos branches: 1.3.4; 1.3.6; 1.3.8; 1.3.14;
merge ktrace-lwp.
 1.2 23-Apr-2004  itojun branches: 1.2.2; 1.2.14;
pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.2.14.2 27-Oct-2007  yamt sync with head.
 1.2.14.1 21-Jun-2006  yamt sync with head.
 1.2.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.2 03-Aug-2004  skrll Sync with HEAD
 1.2.2.1 23-Apr-2004  skrll file pchb.c was added on branch ktrace-lwp on 2004-08-03 10:36:30 +0000
 1.3.14.1 19-Jun-2006  chap Sync with head.
 1.3.8.1 26-Jun-2006  yamt sync with head.
 1.3.6.1 07-Jun-2006  kardel Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.4.40.1 25-Oct-2007  bouyer Sync with HEAD.
 1.4.38.1 18-Oct-2007  yamt sync with head.
 1.4.36.1 06-Nov-2007  matt sync with HEAD
 1.4.34.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.4.24.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.4.16.1 23-Oct-2007  ad Sync with head.
 1.10 19-Oct-2016  nonaka Added MSI/MSI-X and interrupt_distribute(9) support for powerpc.
 1.9 01-Jul-2011  dyoung branches: 1.9.12; 1.9.30; 1.9.34;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.8 30-Jun-2011  matt Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.7 22-Jun-2011  matt Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.6 13-Dec-2010  matt Change definition of pc_bus_maxdevs to get a void * instead a pci_chipset_tag_t
to match its use in pci_bus_maxdevs. This makes it the same as pci_conf_read
and pci_conf_write.
Change all struct device * to device_t.
[Obviously nothing ever used the first argument to pc_bus_maxdevs since it
could have never worked because it wasn't being passed a pci_chipset_tag_t.]
 1.5 14-Jun-2008  mjf branches: 1.5.18; 1.5.22;
Fix $NetBSD$ tag.
 1.4 14-Jun-2008  mjf Automatically detect the amount of installed RAM by reading the memory
bank registers from the PCI host bridge. Previously the RAM size was
hardcoded to 64MB.

Also fill out ibm82660reg.h with more definitions from the PowerPC to
PCI Bridge and Memory Controller User's Manual.

Many thanks to Tim Rightnour for helping with this patch.
 1.3 17-Oct-2007  garbled branches: 1.3.16; 1.3.18; 1.3.20; 1.3.22; 1.3.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.2 10-Feb-2006  gdamore branches: 1.2.24; 1.2.32; 1.2.42; 1.2.44; 1.2.46; 1.2.48;
PCI_NETBSD_CONFIGURE should allocate (but not map) address space expansion
ROMS by default. Full discussion at
http://mail-index.netbsd.org/tech-kern/2005/12/16/0023.html
Closes PR kern/32467
Reviewed by briggs@
 1.1 19-Oct-2003  matt branches: 1.1.4; 1.1.18; 1.1.30; 1.1.32; 1.1.34;
Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.1.34.1 22-Apr-2006  simonb Sync with head.
 1.1.32.1 09-Sep-2006  rpaulo sync with head
 1.1.30.1 18-Feb-2006  yamt sync with head.
 1.1.18.2 27-Oct-2007  yamt sync with head.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 19-Oct-2003  skrll file pci_machdep.c was added on branch ktrace-lwp on 2004-08-03 10:36:30 +0000
 1.2.48.1 25-Oct-2007  bouyer Sync with HEAD.
 1.2.46.1 18-Oct-2007  yamt sync with head.
 1.2.44.1 06-Nov-2007  matt sync with HEAD
 1.2.42.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.2.32.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.2.24.1 23-Oct-2007  ad Sync with head.
 1.3.24.1 18-Jun-2008  simonb Sync with head.
 1.3.22.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.3.20.1 04-May-2009  yamt sync with head.
 1.3.18.1 17-Jun-2008  yamt sync with head.
 1.3.16.1 29-Jun-2008  mjf Sync with HEAD.
 1.5.22.1 07-Jan-2011  matt Change bus_maxdevs to be passed pc->pc_conf_v instead pc (e.g. like the
rest of the conf calls).
 1.5.18.1 05-Mar-2011  rmind sync with head
 1.9.34.1 04-Nov-2016  pgoyette Sync with HEAD
 1.9.30.1 05-Dec-2016  skrll Sync with HEAD
 1.9.12.1 03-Dec-2017  jdolecek update from 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 06-Jun-2006  rjs branches: 1.5.16; 1.5.24; 1.5.34; 1.5.36; 1.5.38; 1.5.40;
Remove __P.
 1.4 11-Dec-2005  christos branches: 1.4.4; 1.4.6; 1.4.8; 1.4.14;
merge ktrace-lwp.
 1.3 30-Aug-2004  drochner branches: 1.3.12;
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.2 23-Apr-2004  itojun branches: 1.2.2;
pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region
 1.1 19-Oct-2003  matt Add IBM Network Station 1000 port. From John Gordon and updated by me.
 1.2.2.5 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.4 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.3 03-Sep-2004  skrll Sync with HEAD
 1.2.2.2 03-Aug-2004  skrll Sync with HEAD
 1.2.2.1 23-Apr-2004  skrll file pcib.c was added on branch ktrace-lwp on 2004-08-03 10:36:30 +0000
 1.3.12.2 27-Oct-2007  yamt sync with head.
 1.3.12.1 21-Jun-2006  yamt sync with head.
 1.4.14.1 19-Jun-2006  chap Sync with head.
 1.4.8.1 26-Jun-2006  yamt sync with head.
 1.4.6.1 07-Jun-2006  kardel Sync with head.
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.5.40.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.38.1 18-Oct-2007  yamt sync with head.
 1.5.36.1 06-Nov-2007  matt sync with HEAD
 1.5.34.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.24.1 08-May-2007  rjs Switch over to new pci, isa and interrupt code.
 1.5.16.1 23-Oct-2007  ad Sync with head.

RSS XML Feed