Re: [PATCH] powerpc/ep8248e: phylib needs NET_SCHED to build

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kumar Gala
Date: Wednesday, May 20, 2009 - 6:27 am

On May 20, 2009, at 7:27 AM, Geert Uytterhoeven wrote:


I agree w/you however the initial reason it was:

commit ff21f23648d33649fcf3e1e99d03e245f0e1acf8
Author: Kumar Gala <galak@kernel.crashing.org>
Date:   Wed Jul 16 17:47:54 2008 -0500

     powerpc/ep8248e: Unconditionally select PHYLIB for mdio_bitbang

     Its possible to build the phylib as a module, however this breaks  
the
     board code because alloc_mdio_bitbang and mdiobus_register are not
     available if we build as a module.  These are needed by the board  
code
     since it implements the low level mdio bitbang ops.

     So we unconditionally select PHYLIB to ensure its built into the  
kernel
     if we are building in EP8248E support.

     Long term we should look at moving the mdio_ops into its own file  
so it
     can be built as a module.

     Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

so maybe it should:

	select PHYLIB if NET

- k

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] powerpc/ep8248e: phylib needs NET_SCHED to build, Alexander Beregalov, (Wed May 20, 5:18 am)
Re: [PATCH] powerpc/ep8248e: phylib needs NET_SCHED to build, Geert Uytterhoeven, (Wed May 20, 5:27 am)
Re: [PATCH] powerpc/ep8248e: phylib needs NET_SCHED to build, Kumar Gala, (Wed May 20, 6:27 am)