linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Making Two ethernet interfaces up in Linux
@ 2006-06-03 11:38 Shantanu Nalage
  2006-06-03 20:55 ` Antonio Di Bacco
  0 siblings, 1 reply; 5+ messages in thread
From: Shantanu Nalage @ 2006-06-03 11:38 UTC (permalink / raw)
  To: linuxppc-embedded

Hi all,
         We are trying to port Linux on Xilinx Board XUPV2Pro which is
similar in most aspects to the Xilinx ML300 board. Linux is up and
running for the original board i.e. having only one ethrnet interface.
Now since we wanted to have the board working as router, we designed a
daughter board with two ethernet phy interfaces. The MACs required for
that are instantiated in Xilinx and corresponding Board support
Packages are also created in Xilinx.
        What all changes are required to make both the interfaces
visible in Linux?

Thank you in anticipation.

With regards,

Shantanu.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Making Two ethernet interfaces up in Linux
@ 2006-06-08 15:30 Rick Moleres
  0 siblings, 0 replies; 5+ messages in thread
From: Rick Moleres @ 2006-06-08 15:30 UTC (permalink / raw)
  To: Shantanu Nalage, Antonio Di Bacco, linuxppc-embedded

Shantanu,

Can you post the xemac_g.c file in the xilinx_enet directory?  Also,
which version of the EDK are you using?  There was a bug in EDK 7.x that
prevented multiple Ethernet interfaces from working properly.

It would also be helpful to see xparameters_ml300.h from the
arch/ppc/platforms/xilinx_ocp directory.

Thanks,
-Rick

-----Original Message-----
From: linuxppc-embedded-bounces+moleres=3Dxilinx.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+moleres=3Dxilinx.com@ozlabs.org] On
Behalf Of Shantanu Nalage
Sent: Wednesday, June 07, 2006 11:16 PM
To: Antonio Di Bacco; linuxppc-embedded@ozlabs.org
Subject: Re: Making Two ethernet interfaces up in Linux

Thanks for the reply.
The driver which we are using for the ethernet is provided by Xilinx.
In the Linux kernel source, it is located in net/xilinx_enet
directory. We are attaching the adapter file for the driver provided
by Xilinx for the ethernet.
When we gave a first try, it showed two ethernet interfaces eth0 and
eth1 as an output of ifconfig command but only eth0 works, when eth1
is disabled. When both interfaces are up, neither interface works.
While even when eth0 is disabled, eth1 interface doesn't work.

With regards,
Shantanu.

On 6/4/06, Antonio Di Bacco <antonio.dibacco@aruba.it> wrote:
> >          We are trying to port Linux on Xilinx Board XUPV2Pro which
is
> > similar in most aspects to the Xilinx ML300 board. Linux is up and
> > running for the original board i.e. having only one ethrnet
interface.
> > Now since we wanted to have the board working as router, we designed
a
> > daughter board with two ethernet phy interfaces. The MACs required
for
> > that are instantiated in Xilinx ....
>
> You have already the driver for the first MAC, then you should start
from that
> modifying the init procedure for example and all the others. Your
driver
> should initialize both the MACs and also create two devices calling
> init_etherdev tow times. If you post your driver I can suggest what to
> change. It is not so difficult.
>
> Bye,
> Antonio.
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-08 15:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-03 11:38 Making Two ethernet interfaces up in Linux Shantanu Nalage
2006-06-03 20:55 ` Antonio Di Bacco
2006-06-05 15:12   ` Andy Fleming
2006-06-08  5:16   ` Shantanu Nalage
  -- strict thread matches above, loose matches on Subject: below --
2006-06-08 15:30 Rick Moleres

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).