Hi there!
I developed a driver (with help from some of you) for QNX4.
It is working correctly but now I need to implement it on QNX 6.
I am trying to find the device using pci_attach_device and passing the
correct DEVICE_ID
and VENDOR_ID but it returns an info result with zero´ed registers, where,
under QNX 4,
I use _CA_PCI_Read_Config_DWord() in a loop until I found the device.
So, I need to obtain the base registers from the PCI so I can read and write
on its registers.
Any help I will apreciate,
Andre Goddard
Computer Science Student at UFMG Brazil
Hi, I just discovered what the problem is.
It is related with the class code of the device. QNX6 does not support
devices with an class code (068000h).
I just changed the class code to 028000h and it worked
properly (this time recognized as an network device).
Thanks,
Andre
“Andre Goddard Rosa” <goddard@audiolab.com.br> escreveu na mensagem
news:bm4iv2$1nb$1@inn.qnx.com…
Hi there!
I developed a driver (with help from some of you) for QNX4.
It is working correctly but now I need to implement it on QNX 6.
I am trying to find the device using pci_attach_device and passing the
correct DEVICE_ID
and VENDOR_ID but it returns an info result with zero´ed registers, where,
under QNX 4,
I use _CA_PCI_Read_Config_DWord() in a loop until I found the device.
So, I need to obtain the base registers from the PCI so I can read and
write
on its registers.
Any help I will apreciate,
Andre Goddard
Computer Science Student at UFMG Brazil