Re: [RFC 12/14] irq_domain: Add support for base irq and hwirq in legacy mappings

2012-01-12 Thread Grant Likely
On Thu, Jan 12, 2012 at 5:37 PM, Rob Herring wrote: > On 01/11/2012 02:22 PM, Grant Likely wrote: >> Add support for a legacy mapping where irq = (hwirq - first_hwirq + >> first_irq) >> so that a controller driver can allocate a fixed range of irq_descs and use >> a simple calculation to translat

Re: [RFC 12/14] irq_domain: Add support for base irq and hwirq in legacy mappings

2012-01-12 Thread Rob Herring
On 01/11/2012 02:22 PM, Grant Likely wrote: > Add support for a legacy mapping where irq = (hwirq - first_hwirq + first_irq) > so that a controller driver can allocate a fixed range of irq_descs and use > a simple calculation to translate back and forth between linux and hw irq > numbers. This is