- From: Torben Mikael Hansen <comedi_ns_at_linhard.dk>
- Date: Fri, 9 Jun 2006 20:12:06 +0200
Hi I have tested patch id160,id161 (bug #227) and id162 (bug #221) against NI DAQCard-1200 and NI DAQCard-6036E and both seem to work fine. I have made rpms for Fedora Core 5 (kernel 2.6.16-2122) and source rpms. If interested they can be found here http://linhard.dk/downloads/FC5i586/comedi-cvs20060516-2.6.16_1.2122_FC5.5.i686.rpm http://linhard.dk/downloads/FC5i586/comedi-debuginfo-cvs20060516-2.6.16_1.2122_FC5.5.i686.rpm http://linhard.dk/downloads/FC5i586/comedilib-cvs20060516-1.FC5.i686.rpm http://linhard.dk/downloads/FC5i586/comedilib-debuginfo-cvs20060516-1.FC5.i686.rpm http://linhard.dk/downloads/FC5SRC/comedi-cvs20060516-2.6.16_1.2122_FC5.5.src.rpm http://linhard.dk/downloads/FC5SRC/comedilib-cvs20060516-1.FC5.src.rpm As usually there is absolutely no guaranty that it will work for you. Particually I'm not sure that all neccessary dependencies are included. Regards Torben fredag 09 juni 2006 16:41 skrev Torben Mikael Hansen: > Hi > > fredag 09 juni 2006 15:08 skrev Ian Abbott: > > > > > > /*====================================================================* > > >/ > > > > > > /* > > > _at__at_ -300,11 +310,15 _at__at_ > > > #endif > > > /* Interrupt setup */ > > > link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_FORCED_PULSE; > > > +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) > > > + link->irq.IRQInfo1 = IRQ_PULSE_ID; > > > +#else > > > link->irq.IRQInfo1 = IRQ_INFO2_VALID | IRQ_PULSE_ID; > > > if (irq_list[0] == -1) > > > link->irq.IRQInfo2 = irq_mask; > > > else for (i = 0; i < 4; i++) > > > link->irq.IRQInfo2 |= 1 << irq_list[i]; > > > +#endif > > > link->irq.Handler = NULL; > > > > > > /* > > > > I think it should still work if you omit this part of the patch, as > > IRQInfo2 should be ignored anyway. Is it possible for you to test the > > driver with the IRQInfo2 stuff left in for 2.6.16 to see if it still > > works? > > Yes, this entire section of the patch can be omitted, at least for > daqcard-1200, (surprisingly to me) even IRQ_INFO2_VALID can be left in. > > Regards > Torben > > > I think I'll update my PCMCIA patches anyway to get rid of the IRQInfo2 > > stuff for 2.6.11 upwards. Thanks for the info! > > Welcome! > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi -- Torben Mikael Hansen, Ph.D. Postdoctoral Researcher Nanointegration MIC - Department of Micro and Nanotechnology DTU - Technical University of Denmark Building 345 East DK-2800 Kgs. Lyngby Denmark Phone +45 4525 5788 Mobile +45 6168 7846 Torben.Hansen_at_mic.dtu.dk
Received on 2006-06-09Z17:12:06