Hello! > + case PCI_HEADER_TYPE_BRIDGE: > + if (pci_read_word(d, PCI_STATUS) & PCI_STATUS_CAP_LIST) > + { > + byte been_there[256]; > + int where, id; > + > + memset(been_there, 0, 256); > + where = pci_read_byte(d, PCI_CAPABILITY_LIST) & ~3; > + while (where && !been_there[where]++) Please don't. There should be a single implementation of capability list walking in libpci, not everybody doing his own. Martin