Re: How to do register level programming?

I can suggest purchasing the following:

Linux Device Drivers  - Alessandro Rubini

(There is a second edition you probably want for new kernels). 

This book allowed me to figure out how PCI works in the linux kernel, so that you can get the base address for the memory area of the PCI card you are interested in (The Base Address Registers, or BAR). This book allowed me to write my own device driver for a Digital IO module, basically by reading and writing to PCI memory. 

Or you coudl poke around other peoples code, I like it in written form so that I can get a jumpstart into the architecture design. 

~Ken

>>> Mario Behn <behn_at_mirsl.ecs.umass.edu> 12/02 10:30 AM >>>

Hi,

i'm quite new to pci and register level programming and comedi.

I have the NI 6602 counter/timer card here and want to use it with
linux, and 'just' set it to output some signal.

But i never did any pci card programming so far.

Does anyone can suggest me a document to read or can discribe the rought
way?

Thank you very much.

Mario Behn

-- 

Mario Behn
Microwave Remote Sensing Laboratory Room 104
University of Massachusetts
Knowles Engineering Building
Amherst, MA 01003-4410

phone (413) 545-4675
fax (413) 545-4652
email behn_at_mirsl.ecs.umass.edu 


_______________________________________________
comedi mailing list
comedi_at_comedi.org 
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2002-12-02Z17:57:45