Skip to contentSkip to conversation

ide: add "optical" to sysfs "media" attribute

PATCH Applied Danny Kukawka 2 participants 2 messages Apr 2, 2007 – Apr 4, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ide: add "optical" to sysfs "media" attribute

From: Danny Kukawka <[email protected]>
Subject: ide: add "optical" to sysfs "media" attribute

Add "optical" to sysfs "media" attribute as already in /proc

drivers/ide/ide.c +2 -0
@@ -1952,6 +1952,8 @@
 		return "tape";
 	case ide_floppy:
 		return "floppy";
+	case ide_optical:
+		return "optical";
 	default:
 		return "UNKNOWN";
 	}