From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 1 Jul 2015 18:02:20 +0200 From: Gilles Chanteperdrix Message-ID: <20150701160220.GF13256@hermes.click-hack.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Xenomai] RTDM PCI drivers IRQ line conflict List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Antoine Durand Cc: xenomai@xenomai.org On Wed, Jul 01, 2015 at 05:56:25PM +0200, Antoine Durand wrote: > Hi, > > I've two PCI devices for which I'm making RTDM drivers. > > I can load the first without any problem. > > but when the second driver call rtdm_irq_request (passing the struct > pci_dev->irq field and flag RTDM_IRQTYPE_SHARED), it failed with > EBUSY : That is a Xenomai configuration issue, you need to enable CONFIG_XENO_OPT_SHIRQ if you want your RTDM drivers to share IRQs. -- Gilles. https://click-hack.org