Commit ad66b0cb authored by James Bottomley's avatar James Bottomley

osst: error handling updates

From: 	Willem Riede <osst@riede.org>

important error handling improvements that I've made as the result of
problem reports.
signed-off-by: default avatarWillem Riede <osst@riede.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 97a18d92
This diff is collapsed.
...@@ -70,7 +70,7 @@ typedef struct { ...@@ -70,7 +70,7 @@ typedef struct {
#define BLOCK_SIZE_PAGE_LENGTH 4 #define BLOCK_SIZE_PAGE_LENGTH 4
#define BUFFER_FILLING_PAGE 0x33 #define BUFFER_FILLING_PAGE 0x33
#define BUFFER_FILLING_PAGE_LENGTH #define BUFFER_FILLING_PAGE_LENGTH 4
#define VENDOR_IDENT_PAGE 0x36 #define VENDOR_IDENT_PAGE 0x36
#define VENDOR_IDENT_PAGE_LENGTH 8 #define VENDOR_IDENT_PAGE_LENGTH 8
...@@ -577,6 +577,7 @@ struct osst_tape { ...@@ -577,6 +577,7 @@ struct osst_tape {
int min_block; int min_block;
int max_block; int max_block;
int recover_count; /* from tape opening */ int recover_count; /* from tape opening */
int abort_count;
int write_count; int write_count;
int read_count; int read_count;
int recover_erreg; /* from last status call */ int recover_erreg; /* from last status call */
......
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