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

Michal Simek
2008-05-06T07:27:32Z

In prom.h is it. prom_parse.c of_device.c and of_platform.c will be in drivers/of/

M

> 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);
>> +
>
>
>
>
>