History log of /src/sys/arch/hpcarm/dev/j720kbd.c |
Revision | | Date | Author | Comments |
1.8 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.7 |
| 24-Apr-2021 |
thorpej | branches: 1.7.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.6 |
| 29-May-2009 |
rjs | branches: 1.6.78; Make the following changes:
struct device * -> device_t struct cfdata * -> cfdata_t printf -> aprint_ device_t/softc split
|
1.5 |
| 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.4 |
| 07-Oct-2006 |
peter | branches: 1.4.24; 1.4.52; 1.4.54; 1.4.56; Remove the config hook for handling the lcd light, this is now handled by the powerhooks.
|
1.3 |
| 27-Jun-2006 |
peter | branches: 1.3.4; 1.3.6; 1.3.8; Hide the bit invertion/shifting of values received from and send to the MCU inside the j720ssp_readwrite function. This simplifies the calls to this function a little.
|
1.2 |
| 12-Jun-2006 |
peter | branches: 1.2.2; 1.2.4; Don't pass the size of struct device to CFATTACH_DECL because it's obviously too small! Use the softc instead. And while here, remove sc_ih from the softc, it's not used at all.
|
1.1 |
| 04-Mar-2006 |
peter | branches: 1.1.2; 1.1.8; 1.1.10; Split the Jornada 7xx drivers for the touch-panel, keyboard, lcd control and power management into multiple files. This removes some dirty hacks and improves the quality of the code.
- j720kbd.c - keyboard driver * Converted to use the hpckbd(4) interface. * Remove the old keymap file since it's no longer used.
- j720lcd.c - lcd brightness/control/power control
- j720pwr.c - power management * Converted to use the hpcapm(4) interface. * Fix the battery charge status. The values are non-linear so in order to display a reasonable charge status we use a few charge points in a table and interpolate between that.
- j720tp.c - touch-panel driver
- j720ssp.c - SSP port (on the SA-1110)
Many thanks to cube@ and uwe@ for providing useful feedback and reviewing the changes.
|
1.1.10.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.1.8.2 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.1.8.1 |
| 04-Mar-2006 |
simonb | file j720kbd.c was added on branch simonb-timecounters on 2006-04-22 11:37:28 +0000
|
1.1.2.2 |
| 11-Aug-2006 |
yamt | sync with head
|
1.1.2.1 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.2.4.3 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.2.4.2 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.2.4.1 |
| 12-Jun-2006 |
yamt | file j720kbd.c was added on branch yamt-lazymbuf on 2006-06-21 14:51:44 +0000
|
1.2.2.1 |
| 13-Jul-2006 |
gdamore | Merge from HEAD.
|
1.3.8.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.3.6.2 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.3.6.1 |
| 27-Jun-2006 |
rpaulo | file j720kbd.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:39:38 +0000
|
1.3.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.4.56.2 |
| 20-Jun-2009 |
yamt | sync with head
|
1.4.56.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.4.54.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.4.52.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.4.24.1 |
| 06-Oct-2007 |
rjs | Switch to new interrupt code.
|
1.6.78.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.7.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|