On Mon, Feb 09, 2015 at 12:02:43AM +0100, Rafael J. Wysocki wrote:
On Monday, February 09, 2015 12:20:03 AM Suravee Suthikulpanit wrote:
Device drivers typically use ACPI _HIDs/_CIDs listed in struct device_driver acpi_match_table to match devices. However, for generic drivers, we do not want to list _HID for all supported devices, and some device classes do not have _CID (e.g. SATA, USB). Instead, we can leverage ACPI _CLS, which specifies PCI-defined class code (i.e. base-class, subclass and programming interface).
This patch adds support for matching ACPI devices using the _CLS method.
Signed-off-by: Suravee Suthikulpanit Suravee.Suthikulpanit@amd.com
Greg, Mika, any problems with this?
None from me:
Acked-by: Greg Kroah-Hartman gregkh@linuxfoundation.org