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

From: Michal Simek
Date: Tue May 06 2008 - 03:27:33 EST


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);
>> +
>
>
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/