summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/scsi.h
diff options
context:
space:
mode:
authorMichael Brown2007-07-08 23:01:49 +0200
committerMichael Brown2007-07-08 23:01:49 +0200
commitb94420a52bd2f19336b02bd431e80e59ff30d60b (patch)
tree55cab3f25ec7e2f2726682715146af67280b2298 /src/include/gpxe/scsi.h
parentCode in place to use a hypothetical SCSI interface. (diff)
downloadipxe-b94420a52bd2f19336b02bd431e80e59ff30d60b.tar.gz
ipxe-b94420a52bd2f19336b02bd431e80e59ff30d60b.tar.xz
ipxe-b94420a52bd2f19336b02bd431e80e59ff30d60b.zip
Ready to start testing
Diffstat (limited to 'src/include/gpxe/scsi.h')
-rw-r--r--src/include/gpxe/scsi.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/gpxe/scsi.h b/src/include/gpxe/scsi.h
index 9d5952da..e820117b 100644
--- a/src/include/gpxe/scsi.h
+++ b/src/include/gpxe/scsi.h
@@ -4,6 +4,7 @@
#include <stdint.h>
#include <gpxe/blockdev.h>
#include <gpxe/uaccess.h>
+#include <gpxe/refcnt.h>
/** @file
*
@@ -229,7 +230,7 @@ struct scsi_command {
* Must be zero if @c data_in is NULL
*/
size_t data_in_len;
- /** SCSI statua code */
+ /** SCSI status code */
uint8_t status;
/** SCSI sense response code */
uint8_t sense_response;
@@ -260,6 +261,8 @@ struct scsi_device {
*/
int ( * command ) ( struct scsi_device *scsi,
struct scsi_command *command );
+ /** Backing device */
+ struct refcnt *backend;
};
extern int init_scsidev ( struct scsi_device *scsi );