From: James Bottomley Date: Sat, 5 Jan 2008 16:39:51 +0000 (-0600) Subject: [SCSI] sr: update to follow tray status correctly X-Git-Tag: v2.6.25-rc1~1230^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=210ba1d1724f5c4ed87a2ab1a21ca861a915f734;p=pandora-kernel.git [SCSI] sr: update to follow tray status correctly Based on an original patch from: David Martin 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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed