Re: [PATCH/RFC] libata: turn on the ATAPI DMA DIR support per word 62

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

 



Albert Lee wrote:
Turn on the ATAPI DMA DIR support if word 62 indicates it.

Signed-off-by: Albert Lee <albertcc@xxxxxxxxxx>
---
ATAPI DMA DIR follow-up patch to turn on the DMA_DIR support automatically
by checking identify device word 62. (Thanks for Jeff and Tejun's pointer.)

According to Jonathan's test result, SiI 3611 (the current known bridge that
requires the ATAPI DMA DIR support) doesn't implement word 62. So, the
atapi_dmadir parameter is preserved to enable the DMA DIR support manually as
work around.

Two comments:

* I would like to find a device that's compliant with the spec, and test the patch, before committing.

* DMADIR not only includes a bit flag indicating its presence, it also moves all the DMA capability bits from their standard places. You'll have to audit every place that reads dev->id[]'s mwdma/udma masks and make sure they look at the DMADIR-special-case location, when DMADIR is set.

	Jeff



-
: 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