RE: [PATCH 04/56] microblaze_v2: Open firmware files

Stephen Neuendorffer
2008-05-05T21:56:26Z

Michal,

You're missing some of the stuff implemented in powerpc/prom_parse.c, in
particular this:

Steve

> +/**
> + * of_irq_map_one - Resolve an interrupt for a device
> + * @device: the device whose interrupt is to be resolved
> + * @index: index of the interrupt to resolve
> + * @out_irq: structure of_irq filled by this function
> + *
> + * This function resolves an interrupt, walking the tree, for a given
> + * device-tree node. It's the high level pendant to of_irq_map_raw().
> + * It also implements the workarounds for OldWolrd Macs.
> + */
> +extern int of_irq_map_one(struct device_node *device, int index,
> + struct of_irq *out_irq);
> +