Skip to contentSkip to conversation

fs_enet - support for SCC on CPM2?

DISCUSSION Matt Hevern 2 participants 2 messages Sep 26, 2006

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Matt Hevern

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

Are you sure this is what you want to do? Why not use one of the FCCs for ethernet?

Alex