History log of /src/sys/dev/tc/ioasic_subr.c |
Revision | | Date | Author | Comments |
1.16 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.15 |
| 07-May-2021 |
thorpej | branches: 1.15.6; A small bit of const poisoning.
|
1.14 |
| 24-Apr-2021 |
thorpej | branches: 1.14.2; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.13 |
| 04-Jun-2011 |
tsutsui | branches: 1.13.70; Split device_t/softc. pmax is tested on GXemul, compile test only for alpha.
|
1.12 |
| 31-Mar-2006 |
thorpej | branches: 1.12.86; 1.12.92; 1.12.96; Use ANSI function decls, apply static.
|
1.11 |
| 11-Dec-2005 |
christos | branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10; 1.11.12; merge ktrace-lwp.
|
1.10 |
| 26-Aug-2005 |
drochner | kill some more simple submatch() functions, use config_stdsubmatch()
|
1.9 |
| 25-Aug-2005 |
drochner | replace the "locdesc_t" structure carrying the number of locators explicitely by a plain integer array the length in now known to all relevant parties, so this avoids duplication of information, and we can allocate that thing in drivers without hacks
|
1.8 |
| 27-Feb-2005 |
perry | branches: 1.8.4; nuke trailing whitespace
|
1.7 |
| 26-Aug-2004 |
drochner | branches: 1.7.4; 1.7.6; turn the (unused) ioasic_submatch() function into something useful, use the locator passing variant of config_found(), get rid of the macros hiding cfdata accesses and include "locators.h" from the .c file only
|
1.6 |
| 27-Sep-2003 |
tsutsui | Use strlcpy() rather than strncpy() + `\0' termination.
|
1.5 |
| 26-Sep-2003 |
tsutsui | Remove casts and use %x in printf for tc_offset_t, which is int32_t on both alpha and pmax.
|
1.4 |
| 01-Jan-2003 |
thorpej | branches: 1.4.2; Use aprint_normal() in cfprint routines.
|
1.3 |
| 13-Nov-2001 |
lukem | add/cleanup RCSIDs
|
1.2 |
| 16-Mar-1999 |
simonb | branches: 1.2.20; 1.2.22; Add NetBSD RCS id on first line.
|
1.1 |
| 15-Mar-1999 |
jonathan | MI ioasic softc and child-device structs, gc duplicate struct definitions. Add MI ioasic functions, but dont enable on alpha until tested.
|
1.2.22.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.2.20.2 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.2.20.1 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.4.2.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.4.2.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.4.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.4.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.4.2.2 |
| 03-Sep-2004 |
skrll | Sync with HEAD
|
1.4.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.7.6.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.7.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.8.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.11.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.11.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.11.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.11.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.11.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.12.96.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.12.92.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.12.86.1 |
| 12-Jun-2011 |
rmind | sync with head
|
1.13.70.2 |
| 22-Mar-2021 |
thorpej | Audit CFARG_IATTR in config_found() calls, and remove it in situations where the interface attribute is not ambiguous.
|
1.13.70.1 |
| 22-Mar-2021 |
thorpej | Mechanical conversion of config_found_sm_loc() -> config_found(). CFARG_IATTR usage needs to be audited.
|
1.14.2.1 |
| 13-May-2021 |
thorpej | Sync with HEAD.
|
1.15.6.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|