[Concept,05/20] efi: Add all messaging types for device paths
Commit Message
From: Simon Glass <sjg@chromium.org>
Fill out the rest of these values from the spec, so that we can (later)
provide a more useful summary for the user.
Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
---
include/efi_api.h | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
@@ -643,20 +643,34 @@ struct efi_device_path_acpi_path {
u32 uid;
} __packed;
-#define DEVICE_PATH_TYPE_MESSAGING_DEVICE 0x03
+# define DEVICE_PATH_TYPE_MESSAGING_DEVICE 0x03
# define DEVICE_PATH_SUB_TYPE_MSG_ATAPI 0x01
# define DEVICE_PATH_SUB_TYPE_MSG_SCSI 0x02
+# define DEVICE_PATH_SUB_TYPE_MSG_FIREWIRE 0x03
+# define DEVICE_PATH_SUB_TYPE_MSG_1394 0x04
# define DEVICE_PATH_SUB_TYPE_MSG_USB 0x05
+# define DEVICE_PATH_SUB_TYPE_MSG_I2O 0x06
+# define DEVICE_PATH_SUB_TYPE_MSG_INFINIBAND 0x09
+# define DEVICE_PATH_SUB_TYPE_MSG_VENDOR 0x0a
# define DEVICE_PATH_SUB_TYPE_MSG_MAC_ADDR 0x0b
# define DEVICE_PATH_SUB_TYPE_MSG_IPV4 0x0c
+# define DEVICE_PATH_SUB_TYPE_MSG_IPV6 0x0d
# define DEVICE_PATH_SUB_TYPE_MSG_UART 0x0e
# define DEVICE_PATH_SUB_TYPE_MSG_USB_CLASS 0x0f
# define DEVICE_PATH_SUB_TYPE_MSG_USB_WWI 0x10
# define DEVICE_PATH_SUB_TYPE_MSG_SATA 0x12
+# define DEVICE_PATH_SUB_TYPE_MSG_ISCSI 0x13
+# define DEVICE_PATH_SUB_TYPE_MSG_VLAN 0x14
+# define DEVICE_PATH_SUB_TYPE_MSG_FIBRECHAN 0x15
+# define DEVICE_PATH_SUB_TYPE_MSG_FIBRECHAN_EX 0x16
# define DEVICE_PATH_SUB_TYPE_MSG_NVME 0x17
# define DEVICE_PATH_SUB_TYPE_MSG_URI 0x18
# define DEVICE_PATH_SUB_TYPE_MSG_SD 0x1a
# define DEVICE_PATH_SUB_TYPE_MSG_MMC 0x1d
+# define DEVICE_PATH_SUB_TYPE_MSG_SAS 0x22
+# define DEVICE_PATH_SUB_TYPE_MSG_SAS_EX 0x23
+# define DEVICE_PATH_SUB_TYPE_MSG_UFS 0x19
+# define DEVICE_PATH_SUB_TYPE_MSG_EMMC 0x1c
struct efi_device_path_atapi {
struct efi_device_path dp;