[coreboot] [PATCH] artecgroup/dbe62: Route ethernet adapter IRQ correctly and reduce interrupt contention problems by using different IRQs for all the interrupt lines

Peter Stuge peter at stuge.se
Sat May 3 03:59:34 CEST 2008


On Sat, May 03, 2008 at 04:58:05AM +0300, Mart Raudsepp wrote:
> ???artecgroup/dbe62: Route ethernet adapter IRQ correctly and reduce interrupt contention problems by using different IRQs for all the interrupt lines
> 
> This makes the network adapter work fully, and reduces problems on high traffic (e.g kernel oopses on fsck run over USB 2.0 HDD)
> Many thanks for Peter Stuge for a lot of IRQ related help.
> 
> Signed-off-by: Mart Raudsepp <mart.raudsepp at artecdesign.ee>

Acked-by: Peter Stuge <peter at stuge.se>


> ---
>  mainboard/artecgroup/dbe62/irq_tables.h |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/mainboard/artecgroup/dbe62/irq_tables.h b/mainboard/artecgroup/dbe62/irq_tables.h
> index d8d64a6..0d1a4bb 100644
> --- a/mainboard/artecgroup/dbe62/irq_tables.h
> +++ b/mainboard/artecgroup/dbe62/irq_tables.h
> @@ -23,10 +23,10 @@
>  #define IRQ_SLOT_COUNT 3
>  
>  /* Platform IRQs */
> -#define PIRQA 10
> -#define PIRQB 11
> -#define PIRQC 10
> -#define PIRQD 11
> +#define PIRQA 11
> +#define PIRQB 10
> +#define PIRQC 9
> +#define PIRQD 5
>  
>  /* Map */
>  #define M_PIRQA (1 << PIRQA)	/* Bitmap of supported IRQs */
> @@ -60,6 +60,6 @@ const struct irq_routing_table intel_irq_routing_table = {
>  		/* chipset */
>  		{0x00, (0x0F << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {L_PIRQB, M_PIRQB}, {L_PIRQC, M_PIRQC}, {L_PIRQD, M_PIRQD}}, 0x0, 0x0},
>  		/* ethernet */
> -		{0x00, (0x0D << 3) | 0x0, {{L_PIRQC, M_PIRQC}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0},
> +		{0x00, (0x0D << 3) | 0x0, {{L_PIRQB, M_PIRQB}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0},
>  	}
>  };




More information about the coreboot mailing list