[LCP]Re: linuxCprogramming digest, Vol 1 #42 - 23 msgs

Daniel Ng danieljng at yahoo.com
Mon Jul 14 08:58:25 UTC 2003


Maharajan,

If you haven't already, have a look at this on-line book, which is apparently
good for linux device driver knowledge-

http://www.xml.com/ldd/chapter/book/

Daniel.

> 
> On Fri, 6 Jun 2003, Maharajan Veerabag wrote:
> 
> >  i am in the process of writing a linux device driver in C. is it
> > possible to access the pci local I/O address space with inb,outb
> > instructions... directly or is any request of space required. What is
> > the exact power of the inb family of instructions..
> 
> It may be possible, but that is not how to write Linux drivers. For one,
> using inb/outb would mean using asm, which means it would not be portable
> to other PCI systems (Alpha, some PPCs and UltraSPARCs, etc). I would also
> imagine that Linux provides a great deal of generic functionality for PCI
> drivers directly, leaving you to just plug in the 'interesting' bits.
> However, I don't know the full details, perhaps asking at someplace like
> the #kernelnewbies IRC channel would provide more useful help.
> 
> -Jack
> 
>

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



More information about the linuxCprogramming mailing list