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

Re: [rtl] About interrupt




On Fri, 25 Feb 2000, Michael Barabanov wrote:

> Zhixu Liu (liuzx@bessun.ihep.ac.cn) wrote:
> > Hi, everyone:
> > 
> > I am working on a DAQ with CAMAC, and i prepare to put the task of get 
> > the data from CAMAC crate into a real time task.
> > 
> > The drive of my camac carte controller 3922 with PCI 2915 was written, 
> > and it has realize the interrupt (in normal linux), and now i want the real 
> > time task will work only after a interrupt of the camac. What should i do 
> > to associate this interrupt with the real time task.
> > 
> > What's the meaning of rtl_request_irq(...)?
> 
> You should use rtl_request_irq. It installs an interrupt handler
> for the given irq. There is a manual page for this function
> in the man/man3 directory. I also suggest you read the GettingStarted.txt
> file and the FAQ.
> 

Does it mean i should change the driver of 2915, for the original driver 
of 2915 have a interrupt handler, should i replace it with 
rtl_request_irq(...)?

Thanks a lot.

> Michael. >