summaryrefslogtreecommitdiff
path: root/utils/fwparam_ibft/fwparam_ibft.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-11-26 02:04:54 -0600
committerMike Christie <michaelc@cs.wisc.edu>2008-11-26 05:37:48 -0600
commit8b840585f5b89380113b54123afc17953d39d44e (patch)
tree20365246774bd5d842f670735807c5abe8a10e32 /utils/fwparam_ibft/fwparam_ibft.h
parent55598cfa27966d90c30f243171e17c4905ee2755 (diff)
downloadopen-iscsi-8b840585f5b89380113b54123afc17953d39d44e.tar.gz
ibft: add support to use iscsi_ibft module and log into all portals found in firmware
This adds the ibft sysfs module (iscsi_ibft) parsing support. It was original done by Konard, but I have ported it to use the sysfs.c helpers (add new ones and ported iscsi_sysfs.c too). This patch also modifies iscsistart and iscsiadm to print/log into all the portals found in firmware. It also changes the behavior of iscsiadm -m discovery -t fw so that we create db records for what is found. It is not fully hooked into the iface code, so it will use the different inititor name, but it will not create a iface for it (this means that if you have a record for the same portal that is bound to a iface with a iname you can run into problems).
Diffstat (limited to 'utils/fwparam_ibft/fwparam_ibft.h')
-rw-r--r--utils/fwparam_ibft/fwparam_ibft.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/utils/fwparam_ibft/fwparam_ibft.h b/utils/fwparam_ibft/fwparam_ibft.h
index 90ecb17..679bc4a 100644
--- a/utils/fwparam_ibft/fwparam_ibft.h
+++ b/utils/fwparam_ibft/fwparam_ibft.h
@@ -145,14 +145,5 @@ extern char filename[FILENAMESZ];
extern int debug;
extern int dev_count;
-/*
- * Prefix strings, for the "prefixN:NAME=value".
- */
-#define NETWORK "network"
-#define INITIATOR "iscsi-initiator"
-#define TARGET "target"
-
extern int fwparam_ibft(struct boot_context *context, const char *filepath);
-extern int fwparam_ppc(struct boot_context *context, const char *filepath);
-
#endif /* FWPARAM_IBFT_H_ */