Home | History | Annotate | Download | only in ibus
History log of /src/sys/arch/pmax/ibus/sii.c
RevisionDateAuthorComments
 1.16  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.15  24-Jul-2021  andvar branches: 1.15.2;
Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.
 1.14  24-Apr-2021  thorpej branches: 1.14.2;
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.13  12-Dec-2016  maya branches: 1.13.30;
acknowleg -> acknowledg, proceedure -> procedure.
only comments were changed.

from miod
 1.12  20-Jun-2016  maya branches: 1.12.2;
Fix DEBUG build
While here, if DIAGNOSTIC panic to KASSERTMSG.

ok mlelstv@
 1.11  10-Nov-2013  christos branches: 1.11.6;
fix unused variable warnings
 1.10  09-Jul-2011  matt branches: 1.10.2; 1.10.12; 1.10.16;
Cleanu <machine/*> includes
 1.9  04-Jun-2011  tsutsui Split device_t/softc. No crash during device attach on GXemul.
 1.8  18-Mar-2009  cegger branches: 1.8.4; 1.8.6; 1.8.10;
Ansify function definitions w/o arguments. Generated with sed.
 1.7  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.6  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.5  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.4  17-Oct-2007  garbled branches: 1.4.20; 1.4.28; 1.4.34;
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.3  14-Jul-2007  ad branches: 1.3.10;
This has been stuffed since 2006-04-17 - unbreak it.
 1.2  29-Jul-2006  ad branches: 1.2.14; 1.2.22;
Remove RASTERCONSOLE support from the pmax port.
 1.1  15-Mar-2002  ad branches: 1.1.2; 1.1.18; 1.1.28; 1.1.32;
file sii.c was initially added on branch ad_pmax_wscons.
 1.1.32.1  11-Aug-2006  yamt sync with head
 1.1.28.1  09-Sep-2006  rpaulo sync with head
 1.1.18.2  03-Sep-2007  yamt sync with head.
 1.1.18.1  30-Dec-2006  yamt sync with head.
 1.1.2.1  15-Mar-2002  ad Changes necessary for wscons on NetBSD/pmax. All device support is here,
just needs further testing.
 1.2.22.1  03-Oct-2007  garbled Sync with HEAD
 1.2.14.1  15-Jul-2007  ad Sync with head.
 1.3.10.1  06-Nov-2007  matt sync with HEAD
 1.4.34.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.4.28.1  28-Apr-2009  skrll Sync with HEAD.
 1.4.20.1  04-May-2009  yamt sync with head.
 1.8.10.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.8.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.8.4.1  12-Jun-2011  rmind sync with head
 1.10.16.1  18-May-2014  rmind sync with head
 1.10.12.2  03-Dec-2017  jdolecek update from HEAD
 1.10.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.2.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.11.6.2  05-Feb-2017  skrll Sync with HEAD
 1.11.6.1  09-Jul-2016  skrll Sync with HEAD
 1.12.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.13.30.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.14.2.1  01-Aug-2021  thorpej Sync with HEAD.
 1.15.2.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed