projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/ide/ide.c
b/drivers/ide/ide.c
index a6f098fda884719b1b51b0341238a752d1b6d23d..ae5bf2be6f52b158597aadd6b57245b746824f43 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";
}