Re: sata_mv: basic PIO-only ATAPI support?

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

 



> Question: is this the "right" way to force PIO-only,
> or is there a better mechanism that I'm missing.

If you want to force ATAPI into PIO modes only then use the
->mode_filter() functionality to drop out the non PIO modes. See
pata_hpt37x.c for an example where it does it for some drives only

If you want to just force some types of command into using PIO (eg by
direction, length etc) then use ->check_atapi_dma(qc) - see pata_it821x
for a worked example.

Alan
--
To unsubscribe from this list: 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