[Ilugc] PCI driver training

  • From: durai@xxxxxxxxxxxxx (durai)
  • Date: Wed Aug 11 13:51:54 2004

Hi,
I saw one of the query posted by you in some other mailing list.
From that I could understand that you dont have any idea about
what is a kernel space/user space, and how to compile and link
an application properly in an embedded linux enviroment.

It is wise to get to know about the developement enviroment, 
browse the Linux source tree, and write some small drivers, before start
writing a pci or USB driver.

If you want to write a pci driver, have a look at the drivers
available in linux/drivers/net , there you will find lot of drivers which uses 
the
pci functions.

basically a pci based driver does the following
    1. queries whether the particular device available in the pci bus, by 
passing
        vendor id and device id
    2. if the device found, remap the pci resources (IO, Memory)
    3. query the IRQ line and assign the Interrupt handler
    4. do whatever you want to do with your hardware

There wont be any easy methods to learn linux kernel programming, 
dont expect somebody will come and train you, learn by yourself.
If you have some particular queries , post it here, somebody might help you.

regards
durai


------------Original Message------------
From: "madhuker  mythri" <madhuker_mythri@xxxxxxxxxxxxxx>
To: ilugc@xxxxxxxxxxxxx
Date: Wed, Aug-11-2004 11:42 AM
Subject: [Ilugc] PCI driver training
Hello all,
            
      Im intrested PCI driver development...but im new to this....

Can anybody give training who knows PCI & USB driver development(on saturdays 
and sundays...in chennai)
  
Please give reply...
                        Thanking u 

--
Regards
Madhukar Mythri
Embedded Division
KOSMIC TECHNOLOGIES
Chennai.
Tel(Off): +91 44 52142500 (Ext:309).



 _______________________________________________ 
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with 
"unsubscribe <password> address" 
in the subject or body of the message.   
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ;



Other related posts: