PCI helper find_cap

Adds a find_cap helper, similar to the BSD one.
4 files changed