mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-18 21:43:14 +00:00
Add placeholder ibft.h
This commit is contained in:
parent
9aa3e10d7c
commit
72b1629cee
13
src/include/gpxe/ibft.h
Normal file
13
src/include/gpxe/ibft.h
Normal file
@ -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 */
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user