read_byte
cap_ptr = read_byte(fd, bus, dev, func, PCI_CONF_CAP_PTR, &ret);
hdr_type = read_byte
static uint8_t read_byte(int fd, int bus, int dev, int func, int offset,