summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2006-12-08 17:16:21 +0100
committerMichael Brown2006-12-08 17:16:21 +0100
commit72b1629cee585d8aed339dcf8cb7272034b7a72c (patch)
treef692ddefd019a95d774a7dd1ff6598e88697fbac
parentUse root-path option (as per RFC 4173) rather than filename option to (diff)
downloadipxe-72b1629cee585d8aed339dcf8cb7272034b7a72c.tar.gz
ipxe-72b1629cee585d8aed339dcf8cb7272034b7a72c.tar.xz
ipxe-72b1629cee585d8aed339dcf8cb7272034b7a72c.zip
Add placeholder ibft.h
-rw-r--r--src/include/gpxe/ibft.h13
-rw-r--r--src/tests/iscsiboot.c4
2 files changed, 13 insertions, 4 deletions
diff --git a/src/include/gpxe/ibft.h b/src/include/gpxe/ibft.h
new file mode 100644
index 000000000..ad44c7f79
--- /dev/null
+++ b/src/include/gpxe/ibft.h
@@ -0,0 +1,13 @@
+#ifndef _GPXE_IBFT_H
+#define _GPXE_IBFT_H
+
+/* Placeholder file */
+
+static inline int ibft_fill_data ( struct net_device *netdev __unused,
+ const char *initiator_iqn __unused,
+ struct sockaddr_tcpip *st_target __unused,
+ const char *target_iqn __unused ) {
+ return 0;
+}
+
+#endif /* _GPXE_IBFT_H */
diff --git a/src/tests/iscsiboot.c b/src/tests/iscsiboot.c
index f751eb460..3432890e3 100644
--- a/src/tests/iscsiboot.c
+++ b/src/tests/iscsiboot.c
@@ -3,9 +3,7 @@
#include <vsprintf.h>
#include <gpxe/netdevice.h>
#include <gpxe/iscsi.h>
-#if 0
#include <gpxe/ibft.h>
-#endif
#include <int13.h>
static struct iscsi_device test_iscsidev;
@@ -35,9 +33,7 @@ int test_iscsiboot ( const char *initiator_iqn,
printf ( "Could not reach %s\n", target_iqn );
return rc;
}
-#if 0
ibft_fill_data ( netdev, initiator_iqn, target, target_iqn );
-#endif
memset ( &drive, 0, sizeof ( drive ) );
drive.drive = drivenum;
drive.blockdev = &test_iscsidev.scsi.blockdev;