From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 16 Mar 2012 05:43:28 +0100 Subject: [U-Boot] [PATCH] net: force PKTALIGN to ARCH_DMA_MINALIGN In-Reply-To: <201203152330.32987.vapier@gentoo.org> References: <201203160350.08910.marex@denx.de> <201203152330.32987.vapier@gentoo.org> Message-ID: <201203160543.28794.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, > On Thursday 15 March 2012 22:50:08 Marek Vasut wrote: > > Dear Eric Nelson, > > > > > This will prevent the need for architectures whose DMA alignment > > > is greater than 32 to have bounce buffers. > > > > > > --- a/include/net.h > > > +++ b/include/net.h > > > > > > -#define PKTALIGN 32 > > > +#define PKTALIGN ARCH_DMA_MINALIGN > > > > Won't this break retarded hardware that has ARCH_DMA_MINALIGN smaller > > than 32 ? > > why would it ? Nevermind. Best regards, Marek Vasut