Device Drivers

Joel Sherrill <> joel.sherrill at
Mon Sep 19 19:20:58 UTC 2005

Luís Vitório Cargnini wrote:
> Hash: SHA1
> How to write an device driver ? wher could i get this information the
> source tree is a little bit ... huge, and not much intuitive yet (i'm
> new with RTEMS, or where could i find this kind of documentation with
> examples.

There isn't an example of probing for a PCI device.

> What exactly i need, i have a processor and i'll connect a deviuce throw
> the bus pci for example how could i does this ?
> My processor will be Leon, bus amba AHB and hardware will be an ft device.

I would recommend looking at one of the PCI network device drivers and
seeing how it finds its devices.

c/src/libchip/network has multiple examples.

The BSP still needs to initialize the PCI subsystem for the board
and provide some hook routines to the RTEMS PCI code.


> - --
> Thanks && Regards
> Luís Vitório Cargnini
> IEEE Member
> Mastering @ PUCRS - Electrical Engineer - Microelectronics
> Sponsored by CNPQ
> Computer Science Bachelor
> OpenCores Member <>
> EuropeSwPatentFree <>
> Version: GnuPG v1.4.1 (FreeBSD)
> iD8DBQFDLw8wII4c9KZOcnoRAtUeAJwO0LynbPdc78LKJnOUgzYwu1PRAwCgqU7B
> Z4RPYTWiRMubhbvpbGrug8Y=

Joel Sherrill, Ph.D.             Director of Research & Development
joel at                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985

More information about the users mailing list