OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ca1af
)
ide: add "optical" to sysfs "media" attribute
author
Danny Kukawka
<dkukawka@suse.de>
Tue, 10 Apr 2007 20:39:14 +0000
(22:39 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 10 Apr 2007 20:39:14 +0000
(22:39 +0200)
Add "optical" to sysfs "media" attribute as already in /proc
Signed-off-by: Danny Kukawka <dkukawka@suse.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide.c
b/drivers/ide/ide.c
index
a6f098f
..
ae5bf2b
100644
(file)
--- 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";
}