Hi all,
Environment: VMware ESXi 5.5.0 (VMKernel Release Build 1331820), ddk-5.5.0-1331820
1.Use command "lspci -v", I can find a lot of pci devices (more than 15);
2.Use the kernel api "pci_get_device" in my test driver code,that only print a little pci devices(only 4).
Part of codes follow list:
while ((pDev = pci_get_device_all(PCI_ANY_ID, PCI_ANY_ID, pDev)) != NULL)
{
printk("find bus number %02x, vendor %04x, device %04x\n",
pDev->bus->number, pDev->vendor, pDev->device);
continue;
...
}
Anybody can help me resolve this problem? Thank you!