Re: [PATCH] tx4939ide: Do not use zero count PRD entry

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

 



On Fri, 16 Jan 2009 15:51:29 +0300, Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> wrote:
> > +			 * This workaround for zero count seems required.
> > +			 * (standard ide_build_dmatable do it too)
> 
>     s/do/does/

Thanks!

> > +			if ((bcount & 0xffff) == 0x0000)
> 
>    Why not just bcount == 0x10000?

Indeed.  It is just because ide_build_dmatable does so :)

I will prepare another patch, while the patch is already mainlined and
queued for stable, and this time changes are not suitable for stable
tree.

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux