Add placeholder ibft.h
authorMichael Brown <mcb30@etherboot.org>
Fri, 8 Dec 2006 16:16:21 +0000 (16:16 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 8 Dec 2006 16:16:21 +0000 (16:16 +0000)
src/include/gpxe/ibft.h [new file with mode: 0644]
src/tests/iscsiboot.c

diff --git a/src/include/gpxe/ibft.h b/src/include/gpxe/ibft.h
new file mode 100644 (file)
index 0000000..ad44c7f
--- /dev/null
@@ -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 */
index f751eb4..3432890 100644 (file)
@@ -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;