acpi: add device tree attributes from _CLS if available
means B_DEVICE_TYPE, B_DEVICE_SUB_TYPE, B_DEVICE_INTERFACE. _CLS is rare, it means I don't own devices with this attribute. from the spec: _CLS: Class Code – supplies OSPM with the PCI-defined class, subclass and programming interface for a device. Optional. Change-Id: I4f7b7ed66cbe6b4ff4511cb13df2af218350a5d8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7210 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
@@ -253,7 +253,7 @@ struct acpi_module_info {
|
||||
size_t resultLength);
|
||||
|
||||
status_t (*get_device_info)(const char *path, char** hid,
|
||||
char** cidList, size_t cidListLength, char** uid);
|
||||
char** cidList, size_t cidListLength, char** uid, char** cls);
|
||||
uint32 (*get_object_type)(const char *path);
|
||||
status_t (*get_object)(const char *path,
|
||||
acpi_object_type **_returnValue);
|
||||
|
||||
Reference in New Issue
Block a user