From: Dale Farnsworth <[EMAIL PROTECTED]>

Enable mv643xx_eth driver to work when built as a module on
mv64x60-based embedded systems.

Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]>

 arch/ppc/syslib/mv64x60.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6-mv643xx_enet/arch/ppc/syslib/mv64x60.c
===================================================================
--- linux-2.6-mv643xx_enet.orig/arch/ppc/syslib/mv64x60.c       2005-12-27 
16:06:41.000000000 -0700
+++ linux-2.6-mv643xx_enet/arch/ppc/syslib/mv64x60.c    2006-01-17 
11:45:08.000000000 -0700
@@ -313,7 +313,7 @@
 };
 #endif
 
-#ifdef CONFIG_MV643XX_ETH
+#if defined(CONFIG_MV643XX_ETH) || defined(CONFIG_MV643XX_ETH_MODULE)
 static struct resource mv64x60_eth_shared_resources[] = {
        [0] = {
                .name   = "ethernet shared base",
@@ -456,7 +456,7 @@
        &mpsc0_device,
        &mpsc1_device,
 #endif
-#ifdef CONFIG_MV643XX_ETH
+#if defined(CONFIG_MV643XX_ETH) || defined(CONFIG_MV643XX_ETH_MODULE)
        &mv64x60_eth_shared_device,
 #endif
 #ifdef CONFIG_MV643XX_ETH_0

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to