From e6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 20 Oct 2020 14:48:29 +0100 Subject: [iscsi] Allow iSCSI device to be described using an EFI device path Signed-off-by: Michael Brown --- src/net/tcp/iscsi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net') diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c index 3a44b90f0..e36d5619d 100644 --- a/src/net/tcp/iscsi.c +++ b/src/net/tcp/iscsi.c @@ -46,6 +46,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include #include #include +#include #include /** @file @@ -1863,6 +1864,7 @@ static struct interface_operation iscsi_control_op[] = { INTF_OP ( xfer_window, struct iscsi_session *, iscsi_scsi_window ), INTF_OP ( intf_close, struct iscsi_session *, iscsi_close ), INTF_OP ( acpi_describe, struct iscsi_session *, iscsi_describe ), + EFI_INTF_OP ( efi_describe, struct iscsi_session *, efi_iscsi_path ), }; /** iSCSI SCSI command-issuing interface descriptor */ -- cgit v1.2.3-55-g7522