2003-05-13 18:25:06

by Pawan Deepika

[permalink] [raw]
Subject: new to network device drivers!!

Hi all,

I am new to device drivers. Can anyone suggest me
some simple network driver examples(which deal with
real interface)to start with. What H/W details I need
to know to write a driver on my own.

Any help in this regard is highly appreciated.

Thanks & regards,
Deepika



__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


2003-05-13 18:42:35

by Felipe W Damasio

[permalink] [raw]
Subject: Re: new to network device drivers!!



Pawan Deepika wrote:
> I am new to device drivers. Can anyone suggest me
> some simple network driver examples(which deal with
> real interface)to start with. What H/W details I need
> to know to write a driver on my own.

via-rhine is a very simple driver.

pci-skeleton is also a good place to start playing with.

Felipe

2003-05-13 18:46:46

by Richard B. Johnson

[permalink] [raw]
Subject: Re: new to network device drivers!!

On Tue, 13 May 2003, Pawan Deepika wrote:

> Hi all,
>
> I am new to device drivers. Can anyone suggest me
> some simple network driver examples(which deal with
> real interface)to start with. What H/W details I need
> to know to write a driver on my own.
>
> Any help in this regard is highly appreciated.
>
> Thanks & regards,
> Deepika
>
>

How about /usr/src/linux-whatever/drivers/net/pcnet32.c
This does about all the stuff that a network driver would have
to do. It's also quite readable, obviously written by people
who know how.


Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.