PCIR_SUBVENDCAP_ID
val = REG(ptr + PCIR_SUBVENDCAP_ID, 4);
id = read_config(fd, &p->pc_sel, ptr + PCIR_SUBVENDCAP_ID, 4);