Messages in this thread Patch in this message | | | From | Danny Kukawka <> | Subject | [PATCH] ide: add "optical" to sysfs "media" attribute | Date | Mon, 2 Apr 2007 13:32:47 +0200 |
| |
From: Danny Kukawka <dkukawka@suse.de> Subject: ide: add "optical" to sysfs "media" attribute
Add "optical" to sysfs "media" attribute as already in /proc
Signed-off-by: Danny Kukawka <dkukawka@suse.de> --- linux-2.6.21-rc1/drivers/ide/ide.c 2007-03-21 14:07:18.000000000 +0100 +++ linux-2.6.21-rc1/drivers/ide/ide.c 2007-03-21 14:09:39.000000000 +0100 @@ -1952,6 +1952,8 @@ return "tape"; case ide_floppy: return "floppy"; + case ide_optical: + return "optical"; default: return "UNKNOWN"; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |