From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Gurevich Date: Thu, 06 Mar 2003 15:31:58 -0800 Subject: [U-Boot-Users] Multiple Ethernet support with PPC405 Message-ID: <3E67DA6E.7000902@paulidav.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, I have a couple of different PPC405-based boards which have an additional ethernet controller (eepro100 or natsemi). I'd like to be able to use either of them for booting in addition to the PPC405 internal FEC. The problem is, of course, that the current ppc405_enet does not support CONFIG_NET_MULTI and simply cannot co-exist with net/enet.c, since it defines the same functions. I want to modify ppc405_enet.c and just wanted to ask whether it is OK to make ppc405_enet dependent on CONFIG_CMD_NET & CONFIG_NET_MULTI or should I try to put wrappers that will allow both configurations (with and without CONFIG_NET_MULTI)? Or, maybe someone had arlready done that? Thanks, Vladimir