diff options
author | Ed Lin <ed.lin@promise.com> | 2007-05-09 20:50:33 -0800 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-16 12:40:21 -0400 |
commit | e0b2e597d5dd8c4f3778545f65c29a9c6aba0e3a (patch) | |
tree | f76de32a617fed858e9acdc0ac4085a998ad6b72 /crypto/anubis.c | |
parent | 5af23d263c33a3f6fc93facfd87d2a091eff2060 (diff) | |
download | blackbird-op-linux-e0b2e597d5dd8c4f3778545f65c29a9c6aba0e3a.tar.gz blackbird-op-linux-e0b2e597d5dd8c4f3778545f65c29a9c6aba0e3a.zip |
[SCSI] stex: fix id mapping issue
The correct internal mapping of stex controllers should be:
id:0~15, lun:0~7 (st_shasta)
id:0, lun:0~127 (st_yosemite)
id:0~127, lun:0 (st_vsc and st_vsc1)
This patch reports the internal mapping to scsi mid layer, eliminating
the translation between scsi mid layer and firmware. To achieve this
goal, we also need to:
-- fail the REPORT_LUNS command for st_shasta because the
firmware is known to not report all actual luns
-- add an entry in scsi_devindo.c to force sequential lun scan
(for st_shasta controllers)
-- fail the REPORT_LUNS command for console device
-- remove special handling of REPORT_LUNS command for
st_yosemite, as there is no translation mapping now
Signed-off-by: Ed Lin <ed.lin@promise.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'crypto/anubis.c')
0 files changed, 0 insertions, 0 deletions