summaryrefslogtreecommitdiff
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-11 04:22:31 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-11 04:22:31 +0400
commit8bd51cce98aa80ff8b56d34a0e48316c5f887818 (patch)
tree76735fa7f5767fa379f30399a9bd048a3bbf3fc3 /drivers/ide/ide.c
parent9631eb0bc18bc1fd1cc84e535260d67ed6a36865 (diff)
parenta7a832de9e9624bcf069a5369c3c38ba2f44d460 (diff)
downloadlinux-8bd51cce98aa80ff8b56d34a0e48316c5f887818.tar.xz
Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6: ide: add "optical" to sysfs "media" attribute ide: ugly messages trying to open CD drive with no media present ide: correctly prevent IDE timer expiry function to run if request was already handled
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index a6f098fda884..ae5bf2be6f52 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -1962,6 +1962,8 @@ static char *media_string(ide_drive_t *drive)
return "tape";
case ide_floppy:
return "floppy";
+ case ide_optical:
+ return "optical";
default:
return "UNKNOWN";
}