[PATCH 4/6] Device tree aware EMAC driver

Olof Johansson olof at lixom.net
Mon May 7 13:56:39 EST 2007


Hi,

On Mon, May 07, 2007 at 11:40:51AM +1000, David Gibson wrote:
> On Sun, May 06, 2007 at 07:57:23PM -0500, Olof Johansson wrote:
> > On Mon, May 07, 2007 at 10:30:19AM +1000, David Gibson wrote:
> > > This is BenH's rewritten, device tree aware driver for the IBM/AMCC
> > > EMAC, ethernet MAC controller ASIC found on various 4xx CPUs and also
> > > the Axon bridge.  Tweaked to build on current kernels.
> > 
> > Shouldn't benh have a signoff line on it as well in that case?
> 
> Well, his patch which I tweaked didn't have his signoff, so I didn't
> think I ought to add it.

Heh, ok.

> > Is it ibm_emac or ibm_newemac? All file headers say ibm_emac, and there's
> > still Kconfig references to ibm_emac.
> 
> It's ibm_newemac, the file headers just haven't been updated.  The
> Kconfig changes referring to ibm_emac are just because the patch moves
> the suboptions for the old emac driver into their own subdirectory,
> and it inhibits selecting the old emac driver in arch/powerpc.

Hm, so it both modifies the old driver and adds the new one? Is the plan
to have both of them in parallel? Sounds wasteful, but I guess it'll be
hard to avoid until 4xx is dead in arch/ppc.

> > (Is this just posted FYI? If not, it should really go to netdev/jgarzik
> > instead, right?)
> 
> This is just FYI at the moment, or rather, it's not really an Ebony
> related patch but it's in this series because the Ebony support is
> much more interesting if the ethernet works.

Ok. It really sucks trying to review patches of this size, but I'll try
to make a few passes over it.

It'd be useful to just see the incremental steps of how it was morphed
from the current driver, but that's a pain to recreate once you have
this kind of blob. Especially if you inherited the bulk of it. :-)


-Olof



More information about the Linuxppc-dev mailing list