if (eads_first_child) {  num = pci_scan_slot(bus, PCI_DEVFN(PCI_SLOT(eads_first_child->devfn), 0));
if (dn->child) { slotno = PCI_SLOT(dn->child->devfn);   num = pci_scan_slot(bus, PCI_DEVFN(slotno, 0));
rpaphp_pci_config_slot(struct device_node *dn, struct pci_bus *bus){	struct device_node *eads_first_child = dn->child;	struct pci_dev *dev = NULL;	int num;	dbg("Enter %s: dn=%s bus=%s\n", __FUNCTION__, dn->full_name, bus->name);	if (eads_first_child) {		/* pci_scan_slot should find all children of EADs */		num = pci_scan_slot(bus, PCI_DEVFN(PCI_SLOT(eads_first_child->devfn), 0));		if (num) {			rpaphp_fixup_new_pci_devices(bus, 1);			pci_bus_add_devices(bus);		}		dev = rpaphp_find_pci_dev(eads_first_child);		if (!dev) {			err("No new device found\n");			return NULL;		}		if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)			rpaphp_pci_config_bridge(dev);	}	return dev;}