History log of /src/sys/arch/arm/iomd/qms.c |
Revision | | Date | Author | Comments |
1.22 |
| 27-Sep-2022 |
skrll | Remove unnecessary sys/malloc.h include
|
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 |
| 16-Oct-2019 |
maya | branches: 1.19.10; Switch files copyright Reinoud Zandijk from BSD 4 clause to BSD 2 clause.
OK'd by reinoud in email (from 4 Feb 2019).
|
1.18 |
| 14-May-2012 |
skrll | branches: 1.18.40; device_t/softc split struct device * -> device_t struct cfdata * -> cfdata_t Use aprint*
|
1.17 |
| 10-May-2012 |
skrll | u_int*_t -> uint*_t
|
1.16 |
| 01-Jul-2011 |
dyoung | branches: 1.16.2; 1.16.6; #include <sys/bus.h> instead of <machine/bus.h>.
|
1.15 |
| 10-May-2008 |
martin | Backout previous: the license sweep touched these files in error, so restore the old license.
|
1.14 |
| 28-Apr-2008 |
martin | branches: 1.14.2; Remove clause 3 and 4 from TNF licenses
|
1.13 |
| 17-Oct-2007 |
garbled | 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.12 |
| 09-Jul-2007 |
ad | branches: 1.12.10; 1.12.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.11 |
| 04-Mar-2007 |
christos | branches: 1.11.2; 1.11.4; 1.11.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.10 |
| 12-Nov-2006 |
plunky | branches: 1.10.4; Tidy away wsmouse_input() abstractions and update documentation to include the W direction.
|
1.9 |
| 05-Aug-2006 |
bjh21 | branches: 1.9.4; 1.9.6; ANSIfy, un-__P, and generally KNF.
|
1.8 |
| 11-Dec-2005 |
christos | branches: 1.8.4; 1.8.8; merge ktrace-lwp.
|
1.7 |
| 13-Mar-2004 |
bjh21 | branches: 1.7.16; Rename wsqms(4) to qms(4), since the "ws" is redundant now. While I'm here, bundle it all into a single file, qms.c, replacing wsqms.c, wsqms_iomd.c, and wsqmsvar.h.
|
1.6 |
| 13-Mar-2004 |
bjh21 | Remove busmouse(4) drivers. Everyone should be using wsmouse(4) these days.
|
1.5 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.4 |
| 26-Nov-2002 |
christos | branches: 1.4.6; si_ -> sel_
|
1.3 |
| 23-Oct-2002 |
jdolecek | merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
1.2 |
| 06-Sep-2002 |
gehenna | branches: 1.2.2; Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.1 |
| 05-Oct-2001 |
reinoud | branches: 1.1.4; 1.1.6; 1.1.14; Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These files still need a lot of cleaning up :( .... esp. the RC7500 support that is still dormant in it; this needs either to be removed or split out for RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
|
1.1.14.1 |
| 17-May-2002 |
gehenna | Add device switch.
|
1.1.6.5 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.1.6.4 |
| 02-Oct-2002 |
jdolecek | do not need the (void *) cast for kn_hook anymore
|
1.1.6.3 |
| 17-Jun-2002 |
jdolecek | provide kqfilter hooks XXX not tested
|
1.1.6.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.1.6.1 |
| 05-Oct-2001 |
thorpej | file qms.c was added on branch kqueue on 2002-01-10 19:38:14 +0000
|
1.1.4.4 |
| 11-Dec-2002 |
thorpej | Sync with HEAD.
|
1.1.4.3 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.1.4.2 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.1.4.1 |
| 05-Oct-2001 |
nathanw | file qms.c was added on branch nathanw_sa on 2002-09-17 21:13:31 +0000
|
1.2.2.1 |
| 24-Oct-2002 |
bjh21 | Sync with trunk.
|
1.4.6.5 |
| 13-Jan-2005 |
skrll | Adapt to branch
|
1.4.6.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.4.6.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.4.6.2 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.4.6.1 |
| 03-Jul-2003 |
wrstuden | lwp-ify a lot of the arm drivers. Needed to get acorn32/GENERIC compiling.
|
1.7.16.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.7.16.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.7.16.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.8.8.1 |
| 11-Aug-2006 |
yamt | sync with head
|
1.8.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.9.6.1 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.9.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.10.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.11.10.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.11.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.11.2.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.12.12.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.12.10.1 |
| 01-Jan-2008 |
chris | Sync with HEAD.
|
1.14.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.16.6.1 |
| 02-Jun-2012 |
mrg | sync to latest -current.
|
1.16.2.1 |
| 23-May-2012 |
yamt | sync with head.
|
1.18.40.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.19.10.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().
|