* Building new FEC code on 8xx with 2.6.17 kernel
@ 2006-10-27 1:41 Robin Gilks
2006-10-27 13:38 ` Vitaly Bordug
0 siblings, 1 reply; 2+ messages in thread
From: Robin Gilks @ 2006-10-27 1:41 UTC (permalink / raw)
To: ppc embedded list
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
--
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.
=======================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Building new FEC code on 8xx with 2.6.17 kernel
2006-10-27 1:41 Building new FEC code on 8xx with 2.6.17 kernel Robin Gilks
@ 2006-10-27 13:38 ` Vitaly Bordug
0 siblings, 0 replies; 2+ messages in thread
From: Vitaly Bordug @ 2006-10-27 13:38 UTC (permalink / raw)
To: robin.gilks; +Cc: ppc embedded list
On Fri, 27 Oct 2006 14:41:06 +1300
Robin Gilks <robin.gilks@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-27 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-27 1:41 Building new FEC code on 8xx with 2.6.17 kernel Robin Gilks
2006-10-27 13:38 ` Vitaly Bordug
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).