| History log of /src/sys/arch/evbarm/g42xxeb | 
    | Revision | Date | Author | Comments | 
| 1.18 | 09-Feb-2024 | andvar | fix spelling mistakes, mainly in comments and log messages. 
 | 
| 1.17 | 20-Dec-2023 | thorpej | Remove unnecessary <sys/malloc.h>. 
 | 
| 1.16 | 07-Aug-2021 | thorpej | Merge thorpej-cfargs2. 
 | 
| 1.15 | 24-Apr-2021 | thorpej | branches:  1.15.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.14 | 27-Oct-2012 | chs | branches:  1.14.52; split device_t/softc for all remaining drivers.
 replace "struct device *" with "device_t".
 use device_xname(), device_unit(), etc.
 
 | 
| 1.13 | 04-Apr-2012 | bsh | branches:  1.13.2; support WSDISPLAY_COMPAT_RAWKBD for TWINTAIL's on-board matrix keys.
 
 | 
| 1.12 | 01-Jul-2011 | dyoung | branches:  1.12.2;  1.12.6; #include <sys/bus.h> instead of <machine/bus.h>.
 
 | 
| 1.11 | 13-Mar-2010 | bsh | apply struct device split to the rest of the drivers for Twintail. 
 | 
| 1.10 | 14-Mar-2009 | dsl | branches:  1.10.2; 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 | 10-May-2008 | martin | branches:  1.9.6;  1.9.12; Backout previous: the license sweep touched these files in error, so
 restore the old license.
 
 | 
| 1.8 | 29-Apr-2008 | martin | branches:  1.8.2; Convert to new 2 clause license
 
 | 
| 1.7 | 17-Oct-2007 | garbled | branches:  1.7.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.6 | 09-Jul-2007 | ad | branches:  1.6.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.5 | 04-Mar-2007 | christos | branches:  1.5.2;  1.5.4;  1.5.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 
 | 
| 1.4 | 23-Feb-2006 | he | branches:  1.4.20; Fix an obvious typo (missing closing paren).
 
 | 
| 1.3 | 23-Feb-2006 | thorpej | Use device_parent(). 
 | 
| 1.2 | 11-Dec-2005 | christos | branches:  1.2.2;  1.2.4;  1.2.6; merge ktrace-lwp.
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8;  1.1.10; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.10.2 | 03-Sep-2007 | yamt | sync with head. 
 | 
| 1.1.10.1 | 21-Jun-2006 | yamt | sync with head. 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file g42xxeb_kmkbd.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file g42xxeb_kmkbd.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file g42xxeb_kmkbd.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.6.1 | 22-Apr-2006 | simonb | Sync with head. 
 | 
| 1.2.4.1 | 09-Sep-2006 | rpaulo | sync with head 
 | 
| 1.2.2.1 | 01-Mar-2006 | yamt | sync with head. 
 | 
| 1.4.20.1 | 12-Mar-2007 | rmind | Sync with HEAD. 
 | 
| 1.5.10.1 | 03-Oct-2007 | garbled | Sync with HEAD 
 | 
| 1.5.4.1 | 11-Jul-2007 | mjf | Sync with head. 
 | 
| 1.5.2.1 | 15-Jul-2007 | ad | Sync with head. 
 | 
| 1.6.10.1 | 06-Nov-2007 | matt | sync with HEAD 
 | 
| 1.7.20.2 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.7.20.1 | 04-May-2009 | yamt | sync with head. 
 | 
| 1.8.2.1 | 23-Jun-2008 | wrstuden | Sync w/ -current. 34 merge conflicts to follow. 
 | 
| 1.9.12.1 | 13-May-2009 | jym | Sync with HEAD. 
 Commit is split, to avoid a "too many arguments" protocol error.
 
 | 
| 1.9.6.1 | 28-Apr-2009 | skrll | Sync with HEAD. 
 | 
| 1.10.2.1 | 30-Apr-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.12.6.1 | 05-Apr-2012 | mrg | sync to latest -current. 
 | 
| 1.12.2.2 | 30-Oct-2012 | yamt | sync with head 
 | 
| 1.12.2.1 | 17-Apr-2012 | yamt | sync with head 
 | 
| 1.13.2.1 | 20-Nov-2012 | tls | Resync to 2012-11-19 00:00:00 UTC 
 | 
| 1.14.52.1 | 21-Mar-2021 | thorpej | Give config_found() the same variadic arguments treatment as config_search().  This commit only adds the CFARG_EOL sentinel
 to the existing config_found() calls.  Conversion of config_found_sm_loc()
 and config_found_ia() call sites will be in subsequent commits.
 
 | 
| 1.15.8.1 | 04-Aug-2021 | thorpej | Adapt to CFARGS(). 
 | 
| 1.19 | 20-Dec-2023 | thorpej | Remove unnecessary <sys/malloc.h>. 
 | 
| 1.18 | 07-Aug-2021 | thorpej | Merge thorpej-cfargs2. 
 | 
| 1.17 | 24-Apr-2021 | thorpej | branches:  1.17.8; Merge thorpej-cfargs branch:
 
 Simplify and make extensible the config_search() / config_found() /
 config_attach() interfaces: rather than having different variants for
 which arguments you want pass along, just have a single call that
 takes a variadic list of tag-value arguments.
 
 Adjust all call sites:
 - Simplify wherever possible; don't pass along arguments that aren't
 actually needed.
 - Don't be explicit about what interface attribute is attaching if
 the device only has one.  (More simplification.)
 - Add a config_probe() function to be used in indirect configuiration
 situations, making is visibly easier to see when indirect config is
 in play, and allowing for future change in semantics.  (As of now,
 this is just a wrapper around config_match(), but that is an
 implementation detail.)
 
 Remove unnecessary or redundant interface attributes where they're not
 needed.
 
 There are currently 5 "cfargs" defined:
 - CFARG_SUBMATCH (submatch function for direct config)
 - CFARG_SEARCH (search function for indirect config)
 - CFARG_IATTR (interface attribte)
 - CFARG_LOCATORS (locators array)
 - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
 
 ...and a sentinel value CFARG_EOL.
 
 Add some extra sanity checking to ensure that interface attributes
 aren't ambiguous.
 
 Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
 ports to associate those device handles with device_t instance.  This
 will trickle trough to more places over time (need back-end for pre-OFW
 Sun OBP; any others?).
 
 | 
| 1.16 | 25-Jul-2014 | dholland | branches:  1.16.42; Add d_discard to all struct cdevsw instances I could find.
 
 All have been set to "nodiscard"; some should get a real implementation.
 
 | 
| 1.15 | 16-Mar-2014 | dholland | branches:  1.15.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.14 | 01-Jul-2011 | dyoung | branches:  1.14.2;  1.14.12;  1.14.16; #include <sys/bus.h> instead of <machine/bus.h>.
 
 | 
| 1.13 | 13-Mar-2010 | bsh | fix LCD drivers for Lubbock and Twintail. - pass correct attach args to pxa2x0_lcd_attach_sub()
 - make this driver compile without wsdisplay again.
 
 | 
| 1.12 | 29-Jan-2009 | nonaka | branches:  1.12.4; - device_t/softc split.
 - use aprint_* function.
 
 | 
| 1.11 | 11-Jun-2008 | cegger | branches:  1.11.4; use device_lookup_private to get softc
 
 | 
| 1.10 | 10-May-2008 | martin | branches:  1.10.2; Backout previous: the license sweep touched these files in error, so
 restore the old license.
 
 | 
| 1.9 | 29-Apr-2008 | martin | branches:  1.9.2; Convert to new 2 clause license
 
 | 
| 1.8 | 04-Mar-2007 | christos | branches:  1.8.40;  1.8.42;  1.8.44; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 
 | 
| 1.7 | 18-Dec-2006 | nonaka | branches:  1.7.2; Fix evbarm compile again.
 
 | 
| 1.6 | 17-Apr-2006 | jmmv | branches:  1.6.8;  1.6.10; Properly pass down the 'vs' cookie to pxa2x0_lcd_ioctl calls.  Pointed out
 by he@.
 
 | 
| 1.5 | 12-Apr-2006 | jmmv | Add an extra cookie to the ioctl and mmap wsdisplay accessops that points to the screen on which they are being called.  The driver cannot guess
 this by itself but it is needed to implement, at least, the getwschar and
 putwschar functions in the correct place.  There are no functional changes
 yet.
 
 Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
 Suggested and reviewed by macallan@.
 
 | 
| 1.4 | 08-Mar-2006 | lukem | branches:  1.4.2; Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
 Add a space between numbers and Hz unit.
 
 | 
| 1.3 | 23-Feb-2006 | thorpej | branches:  1.3.2;  1.3.4; Use device_parent().
 
 | 
| 1.2 | 11-Dec-2005 | christos | branches:  1.2.2;  1.2.4;  1.2.6; merge ktrace-lwp.
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8;  1.1.10; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.10.3 | 03-Sep-2007 | yamt | sync with head. 
 | 
| 1.1.10.2 | 30-Dec-2006 | yamt | sync with head. 
 | 
| 1.1.10.1 | 21-Jun-2006 | yamt | sync with head. 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file g42xxeb_lcd.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file g42xxeb_lcd.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file g42xxeb_lcd.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.6.1 | 22-Apr-2006 | simonb | Sync with head. 
 | 
| 1.2.4.1 | 09-Sep-2006 | rpaulo | sync with head 
 | 
| 1.2.2.1 | 01-Mar-2006 | yamt | sync with head. 
 | 
| 1.3.4.1 | 19-Apr-2006 | elad | sync with head - hopefully this will work 
 | 
| 1.3.2.2 | 24-May-2006 | yamt | sync with head. 
 | 
| 1.3.2.1 | 13-Mar-2006 | yamt | sync with head. 
 | 
| 1.4.2.1 | 24-May-2006 | tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch. 
 | 
| 1.6.10.1 | 21-Dec-2006 | yamt | sync with head. 
 | 
| 1.6.8.1 | 12-Jan-2007 | ad | Sync with head. 
 | 
| 1.7.2.1 | 12-Mar-2007 | rmind | Sync with HEAD. 
 | 
| 1.8.44.2 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.8.44.1 | 04-May-2009 | yamt | sync with head. 
 | 
| 1.8.42.1 | 17-Jun-2008 | yamt | sync with head. 
 | 
| 1.8.40.1 | 29-Jun-2008 | mjf | Sync with HEAD. 
 | 
| 1.9.2.1 | 23-Jun-2008 | wrstuden | Sync w/ -current. 34 merge conflicts to follow. 
 | 
| 1.10.2.1 | 18-Jun-2008 | simonb | Sync with head. 
 | 
| 1.11.4.1 | 03-Mar-2009 | skrll | Sync with HEAD. 
 | 
| 1.12.4.1 | 30-Apr-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.14.16.1 | 18-May-2014 | rmind | sync with head 
 | 
| 1.14.12.1 | 20-Aug-2014 | tls | Rebase to HEAD as of a few days ago. 
 | 
| 1.14.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.15.2.1 | 10-Aug-2014 | tls | Rebase. 
 | 
| 1.16.42.1 | 21-Mar-2021 | thorpej | Give config_found() the same variadic arguments treatment as config_search().  This commit only adds the CFARG_EOL sentinel
 to the existing config_found() calls.  Conversion of config_found_sm_loc()
 and config_found_ia() call sites will be in subsequent commits.
 
 | 
| 1.17.8.1 | 04-Aug-2021 | thorpej | Adapt to CFARGS(). 
 | 
| 1.43 | 13-May-2024 | msaitoh | s/slighly/slightly/ in comment. 
 | 
| 1.42 | 20-Feb-2024 | andvar | Fix format specifier for physmem from %d to 0x%"PRIxPSIZE" in multiple places. 
 Should fix VERBOSE_INIT_ARM for various evbarm kernel configs.
 Also add 0x prefix in few previously fixed places to improve readability.
 
 | 
| 1.41 | 12-Oct-2023 | skrll | Fix non-DIAGNOSTIC builds 
 | 
| 1.40 | 20-Apr-2023 | skrll | Provide a shared pmap_devmap implementation and convert all pmap_devmap arrays to use DEVMAP_ENTRY{,_END}
 
 | 
| 1.39 | 03-Jul-2022 | andvar | branches:  1.39.4; s/bounaries/boundaries/ in comments.
 
 | 
| 1.38 | 17-Aug-2021 | andvar | fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected. 
 | 
| 1.37 | 18-Apr-2020 | skrll | PMAP_DEBUG has been deleted on arm 
 | 
| 1.36 | 18-Apr-2020 | skrll | Trailing whitespace 
 | 
| 1.35 | 16-Jul-2019 | skrll | branches:  1.35.8; Consistently use vaddr_t as initarm and friends return type.
 
 Makes no difference to binaries except for aarch64 where it's required
 
 | 
| 1.34 | 16-Jul-2019 | skrll | KNF 
 | 
| 1.33 | 28-Oct-2018 | skrll | Fix a commit 
 | 
| 1.32 | 21-Sep-2018 | skrll | Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into opt_console.h and adjust.
 
 | 
| 1.31 | 31-Jul-2018 | skrll | Sprinkle #include "opt_arm_debug.h" where VERBOSE_INIT_ARM is used 
 | 
| 1.30 | 22-Dec-2016 | cherry | branches:  1.30.14;  1.30.16; switch all ports to use uvm_init.c:uvm_md_init()
 
 uvm_setpagesize() is now subsumed within this funciton.
 
 | 
| 1.29 | 13-Sep-2014 | matt | branches:  1.29.2;  1.29.4; Replace more vm_offset_t, vm_size_t with vaddr_t, vsize_t
 Use paddr_t for msgbufphys
 
 | 
| 1.28 | 18-Aug-2013 | matt | <arm/locore.h> fallout (fixes some include ordering errors) 
 | 
| 1.27 | 22-Sep-2012 | matt | branches:  1.27.2; Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
 but add a second argument to it to indicate whether the TLB/caches need to be
 flushed.  Default cortex to pmap_needs_fixup = 1.  But check the MMFR3 field
 to see if the fixed can be skipped.
 Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
 or enabeld (bit = 0).
 
 With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
 Also, make sure all memory has the shareable bit for the A9.
 
 | 
| 1.26 | 16-Aug-2012 | matt | branches:  1.26.2; Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
 <arm32/machdep.h>
 Move the extern for cpu_reset_address to the same file.
 Add cpu_reset_address_paddr.
 Kill cpu_reset_v4_MMU_disable.
 if cpu_reset_address is NULL, then the MMU will be disabled.
 
 | 
| 1.25 | 29-Jul-2012 | matt | Fix more -fno-common fallout. Move more variables to common locations.
 
 | 
| 1.24 | 01-Jul-2011 | dyoung | branches:  1.24.2; #include <sys/bus.h> instead of <machine/bus.h>.
 
 | 
| 1.23 | 30-Jun-2011 | wiz | dependant -> dependent 
 | 
| 1.22 | 28-Nov-2010 | hannken | As md(4) no longer has "needs-count" there is no "md.h" anymore. Remove the inclusion of this file.
 
 Acorn32 now always builds load_memory_disc_from_floppy().  This should
 not be a problem as all configs have md(4).
 
 Observed by: Masao Uebayashi <uebayasi@netbsd.org>
 
 | 
| 1.21 | 28-Dec-2009 | uebayasi | branches:  1.21.4; More setttb() -> cpu_setttb() for readability & consistency.  Missing instances
 pointed out by tsutsui@ & nonaka@, thanks.
 
 | 
| 1.20 | 26-Dec-2009 | uebayasi | Use cpu_* prefix to call cpu_* functions (setttb() -> cpu_setttb()); no functional changes.
 
 | 
| 1.19 | 26-Dec-2009 | uebayasi | Garbage collect an unused global, vm_offset_t pagetables_start. 
 | 
| 1.18 | 27-Nov-2009 | rmind | - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr. - Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
 - Amend assembly in ports where it accesses PCB via struct user.
 - Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.
 
 | 
| 1.17 | 26-Nov-2009 | matt | Kill proc0paddr.  Use lwp0.l_addr instead. 
 | 
| 1.16 | 11-Aug-2009 | matt | Remove all declarations of physmem from sys/arch.  Add an include of <sys/systm.h> to the one file that did not already contain it.
 This now means that physmem can be changed by updating systm.h and uvm_page.c
 (excluding fixing printfs)
 
 | 
| 1.15 | 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.14 | 27-Apr-2008 | matt | branches:  1.14.6;  1.14.8; Merge kernel changes in matt-armv6 to HEAD.
 
 | 
| 1.13 | 19-Jan-2008 | chris | branches:  1.13.6;  1.13.8;  1.13.10; Remove arm support for IPKDB.
 
 It hasn't worked since arm was broken out from arm32 in Jan 2001, and
 no-one has noticed or cared to fix it.
 
 | 
| 1.12 | 17-Oct-2007 | garbled | branches:  1.12.2;  1.12.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.11 | 21-Aug-2007 | kiyohara | branches:  1.11.2; The initarm() should initialize GPIO.  We must not initialize GPIO in
 foo_attach() of the each drivers.  And, it is necessary to confirm whether
 to be initialized in foo_match().  To avoid a dangerous configuring on the
 evaluation boards.
 
 | 
| 1.10 | 24-Nov-2006 | wiz | branches:  1.10.8;  1.10.16;  1.10.22;  1.10.24;  1.10.26; s/independant/independent/, from Zafer.
 
 | 
| 1.9 | 24-Oct-2006 | bjh21 | parse_mi_bootargs() is declared in <arm/arm32/machdep.h>, so there's no need to declare it here too.
 
 | 
| 1.8 | 17-May-2006 | mrg | branches:  1.8.8;  1.8.10; in initarm(), initialise kernel_l1pt.pv_va as well as kernel_l1pt.pv_pa.
 
 | 
| 1.7 | 08-Mar-2006 | lukem | branches:  1.7.2; Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
 Add a space between numbers and Hz unit.
 
 | 
| 1.6 | 24-Dec-2005 | perry | branches:  1.6.4;  1.6.6;  1.6.8;  1.6.10; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 
 | 
| 1.5 | 11-Dec-2005 | christos | merge ktrace-lwp. 
 | 
| 1.4 | 04-Jul-2005 | bsh | branches:  1.4.2; adapt to changes for PXA270 support.
 
 | 
| 1.3 | 18-Mar-2005 | bsh | branches:  1.3.2;  1.3.4; modify comments for clarity.
 
 Original comments made several people misunderstand that the comment
 says kernel's pagetable is at 0xa0004000.  What the comment says is
 about RedBoot's pagetable.
 
 | 
| 1.2 | 17-Mar-2005 | bsh | Switch kernels for Lubbock and TwinTail to use pmap_devmap to map I/O registers that are used in early start-up stage.  Also stop using
 special bootstrap-time-only bus_space_map function in {lubbock,g42xxeb}_machdep.c.
 
 This makes initarm() for them a bit simpler, and gives us smaller diffs
 to other evbarm platforms.
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.2.4 | 10-Nov-2005 | skrll | Sync with HEAD. Here we go again... 
 | 
| 1.1.2.3 | 01-Apr-2005 | skrll | Sync with HEAD. 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file g42xxeb_machdep.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.3.4.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.3.4.1 | 18-Mar-2005 | kent | file g42xxeb_machdep.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.3.2.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.3.2.1 | 18-Mar-2005 | yamt | file g42xxeb_machdep.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.4.2.4 | 21-Jan-2008 | yamt | sync with head 
 | 
| 1.4.2.3 | 03-Sep-2007 | yamt | sync with head. 
 | 
| 1.4.2.2 | 30-Dec-2006 | yamt | sync with head. 
 | 
| 1.4.2.1 | 21-Jun-2006 | yamt | sync with head. 
 | 
| 1.6.10.1 | 19-Apr-2006 | elad | sync with head - hopefully this will work 
 | 
| 1.6.8.2 | 24-May-2006 | yamt | sync with head. 
 | 
| 1.6.8.1 | 13-Mar-2006 | yamt | sync with head. 
 | 
| 1.6.6.2 | 01-Jun-2006 | kardel | Sync with head. 
 | 
| 1.6.6.1 | 22-Apr-2006 | simonb | Sync with head. 
 | 
| 1.6.4.1 | 09-Sep-2006 | rpaulo | sync with head 
 | 
| 1.7.2.1 | 24-May-2006 | tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch. 
 | 
| 1.8.10.1 | 10-Dec-2006 | yamt | sync with head. 
 | 
| 1.8.8.2 | 12-Jan-2007 | ad | Sync with head. 
 | 
| 1.8.8.1 | 18-Nov-2006 | ad | Sync with head. 
 | 
| 1.10.26.1 | 03-Sep-2007 | jmcneill | Sync with HEAD. 
 | 
| 1.10.24.2 | 28-Feb-2008 | rjs | Sync with HEAD. 
 | 
| 1.10.24.1 | 01-Nov-2007 | rjs | Sync with HEAD. 
 | 
| 1.10.22.1 | 03-Sep-2007 | skrll | Sync with HEAD. 
 | 
| 1.10.16.1 | 03-Oct-2007 | garbled | Sync with HEAD 
 | 
| 1.10.8.1 | 09-Oct-2007 | ad | Sync with head. 
 | 
| 1.11.2.3 | 23-Mar-2008 | matt | sync with HEAD 
 | 
| 1.11.2.2 | 09-Nov-2007 | matt | Make all the evbarm kernels build again.  Fix lossage from rebase. 
 | 
| 1.11.2.1 | 06-Nov-2007 | matt | sync with HEAD 
 | 
| 1.12.8.1 | 20-Jan-2008 | bouyer | Sync with HEAD 
 | 
| 1.12.2.1 | 18-Feb-2008 | mjf | Sync with HEAD. 
 | 
| 1.13.10.4 | 11-Mar-2010 | yamt | sync with head 
 | 
| 1.13.10.3 | 19-Aug-2009 | yamt | sync with head. 
 | 
| 1.13.10.2 | 04-May-2009 | yamt | sync with head. 
 | 
| 1.13.10.1 | 16-May-2008 | yamt | sync with head. 
 | 
| 1.13.8.1 | 18-May-2008 | yamt | sync with head. 
 | 
| 1.13.6.2 | 17-Jan-2009 | mjf | Sync with HEAD. 
 | 
| 1.13.6.1 | 02-Jun-2008 | mjf | Sync with HEAD. 
 | 
| 1.14.8.1 | 19-Jan-2009 | skrll | Sync with HEAD. 
 | 
| 1.14.6.1 | 13-Dec-2008 | haad | Update haad-dm branch to haad-dm-base2. 
 | 
| 1.21.4.1 | 05-Mar-2011 | rmind | sync with head 
 | 
| 1.24.2.2 | 22-May-2014 | yamt | sync with head. 
 for a reference, the tree before this commit was tagged
 as yamt-pagecache-tag8.
 
 this commit was splitted into small chunks to avoid
 a limitation of cvs.  ("Protocol error: too many arguments")
 
 | 
| 1.24.2.1 | 30-Oct-2012 | yamt | sync with head 
 | 
| 1.26.2.3 | 03-Dec-2017 | jdolecek | update from HEAD 
 | 
| 1.26.2.2 | 20-Aug-2014 | tls | Rebase to HEAD as of a few days ago. 
 | 
| 1.26.2.1 | 20-Nov-2012 | tls | Resync to 2012-11-19 00:00:00 UTC 
 | 
| 1.27.2.1 | 28-Aug-2013 | rmind | sync with head 
 | 
| 1.29.4.1 | 07-Jan-2017 | pgoyette | Sync with HEAD.  (Note that most of these changes are simply $NetBSD$ tag issues.)
 
 | 
| 1.29.2.1 | 05-Feb-2017 | skrll | Sync with HEAD 
 | 
| 1.30.16.3 | 21-Apr-2020 | martin | Sync with HEAD 
 | 
| 1.30.16.2 | 13-Apr-2020 | martin | Mostly merge changes from HEAD upto 20200411 
 | 
| 1.30.16.1 | 10-Jun-2019 | christos | Sync with HEAD 
 | 
| 1.30.14.3 | 26-Nov-2018 | pgoyette | Sync with HEAD, resolve a couple of conflicts 
 | 
| 1.30.14.2 | 30-Sep-2018 | pgoyette | Ssync with HEAD 
 | 
| 1.30.14.1 | 06-Sep-2018 | pgoyette | Sync with HEAD 
 Resolve a couple of conflicts (result of the uimin/uimax changes)
 
 | 
| 1.35.8.1 | 20-Apr-2020 | bouyer | Sync with HEAD 
 | 
| 1.39.4.1 | 14-Oct-2023 | martin | Pull up following revision(s) (requested by skrll in ticket #411): 
 sys/arch/evbarm/nslu2/nslu2_machdep.c: revision 1.41
 sys/arch/evbarm/gumstix/gumstix_machdep.c: revision 1.75
 sys/arch/evbarm/iq80321/iq80321_machdep.c: revision 1.66
 sys/arch/iyonix/iyonix/iyonix_machdep.c: revision 1.34
 sys/arch/zaurus/zaurus/machdep.c: revision 1.52
 sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c: revision 1.41
 sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c: revision 1.33
 sys/arch/evbarm/iq80310/iq80310_machdep.c: revision 1.96
 sys/arch/evbarm/adi_brh/brh_machdep.c: revision 1.53
 sys/arch/arm/include/arm32/pmap.h: revision 1.177
 sys/arch/evbarm/viper/viper_machdep.c: revision 1.34
 sys/arch/evbarm/iyonix/iyonix_machdep.c: revision 1.5
 sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c: revision 1.30
 sys/arch/evbarm/hdl_g/hdlg_machdep.c: revision 1.35
 sys/arch/arm/arm32/pmap.c: revision 1.440
 sys/arch/evbarm/lubbock/lubbock_machdep.c: revision 1.45
 sys/arch/evbarm/ixdp425/ixdp425_machdep.c: revision 1.47
 
 Fix non-DIAGNOSTIC builds
 
 | 
| 1.3 | 21-Jan-2012 | nonaka | fix my license notice. 
 | 
| 1.2 | 26-Jun-2010 | bsh | branches:  1.2.2;  1.2.10;  1.2.14; Don't use DMA for sdmmc on TWINTAIL for now, because it causes kernel panic.
 
 | 
| 1.1 | 13-Mar-2010 | bsh | branches:  1.1.2;  1.1.4; add SD/MMC driver for Twintail based on the driver for Zaurus.
 
 | 
| 1.1.4.3 | 17-Aug-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.1.4.2 | 30-Apr-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.1.4.1 | 13-Mar-2010 | uebayasi | file g42xxeb_mci.c was added on branch uebayasi-xip on 2010-04-30 14:39:15 +0000 
 | 
| 1.1.2.1 | 03-Jul-2010 | rmind | sync with head 
 | 
| 1.2.14.1 | 18-Feb-2012 | mrg | merge to -current. 
 | 
| 1.2.10.1 | 17-Apr-2012 | yamt | sync with head 
 | 
| 1.2.2.2 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.2.2.1 | 26-Jun-2010 | yamt | file g42xxeb_mci.c was added on branch yamt-nfs-mp on 2010-08-11 22:51:51 +0000 
 | 
| 1.2 | 17-Mar-2005 | bsh | branches:  1.2.2;  1.2.4; Switch kernels for Lubbock and TwinTail to use pmap_devmap to map
 I/O registers that are used in early start-up stage.  Also stop using
 special bootstrap-time-only bus_space_map function in {lubbock,g42xxeb}_machdep.c.
 
 This makes initarm() for them a bit simpler, and gives us smaller diffs
 to other evbarm platforms.
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.2.3 | 01-Apr-2005 | skrll | Sync with HEAD. 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file g42xxeb_reg.h was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.4.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.2.4.1 | 17-Mar-2005 | kent | file g42xxeb_reg.h was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.2.2.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.2.2.1 | 17-Mar-2005 | yamt | file g42xxeb_reg.h was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.3 | 31-Jan-2011 | matt | Add RCSID when needed. Don't include pmap.h or pte.h, include "assym.h" instead.
 Use assym.h provided values.
 
 | 
| 1.2 | 11-Dec-2005 | christos | branches:  1.2.100;  1.2.106;  1.2.108; merge ktrace-lwp.
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file g42xxeb_start.S was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file g42xxeb_start.S was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file g42xxeb_start.S was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.108.1 | 08-Feb-2011 | bouyer | Sync with HEAD 
 | 
| 1.2.106.1 | 06-Jun-2011 | jruoho | Sync with HEAD. 
 | 
| 1.2.100.1 | 05-Mar-2011 | rmind | sync with head 
 | 
| 1.5 | 01-Jul-2011 | dyoung | #include <sys/bus.h> instead of <machine/bus.h>. 
 | 
| 1.4 | 13-Mar-2010 | bsh | apply struct device split to the rest of the drivers for Twintail. 
 | 
| 1.3 | 10-May-2008 | martin | branches:  1.3.18; Backout previous: the license sweep touched these files in error, so
 restore the old license.
 
 | 
| 1.2 | 29-Apr-2008 | martin | branches:  1.2.2; Convert to new 2 clause license
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8;  1.1.98; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.98.1 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file g42xxeb_var.h was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file g42xxeb_var.h was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file g42xxeb_var.h was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.2.1 | 23-Jun-2008 | wrstuden | Sync w/ -current. 34 merge conflicts to follow. 
 | 
| 1.3.18.1 | 30-Apr-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.12 | 07-Aug-2021 | thorpej | Merge thorpej-cfargs2. 
 | 
| 1.11 | 24-Apr-2021 | thorpej | branches:  1.11.8; Merge thorpej-cfargs branch:
 
 Simplify and make extensible the config_search() / config_found() /
 config_attach() interfaces: rather than having different variants for
 which arguments you want pass along, just have a single call that
 takes a variadic list of tag-value arguments.
 
 Adjust all call sites:
 - Simplify wherever possible; don't pass along arguments that aren't
 actually needed.
 - Don't be explicit about what interface attribute is attaching if
 the device only has one.  (More simplification.)
 - Add a config_probe() function to be used in indirect configuiration
 situations, making is visibly easier to see when indirect config is
 in play, and allowing for future change in semantics.  (As of now,
 this is just a wrapper around config_match(), but that is an
 implementation detail.)
 
 Remove unnecessary or redundant interface attributes where they're not
 needed.
 
 There are currently 5 "cfargs" defined:
 - CFARG_SUBMATCH (submatch function for direct config)
 - CFARG_SEARCH (search function for indirect config)
 - CFARG_IATTR (interface attribte)
 - CFARG_LOCATORS (locators array)
 - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
 
 ...and a sentinel value CFARG_EOL.
 
 Add some extra sanity checking to ensure that interface attributes
 aren't ambiguous.
 
 Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
 ports to associate those device handles with device_t instance.  This
 will trickle trough to more places over time (need back-end for pre-OFW
 Sun OBP; any others?).
 
 | 
| 1.10 | 01-Jul-2011 | dyoung | branches:  1.10.68; #include <sys/bus.h> instead of <machine/bus.h>.
 
 | 
| 1.9 | 07-Jun-2010 | bsh | don't use dv_xname directly. 
 | 
| 1.8 | 13-Mar-2010 | bsh | branches:  1.8.2; apply struct device split to the rest of the drivers for Twintail.
 
 | 
| 1.7 | 17-Oct-2007 | garbled | branches:  1.7.20;  1.7.40; 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 | 09-Jul-2007 | ad | branches:  1.6.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.5 | 23-Feb-2006 | thorpej | branches:  1.5.24;  1.5.26;  1.5.32; Use device_parent().
 
 | 
| 1.4 | 11-Dec-2005 | christos | branches:  1.4.2;  1.4.4;  1.4.6; merge ktrace-lwp.
 
 | 
| 1.3 | 26-Aug-2005 | drochner | s/locdesc_t/int/g 
 | 
| 1.2 | 30-Jun-2005 | drochner | branches:  1.2.2; adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file gb225.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file gb225.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.3 | 10-Nov-2005 | skrll | Sync with HEAD. Here we go again... 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file gb225.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.2.2 | 03-Sep-2007 | yamt | sync with head. 
 | 
| 1.2.2.1 | 21-Jun-2006 | yamt | 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 | 01-Mar-2006 | yamt | sync with head. 
 | 
| 1.5.32.1 | 03-Oct-2007 | garbled | Sync with HEAD 
 | 
| 1.5.26.1 | 11-Jul-2007 | mjf | Sync with head. 
 | 
| 1.5.24.1 | 15-Jul-2007 | ad | Sync with head. 
 | 
| 1.6.10.1 | 06-Nov-2007 | matt | sync with HEAD 
 | 
| 1.7.40.2 | 17-Aug-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.7.40.1 | 30-Apr-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.7.20.1 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.8.2.1 | 03-Jul-2010 | rmind | sync with head 
 | 
| 1.10.68.6 | 05-Apr-2021 | thorpej | Treat config_probe() as if it were a boolean function; don't compare return value > 0... except for the odd balls, which are now really easy
 to spot.
 
 | 
| 1.10.68.5 | 05-Apr-2021 | thorpej | config_match() -> config_probe() for the straight-forward indirect config cases.  There are still a few odd balls using config_match() which should
 be sorted out later.
 
 | 
| 1.10.68.4 | 04-Apr-2021 | thorpej | CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses. 
 | 
| 1.10.68.3 | 03-Apr-2021 | thorpej | Give config_attach() the tagged variadic argument treatment and mechanically convert all call sites.
 
 | 
| 1.10.68.2 | 21-Mar-2021 | thorpej | CFARG_IATTR usage audit: 
 If a device carries only one interface attribute, there is no need
 to specify it when calling config_search(); that specification is
 meant only to disambiguate which interface attribute (which is a
 proxy for "what kind of attach args are being used") is having
 children attached.  cfparent_match() will take care of ensuring that
 any potential children can attach to one of the parent's iterface
 attributes, and if the parent only carries one, no disambiguation is
 necessary.
 
 | 
| 1.10.68.1 | 20-Mar-2021 | thorpej | The proliferation if config_search_*() and config_found_*() combinations is a little absurd, so begin to tidy this up:
 
 - Introduce a new cfarg_t enumerated type, that defines the types of
 tag-value variadic arguments that can be passed to the various
 config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
 for now, plus a CFARG_EOL sentinel).
 - Collapse config_search_*() into config_search() that takes these
 variadic arguments.
 - Convert all call sites of config_search_*() to the new signature.
 Noticed several incorrect usages along the way, which will be
 audited in a future commit.
 
 | 
| 1.11.8.1 | 04-Aug-2021 | thorpej | Adapt to CFARGS(). 
 | 
| 1.16 | 20-Dec-2023 | thorpej | Remove unnecessary <sys/malloc.h>. 
 | 
| 1.15 | 07-Aug-2021 | thorpej | Merge thorpej-cfargs2. 
 | 
| 1.14 | 24-Apr-2021 | thorpej | branches:  1.14.8; Merge thorpej-cfargs branch:
 
 Simplify and make extensible the config_search() / config_found() /
 config_attach() interfaces: rather than having different variants for
 which arguments you want pass along, just have a single call that
 takes a variadic list of tag-value arguments.
 
 Adjust all call sites:
 - Simplify wherever possible; don't pass along arguments that aren't
 actually needed.
 - Don't be explicit about what interface attribute is attaching if
 the device only has one.  (More simplification.)
 - Add a config_probe() function to be used in indirect configuiration
 situations, making is visibly easier to see when indirect config is
 in play, and allowing for future change in semantics.  (As of now,
 this is just a wrapper around config_match(), but that is an
 implementation detail.)
 
 Remove unnecessary or redundant interface attributes where they're not
 needed.
 
 There are currently 5 "cfargs" defined:
 - CFARG_SUBMATCH (submatch function for direct config)
 - CFARG_SEARCH (search function for indirect config)
 - CFARG_IATTR (interface attribte)
 - CFARG_LOCATORS (locators array)
 - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
 
 ...and a sentinel value CFARG_EOL.
 
 Add some extra sanity checking to ensure that interface attributes
 aren't ambiguous.
 
 Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
 ports to associate those device handles with device_t instance.  This
 will trickle trough to more places over time (need back-end for pre-OFW
 Sun OBP; any others?).
 
 | 
| 1.13 | 27-Oct-2012 | chs | branches:  1.13.52; split device_t/softc for all remaining drivers.
 replace "struct device *" with "device_t".
 use device_xname(), device_unit(), etc.
 
 | 
| 1.12 | 26-Jul-2011 | dyoung | branches:  1.12.2;  1.12.12; Don't set the iobase and iosize members of pcmciabus_attach_args because
 they're not used in any meaningful way.
 
 | 
| 1.11 | 01-Jul-2011 | dyoung | #include <sys/bus.h> instead of <machine/bus.h>. 
 | 
| 1.10 | 07-Jun-2010 | bsh | don't use dv_xname directly. 
 | 
| 1.9 | 13-Mar-2010 | bsh | branches:  1.9.2; apply struct device split to the rest of the drivers for Twintail.
 
 | 
| 1.8 | 31-May-2009 | he | branches:  1.8.2; Adapt to changes in sa11x0 code, with struct device * -> device_t changes.
 
 | 
| 1.7 | 15-Dec-2007 | perry | branches:  1.7.10; __FUNCTION__ -> __func__
 
 | 
| 1.6 | 09-Jul-2007 | ad | branches:  1.6.6;  1.6.10;  1.6.18;  1.6.22; Merge some of the less invasive changes from the vmlocking branch:
 
 - kthread, callout, devsw API changes
 - select()/poll() improvements
 - miscellaneous MT safety improvements
 
 | 
| 1.5 | 23-Feb-2006 | he | branches:  1.5.24;  1.5.26;  1.5.32; If the local variable changes name, modify it's uses as well.
 
 | 
| 1.4 | 23-Feb-2006 | thorpej | Use device_parent(). 
 | 
| 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 | 28-Jun-2005 | drochner | branches:  1.2.2; convert remaining autoconf bus "submatch" functions to use the new
 signature (passing locators), and remove some which obviously don't
 serve any purpose
 (untested, sorry)
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file gb225_pcic.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file gb225_pcic.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.3 | 10-Nov-2005 | skrll | Sync with HEAD. Here we go again... 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file gb225_pcic.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.2.3 | 21-Jan-2008 | yamt | sync with head 
 | 
| 1.2.2.2 | 03-Sep-2007 | yamt | sync with head. 
 | 
| 1.2.2.1 | 21-Jun-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.3.2.1 | 01-Mar-2006 | yamt | sync with head. 
 | 
| 1.5.32.1 | 03-Oct-2007 | garbled | Sync with HEAD 
 | 
| 1.5.26.1 | 11-Jul-2007 | mjf | Sync with head. 
 | 
| 1.5.24.1 | 15-Jul-2007 | ad | Sync with head. 
 | 
| 1.6.22.1 | 02-Jan-2008 | bouyer | Sync with HEAD 
 | 
| 1.6.18.1 | 26-Dec-2007 | ad | Sync with head. 
 | 
| 1.6.10.1 | 09-Jan-2008 | matt | sync with HEAD 
 | 
| 1.6.6.1 | 26-Dec-2007 | rjs | Sync with HEAD. 
 | 
| 1.7.10.2 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.7.10.1 | 20-Jun-2009 | yamt | sync with head 
 | 
| 1.8.2.2 | 17-Aug-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.8.2.1 | 30-Apr-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.9.2.1 | 03-Jul-2010 | rmind | sync with head 
 | 
| 1.12.12.1 | 20-Nov-2012 | tls | Resync to 2012-11-19 00:00:00 UTC 
 | 
| 1.12.2.1 | 30-Oct-2012 | yamt | sync with head 
 | 
| 1.13.52.1 | 23-Mar-2021 | thorpej | Convert config_found_ia() call sites where the device only carries a single interface attribute to bare config_found() calls.
 
 | 
| 1.14.8.1 | 04-Aug-2021 | thorpej | Adapt to CFARGS(). 
 | 
| 1.8 | 12-Nov-2012 | skrll | C99 types 
 | 
| 1.7 | 27-Oct-2012 | chs | split device_t/softc for all remaining drivers. replace "struct device *" with "device_t".
 use device_xname(), device_unit(), etc.
 
 | 
| 1.6 | 01-Jul-2011 | dyoung | branches:  1.6.2;  1.6.12; #include <sys/bus.h> instead of <machine/bus.h>.
 
 | 
| 1.5 | 07-Jun-2010 | bsh | don't use dv_xname directly. 
 | 
| 1.4 | 28-Apr-2008 | martin | branches:  1.4.20;  1.4.22; Remove clause 3 and 4 from TNF licenses
 
 | 
| 1.3 | 23-Feb-2006 | thorpej | branches:  1.3.68;  1.3.70;  1.3.72; Use device_parent().
 
 | 
| 1.2 | 11-Dec-2005 | christos | branches:  1.2.2;  1.2.4;  1.2.6; merge ktrace-lwp.
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8;  1.1.10; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.10.1 | 21-Jun-2006 | yamt | sync with head. 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file gb225_slhci.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file gb225_slhci.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file gb225_slhci.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.6.1 | 22-Apr-2006 | simonb | Sync with head. 
 | 
| 1.2.4.1 | 09-Sep-2006 | rpaulo | sync with head 
 | 
| 1.2.2.1 | 01-Mar-2006 | yamt | sync with head. 
 | 
| 1.3.72.2 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.3.72.1 | 16-May-2008 | yamt | sync with head. 
 | 
| 1.3.70.1 | 18-May-2008 | yamt | sync with head. 
 | 
| 1.3.68.1 | 02-Jun-2008 | mjf | Sync with HEAD. 
 | 
| 1.4.22.1 | 03-Jul-2010 | rmind | sync with head 
 | 
| 1.4.20.1 | 17-Aug-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.6.12.1 | 20-Nov-2012 | tls | Resync to 2012-11-19 00:00:00 UTC 
 | 
| 1.6.2.2 | 16-Jan-2013 | yamt | sync with (a bit old) head 
 | 
| 1.6.2.1 | 30-Oct-2012 | yamt | sync with head 
 | 
| 1.2 | 11-Dec-2005 | christos | merge ktrace-lwp. 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file gb225reg.h was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file gb225reg.h was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file gb225reg.h was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.4 | 16-Feb-2022 | andvar | s/baord/board/ 
 | 
| 1.3 | 13-Mar-2010 | bsh | apply struct device split to the rest of the drivers for Twintail. 
 | 
| 1.2 | 11-Dec-2005 | christos | branches:  1.2.78;  1.2.98; merge ktrace-lwp.
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file gb225var.h was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file gb225var.h was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file gb225var.h was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.98.1 | 30-Apr-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.2.78.1 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.8 | 27-Oct-2012 | chs | split device_t/softc for all remaining drivers. replace "struct device *" with "device_t".
 use device_xname(), device_unit(), etc.
 
 | 
| 1.7 | 01-Jul-2011 | dyoung | branches:  1.7.2;  1.7.12; #include <sys/bus.h> instead of <machine/bus.h>.
 
 | 
| 1.6 | 16-Mar-2008 | he | Adapt to device_parent() taking a device_t, not a struct device *. 
 | 
| 1.5 | 14-Mar-2008 | cube | Split device_t and softc, catching up with changes of all other ne(4) variants.
 
 | 
| 1.4 | 04-Mar-2007 | christos | branches:  1.4.20;  1.4.36;  1.4.40; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 
 | 
| 1.3 | 23-Feb-2006 | thorpej | branches:  1.3.20; Use device_parent().
 
 | 
| 1.2 | 11-Dec-2005 | christos | branches:  1.2.2;  1.2.4;  1.2.6; merge ktrace-lwp.
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8;  1.1.10; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.10.3 | 17-Mar-2008 | yamt | sync with head. 
 | 
| 1.1.10.2 | 03-Sep-2007 | yamt | sync with head. 
 | 
| 1.1.10.1 | 21-Jun-2006 | yamt | sync with head. 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file if_ne_obio.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file if_ne_obio.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file if_ne_obio.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.6.1 | 22-Apr-2006 | simonb | Sync with head. 
 | 
| 1.2.4.1 | 09-Sep-2006 | rpaulo | sync with head 
 | 
| 1.2.2.1 | 01-Mar-2006 | yamt | sync with head. 
 | 
| 1.3.20.1 | 12-Mar-2007 | rmind | Sync with HEAD. 
 | 
| 1.4.40.1 | 03-Apr-2008 | mjf | Sync with HEAD. 
 | 
| 1.4.36.1 | 24-Mar-2008 | keiichi | sync with head. 
 | 
| 1.4.20.1 | 23-Mar-2008 | matt | sync with HEAD 
 | 
| 1.7.12.1 | 20-Nov-2012 | tls | Resync to 2012-11-19 00:00:00 UTC 
 | 
| 1.7.2.1 | 30-Oct-2012 | yamt | sync with head 
 | 
| 1.16 | 14-Jul-2023 | riastradh | evbarm/g42xxeb: Fix off-by-one in previous. 
 The original find_first_bit(x) was 31 - __builtin_clz((uint32_t)x),
 which is equivalent to fls32(x) - 1, not to fls32(x).
 
 Note that fls32 is 1-based and returns 0 for x=0.
 
 | 
| 1.15 | 13-Jul-2023 | mrg | complete the previous - there were two calls to find_first_bit() to fix. 
 | 
| 1.14 | 13-Jul-2023 | riastradh | arm/xscale: Use sys/bitops.h fls32 - 1 instead of 31 - __builtin_clz. 
 Sidesteps namespace collision with `#define bits ...' in net/zlib.c.
 
 | 
| 1.13 | 07-Aug-2021 | thorpej | branches:  1.13.6; 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.52; split device_t/softc for all remaining drivers.
 replace "struct device *" with "device_t".
 use device_xname(), device_unit(), etc.
 
 | 
| 1.10 | 01-Jul-2011 | dyoung | branches:  1.10.2;  1.10.12; #include <sys/bus.h> instead of <machine/bus.h>.
 
 | 
| 1.9 | 07-Jun-2010 | bsh | don't use dv_xname directly. 
 | 
| 1.8 | 13-Mar-2010 | bsh | branches:  1.8.2; apply struct device split to the rest of the drivers for Twintail.
 
 | 
| 1.7 | 27-Apr-2008 | matt | branches:  1.7.20; Merge kernel changes in matt-armv6 to HEAD.
 
 | 
| 1.6 | 06-Jan-2008 | matt | branches:  1.6.6;  1.6.8;  1.6.10; Cleanup softint lossage.
 
 | 
| 1.5 | 18-Dec-2006 | nonaka | branches:  1.5.20;  1.5.24;  1.5.30;  1.5.36; compile again.
 
 | 
| 1.4 | 11-Dec-2005 | christos | branches:  1.4.20;  1.4.22; merge ktrace-lwp.
 
 | 
| 1.3 | 26-Aug-2005 | drochner | s/locdesc_t/int/g 
 | 
| 1.2 | 30-Jun-2005 | drochner | branches:  1.2.2; adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
 
 | 
| 1.1 | 26-Feb-2005 | bsh | branches:  1.1.2;  1.1.6;  1.1.8; TWINTAIL (official product name is G4255EB) is an evaluation board
 with Intel PXA255 processor from Genetec corp.  You can get some
 information on the board from http://ad.genetec.co.jp/ but only in Japanese.
 
 | 
| 1.1.8.2 | 29-Apr-2005 | kent | sync with -current 
 | 
| 1.1.8.1 | 26-Feb-2005 | kent | file obio.c was added on branch kent-audio2 on 2005-04-29 11:28:07 +0000 
 | 
| 1.1.6.2 | 19-Mar-2005 | yamt | sync with head.  xen and whitespace.  xen part is not finished. 
 | 
| 1.1.6.1 | 26-Feb-2005 | yamt | file obio.c was added on branch yamt-km on 2005-03-19 08:32:55 +0000 
 | 
| 1.1.2.3 | 10-Nov-2005 | skrll | Sync with HEAD. Here we go again... 
 | 
| 1.1.2.2 | 04-Mar-2005 | skrll | Sync with HEAD. 
 Hi Perry!
 
 | 
| 1.1.2.1 | 26-Feb-2005 | skrll | file obio.c was added on branch ktrace-lwp on 2005-03-04 16:38:25 +0000 
 | 
| 1.2.2.3 | 21-Jan-2008 | 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.22.1 | 21-Dec-2006 | yamt | sync with head. 
 | 
| 1.4.20.1 | 12-Jan-2007 | ad | Sync with head. 
 | 
| 1.5.36.1 | 08-Jan-2008 | bouyer | Sync with HEAD 
 | 
| 1.5.30.1 | 18-Feb-2008 | mjf | Sync with HEAD. 
 | 
| 1.5.24.2 | 09-Jan-2008 | matt | sync with HEAD 
 | 
| 1.5.24.1 | 09-Nov-2007 | matt | Make all the evbarm kernels build again.  Fix lossage from rebase. 
 | 
| 1.5.20.1 | 28-Feb-2008 | rjs | Sync with HEAD. 
 | 
| 1.6.10.2 | 11-Aug-2010 | yamt | sync with head. 
 | 
| 1.6.10.1 | 16-May-2008 | yamt | sync with head. 
 | 
| 1.6.8.1 | 18-May-2008 | yamt | sync with head. 
 | 
| 1.6.6.1 | 02-Jun-2008 | mjf | Sync with HEAD. 
 | 
| 1.7.20.2 | 17-Aug-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.7.20.1 | 30-Apr-2010 | uebayasi | Sync with HEAD. 
 | 
| 1.8.2.1 | 03-Jul-2010 | rmind | sync with head 
 | 
| 1.10.12.1 | 20-Nov-2012 | tls | Resync to 2012-11-19 00:00:00 UTC 
 | 
| 1.10.2.1 | 30-Oct-2012 | yamt | sync with head 
 | 
| 1.11.52.6 | 05-Apr-2021 | thorpej | Treat config_probe() as if it were a boolean function; don't compare return value > 0... except for the odd balls, which are now really easy
 to spot.
 
 | 
| 1.11.52.5 | 05-Apr-2021 | thorpej | config_match() -> config_probe() for the straight-forward indirect config cases.  There are still a few odd balls using config_match() which should
 be sorted out later.
 
 | 
| 1.11.52.4 | 04-Apr-2021 | thorpej | CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses. 
 | 
| 1.11.52.3 | 03-Apr-2021 | thorpej | Give config_attach() the tagged variadic argument treatment and mechanically convert all call sites.
 
 | 
| 1.11.52.2 | 21-Mar-2021 | thorpej | CFARG_IATTR usage audit: 
 If a device carries only one interface attribute, there is no need
 to specify it when calling config_search(); that specification is
 meant only to disambiguate which interface attribute (which is a
 proxy for "what kind of attach args are being used") is having
 children attached.  cfparent_match() will take care of ensuring that
 any potential children can attach to one of the parent's iterface
 attributes, and if the parent only carries one, no disambiguation is
 necessary.
 
 | 
| 1.11.52.1 | 20-Mar-2021 | thorpej | The proliferation if config_search_*() and config_found_*() combinations is a little absurd, so begin to tidy this up:
 
 - Introduce a new cfarg_t enumerated type, that defines the types of
 tag-value variadic arguments that can be passed to the various
 config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS,
 for now, plus a CFARG_EOL sentinel).
 - Collapse config_search_*() into config_search() that takes these
 variadic arguments.
 - Convert all call sites of config_search_*() to the new signature.
 Noticed several incorrect usages along the way, which will be
 audited in a future commit.
 
 | 
| 1.12.8.1 | 04-Aug-2021 | thorpej | Adapt to CFARGS(). 
 | 
| 1.13.6.1 | 09-Aug-2023 | martin | Pull up following revision(s) (requested by maya in ticket #316): 
 sys/arch/m68k/include/mutex.h: revision 1.13
 sys/arch/arm/include/cpu.h: revision 1.125
 sys/arch/sun68k/include/intr.h: revision 1.21
 sys/arch/arm/include/mutex.h: revision 1.28
 sys/sys/rwlock.h: revision 1.18
 sys/arch/powerpc/include/mutex.h: revision 1.7
 sys/arch/arm/include/mutex.h: revision 1.29
 sys/arch/powerpc/include/mutex.h: revision 1.8
 sys/uvm/uvm_param.h: revision 1.42
 sys/sys/ksem.h: revision 1.16
 sys/arch/x86/include/mutex.h: revision 1.10
 sys/sys/proc.h: revision 1.372
 sys/sys/ksem.h: revision 1.17
 sys/arch/ia64/include/mutex.h: revision 1.8
 sys/arch/evbarm/include/intr.h: revision 1.29
 sys/sys/lua.h: revision 1.9
 sys/arch/next68k/include/intr.h: revision 1.23
 sys/arch/ia64/include/mutex.h: revision 1.9
 sys/arch/hp300/include/intr.h: revision 1.35
 sys/arch/hp300/include/intr.h: revision 1.36
 sys/arch/sparc/include/cpu.h: revision 1.111
 sys/arch/hppa/include/mutex.h: revision 1.16
 sys/arch/vax/include/intr.h: revision 1.31
 sys/arch/hppa/include/mutex.h: revision 1.17
 sys/arch/news68k/include/intr.h: revision 1.28
 sys/arch/hppa/include/mutex.h: revision 1.18
 sys/arch/hppa/include/intr.h: revision 1.3
 sys/arch/hppa/include/mutex.h: revision 1.19
 sys/arch/hppa/include/intr.h: revision 1.4
 sys/sys/sched.h: revision 1.92
 sys/opencrypto/cryptodev.h: revision 1.51
 sys/arch/vax/include/mutex.h: revision 1.20
 sys/arch/sparc64/include/mutex.h: revision 1.10
 sys/arch/ia64/include/sapicvar.h: revision 1.2
 sys/arch/riscv/include/mutex.h: revision 1.5
 sys/arch/amiga/dev/grfabs_cc.c: revision 1.39
 sys/external/bsd/drm2/include/linux/idr.h: revision 1.11
 sys/arch/riscv/include/mutex.h: revision 1.6
 sys/ddb/files.ddb: revision 1.16
 sys/arch/mac68k/include/intr.h: revision 1.32
 share/man/man4/ddb.4: revision 1.203
 sys/ddb/db_command.c: revision 1.183
 sys/arch/mips/include/mutex.h: revision 1.10
 sys/ddb/db_command.c: revision 1.184
 sys/arch/x68k/include/intr.h: revision 1.22
 sys/arch/sparc/include/psl.h: revision 1.51
 sys/arch/or1k/include/mutex.h: revision 1.4
 sys/arch/mips/include/mutex.h: revision 1.11
 sys/arch/arm/xscale/pxa2x0_intr.h: revision 1.16
 sys/arch/sparc64/include/cpu.h: revision 1.134
 sys/arch/sparc/include/psl.h: revision 1.52
 sys/arch/or1k/include/mutex.h: revision 1.5
 sys/arch/mvme68k/include/intr.h: revision 1.22
 sys/arch/luna68k/include/intr.h: revision 1.16
 external/cddl/osnet/sys/sys/kcondvar.h: revision 1.6
 sys/arch/sparc/include/mutex.h: revision 1.12
 sys/arch/sparc/include/mutex.h: revision 1.13
 sys/arch/usermode/include/mutex.h: revision 1.5
 sys/arch/usermode/include/mutex.h: revision 1.6
 sys/kern/kern_core.c: revision 1.38
 usr.sbin/crash/Makefile: revision 1.49
 sys/arch/amiga/include/intr.h: revision 1.23
 sys/arch/alpha/include/mutex.h: revision 1.12
 sys/arch/alpha/include/mutex.h: revision 1.13
 sys/arch/evbarm/lubbock/sacc_obio.c: revision 1.16
 sys/ddb/ddb.h: revision 1.6
 sys/arch/sparc64/include/mutex.h: revision 1.8
 sys/arch/sh3/include/mutex.h: revision 1.12
 sys/arch/evbarm/lubbock/sacc_obio.c: revision 1.17
 sys/ddb/db_syncobj.c: revision 1.1
 sys/arch/vax/include/mutex.h: revision 1.18
 sys/arch/sparc64/include/psl.h: revision 1.63
 sys/arch/sparc64/include/mutex.h: revision 1.9
 sys/arch/sh3/include/mutex.h: revision 1.13
 sys/arch/evbarm/lubbock/obio.c: revision 1.13
 sys/arch/atari/include/intr.h: revision 1.23
 sys/ddb/db_syncobj.c: revision 1.2
 sys/arch/vax/include/mutex.h: revision 1.19
 sys/arch/evbarm/g42xxeb/obio.c: revision 1.14
 sys/arch/evbarm/g42xxeb/obio.c: revision 1.15
 sys/arch/cesfic/include/intr.h: revision 1.14
 sys/ddb/db_syncobj.h: revision 1.1
 sys/arch/x86/include/cpu.h: revision 1.134
 sys/arch/evbarm/g42xxeb/obio.c: revision 1.16
 sys/arch/cesfic/include/intr.h: revision 1.15
 sys/arch/arm/xscale/pxa2x0_intr.c: revision 1.26
 sys/sys/cpu_data.h: revision 1.54
 sys/arch/m68k/include/mutex.h: revision 1.12
 sys/arch/ia64/acpi/madt.c: revision 1.6
 
 sys/rwlock.h: Make this more self-contained for bool.
 
 machine/mutex.h: Sprinkle includes so this can be used by crash(8).
 
 ddb: New `show all tstiles' command.
 Shows who's waiting for which locks and what the owner is up to.
 
 Include psl.h for ipl_cookie_t if __MUTEX_PRIVATE
 
 sys: Rip <sys/resourcevar.h> out of <uvm/uvm_param.h>.
 
 And thus out of <sys/param.h>, which is exceedingly overused and
 fragile and delenda est.
 
 Should fix (some) issues with the recent inclusion of machine/lock.h
 in various machine/mutex.h files.
 
 arm/mutex.h: Need machine/intr.h, machine/lock.h.
 
 For ipl_cookie_t and __cpu_simple_lock_t.
 evbarm/intr.h: Define ipl_cookie_t before including ARM_INTR_IMPL.
 
 Otherwise arm/mutex.h doesn't work, due to a cyclic dependency which
 should really be fixed.
 opencrypto/cryptodev.h: Fix includes.
 - Move sys/condvar.h under #ifdef _KERNEL.
 - Add some other necessary includes and forward declarations.
 - Sort.
 
 hp300/intr.h: Fix missing includes.
 linux/idr.h: Need <sys/mutex.h> for kmutex_t.
 amiga/intr.h: Don't define spl*() functions if !_KERNEL.
 
 This is used by crash(8) now, and what's important is ipl_cookie_t.
 cesfic/intr.h: Expose ipl_cookie_t to userland for crash(8).
 cesfic/intr.h: Expose ipl_cookie_t to userland only with _KMEMUSER.
 
 Probably not necessary but let's be a little more cautious about
 this.
 
 atari/intr.h: Expose ipl_cookie_t with _KMEMUSER for crash(8).
 
 arm/cpu.h: Need sys/param.h for COHERENCY_UNIT.
 
 Nix machine/param.h -- not meant to be used directly, pulled in by
 sys/param.h.
 
 Move the definition of ipl_cookie_t out of the kernel-only sections,
 some _KMEMUSER applications need it.
 
 ddb: Cast pointer to uintptr_t first before db_expr_t.
 
 hppa/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
 
 luna68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
 
 mvme68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
 
 news68k/intr.h: Fix includes.  Put some definitions under _KERNEL.
 
 next68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
 
 sys/ksem.h: Hack around fstat(8) abuse of _KERNEL.
 
 sun68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
 
 vax/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
 
 x68k/intr.h: Put functions under _KERNEL so crash(8) can use this.
 
 Make ipl_cookie_t visible for _KMEMUSER userland applications.
 
 fix editor mishap in previous
 
 Explicitly include <sys/mutex.h> for kmutex_t.
 
 Replace kmutex_t * (which may be undefined here) with struct kmutex *,
 suggested by Taylor.
 
 hp300/intr.h: Put most of this under #ifdef _KERNEL.
 Only ipl_cookie_t really needs to be exposed now, for crash(8).
 
 mac68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
 Make inclusion of sys/intr.h explicit for spl*.
 
 fix hppa and vax builds.
 
 machine/lock.h isn't necessary for __cpu_simple_lock_t, it's in
 sys/types.h.  avoids cpu_data.h vs sched.h include order issues.
 
 move the hppa ipl_t typedef with the moved usage of it.
 machine/mutex.h: Sprinkle sys/types.h, omit machine/lock.h.
 
 Turns out machine/lock.h is not needed for __cpu_simple_lock_t, which
 always comes from sys/types.h.  And, really, sys/types.h (or at least
 sys/stdint.h) is needed for uintN_t and uintptr_t.
 
 ddb: Cast pointer to uintptr_t, then to db_expr_t.
 Avoids warnings about conversion between pointer and integer of
 different size on some architectures.
 
 re-fix hppa builds.
 
 this file uses __cpu_simple_lock(), not just the underlying type,
 so it does need machine/lock.h.
 
 Break cycle by using `struct kmutex *' instead of `kmutex_t *'.
 sys/sched.h included sys/mutex.h
 which includes sys/intr.h
 which includes machine/intr.h
 which on cats includes arm/footbridge/footbridge_intr.h
 which includes arm/cpu.h
 which includes sys/cpu_data.h
 which includes sys/sched.h
 
 But there was never any real need for sys/mutex.h in sys/sched.h,
 because it only uses pointers to the opaque struct kmutex.  Cycle
 broken by using `struct kmutex *' instead of pulling in sys/mutex.h
 for the definition of kmutex_t.
 
 Side effect: This revealed that sys/cpu_data.h needed sys/intr.h
 (which was pulled in accidentally by sys/mutex.h via sys/sched.h) for
 SOFTINT_COUNT.  Also revealed some other machine/cpu.h header files
 were missing includes of sys/mutex.h for kmutex_t.
 
 ia64: Need sys/types.h for u_int, vaddr_t; sys/mutex.h for kmutex_t.
 
 explicitly include no longer implicitly included sys/mutex.h.
 
 arm/xscale: Use sys/bitops.h fls32 - 1 instead of 31 - __builtin_clz.
 Sidesteps namespace collision with `#define bits ...' in net/zlib.c.
 
 complete the previous - there were two calls to find_first_bit() to fix.
 
 arm/xscale: Missed a spot with previous find_first_bit commit.
 
 evbarm/g42xxeb: Fix off-by-one in previous.
 
 The original find_first_bit(x) was 31 - __builtin_clz((uint32_t)x),
 which is equivalent to fls32(x) - 1, not to fls32(x).
 
 Note that fls32 is 1-based and returns 0 for x=0.
 
 |