Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286523
b: refs/heads/master
c: ce13617
h: refs/heads/master
i:
  286521: d860e10
  286519: 5cfda1c
v: v3
  • Loading branch information
Roland Dreier authored and Nicholas Bellinger committed Dec 14, 2011
1 parent a9cedab commit c103a66
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ced38c8c00962c9b6c1fcd330572406162d150b9
refs/heads/master: ce136176fea522fc8f4c16dcae7e8ed1d890ca39
12 changes: 12 additions & 0 deletions trunk/drivers/target/target_core_cdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@ target_emulate_inquiry_std(struct se_cmd *cmd)
}
buf[2] = dev->transport->get_device_rev(dev);

/*
* NORMACA and HISUP = 0, RESPONSE DATA FORMAT = 2
*
* SPC4 says:
* A RESPONSE DATA FORMAT field set to 2h indicates that the
* standard INQUIRY data is in the format defined in this
* standard. Response data format values less than 2h are
* obsolete. Response data format values greater than 2h are
* reserved.
*/
buf[3] = 2;

/*
* Enable SCCS and TPGS fields for Emulated ALUA
*/
Expand Down

0 comments on commit c103a66

Please sign in to comment.