> 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
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
<microsoft.public.development.device.drivers> newsgroup . And, for
pre 2.6 *nix http://www.xml.com/ldd/chapter/book/ like systems a
loadable module would do that, where as livin in 2.6 requires you to
write KLM (kernel loadable module http://lwn.net/Kernel/LDD3/. ) which
is quite different from 2.4 or less.
ali
Reply by Grant Edwards●July 9, 20072007-07-09
On 2007-07-09, sid.bharij@gmail.com <sid.bharij@gmail.com> wrote:
> 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?
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
Reply by ●July 9, 20072007-07-09
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