Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - network driver: (2 Items)
   
network driver  

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.
Re: network driver  
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