lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] RE: LWIP for Altera NIOS II


From: Paul Riley
Subject: [lwip-users] RE: LWIP for Altera NIOS II
Date: Mon, 23 May 2005 17:39:59 +0100

>Hi,
>
>Can you explain me what's are the part to modify if I want to port LWIP

>with another
>ethernet MAc than LAN91C111 ?
>
>Thanks Etienne
>
>Etienne


You need to look at the altera_avalon_lan91c111 component which is found
in 
Altera\kits\nios2\components directory and basically copy the driver in
here it's in the UCOSII 
directory (obviously you'll need to modify the function names and the
code so it talks to your hardware).

There is also a parameter in the PTF file which enables the Nios II IDE
to detect that this is a MAC.

It's something obvious like Is_Ethernet_MAC. A quick look at the
class.ptf file in the 
altera_avalon_lan91c111 component should suffice.

Paul





reply via email to

[Prev in Thread] Current Thread [Next in Thread]