diff options
author | jhb <jhb@FreeBSD.org> | 2016-07-23 17:41:47 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-07-23 17:41:47 +0000 |
commit | 876fac0db641623bff3fda866239798202e6a0d3 (patch) | |
tree | 0f5ed2326a0ee740dd2d730a7617017188c9b774 /contrib/diff/src/side.c | |
parent | 46354a4b7a2ac3c8657be258c0fb2ab3f73e273c (diff) | |
download | FreeBSD-src-876fac0db641623bff3fda866239798202e6a0d3.zip FreeBSD-src-876fac0db641623bff3fda866239798202e6a0d3.tar.gz |
MFC 298370,298372,298377,298379,298380,298484:
Abstract out _OSC handling and invoke it for PCI bridges.
r298370:
Add a wrapper for evaluating _OSC methods.
This wrapper does not translate errors in the first word to ACPI
error status returns. Use this wrapper in the acpi_cpu(4) driver in
place of the existing _OSC code. While here, fix a bug where the wrong
count of words was passed when invoking _OSC.
r298372:
Invoke _OSC on Host-PCI bridges.
Tell the firmware that we support PCI-express config space access
and MSI.
r298377:
Remove query flag from acpi_EvaluateOSC(). This function does not support
return buffer (yet).
r298379:
There is no need to use array any more. No functional change.
r298380:
Prefer sizeof(*pointer) over sizeof(type). No funtional change.
r298484:
Optionally return the output capabilities list from _OSC.
Both of the callers were expecting the input cap_set to be modified.
This fixes them to request cap_set to be updated with the returned buffer.
Diffstat (limited to 'contrib/diff/src/side.c')
0 files changed, 0 insertions, 0 deletions