PCIR_HDRTYPE
hdrtype = REG(PCIR_HDRTYPE, 1);
cfg->hdrtype = REG(PCIR_HDRTYPE, 1);
switch(pci_read_config(dev, PCIR_HDRTYPE, 1)) {
switch(pci_read_config(dev, PCIR_HDRTYPE, 1)) {
PCIR_HDRTYPE, 1);
value = pci_cfgregread(bus, device, 0, PCIR_HDRTYPE, 1);
if ((pci_read_config(dev, PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) != 0)