10/12/2010 8:41 AM
post70231
|
You use whatever is returned in the pci_dev_info.Irq structure element. It
should be x102.
On 10-10-09 5:52 AM, "shen xifeng" <community-noreply@qnx.com> wrote:
>
>
> Hi ,
>
>
> Im writing a network driver under QNX6.5 which supports MSI,but confued by the
> interrupt number.
>
>
> when run "pci" command,the output shows the CPU interrupt 0x102.
> but "pci_dev_info* info" filled by pci_attach_device shows that the
> "info.Irq" is 2.
>
>
>
> which value should I use when calling InterruptAttach, 0x102 or 2 ???
>
>
> Please help. thanks.
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post70157
>
--
Hugh Brown (613) 591-0931 ext. 2209 (voice)
QNX Software Systems Ltd. (613) 591-3579 (fax)
175 Terence Matthews Cres. email: hsbrown@qnx.com
Kanata, Ontario, Canada.
K2M 1W8
|
|
|