From: Jeff Garzik <jeff@garzik.org>
To: Mark Lord <liml@rtr.ca>, albertl@mail.com
Cc: Linux IDE <linux-ide@vger.kernel.org>, Doug Maxey <dwm@enoyolf.org>
Subject: Re: [PATCH 1/6] libata: update protocol numbers
Date: Fri, 15 Jun 2007 10:45:30 -0400 [thread overview]
Message-ID: <4672A60A.80206@garzik.org> (raw)
In-Reply-To: <466C7BDF.9030805@rtr.ca>
Mark Lord wrote:
> Jeff Garzik wrote:
>> Albert Lee wrote:
>>> Patch 1/6:
>>> Update the ATA passthru protocol numbers according to the new spec.
>>>
>>> Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
>>
>> applied 1-4, 6 to #upstream-fixes
>
> What about this one: [PATCH 5/6] libata: support ATAPI devices ??
>
> I'm quite happy to let Albert run with that,
> as he's busily maintaining the rest of the passthrough stuff.
I answered this a month or so ago, but between your lost mail and my
apparently-lossy Sent folder, it would probably be worth re-answering:
Rather than sprinkling "is it ata or atapi?" tests throughout the
libata-scsi hotpaths, I would strongly prefer that
__ata_scsi_queuecmd() change to look more like
if (device is ATA)
xlat_func = ata_get_xlat_func()
if (xlat_func)
ata_scsi_translate()
else
ata_scsi_simulate()
else
xlat_func = atapi_get_xlat_func()
if (xlat_func)
atapi_scsi_translate()
else
atapi_scsi_simulate()
and then make the changes that logically fall from that.
Jeff
next prev parent reply other threads:[~2007-06-15 14:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-07 7:44 [PATCH 0/6] libata: ATA passthru fixes Albert Lee
2007-06-07 7:47 ` [PATCH 1/6] libata: update protocol numbers Albert Lee
2007-06-10 2:46 ` Jeff Garzik
2007-06-10 3:12 ` Jeff Garzik
2007-06-10 22:31 ` Mark Lord
2007-06-15 14:45 ` Jeff Garzik [this message]
2007-06-07 7:49 ` [PATCH 2/6] libata: support PIO multi commands Albert Lee
2007-06-07 7:50 ` [PATCH 3/6] libata: map UDMA protocols Albert Lee
2007-06-07 7:52 ` [PATCH 4/6] libata: always enforce correct DEV bit Albert Lee
2007-06-07 7:59 ` [PATCH 5/6] libata: support ATAPI devices Albert Lee
2007-06-07 8:01 ` [PATCH 6/6] libata: update cached device paramters Albert Lee
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=4672A60A.80206@garzik.org \
--to=jeff@garzik.org \
--cc=albertl@mail.com \
--cc=dwm@enoyolf.org \
--cc=liml@rtr.ca \
--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).