Building new FEC code on 8xx with 2.6.17 kernel

Vitaly Bordug vbordug at ru.mvista.com
Fri Oct 27 23:38:42 EST 2006


On Fri, 27 Oct 2006 14:41:06 +1300
Robin Gilks <robin.gilks at tait.co.nz> wrote:

> Greetings
> 
> Just having a first stab at building for an 859T based product so I 
> assume I'll be using the new FEC driver. I'm getting two unresolved 
> references as follows:
> 
> drivers/built-in.o: In function 
> `fec_8xx_init':fec_main.c:(.init.text+0x1a40): undefined reference to 
> `fec_8xx_platform_init'
> drivers/built-in.o: In function 
> `fec_8xx_cleanup':fec_main.c:(.exit.text+0x39c): undefined reference to 
> `fec_8xx_platform_cleanup'
> 
> No big deal as I can see an example for the netta platform (whatever 
> that is) that defines these functions and I can hack that to suit my 
> hardware - what I can't find is where CONFIG_NETTA is defined. I can't 
> find it in any Kconfig file, and I want to use the same mechanism for 
> selecting my platform.
> 
> Any ideas? (or is FEC still broken on CPM1 processors)
> 

Please use fs_enet driver (drivers/fs_enet). You can find the reference for platform code at
say arch/ppc/platforms/mpc885_setup.c

-- 
Sincerely, 
Vitaly



More information about the Linuxppc-embedded mailing list