diff options
| author | Michael Brown | 2020-10-20 15:48:29 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-10-20 16:05:37 +0200 |
| commit | e6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018 (patch) | |
| tree | 31502aa34471a294cc0707faa6aaee2a69074635 /src/net/tcp | |
| parent | [efi] Show block device ACPI table contents only at DBGLVL_EXTRA (diff) | |
| download | ipxe-e6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018.tar.gz ipxe-e6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018.tar.xz ipxe-e6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018.zip | |
[iscsi] Allow iSCSI device to be described using an EFI device path
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/tcp')
| -rw-r--r-- | src/net/tcp/iscsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <ipxe/base16.h> #include <ipxe/base64.h> #include <ipxe/ibft.h> +#include <ipxe/efi/efi_path.h> #include <ipxe/iscsi.h> /** @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 */ |
