git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32e8ae3
)
[SCSI] sr: update to follow tray status correctly
author
James Bottomley
<James.Bottomley@HansenPartnership.com>
Sat, 5 Jan 2008 16:39:51 +0000
(10:39 -0600)
committer
James Bottomley
<James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:29:17 +0000
(18:29 -0600)
Based on an original patch from: David Martin <tasio@tasio.net>
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 <mbres@gentoo.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
No differences found