summaryrefslogtreecommitdiffstats
path: root/src/Makefile.efi
diff options
context:
space:
mode:
authorMichael Brown2024-03-22 16:30:45 +0100
committerMichael Brown2024-03-25 18:58:33 +0100
commitdcad73ca5ad3e1fe011c52a24036f67ad69fadc1 (patch)
treeecb05e55a634d6d63cc46f6f3a02eb3930e30eb6 /src/Makefile.efi
parent[efi] Allow for drivers to be located via child handles (diff)
downloadipxe-dcad73ca5ad3e1fe011c52a24036f67ad69fadc1.tar.gz
ipxe-dcad73ca5ad3e1fe011c52a24036f67ad69fadc1.tar.xz
ipxe-dcad73ca5ad3e1fe011c52a24036f67ad69fadc1.zip
[efi] Add support for driving EFI_MANAGED_NETWORK_PROTOCOL devices
We want exclusive access to the network device, both for performance reasons and because we perform operations such as EAPoL that affect the entire link. We currently drive the network card via either a native hardware driver or via the SNP or NII/UNDI interfaces, both of which grant us this exclusive access. Add an alternative driver that drives the network card non-exclusively via the EFI_MANAGED_NETWORK_PROTOCOL interface. This can function as a fallback for situations where neither SNP nor NII/UNDI interfaces are functional, and also opens up the possibility of non-destructively installing a temporary network device over which to download the autoexec.ipxe script. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.efi')
-rw-r--r--src/Makefile.efi4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.efi b/src/Makefile.efi
index 6e8ad46b..95ecf386 100644
--- a/src/Makefile.efi
+++ b/src/Makefile.efi
@@ -23,9 +23,9 @@ NON_AUTO_MEDIA += efidrv
NON_AUTO_MEDIA += drv.efi
NON_AUTO_MEDIA += efirom
-# Include SNP driver in the all-drivers build
+# Include SNP and MNP drivers in the all-drivers build
#
-DRIVERS_net += snp
+DRIVERS_net += snp mnp
# Rules for building EFI files
#