linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: albertl@mail.com
Cc: Jeff Garzik <jgarzik@pobox.com>,
	IDE Linux <linux-ide@vger.kernel.org>,
	Tejun Heo <htejun@gmail.com>, Doug Maxey <dwm@maxeymade.com>
Subject: Re: [PATCH 1/1] libata-dev: ata_check_atapi_dma() fix for ATA_FLAG_PIO_POLLING LLDDs
Date: Wed, 15 Mar 2006 10:54:30 -0500	[thread overview]
Message-ID: <441838B6.8060900@rtr.ca> (raw)
In-Reply-To: <44164C25.10106@tw.ibm.com>

Albert Lee wrote:
> Jeff Garzik wrote:
> 
>> Applied, though I think its an open question what happens with
>> CDB-interrupt ATAPI devices want to do DMA.  Perhaps we just get an
>> interrupt event that we clear, then life proceeds as normal.
> 
> Not sure. I have no such device at hand for test; currently relying
> on the SFF-8020i spec (http://www.bswd.com/sff8020i.pdf) as reference.
> According to p.31, we have to send out the CDB after receiving
> the CDB interrupt. So, just clearing the irq looks not enough.
> 
>> Does anybody actually have such a device anywhere?  :)
> 
> Maybe Alan or Mark knows? 
> 
> We really need tester for such device.

hdparm identifies them with "-I", but libata doesn't allow HDIO_DRIVE_CMD
on ATAPI (yet?), and I've not yet updated hdparm to use SGIO directly.

But I did have such devices here once, like this one below,
from my library of IDENTIFY dumps:

 >ATAPI CD-ROM, with removable media
 >        Model Number:       CD-ROM 36X/AKU
 >        Serial Number:
 >        Firmware Revision:  U10I
 >Standards:
 >        Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
 >        Supported: CD-ROM ATAPI-1
 >Configuration:
 >        DRQ response: <=10ms with INTRQ
 >        Packet size: 12 bytes
...

MMmm.. there's even a drive on the shelf here that might
be that exact unit.  I'll plug it in and see if it is.

-ml


  reply	other threads:[~2006-03-15 15:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13  7:57 [PATCH 1/1] libata-dev: ata_check_atapi_dma() fix for ATA_FLAG_PIO_POLLING LLDDs Albert Lee
2006-03-13  8:09 ` Jeff Garzik
2006-03-14  4:52   ` Albert Lee
2006-03-15 15:54     ` Mark Lord [this message]
2006-03-15 16:12       ` Mark Lord
2006-03-15 16:24         ` Mark Lord
2006-03-16  7:22           ` Albert Lee
2006-03-17  5:51             ` Mark Lord
2006-03-15 16:49         ` Mark Lord
2006-04-01 13:24           ` 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=441838B6.8060900@rtr.ca \
    --to=liml@rtr.ca \
    --cc=albertl@mail.com \
    --cc=dwm@maxeymade.com \
    --cc=htejun@gmail.com \
    --cc=jgarzik@pobox.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).