The NetBSD Project

CVS log for src/sys/arch/evbmips/mipssim/virtio_mainbus.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / evbmips / mipssim

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 3 07:53:56 2021 UTC (15 months ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

Catch up with member renaming

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 7 16:18:51 2021 UTC (18 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Merge thorpej-cfargs2.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 03:24:21 2021 UTC (18 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Adapt to CFARGS().

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:35 2021 UTC (21 months, 2 weeks 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.1: +5 -5 lines
Diff to previous 1.1 (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.1.4.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:23 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.1.4.1: +172 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sat Mar 27 01:41:43 2021 UTC (22 months, 1 week ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

- config_found_ia() -> config_found().
- virtio only carries a single interface attribute, so no need to
  specify it explicitly.

Revision 1.1.4.1, Mon Feb 15 22:39:46 2021 UTC (23 months, 3 weeks ago) by thorpej
Branch: thorpej-futex
Changes since 1.1: +0 -172 lines
FILE REMOVED

file virtio_mainbus.c was added on branch thorpej-futex on 2021-04-03 22:28:23 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 15 22:39:46 2021 UTC (23 months, 3 weeks ago) by reinoud
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-futex, thorpej-cfargs

Add VirtIO devices to the MIPSSIM target for use in Qemu. Its supported by a
local patch starting at Qemu-5.1.0nb12

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>