History log of /src/sys/dev/ic/spic.c |
Revision | | Date | Author | Comments |
1.22 |
| 10-Apr-2022 |
andvar | fix various typos in comments and output/log messages.
|
1.21 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.20 |
| 24-Apr-2021 |
thorpej | branches: 1.20.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.19 |
| 17-Oct-2013 |
christos | branches: 1.19.46; - remove unused variables - move variables inside ifdef sections - ifdef notdef unused code - use __USE for debugging variables
|
1.18 |
| 21-Apr-2010 |
dyoung | branches: 1.18.8; 1.18.18; 1.18.22; Don't printf bus_space_tag_t's in a MI driver.
|
1.17 |
| 24-Feb-2010 |
dyoung | branches: 1.17.2; A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
|
1.16 |
| 08-Jan-2010 |
dyoung | branches: 1.16.2; Expand PMF_FN_* macros.
|
1.15 |
| 04-May-2008 |
xtraeme | device_t/softc split for spic(4) and other related cosmetic changes.
|
1.14 |
| 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.13 |
| 08-Apr-2008 |
cegger | branches: 1.13.2; 1.13.4; use aprint_*_dev and device_xname
|
1.12 |
| 29-Feb-2008 |
dyoung | Use PMF_FN_ARGS, PMF_FN_PROTO.
|
1.11 |
| 17-Dec-2007 |
christos | branches: 1.11.2; 1.11.6; from jmcneill: suspend and resume handlers for spic.
|
1.10 |
| 09-Dec-2007 |
jmcneill | branches: 1.10.2; Merge jmcneill-pm branch.
|
1.9 |
| 19-Oct-2007 |
ad | branches: 1.9.4; 1.9.6; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.8 |
| 09-Jul-2007 |
ad | branches: 1.8.6; 1.8.8; 1.8.12; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.7 |
| 04-Mar-2007 |
christos | branches: 1.7.2; 1.7.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.6 |
| 16-Nov-2006 |
christos | branches: 1.6.4; __unused removal on arguments; approved by core.
|
1.5 |
| 12-Nov-2006 |
plunky | Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
1.4 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.3 |
| 20-Jun-2006 |
jmcneill | branches: 1.3.4; 1.3.6; Hook the lid switch, sleep button, and hibernate button into sysmon. This enables special Fn keys on Sony Vaio laptops.
|
1.2 |
| 12-Dec-2005 |
christos | branches: 1.2.4; 1.2.8; 1.2.16; more proc -> lwp
|
1.1 |
| 22-Apr-2002 |
augustss | branches: 1.1.6; 1.1.8; 1.1.30; Add a driver for the Sony SPIC that handles jog dials etc. This driver works on my SRX77, but probably little else. It makes the jog dial appear as a wsmouse.
|
1.1.30.6 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.1.30.5 |
| 21-Jan-2008 |
yamt | sync with head
|
1.1.30.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.1.30.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.1.30.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.1.30.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.1.8.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.1.8.1 |
| 22-Apr-2002 |
jdolecek | file spic.c was added on branch kqueue on 2002-06-23 17:46:51 +0000
|
1.1.6.2 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.1.6.1 |
| 22-Apr-2002 |
nathanw | file spic.c was added on branch nathanw_sa on 2002-06-20 03:45:03 +0000
|
1.2.16.1 |
| 13-Jul-2006 |
gdamore | Merge from HEAD.
|
1.2.8.1 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.2.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.3.6.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.3.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.3.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.6.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.7.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.7.2.2 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.7.2.1 |
| 01-Jul-2007 |
ad | Adapt to callout API change.
|
1.8.12.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.8.8.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.8.8.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.8.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.8.6.4 |
| 08-Dec-2007 |
jmcneill | Rename pnp(9) -> pmf(9), as requested by many.
|
1.8.6.3 |
| 06-Nov-2007 |
joerg | Refactor PNP API: - Make suspend/resume directly a device functionality. It consists of three layers (class logic, device logic, bus logic), all of them being optional. This replaces D0/D3 transitions. - device_is_active returns true if the device was not disabled and was not suspended (even partially), device_is_enabled returns true if the device was enabled. - Change pnp_global_transition into pnp_system_suspend and pnp_system_resume. Before running any suspend/resume handlers, check that all currently attached devices support power management and bail out otherwise. The latter is not done for the shutdown/panic case. - Make the former bus-specific generic network handlers a class handler. - Make PNP message like volume up/down/toogle PNP events. Each device can register what events they are interested in and whether the handler should be global or not. - Introduce device_active API for devices to mark themselve in use from either the system or the device. Use this to implement the idle handling for audio and input devices. This is intended to replace most ad-hoc watchdogs as well. - Fix somes situations in which audio resume would lose mixer settings. - Make USB host controllers better deal with suspend in the light of shared interrupts. - Flush filesystem cache on suspend. - Flush disk caches on suspend. Put ATA disks into standby on suspend as well. - Adopt drivers to use the new PNP API. - Fix a critical bug in the generic cardbus layer that made D0->D3 break. - Fix ral(4) to set if_stop. - Convert cbb(4) to the new PNP API. - Apply the PCI Express SCI fix on resume again.
|
1.8.6.2 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.8.6.1 |
| 09-Sep-2007 |
christos | Patch from jmcneill to make the brightness buttons work on my sony vgn-t250p.
|
1.9.6.1 |
| 11-Dec-2007 |
yamt | sync with head.
|
1.9.4.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.10.2.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.11.6.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.11.6.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.11.2.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.13.4.3 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.13.4.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.13.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.13.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.16.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.17.2.1 |
| 30-May-2010 |
rmind | sync with head
|
1.18.22.1 |
| 18-May-2014 |
rmind | sync with head
|
1.18.18.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.18.8.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.19.46.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.20.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|