From: Danny Kukawka <[EMAIL PROTECTED]> Subject: ide: add "optical" to sysfs "media" attribute
Add "optical" to sysfs "media" attribute as already in /proc Signed-off-by: Danny Kukawka <[EMAIL PROTECTED]> --- 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/