Home | History | Annotate | only in /src/sys/dev/mvme
History log of /src/sys/dev/mvme
RevisionDateAuthorComments
 1.20 25-Mar-2014  christos fix unused
 1.19 27-Oct-2012  chs branches: 1.19.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.18 12-May-2009  cegger branches: 1.18.12; 1.18.22;
struct device * -> device_t, no functional changes intended.
 1.17 12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.16 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.15 28-Apr-2008  martin branches: 1.15.8; 1.15.14;
Remove clause 3 and 4 from TNF licenses
 1.14 08-Apr-2008  cegger branches: 1.14.2; 1.14.4;
use aprint_*_dev and device_xname
 1.13 19-Oct-2007  ad branches: 1.13.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.12 07-Aug-2006  mhitch branches: 1.12.14; 1.12.28; 1.12.30; 1.12.34;
gcc4 uninitialized variable. gcc3 apparently didn't catch this one.
 1.11 29-Mar-2006  thorpej Use device_private().
 1.10 11-Dec-2005  christos branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10; 1.10.12;
merge ktrace-lwp.
 1.9 04-Feb-2005  perry branches: 1.9.6;
de-__P
 1.8 09-Nov-2003  he branches: 1.8.8; 1.8.10;
Fix another instance where `offset' might have been used uninitialized,
by adding a non-DEBUG default: and a panic().
 1.7 07-Nov-2003  dsl Add default: and panic() when DEBUG undefined so that 'offset' is
not used uninitialised.
 1.6 14-Jul-2003  lukem add missing __KERNEL_RCSID()
 1.5 02-Oct-2002  thorpej branches: 1.5.2; 1.5.8;
Add trailing ; to CFATTACH_DECL.
 1.4 30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.3 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.10;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.10.1 16-May-2002  gehenna Replace the direct-access to devsw table with calling devsw API.
 1.1.2.4 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.3 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file clmpcc_pcctwo.c was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.5.8.4 04-Feb-2005  skrll Sync with HEAD.
 1.5.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.8.1 03-Aug-2004  skrll Sync with HEAD
 1.5.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.2.1 02-Oct-2002  jdolecek file clmpcc_pcctwo.c was added on branch kqueue on 2002-10-10 18:40:13 +0000
 1.8.10.1 12-Feb-2005  yamt sync with head.
 1.8.8.1 29-Apr-2005  kent sync with -current
 1.9.6.3 27-Oct-2007  yamt sync with head.
 1.9.6.2 30-Dec-2006  yamt sync with head.
 1.9.6.1 21-Jun-2006  yamt sync with head.
 1.10.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.10.10.1 19-Apr-2006  elad sync with head.
 1.10.8.2 11-Aug-2006  yamt sync with head
 1.10.8.1 01-Apr-2006  yamt sync with head.
 1.10.6.1 22-Apr-2006  simonb Sync with head.
 1.10.4.1 09-Sep-2006  rpaulo sync with head
 1.12.34.1 25-Oct-2007  bouyer Sync with HEAD.
 1.12.30.1 06-Nov-2007  matt sync with HEAD
 1.12.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.12.14.1 23-Oct-2007  ad Sync with head.
 1.13.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.14.4.3 16-May-2009  yamt sync with head
 1.14.4.2 04-May-2009  yamt sync with head.
 1.14.4.1 16-May-2008  yamt sync with head.
 1.14.2.1 18-May-2008  yamt sync with head.
 1.15.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.15.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.18.22.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.18.12.2 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.12.1 30-Oct-2012  yamt sync with head
 1.19.2.1 18-May-2014  rmind sync with head
 1.17 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.16 12-May-2009  cegger branches: 1.16.12; 1.16.22;
struct device * -> device_t, no functional changes intended.
 1.15 12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.14 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.13 28-Apr-2008  martin branches: 1.13.8; 1.13.14;
Remove clause 3 and 4 from TNF licenses
 1.12 07-Jan-2008  tsutsui branches: 1.12.6; 1.12.8; 1.12.10;
Add timecounter(9) support for mvme68k.

Based on a patch from Garrett D'Amore and several tweaks by me.
Compile tested only, but reviewed by joerg@ and
no objection from scw@ on port-mvme68k.
 1.11 19-Oct-2007  ad branches: 1.11.2; 1.11.8;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.10 29-Mar-2006  thorpej branches: 1.10.18; 1.10.32; 1.10.34; 1.10.38;
Use device_private().
 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 03-Jun-2005  scw branches: 1.8.2;
Placate -Wshadow
 1.7 14-Apr-2005  scw s/struct device/struct clock_pcctwo_softc/ in CFATTACH_DECL().
 1.6 04-Feb-2005  perry branches: 1.6.4;
de-__P
 1.5 14-Jul-2003  lukem branches: 1.5.8; 1.5.10;
add missing __KERNEL_RCSID()
 1.4 02-Oct-2002  thorpej branches: 1.4.2; 1.4.8;
Add trailing ; to CFATTACH_DECL.
 1.3 30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 12-Feb-2002  scw branches: 1.1.2;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file clock_pcctwo.c was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.4.8.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.8.4 04-Feb-2005  skrll Sync with HEAD.
 1.4.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.8.1 03-Aug-2004  skrll Sync with HEAD
 1.4.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.2.1 02-Oct-2002  jdolecek file clock_pcctwo.c was added on branch kqueue on 2002-10-10 18:40:13 +0000
 1.5.10.1 12-Feb-2005  yamt sync with head.
 1.5.8.1 29-Apr-2005  kent sync with -current
 1.6.4.1 14-Apr-2005  tron Pull up revision 1.7 (requested by scw in ticket #151):
s/struct device/struct clock_pcctwo_softc/ in CFATTACH_DECL().
 1.8.2.3 21-Jan-2008  yamt sync with head
 1.8.2.2 27-Oct-2007  yamt sync with head.
 1.8.2.1 21-Jun-2006  yamt sync with head.
 1.9.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.9.10.1 19-Apr-2006  elad sync with head.
 1.9.8.1 01-Apr-2006  yamt sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.10.38.1 25-Oct-2007  bouyer Sync with HEAD.
 1.10.34.2 09-Jan-2008  matt sync with HEAD
 1.10.34.1 06-Nov-2007  matt sync with HEAD
 1.10.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.10.18.1 23-Oct-2007  ad Sync with head.
 1.11.8.1 08-Jan-2008  bouyer Sync with HEAD
 1.11.2.1 18-Feb-2008  mjf Sync with HEAD.
 1.12.10.3 16-May-2009  yamt sync with head
 1.12.10.2 04-May-2009  yamt sync with head.
 1.12.10.1 16-May-2008  yamt sync with head.
 1.12.8.1 18-May-2008  yamt sync with head.
 1.12.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.13.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.16.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.16.12.1 30-Oct-2012  yamt sync with head
 1.9 12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.8 28-Apr-2008  martin branches: 1.8.14;
Remove clause 3 and 4 from TNF licenses
 1.7 07-Jan-2008  tsutsui branches: 1.7.6; 1.7.8; 1.7.10;
Add timecounter(9) support for mvme68k.

Based on a patch from Garrett D'Amore and several tweaks by me.
Compile tested only, but reviewed by joerg@ and
no objection from scw@ on port-mvme68k.
 1.6 11-Dec-2005  christos branches: 1.6.46; 1.6.52; 1.6.60;
merge ktrace-lwp.
 1.5 04-Feb-2005  perry branches: 1.5.6;
de-__P
 1.4 01-Nov-2003  tsutsui branches: 1.4.8; 1.4.10;
No need to include <dev/ic/mk48txxreg.h> here.
 1.3 26-Sep-2003  wiz Definition, not defintion. From miod@openbsd.
 1.2 18-Jul-2003  thorpej Move the prototype of clock_rtc_config() into <dev/clock_subr.h>.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.20.4 04-Feb-2005  skrll Sync with HEAD.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file clockvar.h was added on branch kqueue on 2002-10-10 18:40:13 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file clockvar.h was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.4.10.1 12-Feb-2005  yamt sync with head.
 1.4.8.1 29-Apr-2005  kent sync with -current
 1.5.6.1 21-Jan-2008  yamt sync with head
 1.6.60.1 08-Jan-2008  bouyer Sync with HEAD
 1.6.52.1 18-Feb-2008  mjf Sync with HEAD.
 1.6.46.1 09-Jan-2008  matt sync with HEAD
 1.7.10.2 16-May-2009  yamt sync with head
 1.7.10.1 16-May-2008  yamt sync with head.
 1.7.8.1 18-May-2008  yamt sync with head.
 1.7.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.3 11-Dec-2005  christos merge ktrace-lwp.
 1.2 30-Jan-2004  he Omit declaration of "device lpt" in files.mvme; this is now done by
the recently introduced files.ppbus.
Also, let the mvme68k port use it's own lpt implementation for now,
so define USE_ALT_LPT option in std.memv68k.
This makes the mvme68k kernels configure and build again.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file files.mvme was added on branch kqueue on 2002-10-10 18:40:13 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file files.mvme was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.21 10-Nov-2021  msaitoh s/endianess/endianness/
 1.20 25-Mar-2014  christos fix unused
 1.19 05-Jun-2011  tsutsui branches: 1.19.2; 1.19.12; 1.19.16;
Umm, fix more split fallout.
While here use a common arg name (aux) as mentioned in autoconf(9).
 1.18 05-Jun-2011  christos fix split fallout.
 1.17 13-Nov-2010  uebayasi branches: 1.17.2; 1.17.6;
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.16 12-May-2009  cegger branches: 1.16.4;
struct device * -> device_t, no functional changes intended.
 1.15 12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.14 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.13 28-Apr-2008  martin branches: 1.13.8; 1.13.14;
Remove clause 3 and 4 from TNF licenses
 1.12 08-Apr-2008  cegger branches: 1.12.2; 1.12.4;
use aprint_*_dev and device_xname
 1.11 19-Oct-2007  ad branches: 1.11.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.10 04-Mar-2007  christos branches: 1.10.2; 1.10.14; 1.10.16; 1.10.20;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.9 29-Mar-2006  thorpej branches: 1.9.14;
Use device_private().
 1.8 11-Dec-2005  christos branches: 1.8.4; 1.8.6; 1.8.8; 1.8.10; 1.8.12;
merge ktrace-lwp.
 1.7 04-Feb-2005  perry branches: 1.7.6;
de-__P
 1.6 14-Jul-2003  lukem branches: 1.6.8; 1.6.10;
add missing __KERNEL_RCSID()
 1.5 01-Apr-2003  thorpej branches: 1.5.2;
Use PAGE_SIZE rather than NBPG.
 1.4 02-Oct-2002  thorpej branches: 1.4.2;
Add trailing ; to CFATTACH_DECL.
 1.3 30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 12-Feb-2002  scw branches: 1.1.2;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file if_ie_mvme.c was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.4.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.2.1 02-Oct-2002  jdolecek file if_ie_mvme.c was added on branch kqueue on 2002-10-10 18:40:14 +0000
 1.5.2.4 04-Feb-2005  skrll Sync with HEAD.
 1.5.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1 03-Aug-2004  skrll Sync with HEAD
 1.6.10.1 12-Feb-2005  yamt sync with head.
 1.6.8.1 29-Apr-2005  kent sync with -current
 1.7.6.3 27-Oct-2007  yamt sync with head.
 1.7.6.2 03-Sep-2007  yamt sync with head.
 1.7.6.1 21-Jun-2006  yamt sync with head.
 1.8.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.8.10.1 19-Apr-2006  elad sync with head.
 1.8.8.1 01-Apr-2006  yamt sync with head.
 1.8.6.1 22-Apr-2006  simonb Sync with head.
 1.8.4.1 09-Sep-2006  rpaulo sync with head
 1.9.14.1 12-Mar-2007  rmind Sync with HEAD.
 1.10.20.1 25-Oct-2007  bouyer Sync with HEAD.
 1.10.16.1 06-Nov-2007  matt sync with HEAD
 1.10.14.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.10.2.1 23-Oct-2007  ad Sync with head.
 1.11.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.12.4.3 16-May-2009  yamt sync with head
 1.12.4.2 04-May-2009  yamt sync with head.
 1.12.4.1 16-May-2008  yamt sync with head.
 1.12.2.1 18-May-2008  yamt sync with head.
 1.13.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.16.4.2 12-Jun-2011  rmind sync with head
 1.16.4.1 05-Mar-2011  rmind sync with head
 1.17.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.17.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.19.16.1 18-May-2014  rmind sync with head
 1.19.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.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 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.118; 1.1.120; 1.1.122;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.122.1 16-May-2008  yamt sync with head.
 1.1.120.1 18-May-2008  yamt sync with head.
 1.1.118.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file if_iereg.h was added on branch kqueue on 2002-10-10 18:40:14 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file if_iereg.h was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.19 03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

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

HOWEVER! Some subsystems have

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

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

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

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

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

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

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

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

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.16 23-Nov-2009  rmind branches: 1.16.12; 1.16.22; 1.16.26;
Remove some unecessary includes sys/user.h header.
 1.15 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.14 12-Jun-2008  cegger branches: 1.14.4; 1.14.10;
use device_lookup_private to get softc
 1.13 28-Apr-2008  martin branches: 1.13.2; 1.13.4;
Remove clause 3 and 4 from TNF licenses
 1.12 07-Mar-2008  cube branches: 1.12.2; 1.12.4;
Split the softc from the device_t for all lpt(4) variants and attachments
except the ppbus stuff (which doesn't compile) and ulpt(4) which is
unrelated and can be dealt with separately.

As usual, it comes with related cosmetic changes.
 1.11 19-Oct-2007  ad branches: 1.11.12; 1.11.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.10 08-Oct-2007  ad branches: 1.10.2;
brelse() stragglers.
 1.9 09-Jul-2007  ad branches: 1.9.6; 1.9.8; 1.9.10;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.8 04-Mar-2007  christos branches: 1.8.2; 1.8.4;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.7 11-Dec-2005  christos branches: 1.7.26;
merge ktrace-lwp.
 1.6 27-Feb-2005  perry branches: 1.6.4;
nuke trailing whitespace
 1.5 04-Feb-2005  perry de-__P
 1.4 14-Jul-2003  lukem branches: 1.4.8; 1.4.10;
add missing __KERNEL_RCSID()
 1.3 23-Oct-2002  jdolecek branches: 1.3.6;
merge kqueue branch into -current

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

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

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.2 06-Sep-2002  gehenna branches: 1.2.2;
Merge the gehenna-devsw branch into the trunk.

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

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

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

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

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

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

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

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

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.10;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.10.1 16-May-2002  gehenna Add the character device switch.
 1.1.2.4 11-Nov-2002  nathanw Catch up to -current
 1.1.2.3 17-Sep-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file lpt_mvme.c was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.2.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.2.1 06-Sep-2002  jdolecek file lpt_mvme.c was added on branch kqueue on 2002-10-10 18:40:14 +0000
 1.3.6.6 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.3.6.5 04-Feb-2005  skrll Sync with HEAD.
 1.3.6.4 26-Jan-2005  skrll Adapt to branch.
 1.3.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1 03-Aug-2004  skrll Sync with HEAD
 1.4.10.2 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.4.10.1 12-Feb-2005  yamt sync with head.
 1.4.8.1 29-Apr-2005  kent sync with -current
 1.6.4.4 17-Mar-2008  yamt sync with head.
 1.6.4.3 27-Oct-2007  yamt sync with head.
 1.6.4.2 03-Sep-2007  yamt sync with head.
 1.6.4.1 21-Jun-2006  yamt sync with head.
 1.7.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.8.4.1 11-Jul-2007  mjf Sync with head.
 1.8.2.2 23-Oct-2007  ad Sync with head.
 1.8.2.1 01-Jul-2007  ad Adapt to callout API change.
 1.9.10.1 14-Oct-2007  yamt sync with head.
 1.9.8.2 23-Mar-2008  matt sync with HEAD
 1.9.8.1 06-Nov-2007  matt sync with HEAD
 1.9.6.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.10.2.1 25-Oct-2007  bouyer Sync with HEAD.
 1.11.16.3 29-Jun-2008  mjf Sync with HEAD.
 1.11.16.2 02-Jun-2008  mjf Sync with HEAD.
 1.11.16.1 03-Apr-2008  mjf Sync with HEAD.
 1.11.12.1 24-Mar-2008  keiichi sync with head.
 1.12.4.3 11-Mar-2010  yamt sync with head
 1.12.4.2 04-May-2009  yamt sync with head.
 1.12.4.1 16-May-2008  yamt sync with head.
 1.12.2.2 17-Jun-2008  yamt sync with head.
 1.12.2.1 18-May-2008  yamt sync with head.
 1.13.4.1 18-Jun-2008  simonb Sync with head.
 1.13.2.1 23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.14.10.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.14.4.1 28-Apr-2009  skrll Sync with HEAD.
 1.16.26.1 18-May-2014  rmind sync with head
 1.16.22.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.12.1 22-May-2014  yamt sync with head.

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

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.17.2.1 10-Aug-2014  tls Rebase.
 1.18.28.1 10-Jun-2019  christos Sync with HEAD
 1.18.26.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.12 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.11 28-Apr-2008  martin branches: 1.11.8; 1.11.14;
Remove clause 3 and 4 from TNF licenses
 1.10 07-Mar-2008  cube branches: 1.10.2; 1.10.4;
Split the softc from the device_t for all lpt(4) variants and attachments
except the ppbus stuff (which doesn't compile) and ulpt(4) which is
unrelated and can be dealt with separately.

As usual, it comes with related cosmetic changes.
 1.9 19-Oct-2007  ad branches: 1.9.12; 1.9.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.8 29-Mar-2006  thorpej branches: 1.8.18; 1.8.32; 1.8.34; 1.8.38;
Use device_private().
 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 04-Feb-2005  perry branches: 1.6.6;
de-__P
 1.5 14-Jul-2003  lukem branches: 1.5.8; 1.5.10;
add missing __KERNEL_RCSID()
 1.4 02-Oct-2002  thorpej branches: 1.4.2; 1.4.8;
Add trailing ; to CFATTACH_DECL.
 1.3 30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 12-Feb-2002  scw branches: 1.1.2;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file lpt_pcctwo.c was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.4.8.4 04-Feb-2005  skrll Sync with HEAD.
 1.4.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.8.1 03-Aug-2004  skrll Sync with HEAD
 1.4.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.2.1 02-Oct-2002  jdolecek file lpt_pcctwo.c was added on branch kqueue on 2002-10-10 18:40:14 +0000
 1.5.10.1 12-Feb-2005  yamt sync with head.
 1.5.8.1 29-Apr-2005  kent sync with -current
 1.6.6.3 17-Mar-2008  yamt sync with head.
 1.6.6.2 27-Oct-2007  yamt sync with head.
 1.6.6.1 21-Jun-2006  yamt sync with head.
 1.7.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.7.10.1 19-Apr-2006  elad sync with head.
 1.7.8.1 01-Apr-2006  yamt sync with head.
 1.7.6.1 22-Apr-2006  simonb Sync with head.
 1.7.4.1 09-Sep-2006  rpaulo sync with head
 1.8.38.1 25-Oct-2007  bouyer Sync with HEAD.
 1.8.34.2 23-Mar-2008  matt sync with HEAD
 1.8.34.1 06-Nov-2007  matt sync with HEAD
 1.8.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.8.18.1 23-Oct-2007  ad Sync with head.
 1.9.16.2 02-Jun-2008  mjf Sync with HEAD.
 1.9.16.1 03-Apr-2008  mjf Sync with HEAD.
 1.9.12.1 24-Mar-2008  keiichi sync with head.
 1.10.4.2 04-May-2009  yamt sync with head.
 1.10.4.1 16-May-2008  yamt sync with head.
 1.10.2.1 18-May-2008  yamt sync with head.
 1.11.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.11.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 07-Mar-2008  cube branches: 1.4.2; 1.4.4;
Split the softc from the device_t for all lpt(4) variants and attachments
except the ppbus stuff (which doesn't compile) and ulpt(4) which is
unrelated and can be dealt with separately.

As usual, it comes with related cosmetic changes.
 1.3 11-Dec-2005  christos branches: 1.3.46; 1.3.66; 1.3.70;
merge ktrace-lwp.
 1.2 04-Feb-2005  perry branches: 1.2.6;
de-__P
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20; 1.1.28; 1.1.30;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.30.1 12-Feb-2005  yamt sync with head.
 1.1.28.1 29-Apr-2005  kent sync with -current
 1.1.20.1 04-Feb-2005  skrll Sync with HEAD.
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file lptvar.h was added on branch kqueue on 2002-10-10 18:40:15 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file lptvar.h was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.2.6.1 17-Mar-2008  yamt sync with head.
 1.3.70.2 02-Jun-2008  mjf Sync with HEAD.
 1.3.70.1 03-Apr-2008  mjf Sync with HEAD.
 1.3.66.1 24-Mar-2008  keiichi sync with head.
 1.3.46.1 23-Mar-2008  matt sync with HEAD
 1.4.4.1 16-May-2008  yamt sync with head.
 1.4.2.1 18-May-2008  yamt sync with head.
 1.11 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.10 14-Mar-2009  dsl branches: 1.10.12; 1.10.22;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.9 28-Apr-2008  martin branches: 1.9.8; 1.9.14;
Remove clause 3 and 4 from TNF licenses
 1.8 08-Apr-2008  cegger branches: 1.8.2; 1.8.4;
use aprint_*_dev and device_xname
 1.7 19-Oct-2007  ad branches: 1.7.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.6 11-Dec-2005  christos branches: 1.6.30; 1.6.44; 1.6.46; 1.6.50;
merge ktrace-lwp.
 1.5 27-Feb-2005  perry branches: 1.5.4;
nuke trailing whitespace
 1.4 16-May-2004  wiz branches: 1.4.4; 1.4.6;
"panicking" needs a k.
 1.3 22-Apr-2004  itojun sprintf -> snprintf
 1.2 14-Jul-2003  lukem add missing __KERNEL_RCSID()
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.20.4 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file memc.c was added on branch kqueue on 2002-10-10 18:40:15 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file memc.c was added on branch nathanw_sa on 2002-02-28 04:13:54 +0000
 1.4.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.4.4.1 29-Apr-2005  kent sync with -current
 1.5.4.1 27-Oct-2007  yamt sync with head.
 1.6.50.1 25-Oct-2007  bouyer Sync with HEAD.
 1.6.46.1 06-Nov-2007  matt sync with HEAD
 1.6.44.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.30.1 23-Oct-2007  ad Sync with head.
 1.7.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.4.2 04-May-2009  yamt sync with head.
 1.8.4.1 16-May-2008  yamt sync with head.
 1.8.2.1 18-May-2008  yamt sync with head.
 1.9.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.9.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.10.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.10.12.1 30-Oct-2012  yamt sync with head
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 11-Dec-2005  christos branches: 1.3.70; 1.3.72; 1.3.74;
merge ktrace-lwp.
 1.2 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file memcreg.h was added on branch kqueue on 2002-10-10 18:40:15 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file memcreg.h was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.3.74.1 16-May-2008  yamt sync with head.
 1.3.72.1 18-May-2008  yamt sync with head.
 1.3.70.1 02-Jun-2008  mjf Sync with HEAD.
 1.4 21-Aug-2019  msaitoh Fix typo (s/contoller/controller/).
 1.3 27-Oct-2012  chs branches: 1.3.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 28-Apr-2008  martin branches: 1.2.34; 1.2.44;
Remove clause 3 and 4 from TNF licenses
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.118; 1.1.120; 1.1.122;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.122.1 16-May-2008  yamt sync with head.
 1.1.120.1 18-May-2008  yamt sync with head.
 1.1.118.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file memcvar.h was added on branch kqueue on 2002-10-10 18:40:15 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file memcvar.h was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.2.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.34.1 30-Oct-2012  yamt sync with head
 1.3.38.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.24 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.23 24-Apr-2021  thorpej branches: 1.23.8;
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
 1.22 15-Apr-2021  mrg convert 'extern phys_ram_seg_t mem_clusters[0];' to the '[]' form
so that when this code accesses mem_clustes[0] and mem_clusters[1]
it does't reach out of bounds.

XXX: should be in a header, but it's ugly to fix and i stopped
when bus_dma.c wouldn't build.
 1.21 10-Nov-2019  chs branches: 1.21.10;
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.20 03-Sep-2018  riastradh Rename min/max -> uimin/uimax for better honesty.

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

HOWEVER! Some subsystems have

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

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

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

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

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

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

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
 1.19 27-Oct-2012  chs branches: 1.19.36; 1.19.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.18 12-Feb-2012  matt branches: 1.18.6;
Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.17 16-Mar-2009  dsl branches: 1.17.12; 1.17.16;
ANSIfy functions with function-pointer arguments
 1.16 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.15 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.14 28-Apr-2008  martin branches: 1.14.8; 1.14.14;
Remove clause 3 and 4 from TNF licenses
 1.13 08-Apr-2008  cegger branches: 1.13.2; 1.13.4;
use aprint_*_dev and device_xname
 1.12 19-Oct-2007  ad branches: 1.12.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.11 04-Mar-2007  christos branches: 1.11.2; 1.11.14; 1.11.16; 1.11.20;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.10 11-Dec-2005  christos branches: 1.10.26;
merge ktrace-lwp.
 1.9 06-Jun-2004  he branches: 1.9.12;
Remove spurious second argument to sizeof().
 1.8 22-Apr-2004  itojun sprintf -> snprintf
 1.7 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.6 26-Nov-2003  scw A couple of fixes inspired by a recent port-mvme68k post:

- Fix the display of VME master ranges such that the address modifier
is shown correctly.

- Apply vr_mask to the start/end VME master addresses, and adjust
the local start address to compensate.
 1.5 28-Oct-2003  matt Elminate GCC uninitialized variable warning.
 1.4 14-Jul-2003  lukem add missing __KERNEL_RCSID()
 1.3 03-May-2003  wiz branches: 1.3.2;
DMA, not dma nor Dma.
 1.2 27-Sep-2002  provos branches: 1.2.2;
remove trailing \n in panic(). approved perry.
 1.1 12-Feb-2002  scw branches: 1.1.2;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file mvmebus.c was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.2.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.2.1 27-Sep-2002  jdolecek file mvmebus.c was added on branch kqueue on 2002-10-10 18:40:16 +0000
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.9.12.2 27-Oct-2007  yamt sync with head.
 1.9.12.1 03-Sep-2007  yamt sync with head.
 1.10.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.11.20.1 25-Oct-2007  bouyer Sync with HEAD.
 1.11.16.1 06-Nov-2007  matt sync with HEAD
 1.11.14.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.2.1 23-Oct-2007  ad Sync with head.
 1.12.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.13.4.2 04-May-2009  yamt sync with head.
 1.13.4.1 16-May-2008  yamt sync with head.
 1.13.2.1 18-May-2008  yamt sync with head.
 1.14.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.14.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.17.16.1 18-Feb-2012  mrg merge to -current.
 1.17.12.2 30-Oct-2012  yamt sync with head
 1.17.12.1 17-Apr-2012  yamt sync with head
 1.18.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.38.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.19.38.1 10-Jun-2019  christos Sync with HEAD
 1.19.36.1 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.21.10.2 17-Apr-2021  thorpej Sync with HEAD.
 1.21.10.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.23.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.4 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.3 28-Apr-2008  martin branches: 1.3.34; 1.3.44;
Remove clause 3 and 4 from TNF licenses
 1.2 04-Mar-2007  christos branches: 1.2.36; 1.2.38; 1.2.40;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.36; 1.1.74;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.74.1 12-Mar-2007  rmind Sync with HEAD.
 1.1.36.1 03-Sep-2007  yamt sync with head.
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file mvmebus.h was added on branch kqueue on 2002-10-10 18:40:16 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file mvmebus.h was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.2.40.1 16-May-2008  yamt sync with head.
 1.2.38.1 18-May-2008  yamt sync with head.
 1.2.36.1 02-Jun-2008  mjf Sync with HEAD.
 1.3.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.34.1 30-Oct-2012  yamt sync with head
 1.14 23-Mar-2009  scw Fix fallout from device_t changes - initialise sc->sc_osiop.sc_dev before
calling osiop_attach().
 1.13 28-Apr-2008  martin branches: 1.13.8; 1.13.10; 1.13.14;
Remove clause 3 and 4 from TNF licenses
 1.12 29-Mar-2008  tsutsui branches: 1.12.2; 1.12.4;
Split softc/device_t for oosiop(4) and osiop(4), with misc cosmetic changes.
 1.11 19-Oct-2007  ad branches: 1.11.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.10 29-Mar-2006  thorpej branches: 1.10.18; 1.10.32; 1.10.34; 1.10.38;
Use device_private().
 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 04-Feb-2005  perry branches: 1.8.6;
de-__P
 1.7 13-Feb-2004  wiz branches: 1.7.8; 1.7.10;
Uppercase CPU, plural is CPUs.
 1.6 26-Nov-2003  scw In the match routine, check to see if we can access the SCSI controller's
registers without generating a bus error. This can happen on some board
variants which have no SCSI controller.
 1.5 14-Jul-2003  lukem add missing __KERNEL_RCSID()
 1.4 02-Oct-2002  thorpej branches: 1.4.2; 1.4.8;
Add trailing ; to CFATTACH_DECL.
 1.3 30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.2 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.1 12-Feb-2002  scw branches: 1.1.2;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file osiop_pcctwo.c was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.4.8.4 04-Feb-2005  skrll Sync with HEAD.
 1.4.8.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.8.2 18-Sep-2004  skrll Sync with HEAD.
 1.4.8.1 03-Aug-2004  skrll Sync with HEAD
 1.4.2.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.2.1 02-Oct-2002  jdolecek file osiop_pcctwo.c was added on branch kqueue on 2002-10-10 18:40:16 +0000
 1.7.10.1 12-Feb-2005  yamt sync with head.
 1.7.8.1 29-Apr-2005  kent sync with -current
 1.8.6.2 27-Oct-2007  yamt sync with head.
 1.8.6.1 21-Jun-2006  yamt sync with head.
 1.9.12.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.9.10.1 19-Apr-2006  elad sync with head.
 1.9.8.1 01-Apr-2006  yamt sync with head.
 1.9.6.1 22-Apr-2006  simonb Sync with head.
 1.9.4.1 09-Sep-2006  rpaulo sync with head
 1.10.38.1 25-Oct-2007  bouyer Sync with HEAD.
 1.10.34.1 06-Nov-2007  matt sync with HEAD
 1.10.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.10.18.1 23-Oct-2007  ad Sync with head.
 1.11.16.2 02-Jun-2008  mjf Sync with HEAD.
 1.11.16.1 03-Apr-2008  mjf Sync with HEAD.
 1.12.4.2 04-May-2009  yamt sync with head.
 1.12.4.1 16-May-2008  yamt sync with head.
 1.12.2.1 18-May-2008  yamt sync with head.
 1.13.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.10.1 26-Mar-2009  snj Pull up following revision(s) (requested by scw in ticket #605):
sys/dev/mvme/osiop_pcctwo.c: revision 1.14
Fix fallout from device_t changes - initialise sc->sc_osiop.sc_dev
before calling osiop_attach().
 1.13.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.13 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.12 24-Apr-2021  thorpej branches: 1.12.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.11 27-Oct-2012  chs branches: 1.11.54;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.10 12-Feb-2012  matt branches: 1.10.6;
Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.9 14-Mar-2009  dsl branches: 1.9.12; 1.9.16;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.8 28-Apr-2008  martin branches: 1.8.8; 1.8.14;
Remove clause 3 and 4 from TNF licenses
 1.7 19-Oct-2007  ad branches: 1.7.16; 1.7.18; 1.7.20;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.6 11-Dec-2005  christos branches: 1.6.30; 1.6.44; 1.6.46; 1.6.50;
merge ktrace-lwp.
 1.5 03-Jun-2005  scw branches: 1.5.2;
Fix const fallout.
 1.4 04-Feb-2005  perry de-__P
 1.3 14-Jul-2003  lukem branches: 1.3.8; 1.3.10;
add missing __KERNEL_RCSID()
 1.2 01-Jan-2003  thorpej branches: 1.2.2;
Use aprint_normal() in cfprint routines.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file pcctwo.c was added on branch kqueue on 2002-10-10 18:40:16 +0000
 1.1.2.3 03-Jan-2003  thorpej Sync with HEAD.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file pcctwo.c was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.2.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.2.4 04-Feb-2005  skrll Sync with HEAD.
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.3.10.1 12-Feb-2005  yamt sync with head.
 1.3.8.1 29-Apr-2005  kent sync with -current
 1.5.2.1 27-Oct-2007  yamt sync with head.
 1.6.50.1 25-Oct-2007  bouyer Sync with HEAD.
 1.6.46.1 06-Nov-2007  matt sync with HEAD
 1.6.44.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.30.1 23-Oct-2007  ad Sync with head.
 1.7.20.2 04-May-2009  yamt sync with head.
 1.7.20.1 16-May-2008  yamt sync with head.
 1.7.18.1 18-May-2008  yamt sync with head.
 1.7.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.9.16.1 18-Feb-2012  mrg merge to -current.
 1.9.12.2 30-Oct-2012  yamt sync with head
 1.9.12.1 17-Apr-2012  yamt sync with head
 1.10.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.11.54.1 21-Mar-2021  thorpej Give config_found() the same variadic arguments treatment as
config_search(). This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls. Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.
 1.12.8.1 04-Aug-2021  thorpej Adapt to CFARGS().
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 07-Jan-2008  tsutsui branches: 1.2.6; 1.2.8; 1.2.10;
Add timecounter(9) support for mvme68k.

Based on a patch from Garrett D'Amore and several tweaks by me.
Compile tested only, but reviewed by joerg@ and
no objection from scw@ on port-mvme68k.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.36; 1.1.94; 1.1.100; 1.1.108;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.108.1 08-Jan-2008  bouyer Sync with HEAD
 1.1.100.1 18-Feb-2008  mjf Sync with HEAD.
 1.1.94.1 09-Jan-2008  matt sync with HEAD
 1.1.36.1 21-Jan-2008  yamt sync with head
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file pcctworeg.h was added on branch kqueue on 2002-10-10 18:40:17 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file pcctworeg.h was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.2.10.1 16-May-2008  yamt sync with head.
 1.2.8.1 18-May-2008  yamt sync with head.
 1.2.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.6 19-Jan-2024  thorpej Make sure to include opt_mvmeconf.h.
 1.5 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.4 28-Apr-2008  martin branches: 1.4.34; 1.4.44;
Remove clause 3 and 4 from TNF licenses
 1.3 11-Dec-2005  christos branches: 1.3.70; 1.3.72; 1.3.74;
merge ktrace-lwp.
 1.2 03-Jun-2005  scw Fix const fallout.
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.20.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file pcctwovar.h was added on branch kqueue on 2002-10-10 18:40:17 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file pcctwovar.h was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.3.74.1 16-May-2008  yamt sync with head.
 1.3.72.1 18-May-2008  yamt sync with head.
 1.3.70.1 02-Jun-2008  mjf Sync with HEAD.
 1.4.44.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.4.34.1 30-Oct-2012  yamt sync with head
 1.10 29-Jul-2025  andvar Fix few typos in comments.
 1.9 05-Dec-2021  msaitoh branches: 1.9.10;
s/progam/program/ in comment.
 1.8 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.7 28-Apr-2008  martin branches: 1.7.8; 1.7.14;
Remove clause 3 and 4 from TNF licenses
 1.6 19-Oct-2007  ad branches: 1.6.16; 1.6.18; 1.6.20;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.5 11-Dec-2005  christos branches: 1.5.30; 1.5.44; 1.5.46; 1.5.50;
merge ktrace-lwp.
 1.4 02-Apr-2004  scw branches: 1.4.12;
After re-checking the docs in response to a port-mvme68k question,
don't claim to support D8 local-bus->VMEbus transfers.
 1.3 26-Nov-2003  scw branches: 1.3.2;
A couple of fixes inspired by a recent port-mvme68k post:

- Fix the display of VME master ranges such that the address modifier
is shown correctly.

- Apply vr_mask to the start/end VME master addresses, and adjust
the local start address to compensate.
 1.2 14-Jul-2003  lukem add missing __KERNEL_RCSID()
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.20;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.20.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.20.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.20.1 03-Aug-2004  skrll Sync with HEAD
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file vme_two.c was added on branch kqueue on 2002-10-10 18:40:17 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file vme_two.c was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.3.2.1 02-Apr-2004  tron Pull up revision 1.4 (requested by scw in ticket #49):
After re-checking the docs in response to a port-mvme68k question,
don't claim to support D8 local-bus->VMEbus transfers.
 1.4.12.1 27-Oct-2007  yamt sync with head.
 1.5.50.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.46.1 06-Nov-2007  matt sync with HEAD
 1.5.44.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.30.1 23-Oct-2007  ad Sync with head.
 1.6.20.2 04-May-2009  yamt sync with head.
 1.6.20.1 16-May-2008  yamt sync with head.
 1.6.18.1 18-May-2008  yamt sync with head.
 1.6.16.1 02-Jun-2008  mjf Sync with HEAD.
 1.7.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.7.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.9.10.1 02-Aug-2025  perseant Sync with HEAD
 1.18 19-Jan-2024  thorpej Make sure to include opt_mvmeconf.h.
 1.17 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.16 27-Oct-2012  chs branches: 1.16.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.15 16-Mar-2009  dsl branches: 1.15.12; 1.15.22;
ANSIfy functions with function-pointer arguments
 1.14 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.13 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.12 21-Dec-2008  he branches: 1.12.2;
Follow up the removal of the MALLOC() macro, use malloc() instead.
 1.11 28-Apr-2008  martin branches: 1.11.8;
Remove clause 3 and 4 from TNF licenses
 1.10 08-Apr-2008  cegger branches: 1.10.2; 1.10.4;
use aprint_*_dev and device_xname
 1.9 04-Jan-2008  ad branches: 1.9.6;
Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
 1.8 03-Dec-2007  ad branches: 1.8.6;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.7 19-Oct-2007  ad branches: 1.7.2;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.6 11-Dec-2005  christos branches: 1.6.30; 1.6.44; 1.6.46; 1.6.50;
merge ktrace-lwp.
 1.5 04-Feb-2005  perry branches: 1.5.6;
de-__P
 1.4 14-Jul-2003  lukem branches: 1.4.8; 1.4.10;
add missing __KERNEL_RCSID()
 1.3 07-Mar-2003  he branches: 1.3.2;
Add inclusion of <sys/lock.h> to allow compilation of usage of
MALLOC() to succeed.
 1.2 24-Mar-2002  scw branches: 1.2.6;
Fix a botch from the dev/mvme split for kernels with no vmetwo in
the config file.
 1.1 12-Feb-2002  scw branches: 1.1.2;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file vme_two_isr.c was added on branch nathanw_sa on 2002-02-28 04:13:55 +0000
 1.2.6.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.6.1 24-Mar-2002  jdolecek file vme_two_isr.c was added on branch kqueue on 2002-10-10 18:40:17 +0000
 1.3.2.4 04-Feb-2005  skrll Sync with HEAD.
 1.3.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1 03-Aug-2004  skrll Sync with HEAD
 1.4.10.1 12-Feb-2005  yamt sync with head.
 1.4.8.1 29-Apr-2005  kent sync with -current
 1.5.6.3 21-Jan-2008  yamt sync with head
 1.5.6.2 07-Dec-2007  yamt sync with head
 1.5.6.1 27-Oct-2007  yamt sync with head.
 1.6.50.1 25-Oct-2007  bouyer Sync with HEAD.
 1.6.46.2 09-Jan-2008  matt sync with HEAD
 1.6.46.1 06-Nov-2007  matt sync with HEAD
 1.6.44.2 09-Dec-2007  jmcneill Sync with HEAD.
 1.6.44.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.30.1 23-Oct-2007  ad Sync with head.
 1.7.2.2 18-Feb-2008  mjf Sync with HEAD.
 1.7.2.1 08-Dec-2007  mjf Sync with HEAD.
 1.8.6.1 08-Jan-2008  bouyer Sync with HEAD
 1.9.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.9.6.1 02-Jun-2008  mjf Sync with HEAD.
 1.10.4.2 04-May-2009  yamt sync with head.
 1.10.4.1 16-May-2008  yamt sync with head.
 1.10.2.1 18-May-2008  yamt sync with head.
 1.11.8.2 28-Apr-2009  skrll Sync with HEAD.
 1.11.8.1 19-Jan-2009  skrll Sync with HEAD.
 1.12.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.15.22.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.15.12.1 30-Oct-2012  yamt sync with head
 1.16.38.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 12-Feb-2002  scw branches: 1.1.2; 1.1.14; 1.1.118; 1.1.120; 1.1.122;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.122.1 16-May-2008  yamt sync with head.
 1.1.120.1 18-May-2008  yamt sync with head.
 1.1.118.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.14.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.14.1 12-Feb-2002  jdolecek file vme_tworeg.h was added on branch kqueue on 2002-10-10 18:40:18 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file vme_tworeg.h was added on branch nathanw_sa on 2002-02-28 04:13:56 +0000
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 24-Mar-2002  scw branches: 1.2.6; 1.2.110; 1.2.112; 1.2.114;
Fix a botch from the dev/mvme split for kernels with no vmetwo in
the config file.
 1.1 12-Feb-2002  scw branches: 1.1.2;
Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
 1.1.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 12-Feb-2002  nathanw file vme_twovar.h was added on branch nathanw_sa on 2002-02-28 04:13:56 +0000
 1.2.114.1 16-May-2008  yamt sync with head.
 1.2.112.1 18-May-2008  yamt sync with head.
 1.2.110.1 02-Jun-2008  mjf Sync with HEAD.
 1.2.6.2 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.6.1 24-Mar-2002  jdolecek file vme_twovar.h was added on branch kqueue on 2002-10-10 18:40:18 +0000

RSS XML Feed