Re: [PATCH 1/1] libata-dev: ata_check_atapi_dma() fix for ATA_FLAG_PIO_POLLING LLDDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Lord wrote:
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.

Oh yeah, from experience I know that the interrupt and DRQ bit
are *NOT* synchronized with these devices.. I believe that the IRQ
sometimes arrives early, and sometimes late.

Reading the ATA status reg after the IRQ always clears the IRQ,
and is usually necessary for the transfer to continue.

The last time I did a full ATAPI driver, it used both periodic polling
and an IRQ handler to wait for (DRQ && !BUSY).

Cheers
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux