Re: Howto acquire shared interrupt line?

2008-12-26 Thread Denis Borisevich
2008/12/26 Thomas Petazzoni : > Le Fri, 26 Dec 2008 15:44:28 +0300, > "Denis Borisevich" a écrit : > >> When I call request_irq() with IRQF_SHARED as an argument I get >> -EINVAL. Any ideas? > > In request_irq(): > >if ((irqflags & IRQF_SHARED) && !dev_id) >return -EINVAL;

Re: Howto acquire shared interrupt line?

2008-12-26 Thread Thomas Petazzoni
Le Fri, 26 Dec 2008 15:44:28 +0300, "Denis Borisevich" a écrit : > When I call request_irq() with IRQF_SHARED as an argument I get > -EINVAL. Any ideas? In request_irq(): if ((irqflags & IRQF_SHARED) && !dev_id) return -EINVAL; Sincerly, Thomas -- Thomas Petazzoni, Fr

Re: Howto acquire shared interrupt line?

2008-12-26 Thread Denis Borisevich
2008/12/26 Thomas Petazzoni : > Le Fri, 26 Dec 2008 15:05:28 +0300, > "Denis Borisevich" a écrit : > >> In my driver init function I try to register interrupt handler with >> request_irq(), but always get -EBUSY. This interrupt is shared with >> ahci driver. I use kernel version 2.6.24.7. Is there

Re: Howto acquire shared interrupt line?

2008-12-26 Thread Thomas Petazzoni
Le Fri, 26 Dec 2008 15:05:28 +0300, "Denis Borisevich" a écrit : > In my driver init function I try to register interrupt handler with > request_irq(), but always get -EBUSY. This interrupt is shared with > ahci driver. I use kernel version 2.6.24.7. Is there any other way to > register the inter

Howto acquire shared interrupt line?

2008-12-26 Thread Denis Borisevich
Hi everyone! In my driver init function I try to register interrupt handler with request_irq(), but always get -EBUSY. This interrupt is shared with ahci driver. I use kernel version 2.6.24.7. Is there any other way to register the interrupt handler? Or maybe I'm doing something wrong? Thanks in a