diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index e4633b84c556a9a431d8a3183ea515a66314e460..7815ed642d434ccbcd6e886628fb448d6ab9014f 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c @@ -220,6 +220,8 @@ static unsigned int sr_get_events(struct scsi_device *sdev) return DISK_EVENT_EJECT_REQUEST; else if (med->media_event_code == 2) return DISK_EVENT_MEDIA_CHANGE; + else if (med->media_event_code == 3) + return DISK_EVENT_EJECT_REQUEST; return 0; }