Re: [PATCH V2 2/2] pata_arasan_cf: Adding support for arasan compact flash host controller

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

 



Hello,

On Tue, Feb 22, 2011 at 11:16:56AM +0530, viresh kumar wrote:
> Actually, we really don't have scatter-gather in our controller.
> We have to read/write to the same FIFO address for every 512 bytes, after
> which we get buf_avail interrupt. And Controller can do a maximum transfer
> of 256 KB after which it gives transfer complete interrupt.
> 
> So all sg has to be handled in software, framework or driver.

Yeap, so you don't need to follow the silly BMDMA restrictions.

> Also, we will always read/write from/to FIFO. And the external DMA controller
> doesn't have any limitation of this dma_boudary.
> 
> So i feel i should keep
> .sg_tablesize = SG_ALL,
> .dma_boundary = 0xFFFFFFFF,
> 
> Please correct me if i am wrong.

Looks good to me.

Thanks.

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