[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070226214846.GA18375@xyzzy.farnsworth.org>
Date: Mon, 26 Feb 2007 14:48:46 -0700
From: "Dale Farnsworth" <dale@...nsworth.org>
To: Ralf Baechle <ralf@...ux-mips.org>
Cc: Dale Farnsworth <dale@...nsworth.org>, netdev@...r.kernel.org,
linux-mips@...ux-mips.org, Jeff Garzik <jeff@...zik.org>
Subject: Re: [RFC][NET] Alignment in mv643xx_eth
On Mon, Feb 26, 2007 at 07:52:06PM +0000, Ralf Baechle wrote:
> The driver contains this little piece of candy:
>
> #if defined(CONFIG_DMA_NONCOHERENT) || defined(CONFIG_NOT_COHERENT_CACHE)
> #define ETH_DMA_ALIGN L1_CACHE_BYTES
> #else
> #define ETH_DMA_ALIGN 8
> #endif
>
> Any reason why we're not using dma_get_cache_alignment() instead?
Not that I can think of.
ACK.
Dale Farnsworth
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists