History log of /src/sys/arch/powerpc/ibm4xx/dev/gpio_opb.c |
Revision | | Date | Author | Comments |
1.10 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.9 |
| 24-Apr-2021 |
thorpej | branches: 1.9.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.8 |
| 17-Jun-2011 |
matt | branches: 1.8.68; struct device * -> device_t struct cfdata * -> cfdata_t split device/softc (CFATTACH_DECL_NEW) use device_accessors and device_private constify
|
1.7 |
| 18-Mar-2010 |
kiyohara | branches: 1.7.6; Support PowerPC 405EX/EXr. 1. Add some new source and header files. (MAL(split) and RGMII(new) relations for EMAC) 2. Create dcr4xx.h. Its moved from dcr405gp.h. Also remove dcr405xx.h. 3. intr.c supports MULTIUIC with virtual-irq. likes to oea. support 32-virq/128-hwirq. 4. multiple emac support. 5. WALNUT and VIRTEX_* includes arch/powerpc/conf/files.ibm4xx. 6. WALNUT pci uses arch/powerpc/ibm4xx/pci/.
|
1.6 |
| 06-Feb-2007 |
simonb | branches: 1.6.48; 1.6.68; 1.6.70; Fix a tyop in a comment.
|
1.5 |
| 13-Mar-2006 |
shige | branches: 1.5.10; IBM4xx on-chip GPIO controller apllying MI GPIO framework.
|
1.4 |
| 11-Dec-2005 |
christos | branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; merge ktrace-lwp.
|
1.3 |
| 16-Oct-2005 |
he | Complete the renaming gpio -> ppcgpio for evbppc, to make room for the MI gpio. Internal static functions in gpio_opb.c are not renamed here, but the softc type is renamed together with the attach declaration data.
|
1.2 |
| 26-Aug-2005 |
drochner | s/locdesc_t/int/g
|
1.1 |
| 23-Jan-2005 |
shige | branches: 1.1.2; 1.1.10; 1.1.12; Add driver for On-chip General Purpose I/O.
|
1.1.12.2 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.1.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.1.10.2 |
| 29-Apr-2005 |
kent | sync with -current
|
1.1.10.1 |
| 23-Jan-2005 |
kent | file gpio_opb.c was added on branch kent-audio2 on 2005-04-29 11:28:20 +0000
|
1.1.2.3 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.1.2.2 |
| 24-Jan-2005 |
skrll | Sync with HEAD.
|
1.1.2.1 |
| 23-Jan-2005 |
skrll | file gpio_opb.c was added on branch ktrace-lwp on 2005-01-24 08:34:26 +0000
|
1.4.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.4.8.1 |
| 01-Apr-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.5.10.1 |
| 09-Feb-2007 |
ad | Sync with HEAD.
|
1.6.70.1 |
| 30-May-2010 |
rmind | sync with head
|
1.6.68.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.6.48.1 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.7.6.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.8.68.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.9.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|