AGP_CAPID
capid = pci_read_config(dev, agp_find_caps(dev) + AGP_CAPID, 4);
command = read_config(fd, &p->pc_sel, ptr + AGP_CAPID, 4);