aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/efi
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-10-20 14:48:29 +0100
committerMichael Brown <mcb30@ipxe.org>2020-10-20 15:05:37 +0100
commite6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018 (patch)
tree31502aa34471a294cc0707faa6aaee2a69074635 /src/include/ipxe/efi
parent334f0074b1f50d522a701f79faf28dadbdc28362 (diff)
downloadipxe-e6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018.zip
ipxe-e6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018.tar.gz
ipxe-e6f9054d13bd9bc95720ca3e8cf6c4dcf4eae018.tar.bz2
[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')
-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 3921fce..3701976 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 );