The NetBSD Project

CVS log for src/sys/dev/acpi/xhci_acpi.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:09 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-altq-separation-base, thorpej-altq-separation, 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
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Merge thorpej-cfargs2.

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 17:24:17 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Adapt to CFARGS().

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:52 2021 UTC (2 years, 11 months 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.11: +5 -4 lines
Diff to previous 1.11 (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.9.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:43 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.9.2.1: +14 -11 lines
Diff to previous 1.9.2.1 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:09 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored) next main 1.12 (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.11 / (download) - annotate - [select for diffs], Fri Jan 29 15:49:55 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.10: +14 -11 lines
Diff to previous 1.10 (colored)

Use acpi_compatible_match().

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:05 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Sync w/ HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 7 10:02:51 2020 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Fix 32-bit build.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 27 13:50:57 2020 UTC (3 years, 5 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.8: +12 -6 lines
Diff to previous 1.8 (colored)

Report HW DMA capability and if the DMA tag limits it.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 24 08:55:23 2020 UTC (3 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

Fix DMA size reporting.  Previously it could report 64bit DMA when the tag
wasn't available (and it fell back to 32bit tag)

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

Mostly merge changes from HEAD upto 20200411

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:07 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.5.4.1: +3 -2 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 31 23:12:13 2020 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Match HID 808622B7 (DesignWare USB3)

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:45 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.5: +5 -10 lines
Diff to previous 1.5 (colored)

Sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 21 11:29:17 2020 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.5: +5 -10 lines
Diff to previous 1.5 (colored)

Choose between dmat and dmat64, instead of relying on subregion of the 32-bit tag

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 22 19:35:40 2019 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, 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, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.4: +10 -4 lines
Diff to previous 1.4 (colored)

Use bus_dmatag_subregion to get a 32-bit tag

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 19 13:40:23 2019 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +12 -3 lines
Diff to previous 1.3 (colored)

Conditionally use a 32- or 64-bit DMA tag based on HCCPARAMS

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:05 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.3.4.1: +156 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.3.4.1, Sat Feb 16 23:28:56 2019 UTC (5 years, 1 month ago) by christos
Branch: phil-wifi
Changes since 1.3: +0 -156 lines
FILE REMOVED

file xhci_acpi.c was added on branch phil-wifi on 2019-06-10 22:07:05 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 16 23:28:56 2019 UTC (5 years, 1 month ago) by tron
Branch: MAIN
CVS Tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Fix cut & paste error in comment

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:30 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.2.1: +156 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.2.2.1, Fri Nov 16 23:18:17 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +0 -156 lines
FILE REMOVED

file xhci_acpi.c was added on branch pgoyette-compat on 2018-11-26 01:52:30 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 16 23:18:17 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Branch point for: pgoyette-compat
Changes since 1.1: +6 -5 lines
Diff to previous 1.1 (colored)

Use acpi_intr_establish

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 26 23:33:38 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN

Add xhci at acpi glue

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>