get_pci_cap
cap_ptr = get_pci_cap(bus, dev, func, PCI_CAP_ID_PCI_E);
static int get_pci_cap(uchar_t bus, uchar_t dev, uchar_t func, uint8_t cap_id);