From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Kantor Zsolt <kantorzsolt@yahoo.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: reset IOCTLs
Date: Tue, 04 Dec 2007 14:51:23 +0300 [thread overview]
Message-ID: <47553F3B.1090805@ru.mvista.com> (raw)
In-Reply-To: <43830.89479.qm@web35411.mail.mud.yahoo.com>
Hello.
Kantor Zsolt wrote:
> Can somebody tell me what is the difference between these reset commands (I'm developing an open
> source application and I would like to know this): one is in the cdrom.h (CDROMRESET - 0x5312),
This one seems to be handled only by discrete (non-IDE) CD-ROM drivers.
> and the second with the third are in the hdreg.h (HDIO_DRIVE_RESET - 0x031c,
This gets handled as the usual IDE reset, i.e. wia SRST bit of the device
control register.
> WIN_DEVICE_RESET - 0x08)
This is not an ioctl() at all but ATAPI Device Reset command which can be
use dto reset ATAPI device insted of the usual IDE reset.
> Thanks
> Kantor
MBR, Sergei
next prev parent reply other threads:[~2007-12-04 11:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 23:04 reset IOCTLs Kantor Zsolt
2007-12-04 11:51 ` Sergei Shtylyov [this message]
2007-12-04 18:21 ` Kantor Zsolt
2007-12-04 18:31 ` Sergei Shtylyov
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=47553F3B.1090805@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=kantorzsolt@yahoo.com \
--cc=linux-ide@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).