]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc/ep8248e: Unconditionally select PHYLIB for mdio_bitbang
authorKumar Gala <galak@kernel.crashing.org>
Wed, 16 Jul 2008 22:47:54 +0000 (17:47 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 16 Jul 2008 22:59:46 +0000 (17:59 -0500)
commitff21f23648d33649fcf3e1e99d03e245f0e1acf8
tree95acd243c0d95a63761b0004cc497472c2206c59
parent0332f000cd010e9db0a04181284b9ac91dac5ea7
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>
arch/powerpc/platforms/82xx/Kconfig