]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Extend efi_locate_device() to allow searching up the device path
authorMichael Brown <mcb30@ipxe.org>
Mon, 23 Jan 2023 19:15:45 +0000 (19:15 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 23 Jan 2023 19:27:13 +0000 (19:27 +0000)
commit2fef0c541e4e2417fc285c4d9ddfcb6f23f394ad
treea81c522bfe50ab496e0aa078a95f6cb4e2cbd0ba
parent1cd0a248cc54a8b2fadc0d2c287d2f3528b749b4
[efi] Extend efi_locate_device() to allow searching up the device path

Extend the functionality of efi_locate_device() to allow callers to
find instances of the protocol that may exist further up the device
path.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/efi/nii.c
src/drivers/net/efi/snponly.c
src/include/ipxe/efi/efi_utils.h
src/interface/efi/efi_utils.c