Re: How do I create a driver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



MHD.Tayseer Alquoatli wrote:



On 3/27/06, *Bill Baily* <billbailyuk@xxxxxxxxxxx <mailto:billbailyuk@xxxxxxxxxxx>> wrote:

    Hi,

    I'm thinking of writing a driver for a networking
    device. I'd simply like to try my hand at driver
    development.

    What information do I need available to me to write a
    driver?


1- fluent C programming skills
2- familiar with hardware concepts
3- familiar with OS portions that handles the hardware layer (interrupts, IO)
4- familiar with general OS concepts like tasks, scheduling, syscalls ..
4- you have some experiments with Linux kernel programming (loadable kernel modules at least)

then read and experiment with LDD3 (Linux Device Drivers 3) which is available online

    The question might seem horrendously vague, but I'm
    looking for vague-ish answers,


if you start exploring LDD3 you'll find what you need and what you already know .. i like this book
the book is available on: http://lwn.net/Kernel/LDD3/
hope this helps

MHD.Tayseer

    given my lack of
    knowledge in this field. What sort of information to
    people normally base their drivers on?


    Cheers,
    B



    ___________________________________________________________
    To help you stay safe and secure online, we've developed the all
    new Yahoo! Security Centre. http://uk.security.yahoo.com

    --
    Kernelnewbies: Help each other learn about the Linux kernel.
    Archive:       http://mail.nl.linux.org/kernelnewbies/
    <http://mail.nl.linux.org/kernelnewbies/>
    FAQ:           http://kernelnewbies.org/faq/


Check out the source code for the e100 intel driver (e100.c) once you have read "Linux device drivers" book. For few of the intel network drivers like the e1000 you can find the specs in sourceforge.net.

Sanjay


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux