pci_add_capability
int pci_add_capability(uint8_t, struct pci_cap *);
if (pci_add_capability(pci_id, &cap.pci) == -1) {