linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Eric Piel <Eric.Piel@tremplin-utc.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [1/2] IDE CD reports current speed
Date: Tue, 14 Jun 2005 07:47:52 +0200	[thread overview]
Message-ID: <20050614054752.GB1484@suse.de> (raw)
In-Reply-To: <42AE09BB.2090201@tremplin-utc.net>

On Tue, Jun 14 2005, Eric Piel wrote:
> Hello,
> 
> The current ide-cd driver reports the CDROM speed (as found in 
> /proc/sys/dev/cdrom/info) as the current speed when loading the driver. 
> Changing the speed of the cdrom drive (by "eject -x" for instance) 
> doesn't update the speed reported by the kernel. Updating the info could 
> be valuable for the user as it's the only way to know if the drive 
> accepted the request or discarded it. It could even be used to list all 
> the available speeds of the drive.
> 
> The attached patch modifies the ide-cd driver so that after every speed 
> change request the new speed is updated. Please note that the actual 
> modification is very little but I had to touch quite a few lines in 
> order to avoid to pre-declare the sub-functions.
> 
> Please, let me know if that sounds a good behaviour for the CDROM 
> interface. I hope you apply :-)

Looks sane, thanks.

-- 
Jens Axboe


      reply	other threads:[~2005-06-14  5:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-13 22:33 [PATCH] [1/2] IDE CD reports current speed Eric Piel
2005-06-14  5:47 ` Jens Axboe [this message]

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=20050614054752.GB1484@suse.de \
    --to=axboe@suse.de \
    --cc=Eric.Piel@tremplin-utc.net \
    --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;
as well as URLs for NNTP newsgroup(s).