All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Mark Lord <liml@rtr.ca>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] libata: shelved ioctl-get-identity patch
Date: Mon, 06 Jun 2005 12:24:30 -0400	[thread overview]
Message-ID: <42A478BE.1010907@pobox.com> (raw)
In-Reply-To: <42A472AC.8040307@rtr.ca>

Mark Lord wrote:
> For now, "hdparm -I" works just fine using HDIO_DRIVE_CMD,
> but if somebody could show me how to use ATA PASSTHRU,
> then I'll port it over to that.

Use the SG_IO ioctl to send ATA passthru CDBs.  Passthru CDBs are 
defined in the T10 "SAT" specification.

blktool should have example code ;-)

	Jeff

      reply	other threads:[~2005-06-06 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-04  4:30 [PATCH] libata: shelved ioctl-get-identity patch Jeff Garzik
2005-06-06 15:58 ` Mark Lord
2005-06-06 16:24   ` Jeff Garzik [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=42A478BE.1010907@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.