[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:
Piotr Jaroszyński
2010-05-28 01:09:22 +02:00
committed by Michael Brown
parent ddef2e1bc1
commit d60cbe43b7
4 changed files with 257 additions and 0 deletions

View File

@@ -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