diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 13:47:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 13:47:24 -0500 |
commit | 2152f8536668a957ea3214735b4761e7b22ef7d8 (patch) | |
tree | 56723fc51445b1bc930c6400d4c00fd6fc831f88 /drivers/scsi/osst.h | |
parent | 7cae7e26f245151b9ccad868bf2edf8c8048d307 (diff) | |
parent | 30afc84cf7325e88fb9746340eba3c161080ff49 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (138 commits)
[SCSI] libata: implement minimal transport template for ->eh_timed_out
[SCSI] eliminate rphy allocation in favour of expander/end device allocation
[SCSI] convert mptsas over to end_device/expander allocations
[SCSI] allow displaying and setting of cache type via sysfs
[SCSI] add scsi_mode_select to scsi_lib.c
[SCSI] 3ware 9000 add big endian support
[SCSI] qla2xxx: update MAINTAINERS
[SCSI] scsi: move target_destroy call
[SCSI] fusion - bump version
[SCSI] fusion - expander hotplug suport in mptsas module
[SCSI] fusion - exposing raid components in mptsas
[SCSI] fusion - memory leak, and initializing fields
[SCSI] fusion - exclosure misspelled
[SCSI] fusion - cleanup mptsas event handling functions
[SCSI] fusion - removing target_id/bus_id from the VirtDevice structure
[SCSI] fusion - static fix's
[SCSI] fusion - move some debug firmware event debug msgs to verbose level
[SCSI] fusion - loginfo header update
[SCSI] add scsi_reprobe_device
[SCSI] megaraid_sas: fix extended timeout handling
...
Diffstat (limited to 'drivers/scsi/osst.h')
-rw-r--r-- | drivers/scsi/osst.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/scsi/osst.h b/drivers/scsi/osst.h index b72e1c76f52c..011d4d6ca9f9 100644 --- a/drivers/scsi/osst.h +++ b/drivers/scsi/osst.h | |||
@@ -518,7 +518,8 @@ struct osst_buffer { | |||
518 | int writing; | 518 | int writing; |
519 | int midlevel_result; | 519 | int midlevel_result; |
520 | int syscall_result; | 520 | int syscall_result; |
521 | struct scsi_request *last_SRpnt; | 521 | struct osst_request *last_SRpnt; |
522 | struct st_cmdstatus cmdstat; | ||
522 | unsigned char *b_data; | 523 | unsigned char *b_data; |
523 | os_aux_t *aux; /* onstream AUX structure at end of each block */ | 524 | os_aux_t *aux; /* onstream AUX structure at end of each block */ |
524 | unsigned short use_sg; /* zero or number of s/g segments for this adapter */ | 525 | unsigned short use_sg; /* zero or number of s/g segments for this adapter */ |
@@ -626,6 +627,15 @@ struct osst_tape { | |||
626 | struct gendisk *drive; | 627 | struct gendisk *drive; |
627 | } ; | 628 | } ; |
628 | 629 | ||
630 | /* scsi tape command */ | ||
631 | struct osst_request { | ||
632 | unsigned char cmd[MAX_COMMAND_SIZE]; | ||
633 | unsigned char sense[SCSI_SENSE_BUFFERSIZE]; | ||
634 | int result; | ||
635 | struct osst_tape *stp; | ||
636 | struct completion *waiting; | ||
637 | }; | ||
638 | |||
629 | /* Values of write_type */ | 639 | /* Values of write_type */ |
630 | #define OS_WRITE_DATA 0 | 640 | #define OS_WRITE_DATA 0 |
631 | #define OS_WRITE_EOD 1 | 641 | #define OS_WRITE_EOD 1 |