lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] network driver code for ethernetif.c


From: V l
Subject: Re: [lwip-users] network driver code for ethernetif.c
Date: Thu, 19 Jan 2012 21:03:47 +0530



Awesome , I think I have the answer . Like I said I had the network driver with me and was trying to figure out how to interface this with lwip . After going through the ethernetif.c what I see is being done is : We are writing a new device driver . We are creating a network interface and instead of using the ether_setup to set up this interface we are doing these things manually in the low_level_init function.This means I will have to rewrite the driver code and not use the net_device structure that is already there in the driver but create a struct netif kind of structure which is for the lwip code.And then redo the start_xmit function accordingly.

This is what I think I should do . Plz correct me if I am wrong .
Thank you.
Sraddha

reply via email to

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