summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2010-09-15 04:06:50 +0200
committerMichael Brown2010-09-15 04:17:30 +0200
commitbf2657075d2aa0b1aba5339de3779978f2136135 (patch)
tree6a19ef93a483e28aba5dc5765eee938def32fb00 /src/config
parent[fc] Add support for Fibre Channel devices (diff)
downloadipxe-bf2657075d2aa0b1aba5339de3779978f2136135.tar.gz
ipxe-bf2657075d2aa0b1aba5339de3779978f2136135.tar.xz
ipxe-bf2657075d2aa0b1aba5339de3779978f2136135.zip
[fc] Add Fibre Channel management commands
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_fc.c24
-rw-r--r--src/config/general.h1
2 files changed, 25 insertions, 0 deletions
diff --git a/src/config/config_fc.c b/src/config/config_fc.c
new file mode 100644
index 000000000..26d9bf427
--- /dev/null
+++ b/src/config/config_fc.c
@@ -0,0 +1,24 @@
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2, or (at
+ * your option) any later version.
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#include <config/general.h>
+
+/** @file
+ *
+ * Fibre Channel configuration options
+ *
+ */
+
+/*
+ * Drag in Fibre Channel-specific commands
+ *
+ */
+#ifdef FCMGMT_CMD
+REQUIRE_OBJECT ( fcmgmt_cmd );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index 623138f55..ee7f9034d 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -112,6 +112,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define CONFIG_CMD /* Option configuration console */
#define IFMGMT_CMD /* Interface management commands */
#define IWMGMT_CMD /* Wireless interface management commands */
+#define FCMGMT_CMD /* Fibre Channel management commands */
#define ROUTE_CMD /* Routing table management commands */
#define IMAGE_CMD /* Image management commands */
#define DHCP_CMD /* DHCP management commands */