/* Check the header type */ if (((func->config_space[0x03] >> 16) & 0xFF) == 0x01) 
u8 hdr_type; struct pci_bus *bus = ctrl->pci_dev->subordinate;  /* * Note: device may have just been hot-added and not yet scanned * by the pci core, so its pci_dev structure may not exist yet */ 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;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/70b6091946ab486c4dab8abeb4a3fc2bf7d3e7fe/shpchp_ctrl.c/clean/drivers/pci/hotplug/shpchp_ctrl.c