linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Paresh Sawant <p.Sawant@zensar.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org,
	linux-c-programming@vger.kernel.org
Subject: Re: struct to be passed to ioctl call for commanf HDIO_DRIVE_CMD
Date: Wed, 4 Dec 2002 11:25:36 +0200	[thread overview]
Message-ID: <20021204092536.GB1099@mea-ext.zmailer.org> (raw)
In-Reply-To: <54670264D99F034EA23CBB7D7A45AE7E5ECD@zenmail1.ind.zensar.com>

On Wed, Dec 04, 2002 at 02:38:18PM +0530, Paresh Sawant wrote:
> Hi!
>         I want to send ATA command to IDE hard disk driver using ioctl 
>	  with comand "HDIO_DRIVE_CMD", to do raw write to hard disk. 
>	  Which Struct i should pass to ioctl call as a third argument ?

  Read the source of  ide_cmd_ioctl()   at  drivers/ide/ide-taskfile.c
  Presently that is the only documentation on it.

> thanks 
> paresh

      reply	other threads:[~2002-12-04  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-04  9:08 struct to be passed to ioctl call for commanf HDIO_DRIVE_CMD Paresh Sawant
2002-12-04  9:25 ` Matti Aarnio [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=20021204092536.GB1099@mea-ext.zmailer.org \
    --to=matti.aarnio@zmailer.org \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p.Sawant@zensar.com \
    /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).