diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-08-02 04:24:39 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-08-02 04:24:39 +0100 |
commit | 0acb0168408c9e8e8fd843221bb57d1c3a39fb3d (patch) | |
tree | 901a5c2eefcba15c742d7b1cc1f3291e12feff6b /src/net/tcp | |
parent | 857c5db4dd7a87d3be40ad80c625896feca2e68a (diff) | |
download | ipxe-0acb0168408c9e8e8fd843221bb57d1c3a39fb3d.tar.gz |
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/tcp')
-rw-r--r-- | src/net/tcp/iscsi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c index e64591713..5d8639e7d 100644 --- a/src/net/tcp/iscsi.c +++ b/src/net/tcp/iscsi.c @@ -32,6 +32,7 @@ #include <gpxe/uaccess.h> #include <gpxe/tcpip.h> #include <gpxe/dhcp.h> +#include <gpxe/features.h> #include <gpxe/iscsi.h> /** @file @@ -40,6 +41,8 @@ * */ +FEATURE ( "iSCSI", DHCP_EB_FEATURE_ISCSI ); + /** iSCSI initiator name (explicitly specified) */ static char *iscsi_explicit_initiator_iqn; |