[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200704021332.48494.dkukawka@suse.de>
Date: Mon, 2 Apr 2007 13:32:47 +0200
From: Danny Kukawka <dkukawka@...e.de>
To: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] ide: add "optical" to sysfs "media" attribute
From: Danny Kukawka <dkukawka@...e.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@...e.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists