|
|
36520b |
From ebc0b14923faa8da19dbdc2501a6fef0728906a1 Mon Sep 17 00:00:00 2001
|
|
|
36520b |
From: Peter Jones <pjones@redhat.com>
|
|
|
36520b |
Date: Mon, 1 Oct 2018 14:27:04 -0400
|
|
|
36520b |
Subject: [PATCH 36/39] dp-acpi: fix HID vs HID_EX formatting bug.
|
|
|
36520b |
|
|
|
36520b |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
36520b |
---
|
|
|
36520b |
src/dp-acpi.c | 7 ++++++-
|
|
|
36520b |
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
|
36520b |
|
|
|
36520b |
diff --git a/src/dp-acpi.c b/src/dp-acpi.c
|
|
|
36520b |
index 6f3e94443e5..019f910c164 100644
|
|
|
36520b |
--- a/src/dp-acpi.c
|
|
|
36520b |
+++ b/src/dp-acpi.c
|
|
|
36520b |
@@ -157,7 +157,9 @@ _format_acpi_dn(char *buf, size_t size, const_efidp dp)
|
|
|
36520b |
return off;
|
|
|
36520b |
}
|
|
|
36520b |
}
|
|
|
36520b |
- } else if (dp->subtype == EFIDP_ACPI_HID_EX) {
|
|
|
36520b |
+ } else if (dp->subtype == EFIDP_ACPI_HID) {
|
|
|
36520b |
+ debug("formatting ACPI HID 0x%08x", dp->acpi_hid.hid);
|
|
|
36520b |
+
|
|
|
36520b |
switch (dp->acpi_hid.hid) {
|
|
|
36520b |
case EFIDP_ACPI_PCI_ROOT_HID:
|
|
|
36520b |
format(buf, size, off, "PciRoot",
|
|
|
36520b |
@@ -249,6 +251,9 @@ _format_acpi_dn(char *buf, size_t size, const_efidp dp)
|
|
|
36520b |
return -1;
|
|
|
36520b |
}
|
|
|
36520b |
}
|
|
|
36520b |
+ } else {
|
|
|
36520b |
+ debug("Unknown ACPI device path type {0x%04hhx,0x%04hhx}",
|
|
|
36520b |
+ dp->type, dp->subtype);
|
|
|
36520b |
}
|
|
|
36520b |
|
|
|
36520b |
return off;
|
|
|
36520b |
--
|
|
|
36520b |
2.17.1
|
|
|
36520b |
|