summaryrefslogtreecommitdiffstats
path: root/src/net/aoe.c
diff options
context:
space:
mode:
authorMichael Brown2007-08-02 05:24:39 +0200
committerMichael Brown2007-08-02 05:24:39 +0200
commit0acb0168408c9e8e8fd843221bb57d1c3a39fb3d (patch)
tree901a5c2eefcba15c742d7b1cc1f3291e12feff6b /src/net/aoe.c
parentfix gcc 4.2.1 warning: discards qualifiers from pointer target type (diff)
downloadipxe-0acb0168408c9e8e8fd843221bb57d1c3a39fb3d.tar.gz
ipxe-0acb0168408c9e8e8fd843221bb57d1c3a39fb3d.tar.xz
ipxe-0acb0168408c9e8e8fd843221bb57d1c3a39fb3d.zip
Add FEATURE() macro, plus code to display features at startup time,
and generate DHCP options to indicate features to DHCP server (and to PXE NBPs).
Diffstat (limited to 'src/net/aoe.c')
-rw-r--r--src/net/aoe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/aoe.c b/src/net/aoe.c
index fd82665d..5536ae8d 100644
--- a/src/net/aoe.c
+++ b/src/net/aoe.c
@@ -31,6 +31,7 @@
#include <gpxe/ata.h>
#include <gpxe/netdevice.h>
#include <gpxe/process.h>
+#include <gpxe/features.h>
#include <gpxe/aoe.h>
/** @file
@@ -39,6 +40,8 @@
*
*/
+FEATURE ( "AoE", DHCP_EB_FEATURE_AOE );
+
struct net_protocol aoe_protocol;
/** List of all AoE sessions */