Re: [PATCH] libata-core More robust parsing for multi_count(v5)

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

 



Mark Lord wrote:
Tejun,

I need a way to limit the multi_count to a specific maximum
value for sata_mv.  ISTR that some PATA chips may also have
an upper hardware limit on multi_count.

Generally, "8" is safe for all chipsets.  Going above that
requires knowledge of what the chipset can tolerate.

How about a u8 multi_count_max field in the ata_host struct?
Use 0xff for "multi_count not allowed", and anything else
in there as an upper limit for the chipset.
..

Oh, and zero means "don't care".  So it's really easy to add
to libata without having to patch each and every driver.

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