Building new FEC code on 8xx with 2.6.17 kernel
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)
Cheers
Signature · 13 lines
Robin ======================================================================= This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. =======================================================================
Quoted 13 lines · On Fri, 27 Oct 2006 14:41:06 +1300 Robin Gilks <[email protected]> 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 functionfec_8xx_init':fec_main.c:(.init.text+0x1a40): undefined reference tofec_8xx_platform_init'drivers/built-in.o: In functionfec_8xx_cleanup':fec_main.c:(.exit.text+0x39c): undefined reference tofec_8xx_platform_cleanup'
Quoted 8 lines
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_NETTAis defined. I can't find it in anyKconfigfile, 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
Signature · 2 lines
Sincerely, Vitaly