Skip to contentSkip to conversation

Ethernets on SCC2 and SCC3 on mpc8xx

DISCUSSION Jan Damborsky 4 participants 5 messages Aug 13, 2003 – Aug 21, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

we want to use our custom board with MPC823e as
easy firewall in our applications. We have two 10Mbit ethernet on board connected to SCC2 and SCC3 channels.
Is it support in kernel
for using both SCC channels configured as ethernet (eth0, eth1 devices) simultaneously ? I use 2.4.3 kernel and there is only possibility to use SCC2 or SCC3
as ethernet, not both at the same time.

Thanks in advance, HANYS

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw

Hello,

Quoted 7 lines · in message <[email protected]> you wrote:

we want to use our custom board with MPC823e as
easy firewall in our applications. We have two 10Mbit ethernet on board connected to SCC2 and SCC3 channels.
Is it support in kernel
for using both SCC channels configured as ethernet (eth0, eth1 devices) simultaneously ? I use 2.4.3 kernel

No, none of the public kernels supprts such a configurations. Some (ugly) patches (basicly duplicating the whole code) habe beeen posted a long, long time ago. You might find them in the archies. But a rework of the driver shouldn't be oo difficult.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] What was sliced bread the greatest thing since?

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to a message not in the archive
Quoted 1 line · Jan Damborsky

So I will modify driver to work with both ethernets.

Attached is a patch for an old driver that I have given to many people over the past couple of years that all promised they would update the current source. This never happened, so if anyone else wants to try, have at it.

I don't like this patch due to the amount of code in the header file that can only increase as more boards are added. Please remove this code and place it int some file, like enet_init.c or something like that.

Thanks.

	-- Dan
#4 lore raw
Quoted 10 lines · Dan Malek

Attached is a patch for an old driver that I have given to many people over the past couple of years that all promised they would update the current source. This never happened, so if anyone else wants to try, have at it.

I don't like this patch due to the amount of code in the header file that can only increase as more boards are added. Please remove this code and place it int some file, like enet_init.c or something like that.

Thank you. I will apply this patch as soon as I return from holiday in September.
Jan Damborsky

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#5 lore raw
In reply to a message not in the archive

Wolfgang Denk wrote:
..

Quoted 4 lines
Quoted 4 lines

No, none of the public kernels supprts such a configurations. Some (ugly) patches (basicly duplicating the whole code) habe beeen posted a long, long time ago. You might find them in the archies. But a rework of the driver shouldn't be oo difficult.

I did a reasonable version this for the 850/823 several years ago and gave the patches to Dan Malek. Bug him for them :-)

-brad

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/