lkml.org 
[lkml]   [2003]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Determining pci bus from irq
From
Date
On Maw, 2003-09-09 at 17:10, Adam Litke wrote:
> Is there a nice way to determine, given an irq number, the pci bus
> number that raised the interrupt?

In general the answer is you can't find out. PCI IRQ lines are shared.
You can certainly lock and walk the pci device list looking for matches
but you may get a lot of devices on different busses

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.099 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site