slotno = PCI_SLOT(dn->child->devfn); 
slotno = PCI_SLOT(PCI_DN(dn->child)->devfn); 
rpaphp_pci_config_slot(struct pci_bus *bus){	struct device_node *dn = pci_bus_to_OF_node(bus);	struct pci_dev *dev = NULL;	int slotno;	int num;	dbg("Enter %s: dn=%s bus=%s\n", __FUNCTION__, dn->full_name, bus->name);	if (!dn || !dn->child)		return NULL;	slotno = PCI_SLOT(dn->child->devfn);	/* pci_scan_slot should find all children */	num = pci_scan_slot(bus, PCI_DEVFN(slotno, 0));	if (num) {		rpaphp_fixup_new_pci_devices(bus, 1);		pci_bus_add_devices(bus);	}	if (list_empty(&bus->devices)) {		err("%s: No new device found\n", __FUNCTION__);		return NULL;	}	list_for_each_entry(dev, &bus->devices, bus_list) {		if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)			rpaphp_pci_config_bridge(dev);	}	return dev;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1635317facea3094ddf34082cd86797efb1d9f7e/rpaphp_pci.c/buggy/drivers/pci/hotplug/rpaphp_pci.c