Commit:     a7a832de9e9624bcf069a5369c3c38ba2f44d460
Parent:     76ca1af10e28021e1894c5703da42b5e7bff1771
Author:     Danny Kukawka <[EMAIL PROTECTED]>
AuthorDate: Tue Apr 10 22:39:14 2007 +0200
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Tue Apr 10 22:39:14 2007 +0200

    ide: add "optical" to sysfs "media" attribute
    Add "optical" to sysfs "media" attribute as already in /proc
    Signed-off-by: Danny Kukawka <[EMAIL PROTECTED]>
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
 drivers/ide/ide.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index a6f098f..ae5bf2b 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";
                return "UNKNOWN";
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to