The NetBSD Project

CVS log for src/sys/dev/fdt/virtio_mmio_fdt.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Oct 22 02:57:23 2021 UTC (3 years, 1 month ago) by yamaguchi
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5 lines
rename "setup_interrupts" to "alloc_interrupts"
in virtio_mmio and virtio_acpi

This should fix build failure on evbarm.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:10 2021 UTC (3 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Merge thorpej-cfargs2.

Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 18:24:14 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3 lines
Adapt to CFARGS().

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:53 2021 UTC (3 years, 7 months ago) by thorpej
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
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.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:44 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +13 -23 lines
Sync with HEAD.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 27 01:41:43 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +4 -4 lines
- config_found_ia() -> config_found().
- virtio only carries a single interface attribute, so no need to
  specify it explicitly.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jan 27 03:10:21 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -6 lines
Rename of_match_compat_data() to of_compatible_match().  Similarly,
rename of_search_compatible() to of_compatible_lookup().

Standardize on of_compatible_match() for driver matching, and adapt
all call sites.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 20 21:59:48 2021 UTC (3 years, 10 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -8 lines
Remove the virtio child driver finalisation check KASSERT that, while it
should never trigger, a possible bug in a child driver shouldn't have to panic
the kernel. Instead report the internal error.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jan 20 19:46:48 2021 UTC (3 years, 10 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -11 lines
Add VirtIO PCI v1.0 attachments and fix the drivers affected.

The vioif, ld, scsi, viornd and viomb devices were adjusted when needed and
tested both in legacy 0.9 and v1.0 attachments trough PCI on amd64, sparc64,
aarch64 and aarch64-eb. ACPI/FDT attachments also tested on
aarch64/aarch64-eb.

Known issues

* viomb on aarch64 works only with ACPI/FDT attachment but not with PCI
  attachment. PCI and ACPI/FDT attachment works on aarch64-eb.

* virtio on sparc64 attaches but is it not functioning though not a
  regression.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jan 15 22:35:39 2021 UTC (3 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4 lines
use fdtbus_intr_establish_xname

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:08 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +3 -3 lines
Sync with HEAD

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:49 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +3 -3 lines
Ssync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 29 15:56:25 2018 UTC (6 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Fix 64-bit build

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:49 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +191 -0 lines
Sync with HEAD

Revision 1.2.2.1
Fri Jun 15 17:13:43 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.2: +0 -191 lines
file virtio_mmio_fdt.c was added on branch pgoyette-compat on 2018-06-25 07:25:49 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jun 15 17:13:43 2018 UTC (6 years, 5 months ago) by jakllsch
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -5 lines
Add cfprint_t virtiobusprint() and use it for virtio_mmio.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 6 20:35:36 2018 UTC (6 years, 6 months ago) by jakllsch
Branches: MAIN
Add Virtio MMIO transport.

Adapted in part from OpenBSD.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>