The NetBSD Project

CVS log for src/sys/dev/isa/nct.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / isa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:12 2021 UTC (21 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Merge thorpej-cfargs2.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 20:27:36 2021 UTC (21 months, 3 weeks ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Adapt to CFARGS().

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:55 2021 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

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?).

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:12 2021 UTC (2 years, 2 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

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.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:22 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.3.4.1: +653 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.3.4.1, Wed Apr 1 18:34:22 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.3: +0 -653 lines
FILE REMOVED

file nct.c was added on branch phil-wifi on 2020-04-13 08:04:22 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 1 18:34:22 2020 UTC (3 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-cfargs, phil-wifi
Changes since 1.2: +21 -33 lines
Diff to previous 1.2 (colored)

Newer PC Engines BIOS versions don't set up the Super I/O for GPIO the
way we want so ignore most of the existing settings and enable banks 0
and 1.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 16 15:38:43 2019 UTC (3 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.1: +11 -6 lines
Diff to previous 1.1 (colored)

PR port-i386/54701: deal with missing pmf platform keys.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 25 17:39:57 2019 UTC (3 years, 7 months ago) by martin
Branch: MAIN

Add support for Nuvoton NCT5104D GPIO chips, as found on PC Engines APU
systems. From Andrew Doran in PR kern/54648.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>