Re: [PATCH 05/14] libata: make ->data_xfer return the number of consumed bytes

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

 



On Thu, 29 Nov 2007 14:36:30 -0500
Jeff Garzik <jeff@xxxxxxxxxx> wrote:

> Alan Cox wrote:
> >> DMA alignment is host restriction so I think it belongs to ata_host if
> >> we ever need it.  Do you know of any controller which require such
> >> thing?  No need to add complexity when it's not necessary.
> > 
> > If we ever get the blasted inic162x working then that appears to have
> > some alignment limits. At least the docs say the DMA buffers must be quad
> > word aligned and sized (although it doesn't describe what occurs if the
> > total length of xfer disagrees with the buffers)
> 
> Most DMA has alignment limits, for the front not the back of the buffer.

Note I said "and sized" - its got restrictions for both buffer ends in
effect
-
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