History log of /src/sys/arch/hpcsh/dev/psh3tp.c |
Revision | | Date | Author | Comments |
1.18 |
| 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.17 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.16 |
| 24-Apr-2021 |
thorpej | branches: 1.16.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.15 |
| 08-Aug-2010 |
chs | branches: 1.15.74; make this compile with DIAGNOSTIC and PSH3TP_DEBUG.
|
1.14 |
| 24-Jul-2010 |
tsutsui | Rename some void * arg variables. "self" implies device_t so it shouldn't be used for void pointers passed as wsmouse cookie or callout function args.
|
1.13 |
| 19-Dec-2009 |
kiyohara | branches: 1.13.2; 1.13.4; Register with pmf(9), tell it we don't need anything. Based on rev 1.23 of src/sys/arch/hpcsh/dev/j6x0tp.c
|
1.12 |
| 31-Mar-2008 |
kiyohara | branches: 1.12.4; Split device_t/softc. Use aprint.
|
1.11 |
| 17-Oct-2007 |
garbled | branches: 1.11.16; Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
|
1.10 |
| 09-Jul-2007 |
ad | branches: 1.10.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.9 |
| 04-Mar-2007 |
christos | branches: 1.9.2; 1.9.4; 1.9.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.8 |
| 22-Feb-2007 |
thorpej | TRUE -> true, FALSE -> false
|
1.7 |
| 21-Jan-2007 |
kiyohara | branches: 1.7.2; follows to style guide and C99. Add ARGSUSED and __unused. Remove braces at return. Use device_private() and aprint_*().
|
1.6 |
| 12-Nov-2006 |
plunky | Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
1.5 |
| 14-Dec-2005 |
christos | branches: 1.5.20; 1.5.22; proc -> lwp
|
1.4 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.3 |
| 28-Jun-2005 |
drochner | branches: 1.3.2; 1.3.8; 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.2 |
| 31-May-2005 |
uwe | Use __UNCONST to pass default calibration data to tpcalib_ioctl().
|
1.1 |
| 23-May-2005 |
kiyohara | Support touch-panel for PERSONA SH3 machines.
|
1.3.8.2 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.3.8.1 |
| 28-Jun-2005 |
skrll | file psh3tp.c was added on branch ktrace-lwp on 2005-11-10 13:56:31 +0000
|
1.3.2.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.3.2.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.3.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.3.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.5.22.1 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.5.20.2 |
| 01-Feb-2007 |
ad | Sync with head.
|
1.5.20.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.7.2.2 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.7.2.1 |
| 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
1.9.10.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.9.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.9.2.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.10.10.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.11.16.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.12.4.2 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.12.4.1 |
| 11-Mar-2010 |
yamt | sync with head
|
1.13.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.13.2.1 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.15.74.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.16.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|