Home | History | Annotate | Download | only in hpc
History log of /src/sys/arch/sgimips/hpc/pi1ppc.c
RevisionDateAuthorComments
 1.17  01-Nov-2022  andvar s/varaible/variable/ and s/varible/variable/ in comments.
 1.16  03-Dec-2021  andvar fix various typos in comments, log messages and documentation.
 1.15  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.14  24-Apr-2021  thorpej branches: 1.14.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.13  27-Dec-2019  msaitoh branches: 1.13.10;
s/transfered/transferred/
 1.12  13-Jul-2014  dholland branches: 1.12.28;
"peripheral", not "peripherial".
 1.11  01-Jul-2011  dyoung branches: 1.11.12; 1.11.26;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.10  09-Jun-2011  rmind Convert simple_lock/ltsleep to mutex/condvar and malloc to kmem.
 1.9  16-Feb-2011  jmcneill branches: 1.9.2;
validate cf_name in driver match method
 1.8  25-Jan-2011  tsutsui u_intNN_t -> uintNN_t
 1.7  16-Dec-2008  christos branches: 1.7.6; 1.7.8; 1.7.10;
replace bitmask_snprintf(9) with snprintb(3)
 1.6  22-Apr-2008  cegger branches: 1.6.2; 1.6.10;
Make this build again. From Hans Rosenfeld.
 1.5  18-Apr-2008  cegger branches: 1.5.2;
Fix panics at boot and some other misc bugs. From Hans Rosenfeld.
 1.4  16-Apr-2008  cegger device_t / softc split. From Hans Rosenfeld.
 1.3  16-Apr-2008  cegger ppbus device_t / softc splitting. From Hans Rosenfeld.
 1.2  04-Mar-2007  christos branches: 1.2.40;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.1  28-Dec-2005  kurahone branches: 1.1.18; 1.1.28;
Added support for the IP22 IOC's parallel port (PI1).

Code contributed by Joe Britt.

Reviewed by <sekiya> and <kurahone>.
 1.1.28.1  12-Mar-2007  rmind Sync with HEAD.
 1.1.18.3  03-Sep-2007  yamt sync with head.
 1.1.18.2  21-Jun-2006  yamt sync with head.
 1.1.18.1  28-Dec-2005  yamt file pi1ppc.c was added on branch yamt-lazymbuf on 2006-06-21 14:55:29 +0000
 1.2.40.2  17-Jan-2009  mjf Sync with HEAD.
 1.2.40.1  02-Jun-2008  mjf Sync with HEAD.
 1.5.2.1  18-May-2008  yamt sync with head.
 1.6.10.1  19-Jan-2009  skrll Sync with HEAD.
 1.6.2.1  04-May-2009  yamt sync with head.
 1.7.10.2  17-Feb-2011  bouyer Sync with HEAD
 1.7.10.1  08-Feb-2011  bouyer Sync with HEAD
 1.7.8.1  06-Jun-2011  jruoho Sync with HEAD.
 1.7.6.2  12-Jun-2011  rmind sync with head
 1.7.6.1  05-Mar-2011  rmind sync with head
 1.9.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.11.26.1  10-Aug-2014  tls Rebase.
 1.11.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.28.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.13.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.14.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed