History log of /src/sys/arch/hpcsh/dev/j6x0tp.c |
Revision | | Date | Author | Comments |
1.26 |
| 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.25 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.24 |
| 24-Apr-2021 |
thorpej | branches: 1.24.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.23 |
| 05-Apr-2009 |
uwe | branches: 1.23.78; Register with pmf(9), tell it we don't need anything.
|
1.22 |
| 27-Mar-2008 |
uwe | branches: 1.22.4; 1.22.12; 1.22.18; Split device_t and softc.
|
1.21 |
| 17-Oct-2007 |
garbled | branches: 1.21.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.20 |
| 11-Jul-2007 |
uwe | branches: 1.20.10; Grr, revert unrelated changes that are traces of an unfinished experiment.
|
1.19 |
| 11-Jul-2007 |
uwe | Catch up with callout_init signature change.
|
1.18 |
| 01-Jun-2007 |
uwe | Rename j6x0tp_set_enable to j6x0tp_enable_child which better reflects what this function does and is way less confusing too.
|
1.17 |
| 01-Jun-2007 |
uwe | Cosmetic. Use device_xname. Don't compile debugging support. Drop out-of-date comment for j6x0tp_attach (we haven't been using submatch for quite a while).
|
1.16 |
| 04-Mar-2007 |
christos | branches: 1.16.2; 1.16.4; 1.16.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.15 |
| 12-Nov-2006 |
plunky | branches: 1.15.4; Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
1.14 |
| 27-Oct-2006 |
uwe | Nuke GPROF cargo-cult I've been cut-n-pasting around in my drivers.
|
1.13 |
| 22-Oct-2006 |
uwe | Revert previous that apparently has been committed by mistake. It actually contained just some debugging printfs, and *wrong* debugging printfs at that (hi, jared :)
|
1.12 |
| 24-Sep-2006 |
jmcneill | Add "name" parameter to powerhook_establish, to aid debugging. No objections on tech-kern@
|
1.11 |
| 23-May-2006 |
uwe | branches: 1.11.6; 1.11.8; Add more "static" so that only j6x0tp_ca (and j6x0tp_debug) are visible.
|
1.10 |
| 11-Dec-2005 |
christos | branches: 1.10.4; 1.10.6; 1.10.8; 1.10.12; 1.10.14; merge ktrace-lwp.
|
1.9 |
| 23-Sep-2005 |
uwe | Whitespace nit.
|
1.8 |
| 16-Jul-2005 |
uwe | Match HP 620LX. Tested by Christer Andersson.
XXX: platid_mask_MACH_HP_LX also matches 360LX. It's not confirmed whether touch panel in 360LX is connected in the same way. We may need to regroup platid masks.
|
1.7 |
| 28-Jun-2005 |
drochner | branches: 1.7.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.6 |
| 31-May-2005 |
uwe | Use __UNCONST to pass default calibration data to tpcalib_ioctl().
|
1.5 |
| 28-May-2004 |
tsarna | branches: 1.5.2; 1.5.12; Refactor tpcalib and hpc* ports to make tpcalib MI, as discussed on tech-kern.
|
1.4 |
| 05-Nov-2003 |
uwe | ispell comments.
|
1.3 |
| 04-Nov-2003 |
uwe | Provide wskbd* at j6x0tp? attachment that maps taps on the "HP hard icons" (along the right edge of the screen) to key presses.
|
1.2 |
| 22-Oct-2003 |
uwe | Use adcvar.h.
|
1.1 |
| 19-Oct-2003 |
uwe | Driver for Jornada 680 touch screen.
|
1.5.12.1 |
| 14-Aug-2005 |
riz | Pull up revisions 1.6-1.8 (requested by uwe in ticket #652): 1.6: Use __UNCONST to pass default calibration data to tpcalib_ioctl().
1.7: convert remaining autoconf bus "submatch" functions to use the new signature (passing locators), and remove some which obviously don't serve any purpose
1.8: Match HP 620LX. Tested by Christer Andersson.
XXX: platid_mask_MACH_HP_LX also matches 360LX. It's not confirmed whether touch panel in 360LX is connected in the same way. We may need to regroup platid masks.
|
1.5.2.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.5.2.5 |
| 24-Jan-2005 |
skrll | Adapt to branch.
|
1.5.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.5.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.5.2.2 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.5.2.1 |
| 28-May-2004 |
skrll | file j6x0tp.c was added on branch ktrace-lwp on 2004-08-03 10:35:28 +0000
|
1.7.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.7.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.7.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.10.14.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.10.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.10.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.10.6.1 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.10.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.11.8.1 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.11.6.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.15.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.16.10.2 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.16.10.1 |
| 26-Jun-2007 |
garbled | Sync with HEAD.
|
1.16.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.16.2.2 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.16.2.1 |
| 09-Jun-2007 |
ad | Sync with head.
|
1.20.10.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.21.16.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.22.18.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.22.12.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.22.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.23.78.1 |
| 02-Apr-2021 |
thorpej | config_found_ia() -> config_found() w/ CFARG_IATTR.
|
1.24.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|