Browse Source

ibft_fill_data() prototype change.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
9485478acc
2 changed files with 2 additions and 4 deletions
  1. 1
    3
      src/include/gpxe/ibft.h
  2. 1
    1
      src/tests/iscsiboot.c

+ 1
- 3
src/include/gpxe/ibft.h View File

4
 /* Placeholder file */
4
 /* Placeholder file */
5
 
5
 
6
 static inline int ibft_fill_data ( struct net_device *netdev __unused,
6
 static inline int ibft_fill_data ( struct net_device *netdev __unused,
7
-				   const char *initiator_iqn __unused,
8
-				   struct sockaddr_tcpip *st_target __unused,
9
-				   const char *target_iqn __unused ) {
7
+				   struct iscsi_session *iscsi __unused ) {
10
 	return 0;
8
 	return 0;
11
 }
9
 }
12
  
10
  

+ 1
- 1
src/tests/iscsiboot.c View File

35
 			 strerror ( rc ) );
35
 			 strerror ( rc ) );
36
 		return rc;
36
 		return rc;
37
 	}
37
 	}
38
-	ibft_fill_data ( netdev, initiator_iqn, target, target_iqn );
38
+	ibft_fill_data ( netdev, &test_iscsidev.iscsi );
39
 	memset ( &drive, 0, sizeof ( drive ) );
39
 	memset ( &drive, 0, sizeof ( drive ) );
40
 	drive.drive = drivenum;
40
 	drive.drive = drivenum;
41
 	drive.blockdev = &test_iscsidev.scsi.blockdev;
41
 	drive.blockdev = &test_iscsidev.scsi.blockdev;

Loading…
Cancel
Save