2011-03-20 20:44:08

by James

[permalink] [raw]
Subject: why would IRQ change?

Is there a tool to list what devices are assigned what IRQ?

This from an old kernel:
ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
mem=0xffffc900017a0000, irq=18

This is from today:
ath9k 0000:02:09.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17
ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
mem=0xffffc90001ba0000, irq=17



2011-03-21 02:00:36

by James

[permalink] [raw]
Subject: Re: why would IRQ change?

On 03/20/11 21:14, Julian Calaby wrote:
> On Mon, Mar 21, 2011 at 12:00, James <[email protected]> wrote:
>> On 03/20/11 19:42, Julian Calaby wrote:
>>> On Mon, Mar 21, 2011 at 07:44, James <[email protected]> wrote:
>>>> Is there a tool to list what devices are assigned what IRQ?
>>>>
>>>> This from an old kernel:
>>>> ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
>>>> mem=0xffffc900017a0000, irq=18
>>>>
>>>> This is from today:
>>>> ath9k 0000:02:09.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17
>>>> ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
>>>> mem=0xffffc90001ba0000, irq=17
>>> AFAIK, PCI interrupts numbers are just sequential numbers assigned by
>>> Linux - there is no significance to them, they are just a number for
>>> tracking which interrupt is assigned to which device - there is no
>>> "IRQ17" or "IRQ18" anywhere in any actual hardware.
>>>
>>> Thanks,
>>>
>> I'm thinking maybe the IRQ sharing doesn't work right with this card.
> It's a PCI card. See: http://en.wikipedia.org/wiki/Conventional_PCI#Interrupts
>
> Thanks,
>
Interesting, thanks.

2011-03-21 01:00:07

by James

[permalink] [raw]
Subject: Re: why would IRQ change?

On 03/20/11 19:42, Julian Calaby wrote:
> On Mon, Mar 21, 2011 at 07:44, James <[email protected]> wrote:
>> Is there a tool to list what devices are assigned what IRQ?
>>
>> This from an old kernel:
>> ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
>> mem=0xffffc900017a0000, irq=18
>>
>> This is from today:
>> ath9k 0000:02:09.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17
>> ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
>> mem=0xffffc90001ba0000, irq=17
> AFAIK, PCI interrupts numbers are just sequential numbers assigned by
> Linux - there is no significance to them, they are just a number for
> tracking which interrupt is assigned to which device - there is no
> "IRQ17" or "IRQ18" anywhere in any actual hardware.
>
> Thanks,
>
I'm thinking maybe the IRQ sharing doesn't work right with this card.


2011-03-21 01:14:44

by Julian Calaby

[permalink] [raw]
Subject: Re: why would IRQ change?

On Mon, Mar 21, 2011 at 12:00, James <[email protected]> wrote:
> On 03/20/11 19:42, Julian Calaby wrote:
>> On Mon, Mar 21, 2011 at 07:44, James <[email protected]> wrote:
>>> Is there a tool to list what devices are assigned what IRQ?
>>>
>>> This from an old kernel:
>>> ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
>>> mem=0xffffc900017a0000, irq=18
>>>
>>> This is from today:
>>> ath9k 0000:02:09.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17
>>> ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
>>> mem=0xffffc90001ba0000, irq=17
>> AFAIK, PCI interrupts numbers are just sequential numbers assigned by
>> Linux - there is no significance to them, they are just a number for
>> tracking which interrupt is assigned to which device - there is no
>> "IRQ17" or "IRQ18" anywhere in any actual hardware.
>>
>> Thanks,
>>
> I'm thinking maybe the IRQ sharing doesn't work right with this card.

It's a PCI card. See: http://en.wikipedia.org/wiki/Conventional_PCI#Interrupts

Thanks,

--

Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/

2011-03-20 23:42:40

by Julian Calaby

[permalink] [raw]
Subject: Re: why would IRQ change?

On Mon, Mar 21, 2011 at 07:44, James <[email protected]> wrote:
> Is there a tool to list what devices are assigned what IRQ?
>
> This from an old kernel:
> ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
> mem=0xffffc900017a0000, irq=18
>
> This is from today:
> ath9k 0000:02:09.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17
> ieee80211 phy0: Atheros AR5416 MAC/BB Rev:2 AR2133 RF Rev:81
> mem=0xffffc90001ba0000, irq=17

AFAIK, PCI interrupts numbers are just sequential numbers assigned by
Linux - there is no significance to them, they are just a number for
tracking which interrupt is assigned to which device - there is no
"IRQ17" or "IRQ18" anywhere in any actual hardware.

Thanks,

--

Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/