* 2 Ethernet ports on a MPC860T
@ 2002-06-11 7:34 Gerhard TAEUBL
2002-06-11 8:30 ` Steffen Rumler
0 siblings, 1 reply; 3+ messages in thread
From: Gerhard TAEUBL @ 2002-06-11 7:34 UTC (permalink / raw)
To: linuxppc-embedded
Hi all!
We have to redesign our customer board next year, and there is a requirement to use two ethernet ports. At the moment we use of course the FEC with 10/100 MBit. So we want to add a SCC (SCC3 fits for us ...) for a second ethernet. Is that configuration supported by linux, or easy to adapt? (to switch from another SCC to SCC3 or similar).
What kind of external devices are necessary? And how do you store the MAC Address? (We do it at the moment via a one wire chip, they garant for the right MAC Address).
Thanks in advance
Gerhard
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2 Ethernet ports on a MPC860T
2002-06-11 7:34 2 Ethernet ports on a MPC860T Gerhard TAEUBL
@ 2002-06-11 8:30 ` Steffen Rumler
0 siblings, 0 replies; 3+ messages in thread
From: Steffen Rumler @ 2002-06-11 8:30 UTC (permalink / raw)
To: Gerhard TAEUBL; +Cc: linuxppc-embedded
> We have to redesign our customer board next year, and there is a requirement to use two ethernet
> ports. At the moment we use of course the FEC with 10/100 MBit. So we want to add a SCC (SCC3 fits
> for us ...) for a second ethernet. Is that configuration supported by linux, or easy to adapt? (to
> switch from another SCC to SCC3 or similar).
I think this should be easy possible. The arch/ppc/8xx_io provides
both drivers: enet.c: for SCC
fec.c: for FEC
Via the CONFIG_SCC[1-3]_ENET switches you can configure the kernel,
which SCC is used (see enet.c).
You must also associate e.g. the 'eth0' network interface
to the SCC and the 'eth1' network interface to the FEC as desired.
In order to do this I think you can pass your own net_device structure
to init_etherdev() (not NULL) inside the driver init entry points
(e.g.; scc_enet_init()).
Before calling init_etherdev() you can initialize the name member
of the net_device structure as you want ("eth0", "eth1", ...).
I hope this works.
>
> What kind of external devices are necessary? And how do you store the MAC Address? (We do it at the
> moment via a one wire chip, they garant for the right MAC Address).
>
We are storing the MAC addresses inside the FLASH memory part of our
system.
Steffen
--
--------------------------------------------------------------
Steffen Rumler
ICN ON PNE SB 4
Siemens AG
Hofmannstr. 51 Email: Steffen.Rumler@icn.siemens.de
D-81359 Munich Phone: +49 89 722-44061
Germany Fax : +49 89 722-36703
--------------------------------------------------------------
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: 2 Ethernet ports on a MPC860T
@ 2002-06-11 9:10 Goddeeris Frederic
0 siblings, 0 replies; 3+ messages in thread
From: Goddeeris Frederic @ 2002-06-11 9:10 UTC (permalink / raw)
To: 'Gerhard TAEUBL', linuxppc-embedded
Hi,
I think it should work. In fec.c there is some code that "generates" an
extra MAC address when CONFIG_SCC_ENET is defined....
Fred
-----Original Message-----
From: Gerhard TAEUBL [mailto:Gerhard.TAEUBL@frequentis.com]
Sent: dinsdag 11 juni 2002 9:35
To: linuxppc-embedded@lists.linuxppc.org
Subject: 2 Ethernet ports on a MPC860T
Hi all!
We have to redesign our customer board next year, and there is a requirement
to use two ethernet ports. At the moment we use of course the FEC with
10/100 MBit. So we want to add a SCC (SCC3 fits for us ...) for a second
ethernet. Is that configuration supported by linux, or easy to adapt? (to
switch from another SCC to SCC3 or similar).
What kind of external devices are necessary? And how do you store the MAC
Address? (We do it at the moment via a one wire chip, they garant for the
right MAC Address).
Thanks in advance
Gerhard
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-11 9:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-11 7:34 2 Ethernet ports on a MPC860T Gerhard TAEUBL
2002-06-11 8:30 ` Steffen Rumler
-- strict thread matches above, loose matches on Subject: below --
2002-06-11 9:10 Goddeeris Frederic
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).