[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: device driver



Read this article by Alan Cox on network buffers and memory management.
It talks of some basics of device drivers.

http://www2.linuxjournal.com/lj-issues/issue30/1312.html

In general u might want to implement atleast the ioctl, open and close
operations in the file_structure.

A good place to start loooking at sample code is drivers/net/skeleton.c

ciao,
Amit
ps. and yes as someone pointed out, Rubini's book is good for basics

> --- "V.Kugan" <kugan@xxxxxxxxxxxxx> wrote:
> > I am very new device drivrer.
> > I asked few questiobs earlier as well but no answer
> > :(, may be they are too
> > trival.
> > Now i have seen some char diver deining
> > file_operation structer and some
> > tty_driver, how do i no what to select?? can anyone
> > pls answer this.
> > And also is there any news group for discussing
> > general device driver
> > related questions for linux , may be i should see
> > that archive.
> > Thank you very much.
> > V.Kugan

-- 
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
           Team Niehaus || Room # 245E
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
____________________________________________________