summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-07-08 20:33:26 +0200
committerMichael Brown2007-07-08 20:33:26 +0200
commitedd1b173a7702104eeac1c028632ff6eebc10023 (patch)
treecd4ba63d4d6511438e0db5b1a12fcea4ef57461a /src/include
parentEverything except the SCSI interface should now be present (diff)
downloadipxe-edd1b173a7702104eeac1c028632ff6eebc10023.tar.gz
ipxe-edd1b173a7702104eeac1c028632ff6eebc10023.tar.xz
ipxe-edd1b173a7702104eeac1c028632ff6eebc10023.zip
Code in place to use a hypothetical SCSI interface.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/iscsi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gpxe/iscsi.h b/src/include/gpxe/iscsi.h
index 7c2e4b18a..03fc0641e 100644
--- a/src/include/gpxe/iscsi.h
+++ b/src/include/gpxe/iscsi.h
@@ -589,6 +589,11 @@ struct iscsi_session {
* Set to NULL when command is complete.
*/
struct scsi_command *command;
+ /** SCSI command return code
+ *
+ * Set to -EINPROGRESS while command is processing.
+ */
+ int rc;
/** Instant return code
*
* Set to a non-zero value if all requests should return