]> git.karo-electronics.de Git - linux-beck.git/commit
PCI/ACPI: Split _OSC "support" and "control" flags into separate variables
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Sep 2013 21:07:42 +0000 (15:07 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 23 Sep 2013 23:40:46 +0000 (17:40 -0600)
commitb8eb67fcc4548b9f0d00bbfd1c0c8f72d8018900
tree9146dd8b2c6227e5db5c982e51c788224708ef96
parent3e43abb012d45dc284ef9a0fb0cea0fb004b5607
PCI/ACPI: Split _OSC "support" and "control" flags into separate variables

Previously we used "flags" for both:

  - the bitmask of features we support (segments, ASPM, MSI, etc.), and
  - the bitmask of features we want to control (native hotplug, AER, etc.)

To reduce confusion, this patch splits this into two variables:
"support" is the bitmask of features we support, and "control" is the
bitmask of features we want to control.  No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c