Thinus Viljoen wrote:
> Hi
> 
> My e1000 NIC and another card (Arcnet PCI card) shares the same
> interrupt. I am busy writing a RTDM driver for the Arcnet card. As I
> understand it is possible to share interrupts between real-time device
> drivers?
> 
> Anyways, I changed the rt_e1000 driver's rtdm_irq_request() call to
> pass the RTDM_IRQTYPE_SHARED flag, and did the same to my Arcnet
> driver. The Arcnet ISR returns RTDM_IRQ_NONE when it is not its
> interrupt (it seems as though the rt_e1000 also does this correctly?)
> 
> When I insert the first of the two drivers, everything seems OK.
> However, when I insert the second driver (the order doesn't seem to
> matter), rtdm_irq_request() returns -EBUSY. Are there perhaps some
> steps that I am missing to get shared interrupts working?
> 
> (I am using RTnet 0.9.6 and RTAI 3.4)

Sorry, I will not be able to go into details this time. But these two
pointers may help to help yourself:

- check the latest changes to rt_8139too /wrt IRQ sharing
- verify if rtai 3.4 already contains the latest irq sharing code (check
against 3.5 or so)

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to