From: Danny Kukawka <dkukawka@suse.de>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] ide: add "optical" to sysfs "media" attribute
Date: Mon, 2 Apr 2007 13:32:47 +0200 [thread overview]
Message-ID: <200704021332.48494.dkukawka@suse.de> (raw)
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";
}
next reply other threads:[~2007-04-02 11:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-02 11:32 Danny Kukawka [this message]
2007-04-04 19:38 ` [PATCH] ide: add "optical" to sysfs "media" attribute Bartlomiej Zolnierkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200704021332.48494.dkukawka@suse.de \
--to=dkukawka@suse.de \
--cc=bzolnier@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox