if (((func->config_space[0x03] >> 16) & 0xFF) == 0x01)
u8 hdr_type; struct pci_bus *bus = ctrl->pci_dev->subordinate;   pci_bus_read_config_byte(bus, PCI_DEVFN(func->device, func->function), PCI_HEADER_TYPE, &hdr_type); if ((hdr_type & 0x7f) == PCI_HEADER_TYPE_BRIDGE)
static int is_bridge(struct pci_func * func){	/* Check the header type */	if (((func->config_space[0x03] >> 16) & 0xFF) == 0x01)		return 1;	else		return 0;}