summaryrefslogtreecommitdiffstats
path: root/src/config/config.c
diff options
context:
space:
mode:
authorPiotr Jaroszyński2010-05-28 01:09:22 +0200
committerMichael Brown2010-08-19 14:12:53 +0200
commitd60cbe43b74d06e3a2a41f3f9565430b456b86bc (patch)
tree47240d42101884de8658e568e5f18833326c5a4a /src/config/config.c
parent[linux] Add command line arguments (diff)
downloadipxe-d60cbe43b74d06e3a2a41f3f9565430b456b86bc.tar.gz
ipxe-d60cbe43b74d06e3a2a41f3f9565430b456b86bc.tar.xz
ipxe-d60cbe43b74d06e3a2a41f3f9565430b456b86bc.zip
[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>
Diffstat (limited to 'src/config/config.c')
-rw-r--r--src/config/config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 561e53d4..cb66e164 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -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