Re: [U-Boot] [PATCH] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-11 Thread Gary Jennejohn
Hi Ben, Ben Warren <[EMAIL PROTECTED]> wrote: > Gary Jennejohn wrote: > > Ben Warren <[EMAIL PROTECTED]> wrote: > > > >> Gary Jennejohn wrote: > >> > > [snip] > > > >>> #if defined(CONFIG_ETHER_ON_SCC) && defined(CONFIG_CMD_NET) > >>> > >>> > >> While you're mucking around wi

Re: [U-Boot] [PATCH] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-10 Thread Ben Warren
Hi Gary, Gary Jennejohn wrote: > Hi Ben, > > Ben Warren <[EMAIL PROTECTED]> wrote: > >> Gary Jennejohn wrote: >> > [snip] > >>> #if defined(CONFIG_ETHER_ON_SCC) && defined(CONFIG_CMD_NET) >>> >>> >> While you're mucking around with this file, please settle on a single >> CON

Re: [U-Boot] [PATCH] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-10 Thread Gary Jennejohn
Hi Ben, Ben Warren <[EMAIL PROTECTED]> wrote: > Gary Jennejohn wrote: [snip] > > #if defined(CONFIG_ETHER_ON_SCC) && defined(CONFIG_CMD_NET) > > > While you're mucking around with this file, please settle on a single > CONFIG that can allow conditional compilation from the Makefile, then >

Re: [U-Boot] [PATCH] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-09 Thread Ben Warren
Hi Gary, Gary Jennejohn wrote: > This change is needed for mgcoge because it uses two ethernet drivers. > > I like the idea of moving drivers to use CONFIG_NET_MULTI, particularly so that we can get rid of it as an option... There are a few more things you need to think about, though. > Add

[U-Boot] [PATCH] mgcoge make ether_scc.c work with CONFIG_NET_MULTI

2008-11-09 Thread Gary Jennejohn
This change is needed for mgcoge because it uses two ethernet drivers. Add a check for the presence of the PIGGY board on mgcoge. Without this board networking cannot work and the initialization must be aborted. Only allocate rtx once to prevent DPRAM exhaustion. Initialize ether_scc.c and the