Re: [PATCH 04/11] x86/dtb: add irq host abstraction

2010-11-26 Thread Sebastian Andrzej Siewior
Jon Loeliger wrote: +struct irq_host { + int (*xlate)(struct irq_host *h, const u32 *intspec, u32 intsize, + u32 *out_hwirq, u32 *out_type); + void *priv; + struct device_node *controller; + struct list_head l; +}; I thought there was an intent

Re: [PATCH 04/11] x86/dtb: add irq host abstraction

2010-11-26 Thread Jon Loeliger
Jon Loeliger wrote: +struct irq_host { + int (*xlate)(struct irq_host *h, const u32 *intspec, u32 intsize, + u32 *out_hwirq, u32 *out_type); + void *priv; + struct device_node *controller; + struct list_head l; +}; I thought there was an intent and desire

Re: [PATCH 04/11] x86/dtb: add irq host abstraction

2010-11-25 Thread Jon Loeliger
The here introduced irq_host abstraction represents a generic irq_host. The xlate callback is resposible to parse irq informations like irq type and number and returns the hardware irq number which is reported by the hardware as active. [...] diff --git