Skip to content
Commit 001aac25 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[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: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 4a03d90e
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