[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1371133447.3032.37.camel@sakura.staff.proxad.net>
Date: Thu, 13 Jun 2013 16:24:07 +0200
From: Maxime Bizon <mbizon@...ebox.fr>
To: Florian Fainelli <florian@...nwrt.org>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
ralf@...ux-mips.org, John Crispin <blogic@...nwrt.org>,
Linux-MIPS <linux-mips@...ux-mips.org>, jogo@...nwrt.org,
Kevin Cernekee <cernekee@...il.com>
Subject: Re: [PATCH net-next] bcm63xx_enet: add support Broadcom BCM6345
Ethernet
On Thu, 2013-06-13 at 10:49 +0100, Florian Fainelli wrote:
> We are in the slow process to switch to Device Tree to precisely
> eliminate all of this (although not everyone agrees yet on the
> details). Hopefully you should not see such things in the future.
I don't see how DT help here (hint: it never does)
if the driver knows at compile time how registers are shuffled, it can
remove the indirection
if you use runtime cpu detection or DT, it cannot
in fact, this patch already adds another layer of indirection with that
"dma_chan_width" thing that the compiler has no way to optimize out,
defeating the purpose of single SOC optimization.
so we might as well force multi SOC support
--
Maxime
--
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