 /* the f50 sets the name to 'display' and 'compatible' to what we * expect for the name -- Cort */ if (!strcmp(np->name, "display")) np->name = get_property(np, "compatible", NULL); 
static int __devinit finish_node(struct device_node *np,				 unsigned long *mem_start,				 interpret_func *ifunc,				 int naddrc, int nsizec,				 int measure_only){	struct device_node *child;	int *ip, rc = 0;	/* get the device addresses and interrupts */	if (ifunc != NULL)		rc = ifunc(np, mem_start, naddrc, nsizec, measure_only);	if (rc)		goto out;	rc = finish_node_interrupts(np, mem_start, measure_only);	if (rc)		goto out;	/* Look for #address-cells and #size-cells properties. */	ip = (int *) get_property(np, "#address-cells", NULL);	if (ip != NULL)		naddrc = *ip;	ip = (int *) get_property(np, "#size-cells", NULL);	if (ip != NULL)		nsizec = *ip;	/* the f50 sets the name to 'display' and 'compatible' to what we	 * expect for the name -- Cort	 */	if (!strcmp(np->name, "display"))		np->name = get_property(np, "compatible", NULL);	if (!strcmp(np->name, "device-tree") || np->parent == NULL)		ifunc = interpret_root_props;	else if (np->type == 0)		ifunc = NULL;	else if (!strcmp(np->type, "pci") || !strcmp(np->type, "vci"))		ifunc = interpret_pci_props;	else if (!strcmp(np->type, "dbdma"))		ifunc = interpret_dbdma_props;	else if (!strcmp(np->type, "mac-io") || ifunc == interpret_macio_props)		ifunc = interpret_macio_props;	else if (!strcmp(np->type, "isa"))		ifunc = interpret_isa_props;	else if (!strcmp(np->name, "uni-n") || !strcmp(np->name, "u3"))		ifunc = interpret_root_props;	else if (!((ifunc == interpret_dbdma_props		    || ifunc == interpret_macio_props)		   && (!strcmp(np->type, "escc")		       || !strcmp(np->type, "media-bay"))))		ifunc = NULL;	for (child = np->child; child != NULL; child = child->sibling) {		rc = finish_node(child, mem_start, ifunc,				 naddrc, nsizec, measure_only);		if (rc)			goto out;	}out:	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/50bfb2e0329d45dd46fdc34f70cdaabe2d8a1dc7/prom.c/buggy/arch/ppc64/kernel/prom.c