Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761354AbXKNFJj (ORCPT ); Wed, 14 Nov 2007 00:09:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750893AbXKNFJ2 (ORCPT ); Wed, 14 Nov 2007 00:09:28 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:52217 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750779AbXKNFJ1 (ORCPT ); Wed, 14 Nov 2007 00:09:27 -0500 Date: Tue, 13 Nov 2007 21:09:26 -0800 (PST) Message-Id: <20071113.210926.97725854.davem@davemloft.net> To: jochen@scram.de Cc: linuxppc-embedded@ozlabs.org, marcelo@kvack.org, scottwood@freescale.com, linux-kernel@vger.kernel.org, jeff@garzik.org, netdev@vger.kernel.org, akpm@linux-foundation.org Subject: Re: [PATCH] powerpc: Fix fs_enet module build From: David Miller In-Reply-To: <4739EDA8.6020800@scram.de> References: <4739EDA8.6020800@scram.de> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1166 Lines: 31 From: Jochen Friedrich Date: Tue, 13 Nov 2007 19:32:08 +0100 > If fs_enet is build as module, on PPC_CPM_NEW_BINDING platforms > mii-fec/mii-bitbang should be build as module, as well. On other > platforms, mii-fec/mii-bitbang must be included into the main module. > Otherwise some symbols remain undefined. Additionally, fs_enet uses > libphy, so add a select PHYLIB. > > Building modules, stage 2. > MODPOST 5 modules > ERROR: "fs_scc_ops" [drivers/net/fs_enet/fs_enet.ko] undefined! > make[1]: *** [__modpost] Error 1 > make: *** [modules] Error 2 > > Signed-off-by: Jochen Friedrich This is truly ugly and creates an unnecessarily hard to maintain and complex driver. Please find a way to fix this for real, so that the PPC_CPM_NEW_BINDING ifdef is not necessary at all and things get built modular or not naturally as we handle things for other cases like this. THanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/