summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/efi_path.h
diff options
context:
space:
mode:
authorMichael Brown2020-10-20 15:48:29 +0200
committerMichael Brown2020-10-20 16:05:37 +0200
commite6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018 (patch)
tree31502aa34471a294cc0707faa6aaee2a69074635 /src/include/ipxe/efi/efi_path.h
parent[efi] Show block device ACPI table contents only at DBGLVL_EXTRA (diff)
downloadipxe-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/include/ipxe/efi/efi_path.h')
-rw-r--r--src/include/ipxe/efi/efi_path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h
index 3921fcee..37019760 100644
--- a/src/include/ipxe/efi/efi_path.h
+++ b/src/include/ipxe/efi/efi_path.h
@@ -15,6 +15,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
struct net_device;
struct uri;
+struct iscsi_session;
struct aoe_device;
struct usb_function;
@@ -25,6 +26,8 @@ extern EFI_DEVICE_PATH_PROTOCOL * efi_paths ( EFI_DEVICE_PATH_PROTOCOL *first,
... );
extern EFI_DEVICE_PATH_PROTOCOL * efi_netdev_path ( struct net_device *netdev );
extern EFI_DEVICE_PATH_PROTOCOL * efi_uri_path ( struct uri *uri );
+extern EFI_DEVICE_PATH_PROTOCOL *
+efi_iscsi_path ( struct iscsi_session *iscsi );
extern EFI_DEVICE_PATH_PROTOCOL * efi_aoe_path ( struct aoe_device *aoedev );
extern EFI_DEVICE_PATH_PROTOCOL * efi_usb_path ( struct usb_function *func );