Commit 76c81a56 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by James Bottomley

[PATCH] osst: don't use obsolete SCSI APIs

this patch gets rid of the need for scsi.h, similar to the recent patch
to the st driver.  (applies ontop of Willem's patches)
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: default avatarWillem Riede <osst@riede.org>
parent ff8f440f
This diff is collapsed.
...@@ -518,7 +518,7 @@ struct osst_buffer { ...@@ -518,7 +518,7 @@ struct osst_buffer {
int writing; int writing;
int midlevel_result; int midlevel_result;
int syscall_result; int syscall_result;
Scsi_Request *last_SRpnt; struct scsi_request *last_SRpnt;
unsigned char *b_data; unsigned char *b_data;
os_aux_t *aux; /* onstream AUX structure at end of each block */ os_aux_t *aux; /* onstream AUX structure at end of each block */
unsigned short use_sg; /* zero or number of s/g segments for this adapter */ unsigned short use_sg; /* zero or number of s/g segments for this adapter */
...@@ -531,7 +531,7 @@ struct osst_buffer { ...@@ -531,7 +531,7 @@ struct osst_buffer {
struct osst_tape { struct osst_tape {
struct scsi_driver *driver; struct scsi_driver *driver;
unsigned capacity; unsigned capacity;
Scsi_Device* device; struct scsi_device *device;
struct semaphore lock; /* for serialization */ struct semaphore lock; /* for serialization */
struct completion wait; /* for SCSI commands */ struct completion wait; /* for SCSI commands */
struct osst_buffer * buffer; struct osst_buffer * buffer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment