PCI_EXTCAPLIST_CAP
if (PCI_EXTCAPLIST_CAP(reg) == capid) {
if (capid == PCI_EXTCAPLIST_CAP(rval)) {
foundcap = PCI_EXTCAPLIST_CAP(rval);