]> Git Repo - linux.git/commit - drivers/scsi/sr.h
[SCSI] sr: update to follow tray status correctly
authorJames Bottomley <[email protected]>
Sat, 5 Jan 2008 16:39:51 +0000 (10:39 -0600)
committerJames Bottomley <[email protected]>
Sat, 12 Jan 2008 00:29:17 +0000 (18:29 -0600)
commit210ba1d1724f5c4ed87a2ab1a21ca861a915f734
tree4b25acf59b91e2be49faf34507f3d9eeebff76a0
parent32e8ae36b8f80372015b88b63c4358a376c9af0f
[SCSI] sr: update to follow tray status correctly

Based on an original patch from: David Martin <[email protected]>

When trying to get the drive status via ioctl CDROM_DRIVE_STATUS, with
no disk it gives CDS_TRAY_OPEN even if the tray is closed.

ioctl works as expected with ide-cd driver.

Gentoo bug report: http://bugs.gentoo.org/show_bug.cgi?id=196879

Cc: Maarten Bressers <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
drivers/scsi/sr.c
drivers/scsi/sr.h
drivers/scsi/sr_ioctl.c
This page took 0.052604 seconds and 4 git commands to generate.