mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
[linux] Add the tap driver
Add the tap driver that can be used like: $ ./ipxe.linux --net tap,if=tap0,mac=00:0c:29:c5:39:a1 The if setting is mandatory. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
ddef2e1bc1
commit
d60cbe43b7
@@ -263,3 +263,8 @@ REQUIRE_OBJECT ( gdbstub_cmd );
|
||||
*/
|
||||
REQUIRE_OBJECT ( device );
|
||||
REQUIRE_OBJECT ( embedded );
|
||||
|
||||
/* linux drivers aren't picked up by the parserom utility so drag them in here */
|
||||
#ifdef DRIVERS_LINUX
|
||||
REQUIRE_OBJECT ( tap );
|
||||
#endif
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#define NAP_LINUX
|
||||
#define SMBIOS_LINUX
|
||||
|
||||
#define DRIVERS_LINUX
|
||||
|
||||
#define IMAGE_SCRIPT
|
||||
|
||||
#endif /* CONFIG_DEFAULTS_LINUX_H */
|
||||
|
||||
Reference in New Issue
Block a user