Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
833d1fa7
Commit
833d1fa7
authored
Jul 31, 2013
by
Victor Kotlyar
Browse files
minor fixes for LOG SENSE CDB and senseBuff size
parent
002959e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Drive/Drive.hh
View file @
833d1fa7
...
...
@@ -135,7 +135,7 @@ namespace Tape {
std
::
vector
<
std
::
string
>
ret
;
/* We don't know how many elements we'll get. Prepare a 100 parameters array */
SCSI
::
Structures
::
tapeAlertLogPage_t
<
100
>
tal
;
unsigned
char
senseBuff
[
25
6
];
unsigned
char
senseBuff
[
25
5
];
SCSI
::
Structures
::
logSenseCDB_t
cdb
;
cdb
.
pageCode
=
SCSI
::
logSensePages
::
tapeAlert
;
SCSI
::
Structures
::
LinuxSGIO_t
sgh
;
...
...
SCSI/Structures.hh
View file @
833d1fa7
...
...
@@ -225,13 +225,16 @@ namespace SCSI {
unsigned
char
opCode
;
unsigned
char
SP
:
1
;
unsigned
char
:
7
;
unsigned
char
PPC
:
1
;
unsigned
char
:
6
;
unsigned
char
pageCode
:
6
;
unsigned
char
PC
:
2
;
unsigned
char
subPage
;
unsigned
char
reserved
;
unsigned
char
parameterPointer
[
2
];
unsigned
char
allocationLength
[
2
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment