Re: libata-core.c: ata_fill_sg() ... sanity check on arithmentic ?

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

 



> Thanks for clarifying - as you say, the spec is specific to PCI.
> Our silicon has its own host interface which was confused by a length of zero !

You aren't the first. If you look at the current tree you'll see we now
have

	ata_dumb_qc_prep()

for interfaces that think 0x0000 is zero. Set that as your qc_prep method
and set sg_tablesize in the driver to LIBATA_DUMB_MAX_PRD and it should
work (we have to use a smaller sglist limit as the worst case is now 2
entries per 64K block)
-
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