pci_find_device / QNX6.3 SP1

Hallo,

I’m using in a diagnose tool the PCI call pci_find_device().

If the expected device isn’t installed … pci_find_device() returns
in bus and dev_func the value 0xFFFFFFFF and returns PCI_SUCCESS and not
PCI_DEVICE_NOT_FOUND!

IMHO … that’s not correct.

–Armin

When I run my test program with and invalid vendor or device, I get a return
of PCI_DEVICE_NOT_FOUND. What hardware is this?

“Armin Steinhoff” <a-steinhoff@web.de> wrote in message
news:dl2lgr$cp2$1@inn.qnx.com

Hallo,

I’m using in a diagnose tool the PCI call pci_find_device().

If the expected device isn’t installed … pci_find_device() returns
in bus and dev_func the value 0xFFFFFFFF and returns PCI_SUCCESS and not
PCI_DEVICE_NOT_FOUND!

IMHO … that’s not correct.

–Armin
\

Hugh Brown wrote:

When I run my test program with and invalid vendor or device, I get a return
of PCI_DEVICE_NOT_FOUND. What hardware is this?

Sorry … I found a stupid typo in my sources =:-/
pci_find_device() works as documenented!

Regards

–Armin




“Armin Steinhoff” <> a-steinhoff@web.de> > wrote in message
news:dl2lgr$cp2$> 1@inn.qnx.com> …

Hallo,

I’m using in a diagnose tool the PCI call pci_find_device().

If the expected device isn’t installed … pci_find_device() returns
in bus and dev_func the value 0xFFFFFFFF and returns PCI_SUCCESS and not
PCI_DEVICE_NOT_FOUND!

IMHO … that’s not correct.

–Armin



\