Ethernet driver development

Jul 09, 2007 2 Replies

Hi,



I am new to the networking side of embedded systems. I have to develop a driver for an ethernet sub-system. Just need to know where to start from. What are the resources I can refer to?



wr, Sid



1) The datasheet for the Ethernet controller. 2) The documentation on your OS's network stack/drive API. 3) Other Ethernet drivers for the same OS.
Grant Edwards grante Yow! World War III? at No thanks! visi.com

As you havn't mentioned anything about your platform or OS so people can just guess for your problem. If you are planing to use some controller with built-in TCP/IP stack/library then it would be quite easy to provide an Ethernet interface in fairly short time. On the host part (if its PC) an ordinary socket app would be enough to talk to your device unless you need a driver for special tricks, filtering etc. etc.

Anyway, for windows like system the best place to start would be WDM (windows driver model ) , checkout this newsgroup . And, for pre 2.6 *nix

formatting link
like systems a loadable module would do that, where as livin in 2.6 requires you to write KLM (kernel loadable module
formatting link
) which is quite different from 2.4 or less.

ali

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required