lkml.org 
[lkml]   [2010]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 04/11] x86/dtb: add irq host abstraction
    Date
    From
    > 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 a/arch/x86/include/asm/irq_controller.h b/arch/x86/include/asm/irq
    > _controller.h
    > new file mode 100644
    > index 0000000..1cbbfd0
    > --- /dev/null
    > +++ b/arch/x86/include/asm/irq_controller.h
    > @@ -0,0 +1,12 @@
    > +#ifndef __IRQ_CONTROLLER__
    > +#define __IRQ_CONTROLLER__
    > +
    > +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 to rename the irq_host
    as irq_domain.

    jdl


    \
     
     \ /
      Last update: 2010-11-25 20:33    [W:4.148 / U:0.148 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site