fs_enet - support for SCC on CPM2?

Matt Hevern matt.hevern at nec.com.au
Tue Sep 26 12:19:16 EST 2006


Hi all,

I am trying to compile for an freescale 82xx (CPM2) series processor, 
with ethernet on an SCC. (kernel 2.6.x)
 From what i can see, in the file drivers/net/fs_enet/fs_enet-main.c, 
the config option "CONFIG_FS_ENET_HAS_SCC"  pulls in "fs_scc_ops" which 
are defined in
drivers/net/fs_enet/mac-scc.c, but this file  does not seem to have 
support for 82xx series, failing with various compile errors:
------errors
drivers/net/fs_enet/mac-scc.c: In function `scc_cr_cmd':
drivers/net/fs_enet/mac-scc.c:94: error: `cpm8xx_t' undeclared (first 
use in this function)
drivers/net/fs_enet/mac-scc.c:94: error: (Each undeclared identifier is 
reported only once
drivers/net/fs_enet/mac-scc.c:94: error: for each function it appears in.)
drivers/net/fs_enet/mac-scc.c:94: error: `immap_t' undeclared (first use 
in this function)
...etc
------end-errors

It seems like these errors are mostly due to the driver being tailored 
for 8xx series.

Are there any patches/fixes for "fs_enet" for ethernet on SCC for 82xx 
series?  - or other options?

Thanks in advance.

Matt



More information about the Linuxppc-embedded mailing list