diff options
author | James Bottomley <James.Bottomley@SteelEye.com> | 2007-12-02 18:10:40 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-12 01:22:50 +0100 |
commit | 001aac257cf8adbe90cdcba6e07f8d12dfc8fa6b (patch) | |
tree | 0eb6294049245e05f47fdb76e3f878c78c015d88 /include/asm-alpha/msgbuf.h | |
parent | [SCSI] BUG_ON() impossible condition in sg list counting (diff) | |
download | linux-001aac257cf8adbe90cdcba6e07f8d12dfc8fa6b.tar.xz linux-001aac257cf8adbe90cdcba6e07f8d12dfc8fa6b.zip |
[SCSI] sd,sr: add early detection of medium not present
The current scsi_test_unit_ready() is updated to return sense code
information (in struct scsi_sense_hdr). The sd and sr drivers are
changed to interpret the sense code return asc 0x3a as no media and
adjust the device status accordingly.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/asm-alpha/msgbuf.h')
0 files changed, 0 insertions, 0 deletions