diff options
author | Michael Brown | 2020-10-19 15:42:11 +0200 |
---|---|---|
committer | Michael Brown | 2020-10-19 15:45:49 +0200 |
commit | 04cb17de505317db56623b8b4d07b242dec35256 (patch) | |
tree | f5dbde17ed38df51f3c47c173c2466a42c0dd9a4 /src/include/ipxe/efi/efi_path.h | |
parent | [efi] Provide utility function to concatenate device paths (diff) | |
download | ipxe-04cb17de505317db56623b8b4d07b242dec35256.tar.gz ipxe-04cb17de505317db56623b8b4d07b242dec35256.tar.xz ipxe-04cb17de505317db56623b8b4d07b242dec35256.zip |
[aoe] Allow AoE device to be described using an EFI device path
There is no standard defined for AoE device paths in the UEFI
specification, and it seems unlikely that any standard will be adopted
in future.
Choose to construct an AoE device path using a concatenation of the
network device path and a SATA device path, treating the AoE major and
minor numbers as the HBA port number and port multiplier port number
respectively.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h index b27441d0..3921fcee 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 aoe_device; struct usb_function; extern EFI_DEVICE_PATH_PROTOCOL * @@ -24,6 +25,7 @@ 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_aoe_path ( struct aoe_device *aoedev ); extern EFI_DEVICE_PATH_PROTOCOL * efi_usb_path ( struct usb_function *func ); extern EFI_DEVICE_PATH_PROTOCOL * efi_describe ( struct interface *interface ); |